How to change the CPU frequency of ESP32C3

PrathamM
Posts: 2
Joined: Wed Nov 22, 2023 11:19 am

How to change the CPU frequency of ESP32C3

Postby PrathamM » Wed Nov 22, 2023 11:35 am

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?

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: How to change the CPU frequency of ESP32C3

Postby ESP_Sprite » Thu Nov 23, 2023 3:10 am

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?

PrathamM
Posts: 2
Joined: Wed Nov 22, 2023 11:19 am

Re: How to change the CPU frequency of ESP32C3

Postby PrathamM » Thu Nov 23, 2023 5:59 am

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.

ESP_Sprite
Posts: 9730
Joined: Thu Nov 26, 2015 4:08 am

Re: How to change the CPU frequency of ESP32C3

Postby ESP_Sprite » Thu Nov 23, 2023 6:23 am

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.

Who is online

Users browsing this forum: Google [Bot], MicroController and 111 guests