pca2125 NXP Semiconductors, pca2125 Datasheet - Page 10

no-image

pca2125

Manufacturer Part Number
pca2125
Description
Spi Real Time Clock / Calendar Semiconductors
Manufacturer
NXP Semiconductors
Datasheet
NXP Semiconductors
PCA2125_00
Preliminary data sheet
6.4 Time and date function
The majority of these registers are coded in the Binary Coded Decimal format. BCD is
used to simplify application use.
An example is shown for the minutes register:
Table 9:
Table 10.
Table 11.
Table 12.
[1]
Minutes
value in
decimal
00
01
02
:
09
10
:
58
59
Bit
7
6 to 0
Bit
6 to 0
Bit
12 hour mode
5
4 to 0
24 hour mode
5 to 0
Hour mode is set by the 12 / 24 bit in control register 2.
BCD example
Seconds / RF (address 02
Minutes (address 03
Hours (address 04
Symbol
minutes
Symbol
AMPM
hours
hours
Symbol
RF
seconds
Bit 7
2
3
0
0
0
0
0
0
0
Rev. 00.11 — 30 January 2007
Value
00 to 59
Value
0
1
00 to012
00 to 23
Bit 6
2
Value
0
1
00 to 59
2
0
0
0
0
0
1
1
HEX
HEX
Bit 5
2
) bits description
1
0
0
0
0
0
0
0
) bits description
[1]
[1]
HEX
Description
this register holds the current minutes coded in BCD
format
Description
Indicates AM
Indicates PM
this register holds the current hours coded in BCD
format for 12 hour mode
this register holds the current hours coded in BCD
format for 24 hour mode
Description
clock integrity is guaranteed
clock integrity is not guaranteed. Chip reset has
occurred since flag was last cleared
this register holds the current seconds coded in BCD
format;
Bit 4
2
) bits description
0
0
0
0
0
1
1
1
Bit 3
2
3
0
0
0
1
0
1
1
Bit 2
2
2
0
0
0
0
0
0
0
SPI Real time clock / calendar
Bit 1
2
1
0
0
1
0
0
0
0
PCA2125
Bit 0
2
© NXP B.V. 2007. All rights reserved.
0
0
1
0
1
0
0
1
10 of 40

Related parts for pca2125