LoPy - oscillator frequency
-
Hi there,
is there any chance to set in code the internal oscillator frequency of the LoPy4?Thanks in advance
-
@jmarcelino
Ok, thank you!Best regards
-
Thanks @m-toriello
The LoPy4 uses a ESP32 microcontroller where the clock is driven from an external crystal. If you program it directly in C (using ESP-IDF) you can select different clock speeds at configuration (80, 160, 240 Mhz) but - because of the many timing critical peripherals implemented - in MicroPython this isn't currently supported and the clock is fixed at 160Mhz.
-
Hi @jmarcelino ,
I mean the microcontroller's oscillator. For example the Microchip PICs hve some registers to set the internal oscillator properly (typically it's called INTOSC). I was wondering if there is something like this in LoPy.Thank you
-
Hi @m-toriello
Which internal oscillator do you mean exactly?Thanks