Hello NXP,
I am trying to get the real time using RTC PCA21125.Following way I have implemented the RTC interface with AURIX TC389 controller using SPI communication.
Write Command : 0x10
Read Command : 0x90
SPI Configurations :
Data width : 8
Transfer Start : MSB
RTC Initialization :
Configuring Register Control 1 as 0x0C (POR_OVRD = 1, 12_24 = 1)[is this correct way ?]
Configuring Register Control 1 as 0x00
RF bit of SECOND regirster is always 1 as its default value.
trying to read the Second, Minute, Hour data from the register using SPI commands.
Observed Values :
Seconds : 0
Minutes : 19
Hours : 12