Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

PCF2127 View Datasheet(PDF) - NXP Semiconductors.

Part Name
Description
MFG CO.
'PCF2127' PDF : 101 Pages View PDF
NXP Semiconductors
PCF2127
Accurate RTC with integrated quartz crystal for industrial applications
28. Contents
1
General description . . . . . . . . . . . . . . . . . . . . . . 1
2
Features and benefits . . . . . . . . . . . . . . . . . . . . 1
3
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
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
8.2
8.2.1
8.2.2
8.2.3
8.3
8.3.1
8.3.1.1
8.3.2
8.3.3
8.4
8.4.1
8.5
8.5.1
8.5.2
8.5.3
8.5.4
8.5.5
8.5.5.1
8.5.5.2
8.6
8.6.1
8.6.1.1
8.6.1.2
8.6.1.3
8.6.1.4
8.6.2
8.6.3
8.6.3.1
8.6.3.2
8.6.4
8.7
Register overview . . . . . . . . . . . . . . . . . . . . . . . 6
Control registers . . . . . . . . . . . . . . . . . . . . . . . 10
Register Control_1 . . . . . . . . . . . . . . . . . . . . . 10
Register Control_2 . . . . . . . . . . . . . . . . . . . . . 11
Register Control_3 . . . . . . . . . . . . . . . . . . . . . 12
Register CLKOUT_ctl . . . . . . . . . . . . . . . . . . . 12
Temperature compensated crystal oscillator . 13
Temperature measurement . . . . . . . . . . . . . . 13
OTP refresh . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Register Aging_offset . . . . . . . . . . . . . . . . . . . 14
Crystal aging correction . . . . . . . . . . . . . . . . . 14
General purpose 512 bytes static RAM . . . . . 15
Register RAM_addr_MSB . . . . . . . . . . . . . . . 16
Register RAM_addr_LSB . . . . . . . . . . . . . . . . 16
Register RAM_wrt_cmd . . . . . . . . . . . . . . . . . 16
Register RAM_rd_cmd . . . . . . . . . . . . . . . . . . 16
Operation examples . . . . . . . . . . . . . . . . . . . . 17
Writing to the RAM . . . . . . . . . . . . . . . . . . . . . 17
Reading from the RAM . . . . . . . . . . . . . . . . . . 17
Power management functions . . . . . . . . . . . . 17
Battery switch-over function . . . . . . . . . . . . . . 19
Standard mode . . . . . . . . . . . . . . . . . . . . . . . . 20
Direct switching mode . . . . . . . . . . . . . . . . . . 21
Battery switch-over disabled: only one power
supply (VDD) . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Battery switch-over architecture . . . . . . . . . . . 22
Battery low detection function. . . . . . . . . . . . . 22
Extra power fail detection function . . . . . . . . . 23
Extra power fail detection when the battery
switch-over function is enabled . . . . . . . . . . . 24
Extra power fail detection when the battery
switch-over function is disabled . . . . . . . . . . . 26
Battery backup supply . . . . . . . . . . . . . . . . . . 26
Oscillator stop detection function . . . . . . . . . . 27
8.8
8.8.1
8.8.2
8.9
8.9.1
8.9.2
8.9.3
8.9.4
8.9.5
8.9.6
8.9.7
8.9.8
8.10
8.10.1
8.10.2
8.10.3
8.10.4
8.10.5
8.10.6
8.11
8.11.1
8.11.2
8.11.3
8.11.4
8.11.5
8.11.6
8.12
8.12.1
8.12.2
8.12.3
8.12.3.1
8.12.3.2
8.12.3.3
8.12.3.4
8.12.3.5
8.12.3.6
8.12.3.7
8.12.4
8.13
8.13.1
8.13.2
8.13.3
8.13.4
8.13.5
8.13.6
8.13.7
Reset function . . . . . . . . . . . . . . . . . . . . . . . . 28
Power-On Reset (POR) . . . . . . . . . . . . . . . . . 28
Power-On Reset Override (PORO) . . . . . . . . 29
Time and date function. . . . . . . . . . . . . . . . . . 30
Register Seconds. . . . . . . . . . . . . . . . . . . . . . 30
Register Minutes . . . . . . . . . . . . . . . . . . . . . . 31
Register Hours . . . . . . . . . . . . . . . . . . . . . . . . 32
Register Days . . . . . . . . . . . . . . . . . . . . . . . . 32
Register Weekdays . . . . . . . . . . . . . . . . . . . . 33
Register Months. . . . . . . . . . . . . . . . . . . . . . . 34
Register Years . . . . . . . . . . . . . . . . . . . . . . . . 35
Setting and reading the time . . . . . . . . . . . . . 35
Alarm function . . . . . . . . . . . . . . . . . . . . . . . . 37
Register Second_alarm . . . . . . . . . . . . . . . . . 38
Register Minute_alarm. . . . . . . . . . . . . . . . . . 38
Register Hour_alarm . . . . . . . . . . . . . . . . . . . 39
Register Day_alarm . . . . . . . . . . . . . . . . . . . . 39
Register Weekday_alarm. . . . . . . . . . . . . . . . 40
Alarm flag. . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Timer functions. . . . . . . . . . . . . . . . . . . . . . . . 40
Register Watchdg_tim_ctl . . . . . . . . . . . . . . . 41
Register Watchdg_tim_val . . . . . . . . . . . . . . . 42
Watchdog timer function . . . . . . . . . . . . . . . . 42
Countdown timer function . . . . . . . . . . . . . . . 44
Pre-defined timers: second and minute
interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Clearing flags . . . . . . . . . . . . . . . . . . . . . . . . . 46
Timestamp function . . . . . . . . . . . . . . . . . . . . 48
Timestamp flag. . . . . . . . . . . . . . . . . . . . . . . . 48
Timestamp mode . . . . . . . . . . . . . . . . . . . . . . 49
Timestamp registers. . . . . . . . . . . . . . . . . . . . 50
Register Timestp_ctl . . . . . . . . . . . . . . . . . . . 50
Register Sec_timestp. . . . . . . . . . . . . . . . . . . 50
Register Min_timestp . . . . . . . . . . . . . . . . . . . 51
Register Hour_timestp . . . . . . . . . . . . . . . . . . 51
Register Day_timestp. . . . . . . . . . . . . . . . . . . 52
Register Mon_timestp . . . . . . . . . . . . . . . . . . 52
Register Year_timestp . . . . . . . . . . . . . . . . . . 52
Dependency between Battery switch-over and
timestamp . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Interrupt output, INT. . . . . . . . . . . . . . . . . . . . 54
Minute and second interrupts. . . . . . . . . . . . . 55
Countdown timer interrupts . . . . . . . . . . . . . . 56
INT pulse shortening . . . . . . . . . . . . . . . . . . . 56
Watchdog timer interrupts . . . . . . . . . . . . . . . 58
Alarm interrupts . . . . . . . . . . . . . . . . . . . . . . . 58
Timestamp interrupts . . . . . . . . . . . . . . . . . . . 58
Battery switch-over interrupts . . . . . . . . . . . . 58
continued >>
PCF2127
Product data sheet
All information provided in this document is subject to legal disclaimers.
Rev. 8 — 19 December 2014
© NXP Semiconductors N.V. 2014. All rights reserved.
99 of 100
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]