Register level setting of APLL_CLK parameters using esp-idf

Baldhead
Posts: 467
Joined: Sun Mar 31, 2019 5:16 am

Register level setting of APLL_CLK parameters using esp-idf

Postby Baldhead » Sat Oct 26, 2019 7:36 pm

Hi,

How i can set APLL_CLK parameters directly through registers using esp-idf ?

APLL_CLK parameters:
* SDM0
* SDM1
* SDM2
* ODIV

Enable and disable APLL_CLK too if possible.

Without using this function "rtc_clk_apll_enable( 1, sdm0, sdm1, sdm2, odiv);".

Thank's.


Baldhead
Posts: 467
Joined: Sun Mar 31, 2019 5:16 am

Re: Register level setting of APLL_CLK parameters using esp-idf

Postby Baldhead » Mon Oct 28, 2019 5:42 am

I know this function.

Just for me to learn and maybe get more expert in bare metal programming.

Thank's.

Baldhead
Posts: 467
Joined: Sun Mar 31, 2019 5:16 am

Re: Register level setting of APLL_CLK parameters using esp-idf

Postby Baldhead » Tue Oct 29, 2019 10:36 pm

Does anyone have any suggestions?

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Register level setting of APLL_CLK parameters using esp-idf

Postby WiFive » Wed Oct 30, 2019 3:19 am

If you look at the source code of the function I linked you will see how it is done.

Who is online

Users browsing this forum: No registered users and 24 guests