GD32W51x User Manual
399
16.3.
Function overview
16.3.1.
Block diagram
Figure 16-1. Block diagram of RTC
Digital
Smooth
Calibration
7-bit
Asynchronous
Prescaler
(Default = 128)
15-bit
Synchronous
Prescaler
(Default = 256)
Shadow
Register
RTC_SS
Shadow
Register
RTC_TIME
RTC_DATE
Backup register
and RTC
tamper control
logic
Time-Stamp
Control logic
Calendar
IRC32K
HXTAL/2~32
LXTAL(32.768KHz)
RTC_TAMPx
TPxF
RTC_TS
TSF
RTC_REFIN
Coarse
Calibration
ck_apre
(Default 256 Hz)
ck_spre
(Default 1 Hz)
Alarm-0/1 Logic
512Hz
1Hz
=
Alarm-0 Flag
RTC_CALIB
ALARM 0
Output
Selection Logic
RTC_OUT
RTC
Block Diagram
=
ALARM 1
Alarm-1 Flag
RTC_WTRV
Auto-reload wakeup
timer
WTCS
RTC/2,4,8,16
ck_spre
(Default 1 Hz)
RTC Clock
RTC_ALARM
WTF
The RTC unit includes:
Alarm event/interrupt
Tamper event/interrupt
32-bit backup registers
Optional RTC output function:
-
512Hz (default prescale) : PC15/PA3/PA8
-
1Hz(default prescale): PC15/PA3/PA8
-
Alarm event(polarity is configurable): PC15/PA3/PA8
-
Automatic wakeup event(polarity is configurable): PC15/PA3/PA8
Optional RTC input function:
-
Time stamp event detection(RTC_TS): PC15
-
Tamper 0 event detection(RTC_TAMP0): PC15
-
Tamper 1 event detection(RTC_TAMP0): PA2
-
Reference clock input RTC_REFIN(50 or 60 Hz)
It is possible to output RTC_OUT on PA3 or PA8 pin thanks to OUT2EN bit in RTC_CTL[31].
This output is not available in VBAT mode.
In addition, the TAMPER 1 alternate function corresponds to PA2 pin, This output is not
available in VBAT mode.
Содержание GD32W515 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32W51x Arm Cortex M33 32 bit MCU User Manual Revision 1 0 Nov 2021 ...
Страница 66: ...GD32W51x User Manual 66 Bits Fields Descriptions 31 0 UNIQUE_ID 95 64 Unique device ID ...
Страница 389: ...GD32W51x User Manual 389 The FWDGT timeout can be more accurate by calibrating the IRC32K ...
Страница 504: ...GD32W51x User Manual 504 ...
Страница 710: ...GD32W51x User Manual 710 ...