PCA8565 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 4 — 5 December 2014 10 of 48
NXP Semiconductors
PCA8565
Real time clock/calendar
8.4.2 Register Minutes
8.4.3 Register Hours
8.4.4 Register Days
[1] The PCA8565 compensates for leap years by adding a 29th day to February if the year counter contains a
value which is exactly divisible by 4, including the year 00.
8.4.5 Register Weekdays
Fig 4. Voltage-low detection
9/VHW
QRUPDOSRZHU
RSHUDWLRQ
SHULRGRIEDWWHU\
RSHUDWLRQ
W
9
''
9
ORZ
PJU
Table 11. Register Minutes (address 03h) bits description
Bit Symbol Value Place value Description
7 - - - unused
6 to 4 MINUTES 0 to 5 ten’s place actual minutes coded in BCD format
3 to 0 0 to 9 unit place
Table 12. Register Hours (address 04h) bits description
Bit Symbol Value Place value Description
7 to 6 - - - unused
5 to 4 HOURS 0 to 2 ten’s place actual hours coded in BCD format
3 to 0 0 to 9 unit place
Table 13. Register Days (address 05h) bits description
Bit Symbol Value Place value Description
7 to 6 - - - unused
5to4 DAYS
[1]
0 to 3 ten’s place actual day coded in BCD format
3 to 0 0 to 9 unit place
Table 14. Register Weekdays (address 06h) bits description
Bit Symbol Value Description
7 to 3 - - unused
2 to 0 WEEKDAYS 0 to 6 actual weekday values, see Tab le 15
PCA8565 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 4 — 5 December 2014 11 of 48
NXP Semiconductors
PCA8565
Real time clock/calendar
[1] Definition may be re-assigned by the user.
8.4.6 Register Months_century
[1] This bit may be re-assigned by the user.
[2] This bit is toggled when the years register overflows from 99 to 00.
Table 15. Weekday assignments
Day
[1]
Bit
2 1 0
Sunday 0 0 0
Monday 0 0 1
Tuesday 0 1 0
Wednesday 0 1 1
Thursday 1 0 0
Friday 1 0 1
Saturday110
Table 16. Register Months_century (address 07h) bits description
Bit Symbol Value Place value Description
7C
[1]
0
[2]
- indicates the century is x
1 - indicates the century is x + 1
6 to 5 - - - unused
4 MONTHS 0 to 1 ten’s place actual month coded in BCD format, see Table 17
3 to 0 0 to 9 unit place
Table 17. Month assignments coded in BCD format
Month Upper-digit
(ten’s place)
Digit (unit place)
Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
January 0 0 0 0 1
February 0 0 0 1 0
March 0 0 0 1 1
April00100
May00101
June00110
July00111
August01000
September 0 1 0 0 1
October10000
November10001
December10010
PCA8565 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
Product data sheet Rev. 4 — 5 December 2014 12 of 48
NXP Semiconductors
PCA8565
Real time clock/calendar
8.4.7 Register Years
8.5 Setting and reading the time
Figure 5 shows the data flow and data dependencies starting from the 1 Hz clock tick.
During read/write operations, the time counting circuits (memory locations 02h through
08h) are blocked.
This prevents
Faulty reading of the clock and calendar during a carry condition
Incrementing the time registers, during the read cycle
After this read/write access is completed, the time circuit is released again and any
pending request to increment the time counters that occurred during the read access is
serviced. A maximum of 1 request can be stored; therefore, all accesses must be
completed within 1 second (see Figure 6
).
As a consequence of this method, it is very important to make a read or write access in
one go, that is, setting or reading seconds through to years should be made in one single
access. Failing to comply with this method could result in the time becoming corrupted.
Table 18. Register Years (08h) bits description
Bit Symbol Value Place value Description
7 to 4 YEARS 0 to 9 ten’s place actual year coded in BCD format
3to0 0to9 unit place
Fig 5. Data flow for the time function
DDD
+]WLFN
:((.'$<
6(&21'6
0,187(6
+2856
'$<6
/($3<($5
&$/&8/$7,21
0217+6
<($56
&

PCA8565BS/1,118

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
IC RTC CLK/CALENDAR I2C 10-HVSON
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet