What is the Nano ESP32 clockspeed by default?

Hello

In the datasheet of Arduino Nano ESP32 I can read that the clockspeed can go up to 240Mhz.
grafik
I see the board is clocked via external 32Mhz Xtal.
So my question is how can I see at what clock to board is running by default?
How is the clock speed set or adjusted by software?

Thanks for helping
Best regards
Mascho11

That is correct, it depends on your program.

Hello @mascho11, the CPU in the Arduino Nano ESP32 is indeed clocked at 240MHz.
It is possible to change CPU Frequency on the fly via the setCpuFrequencyMhz() function; see the example "Serial_All_CPU_Freqs" under ESP32/Serial for more information.

Note, though, that users have reported issues with other peripheral clocks after changing it, so be aware and tread carefully! :wink:

1 Like

Hello lburelli
Thank you very much for your support.
Best regards Mascho11