QUERY · ISSUE
STM32: machine.freq unsupported on F0, L0, L4 and WB
port-stm32
When I set pyb.freq(30000000) it occurs an error that I can't change the frequency. How should I do?
CANDIDATE · ISSUE
ports/stm32: Can't change CPU frequency on NUCLEO_F401RE board
port-stm32
Trying to change the frequency using the latest master causes a FATAL ERROR.
I tested using pyb and machine modules and tried various frequencies like 42 MHz and 64 MHz).
All attempts result in this:
MicroPython v1.10-290-g8402c26cf-dirty on 2019-05-01; NUCLEO-F401RE with STM32F401xE
Type "help()" for more information.
>>> machine.freq(42000000)
FATAL ERROR:
can't change freq
Originally brought up in the forum: https://forum.micropython.org/viewtopic.php?f=12&t=6365&p=36215