← index #4662Issue #4737
Related · high · value 0.741
QUERY · ISSUE

[PYBD] Switching Frequency completely locks up the board

openby ThomasChropened 2019-04-01updated 2019-04-30
port-stm32

Examplecode:
machine.freq(216000000)
More details in a Forum Thread: https://forum.micropython.org/viewtopic.php?f=6&t=6190

CANDIDATE · ISSUE

ports/stm32: Can't change CPU frequency on NUCLEO_F401RE board

closedby dhylandsopened 2019-05-01updated 2019-05-02
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

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied