Clock Supervisor Functions (PDL_CSV)
General Description
The Clock Supervisor Component protects the application from clock failure situations and from oscillators that generate undesirable frequencies. CSV independently monitors both the main and sub clocks. If a rising edge of the monitored clock is not detected within the specified period, CSV determines that the oscillator has failed, and outputs a system reset request.
The anomalous frequency detection monitors frequency of the main clock by comparing it against the internal high speed CR clock (CLKHC), which cannot be faster than CLKMO. CSV counts main clock edges that occur between CLKHC edges and compares the result against a window range. If the count value reaches out of the set window range, the function determines that the main clock frequency is anomalous, and outputs either an interrupt request to the CPU or a system reset request.
- Generate system reset or interrupt request on clock failure or frequency anomaly
- Clock Failure Detection on main (CLKMO) and sub-clock (CLKSO)
- Automatically stops monitoring while oscillators stabilize or are stopped
- Anomalous Frequency Detection on main clock