← index #2683PR #2708
Duplicate · high · value 4.160
QUERY · ISSUE

stmhal: Implement CSS (clock security system) callback

openby ryannathansopened 2016-12-14updated 2021-05-04
port-stm32

HAL_RCC_CSSCallback doesn't seem to be implemented for recovering from a failed/glitched HSE. I think the handler should hard reset the device or switch back to HSE if it recovered.

Thoughts on this?

CANDIDATE · PULL REQUEST

stmhal: implement CSS - reset on HSE failure

closedby ryannathansopened 2016-12-20updated 2021-05-04
port-stm32

If the high speed external oscillator fails/glitches, this patch will restart the board in an attempt to recover. Without this patch, in my testing the board hangs indefinitely (or at least longer than I bothered to measure!)

Board runs on internal oscillator to process the callback for this event.

Resolves #2683

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