How to change main frequency without IDF? #3149
Answered
by
jessebraham
traversebitree
asked this question in
Q&A
-
How to change main frequency without IDF? Presently, my ESP32-S3 runs on 40MHz. How to increase to 240MHz? Chip type: esp32s3 (revision v0.2)
Crystal frequency: 40 MHz
Flash size: 32MB
Features: WiFi, BLE
MAC address: 84:fc:e6:7e:4e:74 |
Beta Was this translation helpful? Give feedback.
Answered by
jessebraham
Feb 19, 2025
Replies: 1 comment 1 reply
-
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); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
traversebitree
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: