EasyManua.ls Logo

ST STM32F2 Series - Real-Time Clock Module (RTC); Table 76. RTC_SM_0; Table 77. RTC_SM_1

ST STM32F2 Series
108 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3.6.17 Real-time clock module (RTC)
Table 76. RTC_SM_0
SM CODE RTC_SM_0
Description Periodical read-back of configuration registers
Ownership End user
Detailed implementation
This method must be applied to RTC configuration registers.
Detailed information on the implementation of this method can be found in Section 3.6.5
Error reporting Refer to NVIC_SM_0
Fault detection time Refer to NVIC_SM_0
Addressed fault model Refer to NVIC_SM_0
Dependency on MCU configuration Refer to NVIC_SM_0
Initialization Refer to NVIC_SM_0
Periodicity Refer to NVIC_SM_0
Test for the diagnostic Refer to NVIC_SM_0
Multiple faults protection Refer to NVIC_SM_0
Recommendations and known limitations Refer to NVIC_SM_0
Table 77. RTC_SM_1
SM CODE RTC_SM_1
Description Application check of running RTC
Ownership End user
Detailed implementation
The application software implements some plausibility check on RTC calendar or timing data, mainly after a
power-up and further date reading by RTC.
The guidelines for the implementation of the method are the following:
• RTC backup registers are used to store coded information in order to detect the absence of VBAT
during power-off period.
• RTC backup registers are used to periodically store compressed information on current date or time
• The application software executes minimal consistence checks for date reading after power-on
(detecting “past” date or time retrieve).
• Application software periodically checks that RTC is actually running, by reading RTC timestamp
progress and comparing with an elapsed time measurement based on STM32 internal clock or timers
Error reporting Depends on implementation
Fault detection time Depends on implementation
Addressed fault model Permanent and Transient
Dependency on MCU
configuration
None
Initialization Depends on implementation
Periodicity Periodical
Test for the diagnostic Not needed
Multiple faults protection CPU_SM_0: periodical core self-test software
Recommendations and known
limitations
This method provides a limited diagnostic coverage for RTC failure modes. In case of end user application
where RTC timestamps accuracy can affect in severe way the safety function (e.g. medical data storage
devices), it is strongly recommended to adopt more efficient system-level measures
UM1845
Description of hardware and software diagnostics
UM1845 - Rev 4
page 54/108

Table of Contents