PCF2127AT/1 NXP [NXP Semiconductors], PCF2127AT/1 Datasheet - Page 79

no-image

PCF2127AT/1

Manufacturer Part Number
PCF2127AT/1
Description
Integrated RTC, TCXO and quartz crystal
Manufacturer
NXP [NXP Semiconductors]
Datasheet
NXP Semiconductors
22. Contents
1
2
3
4
5
6
7
7.1
7.2
8
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.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.4
8.6.4.1
8.6.4.2
8.7
8.8
8.8.1
8.8.2
PCF2127A_2
Product data sheet
General description . . . . . . . . . . . . . . . . . . . . . . 1
Features and benefits . . . . . . . . . . . . . . . . . . . . 1
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Ordering information . . . . . . . . . . . . . . . . . . . . . 2
Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Pinning information . . . . . . . . . . . . . . . . . . . . . . 4
Functional description . . . . . . . . . . . . . . . . . . . 5
Temperature compensated crystal oscillator . 12
Temperature measurement . . . . . . . . . . . . . . 12
General purpose 512 bytes static RAM . . . . . 15
Battery switch-over function . . . . . . . . . . . . . . 18
Battery switch-over disabled: only
one power supply (V
Extra power fail detection when the battery
switch over function is enabled. . . . . . . . . . . . 23
Extra power fail detection when the battery
switch-over function is disabled . . . . . . . . . . . 24
Pinning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Pin description . . . . . . . . . . . . . . . . . . . . . . . . . 4
Register overview . . . . . . . . . . . . . . . . . . . . . . . 6
Control registers . . . . . . . . . . . . . . . . . . . . . . . . 9
Register Control_1 . . . . . . . . . . . . . . . . . . . . . . 9
Register Control_2 . . . . . . . . . . . . . . . . . . . . . 10
Register Control_3 . . . . . . . . . . . . . . . . . . . . . 11
Register CLKOUT_ctl . . . . . . . . . . . . . . . . . . . 12
Clock output . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Register Aging_offset . . . . . . . . . . . . . . . . . . . 14
Crystal aging correction . . . . . . . . . . . . . . . . . 14
Register RAM_addr_MSB . . . . . . . . . . . . . . . 15
Register RAM_addr_LSB . . . . . . . . . . . . . . . . 15
Register RAM_wrt_cmd . . . . . . . . . . . . . . . . . 15
Register RAM_rd_cmd . . . . . . . . . . . . . . . . . . 15
Operation examples . . . . . . . . . . . . . . . . . . . . 16
Writing to the RAM . . . . . . . . . . . . . . . . . . . . . 16
Reading from the RAM . . . . . . . . . . . . . . . . . . 16
Power management functions . . . . . . . . . . . . 17
Standard mode . . . . . . . . . . . . . . . . . . . . . . . . 18
Direct switching mode . . . . . . . . . . . . . . . . . . 19
Battery switch-over architecture . . . . . . . . . . . 20
Battery backup supply . . . . . . . . . . . . . . . . . . 20
Battery low detection function. . . . . . . . . . . . . 21
Extra power fail detection function . . . . . . . . . 22
Oscillator stop detection function . . . . . . . . . . 25
Reset function . . . . . . . . . . . . . . . . . . . . . . . . 26
Power-On Reset (POR) . . . . . . . . . . . . . . . . . 26
Power-On Reset Override (PORO) . . . . . . . . 26
DD
) . . . . . . . . . . . . . . . . . 20
All information provided in this document is subject to legal disclaimers.
Rev. 02 — 7 May 2010
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
8.13.8
8.14
8.15
Time and date function. . . . . . . . . . . . . . . . . . 28
Register Seconds. . . . . . . . . . . . . . . . . . . . . . 28
Register Minutes . . . . . . . . . . . . . . . . . . . . . . 28
Register Hours . . . . . . . . . . . . . . . . . . . . . . . . 29
Register Days . . . . . . . . . . . . . . . . . . . . . . . . 29
Register Weekdays . . . . . . . . . . . . . . . . . . . . 29
Register Months. . . . . . . . . . . . . . . . . . . . . . . 30
Register Years . . . . . . . . . . . . . . . . . . . . . . . . 30
Setting and reading the time . . . . . . . . . . . . . 30
Alarm function . . . . . . . . . . . . . . . . . . . . . . . . 32
Register Second_alarm . . . . . . . . . . . . . . . . . 32
Register Minute_alarm. . . . . . . . . . . . . . . . . . 33
Register Hour_alarm . . . . . . . . . . . . . . . . . . . 33
Register Day_alarm . . . . . . . . . . . . . . . . . . . . 33
Register Weekday_alarm. . . . . . . . . . . . . . . . 34
Alarm flag. . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Timer functions. . . . . . . . . . . . . . . . . . . . . . . . 35
Register Watchdg_tim_ctl . . . . . . . . . . . . . . . 35
Register Watchdg_tim_val . . . . . . . . . . . . . . . 36
Watchdog timer function . . . . . . . . . . . . . . . . 36
Countdown timer function . . . . . . . . . . . . . . . 38
Pre-defined timers: second and minute
interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Clearing flags . . . . . . . . . . . . . . . . . . . . . . . . . 39
Timestamp function . . . . . . . . . . . . . . . . . . . . 41
Timestamp flag. . . . . . . . . . . . . . . . . . . . . . . . 41
Time stamp mode . . . . . . . . . . . . . . . . . . . . . 42
Timestamp registers. . . . . . . . . . . . . . . . . . . . 42
Register Timestp_ctl . . . . . . . . . . . . . . . . . . . 42
Register Sec_timestp. . . . . . . . . . . . . . . . . . . 42
Register Min_timestp . . . . . . . . . . . . . . . . . . . 42
Register Hour_timestp . . . . . . . . . . . . . . . . . . 43
Register Day_timestp. . . . . . . . . . . . . . . . . . . 43
Register Mon_timestp . . . . . . . . . . . . . . . . . . 43
Register Year_timestp . . . . . . . . . . . . . . . . . . 43
Dependency between Battery switch-over
and timestamp . . . . . . . . . . . . . . . . . . . . . . . . 44
Interrupt output, INT. . . . . . . . . . . . . . . . . . . . 45
Minute and second interrupts. . . . . . . . . . . . . 46
Countdown timer interrupts . . . . . . . . . . . . . . 47
INT pulse shortening . . . . . . . . . . . . . . . . . . . 48
Watchdog timer interrupts . . . . . . . . . . . . . . . 49
Alarm interrupts . . . . . . . . . . . . . . . . . . . . . . . 49
Timestamp interrupts . . . . . . . . . . . . . . . . . . . 50
Battery switch-over interrupts . . . . . . . . . . . . 50
Battery low detection interrupts . . . . . . . . . . . 50
External clock test mode . . . . . . . . . . . . . . . . 51
STOP bit function . . . . . . . . . . . . . . . . . . . . . . 52
Integrated RTC, TCXO and quartz crystal
PCF2127A
© NXP B.V. 2010. All rights reserved.
continued >>
79 of 80

Related parts for PCF2127AT/1