PCA2125TS NXP [NXP Semiconductors], PCA2125TS Datasheet - Page 8

no-image

PCA2125TS

Manufacturer Part Number
PCA2125TS
Description
SPI Real-time clock/calendar
Manufacturer
NXP [NXP Semiconductors]
Datasheet
NXP Semiconductors
PCA2125_1
Product data sheet
8.4 Time and date function
The majority of the registers are coded in the Binary Coded Decimal (BCD) format. BCD
is used to simplify application use.
An example is shown for register Minutes in
Table 8.
Table 9.
Table 10.
Table 11.
[1]
Minutes value
(decimal)
00
01
02
:
09
10
:
58
59
Bit
7
6 to 0
Bit
7
6 to 0
Bit
6 and 7
12 hour mode
5
4 to 0
24 hour mode
5 to 0
Hour mode is set by bit 12_24 in register Control_1.
Symbol
RF
SECONDS[6:0]
Symbol
-
MINUTES[6:0]
Symbol
-
AMPM
HOURS[4:0]
HOURS[5:0]
BCD example
Register Seconds (address 02h) bit description
Register Minutes (address 03h) bit description
Register Hours (address 04h) bit description
[1]
[1]
Double-digit
Bit 7
2
0
0
0
:
0
0
:
0
0
3
Rev. 01 — 28 July 2008
Bit 6
2
0
0
0
:
0
0
:
1
1
2
Value
0
1
00 to 59
Value
0
00 to 59
Value
0
0
1
01 to 12
00 to 23
Bit 5
2
0
0
0
:
0
0
:
0
0
1
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 value coded in
BCD format
Description
unused
this register holds the current minutes value coded in
BCD format
Description
unused
indicates AM
indicates PM
this register holds the current hours value coded in
BCD format for 12 hour mode
this register holds the current hours value coded in
BCD format for 24 hour mode
Table
Bit 4
2
0
0
0
:
0
1
:
1
1
0
8.
Digit
Bit 3
2
0
0
0
:
1
0
:
1
1
3
SPI Real-time clock/calendar
Bit 2
2
0
0
0
:
0
0
:
0
0
2
PCA2125
© NXP B.V. 2008. All rights reserved.
Bit 1
2
0
0
1
:
0
0
:
0
0
1
0
1
0
:
1
0
:
0
1
Bit 0
2
0
8 of 36

Related parts for PCA2125TS