Skip to main content
Gpeti
Senior
Dec 9, 2019 10:51 AM UTC
Solved

Need clarifications on CSS of STM32H7

Hello,

I don't understand the description of the Clock Security System in the Ref Manual of STM32H7 (section 7.5.3).

First question is : what exactly is the CSS doing ? (what kind of control is done on the clock). What is a definition of "a failure of the HSE" ?

Second question: the ref manual mentions both a dedicated interrupt rcc_hsecss_it and the NMI. Why is there both ? Why not only the NMI or only the interrupt ?

Thank you

This topic has been closed for replies.
Tomas DRESLER
Tomas DRESLERBest answer
Associate II
Dec 9, 2019 11:05 PM UTC

When HSE stops ticking (due to xtal failure, PCB crack, short circuit or other), after some timeout the CSS (it's a slow-running resettable oscillator) triggers recovery actions to prevent complete clock loss. The rcc_hsecss_it is an internal signal of CSS and is connected to EXTI and NMI.

EXTI has one special feature - enables waking from STOP mode (of at least one CPU domain).

2 replies

Tomas DRESLER
Tomas DRESLERBest answer
Associate II
Dec 9, 2019 11:05 PM UTC

When HSE stops ticking (due to xtal failure, PCB crack, short circuit or other), after some timeout the CSS (it's a slow-running resettable oscillator) triggers recovery actions to prevent complete clock loss. The rcc_hsecss_it is an internal signal of CSS and is connected to EXTI and NMI.

EXTI has one special feature - enables waking from STOP mode (of at least one CPU domain).

Gpeti
GpetiAuthor
Senior
Dec 10, 2019 7:47 AM UTC

Thank you Tomas, crystal clear. I would suggest to add these precisions in the ref manual.