Page 1 of 1

How to change the CPU frequency of ESP32C3

Posted: Wed Nov 22, 2023 11:35 am
by PrathamM
I want to set the CPU frequency of the ESP32C3 board to 72Mhz for an application. How can I achieve this?

Can anyone guide me through this?

Is it even possible? If yes, how?

Re: How to change the CPU frequency of ESP32C3

Posted: Thu Nov 23, 2023 3:10 am
by ESP_Sprite
If you're using ESP-IDF, you can change the frequency in menuconfig. However, you can't randomly pick a frequency: you're restricted to either 80 or 160MHz. Is there a particular reason you need 72MHz?

Re: How to change the CPU frequency of ESP32C3

Posted: Thu Nov 23, 2023 5:59 am
by PrathamM
Yes, there is a reason to use 72MHz in my application.
But overall, is there any other way through which a customized frequency can be achieved?

If it is possible, do let me know.

Re: How to change the CPU frequency of ESP32C3

Posted: Thu Nov 23, 2023 6:23 am
by ESP_Sprite
PrathamM wrote:
Thu Nov 23, 2023 5:59 am
Yes, there is a reason to use 72MHz in my application.
Please share that reason. Normally there are very few reasons why you would want to change the CPU core frequency to a specific number, so either your reason is a quite extraordinary one, or the reason you have for wanting to change the core frequency is misguided and there are other ways to get what you want.