Datasheet

ADE5166/ADE5169/ADE5566/ADE5569 Data Sheet
Rev. D | Page 126 of 156
Table 135. RTC Calibration Configuration Register (RTC_CAL, Address 0x0F)
Bit Mnemonic Default Description
7 CAL_EN_PSM2 0 When this bit is set and the CAL_EN bit is set, the RTC output is present on P0.5/MISO/ZX in PSM2
mode. The RTC output is disabled on all other pins in PSM2 mode.
6 CAL_EN 0 RTC calibration enable output.
CAL_EN Result
0 The RTC calibration output signal is disabled
1 The RTC calibration output signal is enabled and present on the pins selected by
the RTC_P2P3, RTC_P1P2, RTC_P0P7, and RTC_P0P5 bits (Bits[3:0]).
[5:4] FSEL[1:0] 00 RTC calibration output frequency selection.
FSEL Frequency Calibration Window
00 1 Hz 30.5 sec
01 512 Hz 30.5 sec
10 500 Hz 0.244 sec
11 16 kHz 0.244 sec
3 RTC_P2P3 0 When this bit is set and the CAL_EN bit is set, the RTC output is present on the P2.3/
SDEN
/TxD2 pin.
2 RTC_P1P2 0 When this bit is set and the CAL_EN bit is set, the RTC output is present on the P1.2/FP25/ZX pin.
1 RTC_P0P7 0 When this bit is set and the CAL_EN bit is set, the RTC output is present on the P0.7/
SS
/T1/RxD2 pin.
0 RTC_P0P5 0 When this bit is set and the CAL_EN bit is set, the RTC output is present on the P0.5/MISO/ZX pin.
RTC CALENDAR
The RTC has a full calendar, taking into account leap years. The rollover of the date to increment the month is implemented according to the
parameters shown in Table 136.
Table 136. Month Rollover
MONTH Register Rollover Value Estimated Month
0x01 31 January
0x02 28 or 29 days (see Table 137) February
0x03 31 March
0x04 30 April
0x05 31 May
0x06 30 June
0x07 31 July
0x08 31 August
0x09
30
September
0x0A 31 October
0x0B 30 November
0x0C 31 December