Page 1 of 1

Register level setting of APLL_CLK parameters using esp-idf

Posted: Sat Oct 26, 2019 7:36 pm
by Baldhead
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.

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

Posted: Sat Oct 26, 2019 10:03 pm
by WiFive

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

Posted: Mon Oct 28, 2019 5:42 am
by Baldhead
I know this function.

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

Thank's.

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

Posted: Tue Oct 29, 2019 10:36 pm
by Baldhead
Does anyone have any suggestions?

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

Posted: Wed Oct 30, 2019 3:19 am
by WiFive
If you look at the source code of the function I linked you will see how it is done.