Skip to main content
Gpeti
Senior
December 9, 2019
Solved

Need clarifications on CSS of STM32H7

  • December 9, 2019
  • 2 replies
  • 1081 views

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.
Best answer by Tomas DRESLER

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
December 9, 2019

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
December 10, 2019

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