LoPy - oscillator frequency
-
Hi there,
is there any chance to set in code the internal oscillator frequency of the LoPy4?Thanks in advance
-
Hi @m-toriello
Which internal oscillator do you mean exactly?Thanks
-
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
-
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.
-
@jmarcelino
Ok, thank you!Best regards
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login