|
|
零件编号 | UM10698 | ||
描述 | User manual for I2C-bus RTC demoboard OM11059A | ||
制造商 | NXP Semiconductors | ||
LOGO | |||
1 Page
UM10698
User manual for I2C-bus RTC demoboard OM11059A
Rev. 2 — 04 April 2013
User manual
Document information
Info Content
Keywords
Abstract
PCF85063TP, PCF86063ATL, OM11059A, demoboard, how to get
started, I2C-bus, RTC, Real-Time Clock, tuning
User manual for the RTC I2C-bus demoboard OM11059A which contains
PCF85063TP and PCF85063ATL
http://www.DataSheet4U.net/
datasheet pdf - http://www.DataSheet4U.net/
NXP Semiconductors
UM10698
User manual for I2C-bus RTC demoboard OM11059A
4. Software set-up
4.1 Functionality
The RTC PCF85063TP and PCF85063ATL are controlled via standard I2C-bus interface.
Common I2C protocol applies.The interface is the standard Fast Mode I2C-bus, operating
up to 400 kHz.
Theoretically there is no lower speed limit, however the access of the RTC should be
performed within less than 1 second, otherwise time counter increments 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 from seconds to year. It must be initially set to the
correct time of the actual time zone. The days per month and leap year are corrected
automatically. Leap years are assumed whenever the year is dividable by 4.
The RTC can be programmed to generate an interrupt every 30 seconds or every
60 seconds.
At address byte 03h is a general purpose RAM byte to store temporary information.
4.2 System testing
There is a fast mode facility to test the functionality of the RTC; it can be activated by
setting the EXT_TEST bit in the Control_1 word.
The RTC PCF85063x has a frequency tuning facility; its operation is explained in section
RTC tuning.
http://www.DataSheet4U.net/
The RTC can stay switched on all the time. There is no need to restart or reset the clock.
UM10698
User manual
4.3 Software instructions for setting the clock
4.3.1 Setting the time
Setting the clock to 3.45 pm December 15, 2011:
• I2C-bus
S
Start condition
• Slave address 1010 0010 write bit set
• Register address 0000 0000 address pointer to status word 0
• Status word 0
• I2C-bus
0000 0011
0000 0010
set 12 hour mode and select option for
12.5 pF quartz (for the PCF85063ATL)
set 12 hour mode and select option for
7 pF quartz (for the PCF85063TP)
Repeated start condition
• Slave address 1010 0010 write bit set
• Register address 0000 0100
• Seconds
0000 0000
address pointer to seconds register
0 Seconds (clock integrity ok MSB OS = 0)
• Minutes
• Hours
• Days
• Weekdays
0100 0101
0010 0011
0001 0101
0000 0100
45 min
PM, 3 (clock integrity ok OS = 0)
15th
Thursday (4th day of the week)
All information provided in this document is subject to legal disclaimers.
Rev. 2 — 04 April 2013
© NXP B.V. 2013. All rights reserved.
8 of 13
datasheet pdf - http://www.DataSheet4U.net/
|
|||
页数 | 13 页 | ||
下载 | [ UM10698.PDF 数据手册 ] |
零件编号 | 描述 | 制造商 |
UM10698 | User manual for I2C-bus RTC demoboard OM11059A | NXP Semiconductors |
零件编号 | 描述 | 制造商 |
STK15C88 | 256-Kbit (32 K x 8) PowerStore nvSRAM | Cypress Semiconductor |
NJM4556 | DUAL HIGH CURRENT OPERATIONAL AMPLIFIER | New Japan Radio |
EL1118-G | 5 PIN LONG CREEPAGE SOP PHOTOTRANSISTOR PHOTOCOUPLER | Everlight |
DataSheet8.cn | 2020 | 联系我们 | 搜索 | Simemap |