Datasheet

PCF8523 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
Product data sheet Rev. 6 — 17 September 2013 77 of 78
continued >>
NXP Semiconductors
PCF8523
Real-Time Clock (RTC) and calendar
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 . . . . . . . . . . . . . . . . . . . . . . . . . 5
8 Functional description . . . . . . . . . . . . . . . . . . . 6
8.1 Registers overview . . . . . . . . . . . . . . . . . . . . . . 7
8.2 Control and status registers . . . . . . . . . . . . . . . 9
8.2.1 Register Control_1 . . . . . . . . . . . . . . . . . . . . . . 9
8.2.2 Register Control_2 . . . . . . . . . . . . . . . . . . . . . 10
8.2.3 Register Control_3 . . . . . . . . . . . . . . . . . . . . . 11
8.3 Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
8.4 Interrupt function. . . . . . . . . . . . . . . . . . . . . . . 13
8.5 Power management functions . . . . . . . . . . . . 15
8.5.1 Standby mode. . . . . . . . . . . . . . . . . . . . . . . . . 15
8.5.2 Battery switch-over function . . . . . . . . . . . . . . 16
8.5.2.1 Standard mode . . . . . . . . . . . . . . . . . . . . . . . . 17
8.5.2.2 Direct switching mode . . . . . . . . . . . . . . . . . . 18
8.5.2.3 Battery switch-over disabled, only one power
supply (V
DD
) . . . . . . . . . . . . . . . . . . . . . . . . . . 18
8.5.3 Battery low detection function. . . . . . . . . . . . . 18
8.6 Time and date registers . . . . . . . . . . . . . . . . . 19
8.6.1 Register Seconds . . . . . . . . . . . . . . . . . . . . . . 20
8.6.1.1 Oscillator STOP flag . . . . . . . . . . . . . . . . . . . . 20
8.6.2 Register Minutes. . . . . . . . . . . . . . . . . . . . . . . 21
8.6.3 Register Hours . . . . . . . . . . . . . . . . . . . . . . . . 21
8.6.4 Register Days. . . . . . . . . . . . . . . . . . . . . . . . . 21
8.6.5 Register Weekdays. . . . . . . . . . . . . . . . . . . . . 22
8.6.6 Register Months . . . . . . . . . . . . . . . . . . . . . . . 22
8.6.7 Register Years . . . . . . . . . . . . . . . . . . . . . . . . 23
8.6.8 Data flow of the time function . . . . . . . . . . . . . 23
8.7 Alarm registers . . . . . . . . . . . . . . . . . . . . . . . . 24
8.7.1 Register Minute_alarm . . . . . . . . . . . . . . . . . . 24
8.7.2 Register Hour_alarm . . . . . . . . . . . . . . . . . . . 24
8.7.3 Register Day_alarm . . . . . . . . . . . . . . . . . . . . 25
8.7.4 Register Weekday_alarm . . . . . . . . . . . . . . . . 25
8.7.5 Alarm flag . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
8.7.6 Alarm interrupts . . . . . . . . . . . . . . . . . . . . . . . 26
8.8 Register Offset . . . . . . . . . . . . . . . . . . . . . . . . 28
8.8.1 Correction when MODE = 0 . . . . . . . . . . . . . . 28
8.8.2 Correction when MODE = 1 . . . . . . . . . . . . . . 29
8.8.3 Offset calibration workflow. . . . . . . . . . . . . . . 30
8.9 Timer function . . . . . . . . . . . . . . . . . . . . . . . . 31
8.9.1 Timer registers . . . . . . . . . . . . . . . . . . . . . . . . 32
8.9.1.1 Register Tmr_CLKOUT_ctrl and clock output 32
8.9.1.2 CLKOUT frequency selection . . . . . . . . . . . . 32
8.9.1.3 Register Tmr_A_freq_ctrl. . . . . . . . . . . . . . . . 33
8.9.1.4 Register Tmr_A_reg. . . . . . . . . . . . . . . . . . . . 33
8.9.1.5 Register Tmr_B_freq_ctrl. . . . . . . . . . . . . . . . 34
8.9.1.6 Register Tmr_B_reg . . . . . . . . . . . . . . . . . . . 34
8.9.1.7 Programmable timer characteristics . . . . . . . 34
8.9.2 Timer A. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
8.9.2.1 Watchdog timer function . . . . . . . . . . . . . . . . 35
8.9.2.2 Countdown timer function . . . . . . . . . . . . . . . 36
8.9.3 Timer B. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
8.9.4 Second interrupt timer . . . . . . . . . . . . . . . . . . 39
8.9.5 Timer interrupt pulse . . . . . . . . . . . . . . . . . . . 40
8.10 STOP bit function. . . . . . . . . . . . . . . . . . . . . . 43
8.11 I
2
C-bus interface . . . . . . . . . . . . . . . . . . . . . . 44
8.11.1 Bit transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
8.11.2 START and STOP conditions. . . . . . . . . . . . . 45
8.11.3 System configuration . . . . . . . . . . . . . . . . . . . 45
8.11.4 Acknowledge . . . . . . . . . . . . . . . . . . . . . . . . . 46
8.11.5 I
2
C-bus protocol . . . . . . . . . . . . . . . . . . . . . . . 46
9 Internal circuitry . . . . . . . . . . . . . . . . . . . . . . . 47
10 Safety notes. . . . . . . . . . . . . . . . . . . . . . . . . . . 48
11 Limiting values . . . . . . . . . . . . . . . . . . . . . . . . 49
12 Static characteristics . . . . . . . . . . . . . . . . . . . 50
13 Dynamic characteristics. . . . . . . . . . . . . . . . . 52
14 Application information . . . . . . . . . . . . . . . . . 53
14.1 Battery switch-over applications . . . . . . . . . . 53
15 Package outline. . . . . . . . . . . . . . . . . . . . . . . . 56
16 Bare die outline . . . . . . . . . . . . . . . . . . . . . . . . 59
17 Handling information . . . . . . . . . . . . . . . . . . . 61
18 Packing information . . . . . . . . . . . . . . . . . . . . 61
18.1 Tape and reel information . . . . . . . . . . . . . . . 61
18.2 Wafer and Film Frame Carrier (FFC)
information . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
19 Soldering of SMD packages. . . . . . . . . . . . . . 64
19.1 Introduction to soldering. . . . . . . . . . . . . . . . . 64
19.2 Wave and reflow soldering. . . . . . . . . . . . . . . 64
19.3 Wave soldering . . . . . . . . . . . . . . . . . . . . . . . 64
19.4 Reflow soldering . . . . . . . . . . . . . . . . . . . . . . 65
20 Footprint information . . . . . . . . . . . . . . . . . . . 66
21 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
21.1 Real-Time Clock selection . . . . . . . . . . . . . . . 68