17.4.7 Date and Time Registers

These registers may be written when the RTC is running. After writing these registers, the control register upload bit is used to upload the value coherently into the RTC counter.

Table 17-11. Date and Time
Address OffsetRegister NameBit 
NumbersNameR/WReset ValueDescription
0x20Date Time[31:0]Datetime LowerR/W0Writes the data to be uploaded to the counter and returns the current time upon reading.
0x24[31:0]Datetime UpperR/W0Writes the data to be uploaded to the counter and returns the upper time bits that are in alignment with the last read lower bits; that is, the value of the upper time bits as the lower ones are read.
0x30Date/Time Synchronized Byte Mode[5:0]SecondsR/W0Synchronized mode returns the date/time values at the point the second's register is read. Allows the individual byte of the date and timer to be read.The complete RTC data is read and stored internally when the second value is read, reads of minutes etc returns the value when seconds was read.

For writes, all fields (0 × 30 - × 4C) must be written. The control register upload bit uploads data to the RTC.

These registers are for use when clock_mode = 1.

0x34[5:0]MinutesR/W0
0x38[4:0]HoursR/W0
0x3C[4:0]DayR/W0
0x40[4:0]MonthR/W0
0x44[7:0]YearR/W0
0x48[2:0]WeekdayR/W0
0x4C[5:0]WeekR/W0
0x50Date/Time Direct Byte Mode[5:0]SecondsR/W0Direct mode returns the date/time at the point that each of the the reads take place. Allows the individual byte of the date and timer to be read. Each read returns the current date/time value. It is possible that the date/time may increment between reads.

For writing all fields (0 × 50 - × 6C) must be written. The control register upload bit uploads data to the RTC.

These registers are for use when clock_mode = 1.

0x54[5:0]MinutesR/W0
0x58[4:0]HoursR/W0
0x5C[4:0]DayR/W0
0x60[4:0]MonthR/W0
0x64[7:0]YearR/W0
0x68[2:0]WeekdayR/W0
0x6C[5:0]WeekR/W0

See Table 17-5 for register bit allocation.