Real-Time Clock
7-171
MPU Public Peripherals
7.13.2.1
Time and Calendar Registers/Alarm Registers
To read or write correct data to and from the time and calendar registers/alarm
registers, the MPU must first poll the BUSY bit of the STATUS register until
BUSY is equal to zero. From this time, and for a time of 15
µ
s (the available
access period), the MPU can safely access the time and calendar registers/
alarm registers. At the end of the access period, the MPU must restart the
previous sequence. If the MPU accesses the time and calendar registers
outside of the access period, the access is not ensured (see Figure 7–60).
Figure 7–60. Time and Calendar Registers and Alarm Register Access
Read BUSY bit
CLK_32 KHz
BUSY
TIPB
NSTROBE
Timer counter
Available TC
registers access
15
µ
s
15
µ
s
Available TC
registers access
15
µ
s
Available TC
registers access
RTC update
32766
32767
0
1
Any read/write TC registers access
Forbidden TC
registers access
7.13.2.2
General Registers
The MPU can access the STATUS_REG and the CTRL_REG at any time
(except the CTRL_REG[5] bit, which must be changed only when the RTC is
stopped).
For the INTERRUPTS_REG, the MPU must respect the available access
period to prevent spurious interrupt.