NXP Semiconductors
UM10699
User manual for SPI-bus RTC demoboard OM11059
The RTC PCF85063BTL has a frequency tuning facility; its operation is explained in
section 5.
The RTC can stay switched on all the time. There is no need to restart or reset the clock.
4.3 Software instructions for setting the clock
4.3.1 Setting the time
Setting the clock to 3.45 pm February 14, 2015,
CE chip enable
Register address 0000 0000 address pointer to status word 0
Status word 0 0000 0011 set 12 hour mode and select option for
12.5 pF quartz
0000 0010 set 12 hour mode and select option for
7 pF quartz
CE chip disable
CE chip enable
Register address 0000 0100 address pointer to seconds register
Seconds 0000 0000 0 Seconds (clock integrity ok MSB OS = 0)
Minutes 0100 0101 45 min
Hours 0010 0011 PM, 3 (clock integrity ok OS = 0)
Days 0001 0100 14
th
day of month
Weekdays 0000 0110 Saturday (6
th
day of the week)
Month 0000 0010 February
Year 0001 0101 (20)15
CE chip disable
4.3.2 Reading the clock
Reading the clock (2 minutes after writing)
CE chip enable
Register address 0000 0100 address pointer to seconds (R/W¯¯ bit = 1)
Read register 4,
seconds . . . . . . . . e.g. 56 Seconds, (clock integrity ok
OS = 0)
Minutes . . . . . . . . e.g. 46 (Minutes)
Hours . . . . . . . . e.g. 03 (PM 03h)
Days . . . . . . . . e.g. 14 (14
th
)
Weekdays .
. . . . . . . e.g. 06 (Saturday)
Month . . . . . . . . e.g. 02 (February)
Year . . . . . . . . e.g. 15 (20)15
CE chip disable
UM10699 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2015. All rights reserved.
User manual Rev. 2 — 12 February 2015 7 of 12
NXP Semiconductors
UM10699
User manual for SPI-bus RTC demoboard OM11059
5. RTC tuning
5.1 Frequency tuning
The 32 kHz quartzes are typically sold with a tolerance at room temperature of either
±10 ppm or ±20 ppm. 11.5 ppm corresponds to 1 s/day.
The quartzes require a characteristic load capacity of either 7 pF or 12.5 pF. Oscillators
utilizing 7 pF quartzes feature slightly lower power consumption, where the quartzes of
12.5 pF have largest production quantities. The tracks between quartz and RTC
represent also some parasitic capacitances and must be kept short.
The PCF85063 has a tuning facility where above tolerances can be compensated.
Tuning procedure:
Measure the 32xxx Hz (f) signal at the CLKOUT pin.
The offset is calculated in ppm as
Δf
[ppm]
= 10
6
× (f - 32768) / 32768
Consult the offset table in the data sheet. Take the correction value and write it into
the register 02h.
The correction is done by means of inhibition or addition: the oscillator runs at
constant speed, then every 2 hours (mode 0) 1 second is corrected to by making it
shorter or longer. This is not easily visible at the CLKOUT.
Corrections can also be applied every 4 minutes by using mode 1. This mode will
consume slightly more power.
The 32 kHz quartzes are of the type tuning fork and feature a parabolic frequency
response over temperature. When the application is dominantly used over a limited
temperature range, it is often helpful to tune the frequency to be slightly higher at the
turn-over point. The error around 25 °C (clock goes too fast) is then compensated during
the time when temperature is lower or higher. For example, for operation between 5 °C
and 45 °C, tune the clock 8 ppm faster than the value for 25 °C would be. (Fig 6.)
UM10699 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2015. All rights reserved.
User manual Rev. 2 — 12 February 2015 8 of 12
NXP Semiconductors
UM10699
User manual for SPI-bus RTC demoboard OM11059
(1) Characteristic if tuned to 32.768 kHz at 25 ºC.
(2) Characteristic if tuned with the positive offset Δf
off
.
Fig 6. Temperature averaged over application range 5 °C to 45 °C
UM10699 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2015. All rights reserved.
User manual Rev. 2 — 12 February 2015 9 of 12

OM11059,598

Mfr. #:
Manufacturer:
NXP Semiconductors
Description:
BOARD EVAL FOR SPI PCF85063
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet