Hi All,
So I was reading on the technical ref that there is a 320MHz clock in the ESP, but most sources state that the maximum core frequency is 240MHz.
So question in short: If I provide some sort of heatsink for the ESP32, is it possible to configure the chip for a higher clock frequency, let's say 320MHz?
Also is it possible to use software as "clock throttle" in the ESP, so I can change the clock devider on the fly depending on the needs of the application, so it's only running full clock only when I need it to.
Thanks for the answers.
Ben
Maximum possible CPU clock with heatsink and clock throttling.
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Maximum possible CPU clock with heatsink and clock throttling.
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Re: Maximum possible CPU clock with heatsink and clock throttling.
Regarding the first question: the official answer is "not possible". However, the source code of clock selection functions is provided inside rtc_clk.c in rtc component, so feel free to poke there...
Regarding clock throttling: we call this "dynamic frequency scaling", it is explained in http://esp-idf.readthedocs.io/en/latest ... ement.html.
Regarding clock throttling: we call this "dynamic frequency scaling", it is explained in http://esp-idf.readthedocs.io/en/latest ... ement.html.
- Vader_Mester
- Posts: 300
- Joined: Tue Dec 05, 2017 8:28 pm
- Location: Hungary
- Contact:
Re: Maximum possible CPU clock with heatsink and clock throttling.
Thanks for the support!
Code: Select all
task_t coffeeTask()
{
while(atWork){
if(!xStreamBufferIsEmpty(mug)){
coffeeDrink(mug);
} else {
xTaskCreate(sBrew, "brew", 9000, &mug, 1, NULL);
xSemaphoreTake(sCoffeeRdy, portMAX_DELAY);
}
}
vTaskDelete(NULL);
}
Who is online
Users browsing this forum: Google [Bot] and 117 guests