NXP Semiconductors
PCA8565
Real time clock/calendar
© NXP Semiconductors N.V. 2014. All rights reserved.
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
Date of release: 5 December 2014
Document identifier: PCA8565
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
29. Contents
1 General description. . . . . . . . . . . . . . . . . . . . . . 1
2 Features and benefits . . . . . . . . . . . . . . . . . . . . 1
3 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
4 Ordering information. . . . . . . . . . . . . . . . . . . . . 2
4.1 Ordering options . . . . . . . . . . . . . . . . . . . . . . . . 2
5 Marking. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
6 Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3
7 Pinning information. . . . . . . . . . . . . . . . . . . . . . 4
7.1 Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
7.2 Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 4
8 Functional description . . . . . . . . . . . . . . . . . . . 5
8.1 Register overview . . . . . . . . . . . . . . . . . . . . . . . 6
8.2 Control registers . . . . . . . . . . . . . . . . . . . . . . . . 7
8.2.1 Register Control_1 . . . . . . . . . . . . . . . . . . . . . . 7
8.2.2 Register Control_2 . . . . . . . . . . . . . . . . . . . . . . 7
8.3 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
8.3.1 Power-On Reset (POR) override . . . . . . . . . . . 8
8.4 Time and date registers . . . . . . . . . . . . . . . . . . 9
8.4.1 Register Seconds . . . . . . . . . . . . . . . . . . . . . . . 9
8.4.1.1 Voltage-low detector. . . . . . . . . . . . . . . . . . . . . 9
8.4.2 Register Minutes. . . . . . . . . . . . . . . . . . . . . . . 10
8.4.3 Register Hours . . . . . . . . . . . . . . . . . . . . . . . . 10
8.4.4 Register Days. . . . . . . . . . . . . . . . . . . . . . . . . 10
8.4.5 Register Weekdays. . . . . . . . . . . . . . . . . . . . . 10
8.4.6 Register Months_century . . . . . . . . . . . . . . . . 11
8.4.7 Register Years . . . . . . . . . . . . . . . . . . . . . . . . 12
8.5 Setting and reading the time. . . . . . . . . . . . . . 12
8.6 Alarm registers . . . . . . . . . . . . . . . . . . . . . . . . 13
8.6.1 Register Minute_alarm . . . . . . . . . . . . . . . . . . 14
8.6.2 Register Hour_alarm . . . . . . . . . . . . . . . . . . . 14
8.6.3 Register Day_alarm . . . . . . . . . . . . . . . . . . . . 15
8.6.4 Register Weekday_alarm . . . . . . . . . . . . . . . . 15
8.7 Timer functions . . . . . . . . . . . . . . . . . . . . . . . . 15
8.7.1 Register Timer_control . . . . . . . . . . . . . . . . . . 15
8.7.2 Register Countdown_Timer . . . . . . . . . . . . . . 16
8.8 Register CLKOUT_control and clock output. . 16
8.9 Interrupt output . . . . . . . . . . . . . . . . . . . . . . . . 17
8.9.1 Bits TF and AF . . . . . . . . . . . . . . . . . . . . . . . . 17
8.9.1.1 Clearing the alarm flag (AF) . . . . . . . . . . . . . . 18
8.9.2 Bits TIE and AIE . . . . . . . . . . . . . . . . . . . . . . . 18
8.9.3 Countdown timer interrupts. . . . . . . . . . . . . . . 19
8.10 External clock (EXT_CLK) test mode. . . . . . . 19
8.11 STOP bit function . . . . . . . . . . . . . . . . . . . . . . 20
9 Characteristics of the I
2
C-bus . . . . . . . . . . . . 22
9.1 Bit transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
9.2 START and STOP conditions . . . . . . . . . . . . . 22
9.3 System configuration . . . . . . . . . . . . . . . . . . . 22
9.4 Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . 23
9.5 I
2
C-bus protocol. . . . . . . . . . . . . . . . . . . . . . . 24
9.5.1 Addressing. . . . . . . . . . . . . . . . . . . . . . . . . . . 24
9.5.2 Clock and calendar read/write cycles . . . . . . 24
9.5.3 Interface watchdog timer . . . . . . . . . . . . . . . . 25
10 Internal circuitry . . . . . . . . . . . . . . . . . . . . . . . 27
11 Safety notes. . . . . . . . . . . . . . . . . . . . . . . . . . . 27
12 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 28
13 Static characteristics . . . . . . . . . . . . . . . . . . . 29
14 Dynamic characteristics. . . . . . . . . . . . . . . . . 32
15 Application information . . . . . . . . . . . . . . . . . 33
15.1 Quartz frequency adjustment. . . . . . . . . . . . . 34
15.1.1 Method 1: fixed OSCI capacitor. . . . . . . . . . . 34
15.1.2 Method 2: OSCI trimmer . . . . . . . . . . . . . . . . 34
15.1.3 Method 3: OSCO output . . . . . . . . . . . . . . . . 34
16 Test information . . . . . . . . . . . . . . . . . . . . . . . 34
16.1 Quality information. . . . . . . . . . . . . . . . . . . . . 34
17 Package outline. . . . . . . . . . . . . . . . . . . . . . . . 35
18 Handling information . . . . . . . . . . . . . . . . . . . 36
19 Packing information . . . . . . . . . . . . . . . . . . . . 37
19.1 Tape and reel information . . . . . . . . . . . . . . . 37
20 Soldering of SMD packages. . . . . . . . . . . . . . 37
20.1 Introduction to soldering. . . . . . . . . . . . . . . . . 37
20.2 Wave and reflow soldering. . . . . . . . . . . . . . . 37
20.3 Wave soldering . . . . . . . . . . . . . . . . . . . . . . . 38
20.4 Reflow soldering . . . . . . . . . . . . . . . . . . . . . . 38
21 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
21.1 Real-Time Clock selection . . . . . . . . . . . . . . . 40
22 Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . 42
23 References. . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
24 Revision history . . . . . . . . . . . . . . . . . . . . . . . 43
25 Legal information . . . . . . . . . . . . . . . . . . . . . . 44
25.1 Data sheet status. . . . . . . . . . . . . . . . . . . . . . 44
25.2 Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
25.3 Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . 44
25.4 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . . 45
26 Contact information . . . . . . . . . . . . . . . . . . . . 45
27 Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
28 Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
29 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48