UM10762
User manual for the accurate RTC demo board OM13513
containing PCF2127T and PCF2129AT
Rev. 2 — 1 September 2014 User manual
Document information
Info Content
Keywords PCF2127T, PCF2129AT, OM13513, accurate RTC, Real-Time Clock, get
started, SPI bus, I2C-bus, time stamp, temperature compensation,
integrated quartz, tuning, battery switch, Watch-Dog
Abstract User manual for the accurate RTC demo board OM13513 containing
PCF2127T and PCF2129AT
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 2 of 20
Contact information
For more information, please visit: http://www.nxp.com
For sales office addresses, please send an email to: salesaddresses@nxp.com
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
Revision history
Rev Date Description
v.2 20140901 updated revision
v.1 20140602 first revision
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 3 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
1. Introduction
The PCF2127, PCA2129 and PCF2129 are a family of very accurate Real-Time Clocks.
They feature a fully integrated temperature compensated quartz oscillator (TCXO). Time
stamp, battery management and watchdog blocks reduce the system overhead
considerably.
The OM13513 is the i deal evaluation and demo boa rd to be used during the design pha se
of any project; only power and a serial bus (SPI-bus or I2C-bus) need to be connected.
The OM13518 (USB to I2C-bus dongle) could be used for the I2C-bus conn ection.
2. Key features
2.1 Evaluation board OM13513
The accurate RTCs PCF2127T and PCF2129AT are mounted together with a back-up
lithium battery on a small PC-board. Two push buttons allow initiating time stamps .
All signals are accessible on the pin connectors P2 and P3 (see Figure 4), overcoming the
need to build a test PC-board before the circuit can be evaluated or the functionality can
be tested together with the final application.
The board is also helpful to evaluate the functionality of PCF2127AT, PCF2129T and
PCA2129T/Q900, the automotive grad e version. Also check section Section 2.3.
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 4 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
2.2 Accurate RTC
The specific features of the accurate RTC are complementing the main functionality.
PCF2127T and PCF2129AT:
Temperature compensated quartz oscillator TCXO with embedded quartz crystal
Typical accuracy: 3ppm
Battery backup input pin and switch-over circuitry
Battery backed output voltage
Universal interface to select between SPI- and I2C-bus
Time stamp facility
With interrupt capability
Detection of two different events on one mu ltilevel input pin (for example, for
tamper detection)
Programmable watchdog timer with interrupt
For configuring the board, see Section 3.4.
Fig 1. OM13513 evaluation/demo board
I2C
SPI
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 5 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
Programmable alarm function with interrupt capability
In addition PCF2127T has the following features:
512 Byte of battery buffered RAM
Programmable countdown timer with interrupt
Additional power fail detector to, for example, pre-alert the microcontroller that the
power supply is going down
The block diagram in Figure 2 nicely illustrates the key blocks:
Time stamp facility
Temperature compensated quartz oscillator TCXO
Battery back-up switch
Universal interface to select between SPI-bus and I2C-bus
2.3 Accurate Real-Time Clock PCF2127T, PCF2129AT
The high accuracy is achieved by the integration of a temperature compensated quartz
oscillator including the quartz crystal in one package. Additional features are battery
management, time stamp facility and in case of the PCF2127T additional 512 bytes of
battery buffered RAM.
There are 3 different grades available:
1. Temperature compensa tion co verin g 25 C t o +6 5 C: PCF2127AT, PCF2129AT (on
the OM13513)
Fig 2. Block diagram of the accurate RTC family
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 6 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
2. Temperature compensation covering 40 C to +85 C: PCF2127T (on the
OM13513), PCF2129T
3. Automotive grade AEC-Q100 covering 40 C to +85 C: PCA2129T/Q900
1. uses a quartz crystal packed in a metal can package.
2. and 3. use a quartz, packed in a ceramic package.
2.4 Expected accuracy
The accuracy of an RTC is commonly specified in deviation of seconds per day or ppm ;
1 s/day corresponds to 11.5ppm.
The PCF2127AT and PCF2129AT are temperature compensated over the temperature
range of 30 Cto +60C and the PCF2127T, PCF2129T and PCA2129T/Q900 are
temperature compensated over the temperature range of 40 C to +85 C, see Figure 3.
Since the actual deviations at different temperatures may be positive (running to fast) or
negative (running too slow) they may cancel out each other to a high extend. Therefore
the actual accuracy over timer is much better than specified in with the max values;
< 3 ppm or 1 s/4days can be expected. Other consideration regard the ambient
temperature over the day, respectively over the yea r. Temperatures below e.g. 15C and
above +60 C are usu ally on ly present for a limited time of the da y an d ma y ev en not be
present most of the year.
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 7 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
Fig 3. Temperature compensation gradat ion in respect to family
Temperature (°C)
-40 1006008040-20 20
001aaj650
-40
0
40
Frequency
stability
(ppm)
-80
± 10 ppm ± 5 ppm ± 10 ppm
(1)
(2)
Temperature (°C)
-40 1006008040-20 20
013aaa345
-40
0
40
Frequency
stability
(ppm)
-80
± 5 ppm ± 3 ppm ± 5 ppm
(1)
(2)
PCF2127AT
PCF2129AT
PCF2127T
PCA2129T
PCF2129T
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 8 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
3. Hardware setup
3.1 Detailed circuit diagram
The position of the jumpe rs and conn ecto rs can be found in the circuit di ag ram ( Figure 4)
and the layout drawing (Figure 5).
3.2 General requirements for the PCF2127T and PCF2129AT
The RTC circuit just requires a few external components to buffer the supply voltage.
Avoid any tracks with high frequency signals (fast edges) close to the RTC or its
connections.
It is required to have a decoupling capacitor of 100 nF on the VDD-VSS rails close to the
RTC; a similar decoupling capacitor on pin BBS is required. Due to the low power
consumptio n of a fe w μW, no precautions for heat dissipations are required, even in a
sealed housing environment.
Frequencies of 1 Hz to 16.884 kHz at the CLKOUT pin can be used to measure the
frequency for calibration and/or for general purpose use, e.g. as reference for the
frequency generation with a PLL. If the CLKOUT frequency is set to 32.768 kHz, then the
accuracy may be less.
Fig 4. Circuit diagram of the demo board OM13513
M1
Comment
M2
Comment
C2
100nF
GND
VDD
SCL
SDA/CEn2
SDI
SDO
TSn
INTA1
12 34 56 78 910 1112 1314
P1
SCL1
INTA1
5V
GND
3V3
Res
SDA1
SDA2
INTA2
5V
GND
3V3
Res
SCL2
1
2
3
4
5
6
7
8
9
P2
CLKOUT2
C3
100nF
C1
10uF
GND
T2
GND
SDA
SCL
VDDVSS
VBAT
1
2
J2
1
2
J1
1
2
3
J4
1
2
3
J3
1
2
3
J6
1
2
3
J5
IC1/PW IC2/PW
VSS
VBAT
BT1
VDD U1 VDD U2
VDD
GND
3.3V
CR2032
SCL
1SDI
2SDO
3SDA/CEn
4IFS
5TSn
6CLKOUT
7VSS
8TEST 9
PFOn 10
PFI 11
RSTn 12
INTn 13
BBS 14
VBAT 15
VDD 16
PCF2127T
IC2
TSn
6
SDO
3SDA/CEn
4IFS
5
CLKOUT
7VSS
8n.c
9n.c
10 n.c 11
n.c 12
n.c 13
n.c 14
n.c 15
n.c 16
SDI
2
INTn 17
BBS 18
VBAT 19
VDD 20
SCL
1
PCF2129AT
IC1
R1
2K2
SDA/CEn2
SDA/CEn1
SDA/CEn1
R2
10k
1
2
3
J7 BBS
VSS
IFS2
BBS
VSS
IFS1
1
2
3
4
5
6
7
8
9
P3
T1
CLKOUT1
PFI
PFOn
RSTn
TEST
GND
GND
12
JP1
R3
220k
1 2
JP2
1 2
JP3
R4
47K
R5
47K
1 2
JP4
R6
820E
D1
VDD
C4
100nF
C5
100nF
J3 for future use
Optional connector
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 9 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
3.3 Battery back-up
To guarantee the autonomy of the clock a continuous supply of power is needed. The
battery back-up facility will assure this. For storage and delivery the jumpers J5 and J6 are
set such that the battery will not be discharged.
To reduce power consumption, always switch-of f functions and outputs not in use.
3.4 Hardware settings
3.4.1 General settings
Set Jumper JP4 to activate LED D1 for signaling an interrupt
The single in line connectors P2 and P3 (100 mil pitch) give access to all pins for
integrating the RTC into an application
Resistor R1 and C1 reduce the VDD slew rate when removing VDD to ensure clean
battery switch over
A Lithium coin cell battery 2032 is mo unted underneath the boar d to buffer the vo ltage
in case of loss of supply voltage VDD
Jumper J1, respectively J2 allows to measure the current consumption, replace it by a
A meter
Fig 5. Evaluation board (top side layout)
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 10 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
3.4.2 Settings for PCF2129AT (IC1)
Default jumper settings to operate PCF2129AT and disable PCF2127T on the boa rd .T h e
hardware settings are illustrated in Figure 6.
Fig 6. Hardware settings for PCF2129AT
A
C
B
DG
F E
H
J
K
VSS
I
I2C
SPI
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 11 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
[1] In direction of reading “Jn”.
Table 1. Jumper settings to operat e PCF2129AT (IC1)
Indicator Description Jumper Setting[1]
Jumpers
AV
DD selected for PCF2129AT J1 ■■
B battery backup of PCF 2129AT enabled J6 □■■
C battery backup of PCF 2127T disabled J5 ■■□
D LED D1 connected to interrupt pin JP4 ■■
EI
2C-bus selected for the PCF2129AT J4 □■■
SPI-bus selected for the PCF2129AT ■■□
G unused SDI-interface connected to GND JP1 ■■
H pull-up on CLKOUT JP2 -
Interface
I supply and interface connector P2 -
Outputs
J interrupt output P2 -
K clock output P3 -
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 12 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
3.4.3 Settings for PCF2127T (IC2)
Default jumper settings to operate PCF2127T and disable PCF2129AT on the board.The
hardware settings are illustrated in Figure 7.
Fig 7. Hardware settings for PCF2127T
A
C
B
D
FE
I
H
J
K
M
L
VSS
G
I2C
SPI
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 13 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
[1] In direction of reading “Jn”.
Table 2. Jumper settings to operat e the PCF2127T (IC2)
Indicator Description Jumper Setting[1]
Jumpers
AV
DD selected for PCF2127T J2 ■■
B battery backup of PCF2127T enabled J5 □■■
C battery backup of PCF2129AT disabled J6 ■■□
D LED D1 connected to interrupt pin JP4 ■■
FI
2C-bus selected for the PCF2127T J7 □■■
SPI-bus selected for the PCF2127T ■■□
G unused SDI-interface connected to GND JP1 ■■
H pull-up on CLKOUT JP2 -
Interface
I supply and interface connector P2 -
Outputs
J interrupt output P2 -
K clock output P3 -
Push button
L time stamp input 1 T1 -
M time stamp input 2 T1 -
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 14 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
4. Optional features for test and evaluation
4.1 Experimental area
Left of the NXP logo there is some space on the board where a custom circuitry can be
placed. VSS and VDD are available for easy set up.
5. Software
The accurate RTC is controlled via a standard SPI-bus or an FM+ I2C-bus inter face.
Common protocols apply. After power-up the cont rol register has to be programmed first
to set the correct functions and modes. Then the current time should be programmed.
5.1 Software instructions for setting the clock
5.1.1 Configuring the function
Control registers 00h to 02h.
5.1.2 Setting the time
Time and date registers 03h to 09h.
5.1.3 Programming alarms
Alarm registers 0Ah to 0Eh.
5.1.4 Clock out control
Register 0Fh.
5.1.5 Watchdog
Registers 10h, 11h.
5.1.6 Time stamp
Registers 12h to 18 h .
5.1.7 Aging compensation
Register 19h.
5.1.8 RAM, PCF2127 only
Registers 1Ah to 1Dh.
5.1.9 Frequency trimming
Since the oscillator is factory calibrated, there is no need for trimming. Optional trimming
can be done to compensate for aging or to set purposely an offset to the nominal
frequency. Just program the register 19h accordingly.
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 15 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
5.2 I2C-bus software example
Set time to 9:45:37, Aug. 1 2014
Generate a blinking LED at the Seconds interrupt:
Table 3. I2C-bus software example
Address Value Function
- S START condition
- A2h slave address + R/W = 0
- 00h register address
00h 01h e nable seconds interrupt
01h 00h d efault values
02h 00h d efault values
03h 37h set to 37 se conds
04h 45h set to 45 mi nutes
05h 09h set to 9 hours
06h 01h set to day 1
07h 05h set to Friday
08h 08h set to August
09h 14h set to year 14
- P STOP condition
- S START condition
- A2h slave address + R/W = 0
- 0Fh register address
0Fh 01h set CLKOUT freque ncy to
16 kHz
10h 23h select pulsed interrupt signal
- P STOP condition
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 16 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
6. References
[1] PCF2127T — Accurate RTC with integrated quartz cryst al for industrial
[2] PCA2129T — Accurate RTC with integrated quartz crystal for automotive, data
sheet
[3] PCF2129AT — Integrated RTC, TCXO and quartz crystal
[4] AN11266 — Application and soldering information for the PCF2127T industrial
TCXO RTC, Application note
[5] AN10857 — Application and soldering information for PCF2127A and PCF2129A
TCXO RTC
[6] AN11120 — Application and so ldering information for the PCA2129 autom otive
TCXO RTC
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 17 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
7. Legal information
7.1 Definitions
Draft — The document is a draft version only. The content is still under
internal review and subject to formal approval, which may result in
modifications or additions. NXP Semiconductors does not give any
representations or warranties as to the accuracy or completeness of
information included herein and shall have no liab ility for the consequences of
use of such information.
7.2 Disclaimers
Limited warr a nty and liability — Information in this document is believed to
be accurate and reliable. However, NXP Semiconductors does not give any
representations or warranties, expressed or implied, as to the accuracy or
completeness of such information and shall have no liability for the
consequences of use of such information. NXP Se miconductors takes no
responsibility for the content in this document if provided by an inf ormation
source outside of NXP Semiconductors.
In no event shall NXP Semiconductors be liable for any indirect, incidental,
punitive, special or consequ ential damages (including - wit hout limitatio n - lost
profits, lost savings, business interruption, costs related to the removal or
replacement of any products or rework charges) whethe r or not such
damages are based on tort (including negligence), warranty, breach of
contract or any other legal theory.
Notwithstanding any damages that customer might incur for any reason
whatsoever, NXP Semiconductors’ aggreg ate and cumulative l iability towards
customer for the products described herein shall be limited in accordance
with the Terms and conditions of commercial sale of NXP Semiconductors.
Right to make changes — NXP Semiconductors reserves the right to make
changes to information published in this document, including without
limitation specifications and product descriptions, at any time and without
notice. This document supersedes and replaces all informa tion supplied prior
to the publication hereof .
Suitability for use — NXP Semiconductors products are not designed,
authorized or warranted to be suit able for use in life support, life-critical or
safety-critical systems or equipment, nor in applications where failure or
malfunction of an NXP Semiconductors product can reasonably be expected
to result in personal injury, death or severe property or environmental
damage. NXP Semiconductors and its suppliers accept no liability for
inclusion and/or use of NXP Semiconductors prod ucts in such equipment or
applications and theref ore such inclusi on and/o r use is at the cu stome r’s own
risk.
Applications — Applications that are described herein for any of these
products are for illustrative purposes only. NXP Semiconductors makes no
representation or warranty that such applications will be suitable for the
specified use without further testing or modificat i on.
Customers are responsible for the design and operation of their applications
and products using NXP Semiconductors pr oducts, and NXP Semiconductors
accepts no liability for any assistance with applications or customer product
design. It is customer’s sole responsibility to determine whether the NXP
Semiconductors product is suit able and fit for the custome r’s applications and
products planned, as well as fo r the planned application and use of
customer’s third party customer(s). Customers should provide appropriate
design and operating safeguards to minimize the risks associated with their
applications and products.
NXP Semiconductors does not accept any liability related to any default,
damage, costs or problem which is based on any weakness or default in the
customer’s applications or products, or the application or use by custo mer’s
third party customer(s). Customer is responsible for doing all necessary
testing for th e customer’s applications and product s using NXP
Semiconductors products in order to avoid a default of the applications and
the products or of the application or use by customer’s third p arty
customer(s). NXP does not accept any liability in this respect.
Export control — This document as well as the item(s) described herein
may be subject to export control regulatio ns. Export might require a prior
authorization from competent authorities.
Evaluation products This product is provided on an “as is” and “with all
faults” basis for eval uation purposes only. NXP Semiconductors, its affiliates
and their supplie rs expressly disclaim all warrant ies, whether express, impl ied
or statutory, including but not limited to the implied warranties of
non-infringement, mercha ntability and fitness for a part icular purpose. The
entire risk as to the quality, or arising out of the use or performance, of this
product remains with customer.
In no event shall NXP Semiconductors, it s aff iliates or thei r suppliers be liable
to customer for any special, indirect, consequ ential, punitive or incidental
damages (including without li mit ation d amages for l oss of bu siness, bu siness
interruption, loss of use , loss of data or information, and the like) arising out
the use of or inability to use the product, whet her or not based on tort
(including negligence), st rict liability, breach of contract, breach of warrant y or
any other theory, even if advised of the possibility of such damages.
Notwithstanding any damages that customer might incur for any reason
whatsoever (including without limitation, all damages referenced above and
all direct or general damages), the entire liability of NXP Semiconductors, its
affiliates and their suppliers and customer’s exclusive remedy for all of the
foregoing shall be limited to actual damages incurred by customer based on
reasonable reliance up to the greater of the amount actually paid by customer
for the product o r five dollars (U S$5.00). The for egoing limita tions, exclusions
and disclaimers shall apply to the maximum extent permitt ed by applicable
law, even if any remedy fails of its essential purpose.
Translations — A non-English (translated) version of a document is for
reference only. The English version shall prevail in case of any discrepancy
between the translated and English versions.
7.3 Trademarks
Notice: All refe renced brands, produc t names, service names and trademarks
are the property of their respect i ve ow ners.
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 18 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
8. Tables
Table 1. Jumper settings to operate PCF2129AT (IC1) .11
Table 2. Jumper settings to operate the PCF212 7T (IC2) .
13
Tab le 3. I 2C-bus software example . . . . . . . . . . . . . . . .1 5
UM10762 All information provided in this document is subject to legal disclaimers. © NXP Semiconductors N.V. 2014. All rights reserved.
User manual Rev. 2 — 1 September 2014 19 of 20
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
9. Figures
Fig 1. OM13513 evaluation/demo board . . . . . . . . . . . . .4
Fig 2. Block diagram of the accurate RTC family. . . . . . .5
Fig 3. Temperature compensation gradation in respect to
family . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7
Fig 4. Circuit diagram of the demo board OM13513 . . . .8
Fig 5. Evaluation board (top side layout) . . . . . . . . . . . . .9
Fig 6. Hardware settings for PCF2129AT . . . . . . . . . . .10
Fig 7. Hardware settings for PCF2127T . . . . . . . . . . . .12
NXP Semiconductors UM10762
RTC PCF2127T, PCF2129AT evaluation board OM13513
© NXP Semiconductors N.V. 2014. All rights reserved.
For more information, please visit: http://www.nxp.co m
For sales office addresses, please send an email to: salesaddresses@nxp.com
Date of release: 1 September 2014
Document identifier: UM10762
Please be aware that important notices concerning this document and the product(s)
described herein, have been included in section ‘Legal information’.
10. Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Key features. . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2.1 Evaluation board OM13513 . . . . . . . . . . . . . . . 3
2.2 Accurate RTC. . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.3 Accurate Real-Time Clock PCF2127T,
PCF2129AT . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2.4 Expected accuracy. . . . . . . . . . . . . . . . . . . . . . 6
3 Hardware setup . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.1 Detailed circuit diagram . . . . . . . . . . . . . . . . . . 8
3.2 General requi rements for the PCF2127T and
PCF2129AT . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.3 Battery back-up . . . . . . . . . . . . . . . . . . . . . . . . 9
3.4 Hardware settings. . . . . . . . . . . . . . . . . . . . . . . 9
3.4.1 General settings . . . . . . . . . . . . . . . . . . . . . . . . 9
3.4.2 Settings for PCF2129AT (IC1) . . . . . . . . . . . . 10
3.4.3 Settings for PCF2127T (IC2) . . . . . . . . . . . . . 12
4 Optional features for test and evalu ation . . . 14
4.1 Experimental area . . . . . . . . . . . . . . . . . . . . . 14
5 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.1 Software instructions for setti n g th e cl ock . . . 14
5.1.1 Configuring the function . . . . . . . . . . . . . . . . . 14
5.1.2 Setting the time. . . . . . . . . . . . . . . . . . . . . . . . 14
5.1.3 Programming alarms . . . . . . . . . . . . . . . . . . . 14
5.1.4 Clock out control. . . . . . . . . . . . . . . . . . . . . . . 14
5.1.5 Watchdog . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.1.6 Time stamp. . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5.1.7 Aging compensation. . . . . . . . . . . . . . . . . . . . 14
5.1.8 RAM, PCF2127 only. . . . . . . . . . . . . . . . . . . . 14
5.1.9 Frequency trimming . . . . . . . . . . . . . . . . . . . . 14
5.2 I2C-bus software example . . . . . . . . . . . . . . . 15
6 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
7 Legal information. . . . . . . . . . . . . . . . . . . . . . . 17
7.1 Definitions. . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7.2 Disclaimers. . . . . . . . . . . . . . . . . . . . . . . . . . . 17
7.3 Trademarks. . . . . . . . . . . . . . . . . . . . . . . . . . . 17
8 Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
9 Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
10 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20