NXP Semiconductors PCA8565, PCF85x3, PCF2123, PCA2125 user manual f nom

Page 18

NXP Semiconductors

UM10301

 

User Manual PCF85x3, PCA8565 and PCF2123, PCA2125

The frequency of a typical crystal at a specific temperature T is given by:

f = f0 [1 + B(T T0 )2 ]

Further f0 can be considered to consist of two components as

f0 = fnom + foff

Here fnom is the nominal frequency as specified and foff the offset from this nominal frequency which is a result of production spread, both at room temperature.

 

 

 

 

 

 

 

 

 

f = fnom +

foff ⎟ ⋅ [1 + B(T T0 )2 ]

 

 

 

 

 

 

 

 

 

For the frequency deviation

Δf

 

=

f fnom

and expressed in ppm, this results in:

fnom

 

 

 

 

 

 

 

 

fnom

 

 

Δf

 

= ⎨B(T T0 )2 +

 

foff

[1 + B(T T0 )2 ]⋅106

(7.1)

 

fnom

 

fnom

 

 

 

 

 

 

In these equations f is the frequency, f0 is the frequency at room temperature, B is the parabolic coefficient, T is the temperature and T0 is the turnover temperature where the apex of the drift versus temperature curve occurs.

Three variables in equation (7.1) influence the frequency as a function of temperature. These are the parabolic coefficient B, the turnover temperature T0 and the room temperature offset foff. The crystal manufacturer specifies these parameters and typical values are B = - 0.035 ppm/°C2 to - 0.04 ppm/°C2, T0 = 25 °C, ∆T0 = ± 5 °C and

foff = 30 ppm. The coefficient B has a very small spread for various crystals of one type, but it has the largest effect on the parabolic nature of the frequency deviation as a function of temperature. Variation in the turnover temperature T0 will shift the deviation curve left or right, variation in the offset at room temperature will shift it up or down. In practice the combination of variation in T0 and offset at room temperature easily results in a (lack of) accuracy of ±30 ppm at room temperature which equates to a time deviation of around 15 minutes per year.

Application note AN10652 “Improved timekeeping accuracy with PCF8563 using external temperature sensor” describes how accuracy over temperature can be improved using an external temperature sensor and a software algorithm. It can be used for the other RTCs in this manual too in conjuction with the respective datasheets.

PCF2123 contains an offset register which allows fine tuning of the clock. This can be used to compensate for crystal aging and temperature variations. See section 10.1.

Automotive RTCs PCA8565 and PCA2125 operate also at high ambient temperatures of 125 °C. Obviously also the crystal selected for these applications should be able to

UM10301_1

 

© NXP B.V. 2008. All rights reserved.

User manual

Rev. 01 — 23 December 2008

18 of 52

Image 18
Contents Info Content Keywords Document informationAbstract Revision history Contact informationNXP Semiconductors Rev Date DescriptionIntroduction Features Register overview PCF8563 Address Register name BitEvent counter mode ComparisonFeatures Comparison of six real time clocksPower-on reset POR Power-on resetVoltage-low detector Oscillator Voltage-low detectionOscillator-stop detection Pierce Oscillator equivalent diagram Overview of internal and external oscillator capacitorsOscillator frequency determining components UM10301 + C Typical values for crystal and surrounding capacitors Parameter Value Unit SourceUsing an external oscillator Oscillation allowanceCrystal and crystal selection Effect of temperature Modes which don’t work− f nom Capacitors and capacitor selection Accuracy Influences on time accuracy Oscillator tuning Oscillator tuning 10.1 PCF2123 Offset register Year and leap year tracking Century and leap year, Daylight Saving TimeCentury tracking Daylight Saving Time DSTInitialization and setting of alarm and timer Initialization of the RTC and setting the timeBlock Diagram PCF8563 Binary BCD AlarmSetting the alarm Register Comments AddressAlarm function Setting the timer Setting the timerRegister Backup power supply Lithium Primary cellsBackup circuit using primary lithium cell Backup circuit using secondary cell NiCd or NiMH NiCd and NiMH secondary batteries13.3 Capacitors Charging the backup capacitor 1N4148 Diode selectionSome suggestions for diode D1 BAS716 BAS116 BAV170PCB layout guidelines PCB layout proposal for PCF8563 using leaded components Partial circuit switch down Hints to keep power consumption low Protection diodes0007 8473 ⋅ C b Rpmax as a function of bus capacitanceApplication diagram 1, I2C-bus interface Application diagram 2, SPI interfaceTimer Source clock frequency Delay for n = First period inaccuracy when using the timerTimer delays General countdown timer behaviourFirst period delay for timer counter value n Timer source clock Minimum timer period Maximum timer periodTiming requirements for I2C read and write Block diagram I2C interface and Time counters I2C interfaceSequence of events example Read Troubleshooting Oscillator startup time Checking for oscillationNo communication via I2C-bus References Wrong time and date, wrong clock speedDisclaimers Legal informationDefinitions TrademarksContents