pcf2127a NXP Semiconductors, pcf2127a Datasheet - Page 78

no-image

pcf2127a

Manufacturer Part Number
pcf2127a
Description
Integrated Rtc, Tcxo And Quartz Crystal
Manufacturer
NXP Semiconductors
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
pcf2127aT
Manufacturer:
NICCOMP
Quantity:
420 000
Part Number:
pcf2127aT
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Part Number:
pcf2127aT/2
Manufacturer:
NXP
Quantity:
441
NXP Semiconductors
24. 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.7.1
8.7.2
PCF2127A_1
Product data sheet
General description . . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Ordering information . . . . . . . . . . . . . . . . . . . . . 2
Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Pinning information . . . . . . . . . . . . . . . . . . . . . . 4
Functional description . . . . . . . . . . . . . . . . . . . 5
Temperature compensated crystal
oscillator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
General purpose 512 bytes static RAM . . . . . 15
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 . . . . . . . . . . . . . . . . . . . . . . . 5
Control registers . . . . . . . . . . . . . . . . . . . . . . . . 9
Register Control_1 . . . . . . . . . . . . . . . . . . . . . . 9
Register Control_2 . . . . . . . . . . . . . . . . . . . . . 10
Register Control_3 . . . . . . . . . . . . . . . . . . . . . 11
Register CLKOUT_ctl . . . . . . . . . . . . . . . . . . . 12
Temperature measurement . . . . . . . . . . . . . . 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 . . . . . . . . . . . . . . . . . . . . 15
Writing to the RAM . . . . . . . . . . . . . . . . . . . . . 15
Reading from the RAM . . . . . . . . . . . . . . . . . . 16
Power management functions . . . . . . . . . . . . 16
Battery switch-over function . . . . . . . . . . . . . . 17
Standard mode . . . . . . . . . . . . . . . . . . . . . . . . 18
Direct switching mode . . . . . . . . . . . . . . . . . . 18
Battery switch-over architecture . . . . . . . . . . . 19
Battery backup supply . . . . . . . . . . . . . . . . . . 20
Battery low detection function. . . . . . . . . . . . . 21
Extra power fail detection function . . . . . . . . . 22
Reset function . . . . . . . . . . . . . . . . . . . . . . . . 25
Power-On Reset (POR) . . . . . . . . . . . . . . . . . 25
Power-On Reset Override (PORO) . . . . . . . . 25
DD
). . . . . . . . . . . . . . . . . . . . . 19
Rev. 01 — 21 January 2010
8.8
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.1.1
8.13.1.2
8.13.2
8.13.3
8.13.4
8.13.5
8.13.6
Oscillator stop detection function . . . . . . . . . . 27
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 . . . . . . . . . . . . . 31
Alarm function . . . . . . . . . . . . . . . . . . . . . . . . 32
Register Second_alarm . . . . . . . . . . . . . . . . . 33
Register Minute_alarm. . . . . . . . . . . . . . . . . . 33
Register Hour_alarm . . . . . . . . . . . . . . . . . . . 33
Register Day_alarm . . . . . . . . . . . . . . . . . . . . 34
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. . . . . . . . . . . . . . . . . . . . 44
Minute, second and countdown timer
interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Minute and second interrupts. . . . . . . . . . . . . 45
Countdown timer interrupts . . . . . . . . . . . . . . 47
INT pulse shortening . . . . . . . . . . . . . . . . . . . 47
Watchdog timer interrupts . . . . . . . . . . . . . . . 48
Alarm interrupts . . . . . . . . . . . . . . . . . . . . . . . 48
Timestamp interrupts . . . . . . . . . . . . . . . . . . . 49
Battery switch-over interrupts . . . . . . . . . . . . 49
Integrated RTC, TCXO and quartz crystal
PCF2127A
© NXP B.V. 2010. All rights reserved.
continued >>
78 of 79

Related parts for pcf2127a