SM CODE CLK_SM_2
Ownership ST
Detailed implementation
The independent watchdog IWDG is able to detect failures in internal main MCU clock (lower
frequency)
Error reporting Reset signal generation
Fault detection time Depends on implementation (watchdog timeout interval)
Addressed fault model Permanent
Dependency on MCU configuration None
Initialization
IWDG activation. It is recommended to use the “Hardware watchdog” in Option byte settings (IWDG
is automatically enabled after reset)
Periodicity Continuous
Test for the diagnostic Not needed
Multiple faults protection CPU_SM_1: control flow monitoring in application software
Recommendations and known limitations
In case of usage of IWDG window option, end user must consider possible tolerance in application
software execution, to avoid false error reports (affecting system availability)
Table 88. CLK_SM_3
SM CODE CLK_SM_3
Description Internal clock cross-measure
Ownership End user
Detailed implementation
This method is implemented using TIM14 capabilities to be fed by the 32 KHz RTC clock or an
external clock source (if available). TIM14 counter progresses are compared with another counter
(fed by internal clock). Abnormal values of oscillator frequency can be therefore detected.
Error reporting Depends on implementation
Fault detection time Depends on implementation
Addressed fault model Permanent
Dependency on MCU configuration None
Initialization Depends on implementation
Periodicity Periodic
Test for the diagnostic Not needed
Multiple faults protection
CPU_SM_1: control flow monitoring in application software
CPU_SM_5: external watchdog
Recommendations and known limitations
Efficiency versus transient faults is negligible. It provides only medium efficiency in permanent
clock-related failure mode coverage
UM1845
Description of hardware and software diagnostics
UM1845 - Rev 4
page 60/108