← index #5435Issue #4685
Off-topic · high · value 1.312
QUERY · ISSUE

HSE not enabled in stopmode for STM32L4 mcu.

openby Tweakoopened 2019-12-18updated 2019-12-19
port-stm32

I'm using a external HSE clock on the STM32L496 mcu. When I'm calling pyb.stop() the mcu won't return to the run mode. I've reported it here.
When I remove the "!" from the following line and then rebuilding it.
https://github.com/micropython/micropython/blob/ba12cdba851f973044c54becca27735a79312707/ports/stm32/powerctrl.c#L363
The code from the micropython forum does work. Is it a typo?

CANDIDATE · ISSUE

[NUCLEO-F091RC] MSE clock cannot be set

closedby rolandvsopened 2019-04-09updated 2019-04-18
port-stm32

It seems that the STM32F091RC uses the internal MSI on 48MHz. Hooking up an external crystal does not help :-) it seems there no support yet in setting the HSE clock options of the STM32F0xx.

It would be nice to have this flexibility as with all other boards supported :-)

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