Skip to content

How to change main frequency without IDF? #3149

Answered by jessebraham
traversebitree asked this question in Q&A
Discussion options

You must be logged in to vote

The crystal frequency is not the same as the CPU clock rate. You can specify the CPU clock rate during initialization of the HAL, e.g. to use the maximum clock for a given device:

let config = esp_hal::Config::default().with_cpu_clock(CpuClock::max());
let peripherals = esp_hal::init(config);

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@traversebitree
Comment options

Answer selected by traversebitree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants