RM0401 Rev 3 487/771
RM0401 Real-time clock (RTC)
523
– 0.95 ppm accuracy, obtained in a calibration window of several seconds
• Timestamp function for event saving (1 event)
• Tamper detection:
– 2 tamper events with configurable filter and internal pull-up.
• 20 backup registers (80 bytes). The backup registers are reset when a tamper
detection event occurs.
• Alternate function output (RTC_OUT) which selects one of the following two outputs:
– RTC_CALIB: 512 Hz or 1 Hz clock output (with an LSE frequency of 32.768 kHz).
This output is enabled by setting the COE bit in the RTC_CR register. It is routed
to the device RTC_AF1 function.
– RTC_ALARM (Alarm A, Alarm B or wakeup).
This output is selected by configuring the OSEL[1:0] bits in the RTC_CR register.
It is routed to the device RTC_AF1 function.
• RTC alternate function inputs:
– RTC_TS: timestamp event detection. It is routed to the device RTC_AF1.
– RTC_TAMP1: TAMPER1 event detection. It is routed to the device RTC_AF1.
– RTC_REFIN: reference clock input (usually the mains, 50 or 60 Hz).
Figure 176. RTC block diagram
06Y9
&NBDSUH
GHIDXOW+]
57&B&$/,%
+]
57&B:875
57&&/.
:87)
+6(B57&
0+]PD[
/6(
+]
/6,
6\QFKURQRXV
ELWSUHVFDOHU
GHIDXOW
&DOHQGDU
3UHVFDOHU
ELWZDNHXS
DXWRUHORDGWLPHU
$ODUP$
57&B$/50$5
57&B$/50$665
UHJLVWHUV
$/5$)
57&B$/$50
57&B35 ( 5
57&B35(5
&RDUVH
FDOLEUDWLRQ
57&B&$/
,%5
$/5%)
7LPH
VWDPS
UHJLVWHUV
76)
2XWSXW
FRQWURO
57&B$)
57&B287
6PRRWK
&DOLEUDWLRQ
57&B&$/
5
+]
$ODUP%
57&B$/50%5
57&B$/50%665
UHJLVWHUV
:8&.6(/>@
%DFNXSDQG
57&WDPSHU
FRQWURO
UHJLVWHUV
57&B7$03
57&B76
7$03(
76(
6KDGRZ
5HJLVWHUV
57&B665
6KDGRZ
5HJLVWHUV
57&B75'5
FNBVSUH
GHIDXOW
+]
$V\QFKURQRXV
ELWSUHVFDOHU
GHIDXOW