NXP Semiconductors OM11059 User Manual Download Page 7

 

 

NXP Semiconductors 

UM10699 

 

User manual for SPI-bus RTC demoboard OM11059 

UM10699 

All information provided in this document is subject to legal disclaimers. 

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

User manual 

Rev. 1 — 04 April 2013 

7 of 12 

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 15, 2013,  

  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 0101 

15

th

  

  Weekdays 

0000 0101 

Friday (5

th

 day of the week) 

  Month 

0001 0010 

December  

  Year 

0001 0011 

(20)13 

  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.  15 (15

th

  Weekdays 

 . . . . . . . .  

e.g.  05 (Friday) 

  Month 

 . . . . . . . .  

e.g.  03 (March) 

  Year 

 . . . . . . . .  

 e.g.  13 (20)13 

  CE 

 

chip disable 

Summary of Contents for OM11059

Page 1: ...1059 Rev 1 04 April 2013 User manual Document information Info Content Keywords PCF86063BTL OM11059 demoboard how to get started SPI bus RTC Real Time Clock tuning Abstract User manual for the RTC SPI...

Page 2: ...ubject to legal disclaimers NXP B V 2013 All rights reserved User manual Rev 1 04 April 2013 2 of 12 Contact information For more information please visit http www nxp com For sales office addresses p...

Page 3: ...bus must be hooked up A separate demoboard and a user manual are available for the I2 C bus RTCs PCF85063ATL and PCF85063TP OM11059A and UM10698 2 Key features The RTC PCF85063BTL with SPI bus is moun...

Page 4: ...cuit avoiding long lines which may pick up noise Avoid any tracks with high frequency signals fast edges close to the RTC quartz or quartz interconnect The interface uses a three line standard SPI pro...

Page 5: ...I bus interface No need to solder the tiny package to a breadboard 100 mil connector for straight forward connections There are quartzes on the market with different load capacitance CL 12 5 pF is mos...

Page 6: ...ts could be lost During access the time registers of the RTC are frozen and after the read or write sequence is completed a seconds increment is executed if required The clock tracks the actual time f...

Page 7: ...000 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...

Page 8: ...at the CLKOUT pin The offset is calculated in ppm as f ppm 106 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...

Page 9: ...provided in this document is subject to legal disclaimers NXP B V 2013 All rights reserved User manual Rev 1 04 April 2013 9 of 12 1 Characteristic if tuned to 32 768 kHz at 25 C 2 Characteristic if t...

Page 10: ...iability for any assistance with applications or customer product design It is customer s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer s...

Page 11: ...mers NXP B V 2013 All rights reserved User manual Rev 1 04 April 2013 11 of 12 7 List of figures Fig 1 Block diagram of the PCF85063BTL RTC 3 Fig 2 Interfacing to microcontroller 4 Fig 3 Picture and l...

Page 12: ...o salesaddresses nxp com Date of release 04 April 2013 Document identifier UM10699 8 Contents 1 Introduction 3 2 Key features 3 2 1 PCF85063BTL 3 3 Hardware set up 4 3 1 General requirements for the R...

Page 13: ...Mouser Electronics Authorized Distributor Click to View Pricing Inventory Delivery Lifecycle Information NXP OM11059 598 OM11059UL...

Reviews: