Overclocking ESP32 WROOVER E
Posted: Mon Dec 18, 2023 9:51 am
Hi,
I have a project involving some fast GPIO manipulation. I have set my core clock to 240 MHZ, I am leveraging the parallel commands, using low level register write/read operations, DMA etc. I think I have squeezed everything its out there, but I still need to increase the program execution speed by 1.5-2 times. I did some research and experiments, as I understand, overclocking past 240 Mhz is not possible in software. But what if I actually replaced the crystal under the ESP shield? As I understand, software setup is based on complex PLL configuration, but the bottom line and the reference to all of it is crystal clock. Lets say I swapped the 40 MHZ one with 60-80 Mhz one. Even though the software still says that the core clock is 240, it will have an offset in reality... I know it's not a common thing and you won't probably tell me if it is going to work for sure or not, but do I even stand a chance? Is my logic right or there is some way deeper problem than I imagine? Thank you in advance
I have a project involving some fast GPIO manipulation. I have set my core clock to 240 MHZ, I am leveraging the parallel commands, using low level register write/read operations, DMA etc. I think I have squeezed everything its out there, but I still need to increase the program execution speed by 1.5-2 times. I did some research and experiments, as I understand, overclocking past 240 Mhz is not possible in software. But what if I actually replaced the crystal under the ESP shield? As I understand, software setup is based on complex PLL configuration, but the bottom line and the reference to all of it is crystal clock. Lets say I swapped the 40 MHZ one with 60-80 Mhz one. Even though the software still says that the core clock is 240, it will have an offset in reality... I know it's not a common thing and you won't probably tell me if it is going to work for sure or not, but do I even stand a chance? Is my logic right or there is some way deeper problem than I imagine? Thank you in advance