RV-8564-C2 Application Manual

RV-8564-C2
Application Manual
DATE:
February 2005
Revision No.: 1.2
Page 1/20
Headquarters: Micro Crystal
Div. of ETA SA
Mühlestrasse 14
CH-2540 Grenchen
Switzerland
Tel.
Fax
Internet
Email
+41 32 655 82 82
+41 32 655 80 90
www.microcrystal.ch
[email protected]
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
CONTENTS
1.0
1.1.
2.0
2.1
3.0
4.0
4.1
4.2
5.0
5.1
6.0
6.1
6.2
6.3
6.4
6.5
6.6
6.7
6.8
6.9
7.0
7.1
7.2
7.3
7.4
7.5
8.0
8.1
8.2
8.3
9.0
9.1
9.2
9.3
10.0
11.0
11.1
12.0
Overview ................................................................................................................................................
General Description ...............................................................................................................................
Block Diagram .......................................................................................................................................
Pinout .....................................................................................................................................................
Functional Description ...........................................................................................................................
Absolute Maximum Ratings....................................................................................................................
Frequency Characteristics .....................................................................................................................
DC Characteristics .................................................................................................................................
Timing Characteristics I2C bus ...............................................................................................................
I2C bus Timing Chart .............................................................................................................................
Register Organization ............................................................................................................................
Control and Status Register ..................................................................................................................
Seconds, Minutes, Hours, Days ............................................................................................................
Weekdays ..............................................................................................................................................
Months / Century ...................................................................................................................................
Years, Leap Year Compensation ..........................................................................................................
Alarm Registers .....................................................................................................................................
CLKOUT Frequency Selection and Timer Register ..............................................................................
CLKOUT-Frequency Output ..................................................................................................................
Timer Control .........................................................................................................................................
Characteristics of the I2C Bus ................................................................................................................
System Configuration ............................................................................................................................
Start and Stop Condition .......................................................................................................................
Bit Transfer ............................................................................................................................................
Acknowledge .........................................................................................................................................
Addressing .............................................................................................................................................
I2C Bus Protocol ...................................................................................................................................
Write Mode ............................................................................................................................................
Read Mode at Specific Address ............................................................................................................
Read Mode ............................................................................................................................................
Package Dimensions and Solderpad Layout ........................................................................................
Package Marking and Pin 1 Index..........................................................................................................
Recommended Reflow Temperature......................................................................................................
Handling Precautions .............................................................................................................................
Charts of Eletrical Characteristics . ........................................................................................................
Packing Info Carrier Tape ......................................................................................................................
Reel 13 Inch ..........................................................................................................................................
Document Revision History ...................................................................................................................
The I2C-BUS is a trademark of PHILIPS ELECTRONICS N.V.
2/20
3
3
3
4
4
5
5
5
6
6
7
7
8
8
8
8
9
9
9
9
10
10
10
11
11
11
12
12
13
13
14
14
15
16
17
18
19
20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
RV-8564-C2
I2C-Bus Interface Real Time Clock / Calender Module
1.0 OVERVIEW
• RTC module with built-in crystal oscillating at 32’768kHz
• 100% lead-free product
• Small and compact package-size of 5.0 x 3.2 x 1.2mm
• 400kHz two-wire I2C Interface
• Wide Interface operating voltage:
1.8 – 5.5V
• Wide clock operating voltage:
1.2 – 5.5V
• Low power consumption:
250nA typ @ 3.0V / 25°C
• Provides year, month, day, weekday, hours, minutes, seconds
• Alarm and Timer functions
• Century flag
• Low-voltage detector, internal power-on reset
• Pogrammable clock output for peripheral devices (32.768kHz, 1024Hz, 32Hz, 1Hz)
• I2C slave address: read A3h, write A2h
1.1 GENERAL DESCRIPTION
The RV-8564-C2 is a CMOS real-time clock/calendar optimized for low power consumption. A programmable
clock output, interrupt output and voltage low detector are also provided. All address and data are transferred
2
serially via a two-line bi-directional I C bus. Maximum bus speed is 400kbit/sec. The built-in word address
register is incremented automatically after each written or read data byte.
2.0 BLOCK DIAGRAM
3/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
2.1 PINOUT
#10
#1
#6
# 1
VDD
# 10
CLKOE
# 2
CLKOUT
# 9
N.C.
# 3
N.C
# 8
N.C.
# 4
SCL
# 7
INT
# 5
SDA
# 6
VSS
#5
TIMER
The 8-bit count-down timer at address 0F is
controlled by the timer control register at address
0E. The timer control register determines one of 4
source clock frequencies for the timer (4096Hz,
64Hz, 1 sec, or 1 min), and enables/disables the
timer. The timer counts down from a softwareloaded 8-bit binary value. At the end of every
countdown, the timer sets the timer flag TF.
The TF may only be cleared by software. The
asserted TF can be used to generate an interrupt
(INT). The interrupt may be generated as a pulsed
signal every countdown period or as a permanently
active signal which follows the condition of the timer
flag. TI/TP being used for this mode control.
When reading the timer, the current countdown
value is returned.
3.0 FUNCTIONAL DESCRIPTION
The RV-8564-C2 RTC-module combines a RTC-IC
with on-chip oscillator together with a 32.768kHz
quartz crystal in a miniature ceramic-package.
The RV-8564-C2 contains sixteen 8-bit registers
with an auto-incrementing address register, a
frequency divider which provides the source clock
for the real time clock (RTC), a programmable clock
output, a timer, a voltage-low detector and a
400kHz I2C bus interface.
All 16 registers are designed as addressable 8-bit
parallel registers although not all bits are
implemented.
The first two registers (memory address 00, 01) are
used as control and/or status registers.
The memory addresses 02 through 08 are used as
counters for the clock function (seconds up to year
counters). Address locations 09 through 0C contain
alarm registers which define the conditions for an
alarm. Address 0D controls the CLKOUT output
frequency. 0E and 0F are the timer control and
timer registers, respectively.
CLKOUT OUTPUT
A programmable square wave is available at the
CLKOUT pin. Frequencies of 32768Hz, 1024Hz,
32Hz and 1Hz can be generated. CLKOUT is a
CMOS push-pull output and if disabled it becomes
logic zero.
The seconds, minutes, hours, days, weekdays,
months, years as well as the minute alarm, hour
alarm, day alarm and weekday alarm registers are
all coded in BCD format.
RESET
The RV-8564-C2 includes an internal reset circuit
which is active whenever the oscillator is stopped.
In the reset state the I2C bus logic is initialized and
all registers, including the address pointer, are
cleared with the exception of bits FE, VL, TD1, TD0,
TESTC and AE bits which are set to 1.
When one of the RTC counters is read (memory
locations 02 through 08), the contents of all
counters are frozen at the beginning of a read cycle.
Therefore, faulty reading of the clock/calendar
during a carry condition is prevented.
VOLTAGE LOW DETECTOR & CLOCK MONITOR
The RV-8564-C2 has an on-chip voltage low
detector. When VDD drops below VLOW the `Voltage
Low` (VL, bit 7 in the seconds register) is set to
indicate that the integrity of the clock information is
no longer guaranteed. The VL flag can only be
cleared by software. The VL bit is intended to detect
the situation when VDD is decreasing slowly for
example under battery operation. Should VDD reach
VLOW before power is re-asserted then the VL bit will
be set. This will indicate that the time may be
corrupted.
ALARM FUNCTION MODES
By clearing the MSB of one or more of the alarm
registers (AE = ‘Alarm Enable’), the corresponding
alarm condition(s) will be active. In this way an
alarm can be generated from once per minute up to
once per week. The alarm condition sets the alarm
flag AF. The asserted AF can be used to generate
an interrupt (INT). The AF may only be cleared by
software.
4/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
4.0 ABSOLUTE MAXIMUM RATINGS
PARAMETER
SYMBOL
Supply voltage
Supply current
Input voltage
Output voltage
VDD
IDD ; ISS
VI
VO
DC Input current
DC Output current
Operating ambient temperature range
Storage temperature range
II
IO
TOPR
TSTO
CONDITIONS
> GND / < VDD
VDD Pin
Input Pin
MIN.
MAX.
UNIT
INT Pin
-0.5
-50
GND -0.5
GND -0.5
+6.5
+50
VDD +0.5
VDD +0.5
V
mA
V
V
stored as bare product
-10
-10
-40
-55
+10
+10
+85
+125
mA
mA
°C
°C
MAX.
UNIT
+/- 10
+/- 20
ppm
4.1 FREQUENCY CHARACTERISTICS
PARAMETER
SYMBOL
Frequency precision
∆F / F
Frequency vs. voltage characteristics
∆F / V
Frequency vs. temperature characteristics
∆F / FOPR
Turnover temperature
TO
Aging first year max.
VO ∆F / F
Oscillation start-up time
II
CLKOUT duty cycle
TCLKOUT
CONDITIONS
TAMB = +25°C
VDD = 3.0 V
TAMB = +25°C
VDD = 1.8 V to 5.5 V
Treference = +25°C
VDD = 3.0 V
TYP.
+/- 0.8
-0.035
ppm
+/- 1.5
2
/°C (TOPR-TO)
+/-10%
+25
+/-5
ppm / V
2
ppm
°C
+/- 3
ppm
350
500
ms
50
40 / 60
%
at 25°C
at 25°C
4.2 DC CHARATERISTICS
PARAMETER
SYMBOL
CONDITIONS
MIN.
VDD
I C bus inactive, 25°C
2
400kHz I C bus activity
25°C
TYP.
MAX.
UNIT
5.5
5.5
5.5
V
V
V
800
200
550
500
450
3.4
2.2
1.6
µA
µA
nA
nA
nA
µA
µA
µA
30% VDD
VDD +0.5V
1
7
V
V
µA
pF
-3
-1
-1
1
1
mA
mA
mA
mA
µA
1.1
V
+85
°C
Power Supply Voltage
2
Supply voltage
Clock data integrity
Power Supply Current
Current consumption
2
(I C bus activity)
IDDO
Current consumption
2
(I C bus inactiv)
IDD
Current consumption
CLKOUT = 32.768kHz,
Load = 7.5pF
IDD32K
Inputs
LOW level input voltage
HIGH level input voltage
Input leakage, INTN
Input capacitance
Outputs
SDA LOW output current
INT LOW output current
CLKOUT LOW output current
CLKOUT HIGH output current
Leakage current
Voltage detector
LOW voltage detection
Operating Temperature Range
Operating temperature range
VIL
VIH
ILI
CI
IOL(SDA)
IOL(INT)
IOL(CLKOUT)
IOH(CLKOUT)
ILO
1.0
1.8
VLow
fSCL = 400kHz
fSCL = 100kHz
fSCL = 0 Hz, VDD = 5.0V
fSCL = 0 Hz, VDD = 3.0V
fSCL = 0 Hz, VDD = 2.0V
fSCL = 0 Hz, VDD = 5.0V
fSCL = 0 Hz, VDD = 3.0V
fSCL = 0 Hz, VDD = 2.0V
275
250
225
2.5
1.5
1.1
VSS -0.5V
70% VDD
VDD
or
VSS
VOL = 0.4V; VDD = 5V
VOL = 0.4V; VDD = 5V
VOL = 0.4V; VDD = 5V
VOL = 0.4V; VDD = 5V
VDD or VSS
-1
VLOW
0.9
TOPR
-40
5/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
5.0 TIMING CHARACTERISTICS I2C-BUS
PARAMETER
SYMBOL
SCL clock frequency
Start condition set-up time
Start condition hold time
Data set-up time
Data hold time
Stop condition set-up time
Bus free time between STOP and START condition
SCL “LOW time”
SCL “HIGH time”
SCL and SDA rise time
SCL and SDA fall time
Tolerance spike time on bus
fSCL
tSU ; STA
tHD ; STA
tSU ; DAT
tHD ; DAT
tSU ; STO
tBUF
tLOW
tHIGH
tr
tf
tSP
MIN.
TYP.
MAX.
UNIT
400
kHz
µs
µs
ns
ns
µs
µs
µs
µs
µs
µs
ns
0.6
0.6
100
0
0.6
1.3
1.3
0.6
0.3
0.3
50
5.1 TIMING CHART
Note:
The I2C-BUS access time between a START and a START condition or between a START and a STOP
condition to this device must be less than one second.
The I2C-BUS is a trademark of PHILIPS ELECTRONICS N.V.
6/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
6.0 REGISTER ORGANIZATION
Address
00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
Function
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Control / Status 1
Control / Status 2
Seconds
Minutes
Hours
Days
Weekdays
Months / Century
Years
Minute Alarm
Hour Alarm
Day Alarm
Weekday Alarm
CLKOUT frequency
Timer Control
Timer
Test1
0
VL
X
X
X
X
C
80
AD
AD
AD
AD
FE
TE
128
0
X
40
40
X
X
X
X
40
40
X
X
X
X
X
64
Stop
0
20
20
20
20
X
X
20
20
20
20
X
X
X
32
0
TI / TP
10
10
10
10
X
10
10
10
10
10
X
X
X
16
Test
AF
8
8
8
8
X
8
8
8
8
8
X
X
X
8
0
AF
4
4
4
4
4
4
4
4
4
4
4
X
X
4
0
AIE
2
2
2
2
2
2
2
2
2
2
2
FD1
TD1
2
0
TIE
1
1
1
1
1
1
1
1
1
1
1
FD0
TD0
1
Bit positions labelled as “X” are not implemented.
AIE,TIE:Alarm Interrupt Enable, Timer Interrupt
Enable These bits activate or deactivate the
generation of an interrupt when AF or TF is
asserted, respectively. The interrupt is the
logical OR of these two conditions when both
AIE and TIE are set.
6.1 CONTROL AND STATUS REGISTER
Control / Status 1
Stop: When set to 0 the RTC source clock runs.
When set to 1, all RTC divider chain flip flops
are asynchronously set to 0; the RTC clock is
stopped. (CLKOUT at 32.768kHz is still
available)
Test:
TI/TP: Timer Interrupt/ Timer Periodic INT mode.
TI/TP = 0: INT is active when TF is active.
(subject to the status of TIE).
TI/TP = 1: INT pulses active according to
the below table. (subject to the status of TIE).
The two bits, TEST and TEST1, are for
device testing. Make sure TEST bits are set
to 0 during normal operation. If accidentally
set to 1, they may modify the clock-data or
result in abnormal time.
INT Operation (TI/TP=1)
Control / Status 2
AF, TF: Alarm Flag, Timer Flag
When an alarm occurs, AF is set to 1.
Similarly, at the end of a timer countdown, TF
is set to 1.These bits maintain their value
until overwritten by software. If both timer
and alarm interrupts are required in the
application, the source of the interrupt can be
determined by reading these bits. To prevent
one flag being overwritten while clearing
another, a logic AND is performed during a
write access.
Write ‘1’ to AF or TF: No change to flag
Write ‘0’ to AF or TF: Respective flag is
cleared.
Timer Source Clock
4096 Hz
64Hz
1Hz
1/60Hz
TI/TP: Timer Interrupt/ Timer Periodic INT mode.
TI/TP = 0: INT is active when TF is active.
(subject to the status of TIE).
7/20
INT Period
n>1
n=1
1/4096 seconds
1/64 seconds
1/64 seconds
1/64 seconds
1/8192 seconds
1/128 seconds
1/64 seconds
1/64 seconds
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
6.2 SECONDS, MINUTES, HOURS, DAYS
Address
Function
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
02
03
04
05
Seconds
Minutes
Hours
Days
VL
X
X
X
40
40
X
X
20
20
20
20
10
10
10
10
8
8
8
8
4
4
4
4
2
2
2
2
1
1
1
1
These registers contain the respective time and date values coded in BCD format.
Example:
seconds register contains ‘x1011001’ = 59 seconds. The RV-8564-C2 stores the time of day in
24-hour format.
Note:
Bit 7 of the seconds register is used to return the ‘Voltage Low’ (VL) detection bit.
6.3 WEEKDAYS
Address
06
06
06
06
06
06
06
Day
Sunday
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
0
0
0
0
1
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
The weekday register has a bit assignment as shown in the table above. Only the 3 LSBs are utilized.
6.4 MONTHS / CENTURY
Address
07
07
07
07
07
07
07
07
07
07
07
07
Month
January
February
March
April
May
June
July
August
September
October
November
December
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
C
C
C
C
C
C
C
C
C
C
C
C
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
0
0
0
0
0
0
0
0
0
1
1
1
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
1
1
0
0
1
1
0
0
0
0
1
1
0
1
0
1
0
1
0
1
0
1
0
The months/century register utilizes the 5 LSBs to encode the month of the year as shown in the table below.
Bit 7 of the months/century register also contains the century indicator.
When C=0, the century is 20xx, when C=1 the century is 19xx. This bit is toggled when the years register
overflows from 99 to 00.
6.5 YEARS, LEAP YEAR COMPENSATION
Address
08
Years
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Years
80
40
20
10
8
4
2
1
The years register encodes the two lower year digits in BCD format according to the table above.
When the years register overflows from 99 to 00, the century bit C in the months/century register is toggled.
Leap Year Compensation.
The RV-8564-C2 compensates for leap years by adding a 29th day to February if the year counter contains a
value which is divisible by 4, including the year 00.
8/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
6.6 ALARM REGISTERS
Address
09
0A
0B
0C
Function
Minute Alarm
Hour Alarm
Day Alarm
Weekday Alarm
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
AD
AD
AD
AD
40
X
X
X
20
20
20
X
10
10
10
X
8
8
8
X
4
4
4
4
2
2
2
2
1
1
1
1
AD = 0:
Alarm enable: Compare Alarm register with current time.
AD = 1:
Ignore Alarm register
The registers at addresses 09h through 0Ch contain alarm information.
When one or more of these registers is loaded with a valid minute, hour, day or weekday and its corresponding
‘Alarm Disable’ (AD, bit 7) is ‘0’, then that information will be compared with the current minute, hour, day and
weekday.
When all enabled comparisons first match, the ‘Alarm Flag’ (AF, bit 3 in control/status 2 register) is set.
AF will remain set until cleared by software. Once AF has been cleared it will only be set again when the time
increments to match the alarm condition once more.
Alarm registers which have their ‘Alarm Disable’ bit at ‘1’ will be ignored, combining the AD-bits 7; a highly
versatile alarm can be set.
When all AD-bits 7 are set to ‘1’, no alarm will occure.
6.7 CLKOUT FREQUENCY SELECTION AND TIMER REGISTER
Address
0D
0E
0F
Function
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
CLKOUT Frequency
Timer Control
Timer
FE
TE
128
X
X
64
X
X
32
X
x
16
X
x
8
X
x
4
FD1
TD1
2
FD0
TD0
1
6.9 TIMER CONTROL
The timer register is an 8-bit binary countdown
timer. It is enabled/disabled via the timer control
register, Timer Enable (TE, bit 7)
6.8 CLKOUT /FREQUENCY-OUTPUT
Output Frequency
32768 Hz
1024 Hz
32 Hz
1 Hz
FD1
FD0
0
0
1
1
0
1
0
1
TE = 0: Timer is disabled.
TE = 1: Timer is enabled (i.e timer counts down)
The CLKOUT pin is controlled by two signals; the
Frequency enable (FE bit 7) and CLKOUT outputenable pin 10 (CLKOE).
Timer Source Clock
4096 Hz
64 Hz
1 Second
1 Minute
FE and CLKOE
FE
CLKOE
CLKOUT
0
0
1
1
0
1
0
1
0
0
0
Selected Frequency
TD1
TD0
0
0
1
1
0
1
0
1
TD1, TD0: Timer source clock frequency select.
These bits determine the source clock for the
countdown timer (address 0Fh).
When not in use, TD1 & TD0 should be set to
1/60Hz for power saving.
The source clock for the timer is also selected by
the timer control register. Other timer properties
such as single or periodic interrupt generation are
controlled via the control/status 2 register (address
01h).
For accurate read back of the count down value, the
I2C clock (SDA) must be operating at a frequency of
at least twice the selected timer clock.
9/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
7.0 CHARACTERISTICS OF THE I2C BUS
The I2C-bus is for bidirectional, two-line communication between different ICs or modules. The two lines are a
Serial-Dataline (SDA) and a Serial-Clockline (SCL). SCL and SDA ports are open-drain or open-collector
architecture to allow connections of multiple devices. Both lines must be connected to a positive supply via
pull-up resistors. Data transfer may be initiated only when the bus is not busy.
7.1 SYSTEM CONFIGURATION
Since multiple devices can be connected with the I2C-bus, all I2C-bus devices have a fixed, unique device
number built-in to allow individual addressig of each device.
The device that controls the I2C-bus is the “Master”, the devices which are controlled by the master are the
“Slaves”. A device generating a message is a “Transmitter”, a device receiving a message is the “Receiver”.
The RV-8564-C2 acts as a Slave-Receiver or Slave-Transmitter.
Before any data is transmitted on the I2C -bus, the device which should respond is addressed first.
The addressing is always carried out with the first byte transmitted after the start procedure.
Therefore the clock signal SCL is only an input signal, but the data signal SDA is a bidirectional line.
7.2 START AND STOP CONDITIONS
Both, SDA data and SCL clock-lines remain HIGH when the bus is not busy.
A HIGH-to-LOW transition of the data line, while the clock is HIGH, is defined as the start condition (S).
A LOW-to-HIGH transition of the data line, while the clock is HIGH, is defined as the stop condition (P).
10/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
7.3 BIT TRANSFER
1 Data Bit is transferred during each clock pulse.
The data on the SDA line must remain stable during the HIGH period of the clock pulse, data change should be
executed during the LOW periode of the clock pulse.
7.4 ACKNOWLEDGE
There is no limit to the numbers of data bytes transmitted between the start and stop conditions.
Each byte (of 8 bits) is followed by an acknowledge bit.
Therefore, the Master generates an extra acknowledge-clock pulse. The acknowledge bit is a HIGH level signal
put on the SDA line by the Transmitter-Device, the Receiver-Device must pull down the SDA line during the
acknowledge-clock-pulse to confirm the correct reception of the last byte.
Either a Master-Receiver or a Slave-Receiver which is addressed must generate an acknowledge after the
correct reception of each byte.
The device that acknowledges must pull down the SDA line during the acknowledge clock pulse, so that the
SDA line is stable LOW during the HIGH period of the acknowledge related clock pulse. (set-up and hold times
must be taken into consideration).
If the Master is addressed as Receiver, it can stop data transmission by not generating an acknowledge on the
last byte that has been sent from the Slave Transmitter. In this event, the Slave-Transmitter must leave the data
line HIGH to enable the Master to generate a stop condition.
11/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
7.5 ADDRESSING
SLAVE ADDRESS
RV-8564-C2
8.0 I2C BUS PROTOCOL
Before any data is transmitted on the I2C-bus, the device which should respond is addressed first.
The addressing is always carried out with the first byte transmitted after the start procedure.
The RV-8564-C2 acts as a slave receiver or slave transmitter.
Therefore the clock signal SCL is only an input signal, but the data signal SDA is a bidirectional line.
8.1 WRITE MODE
Master transmits to Slave-Receiver at specified address
The Word-Address is four bit value that defines which register is to be accessed next.
The upper four bits of the Word-Address are not used.
After reading or writing one byte, the Word-Address is automatically incremented by 1.
1)
2)
3)
4)
5)
6)
7)
8)
9)
Master sends-out the “Start Condition”.
Master sends-out the “Slave Address”, A2h for the RV-8564-C2; the R/W bit in write mode.
Acknowledgement from the RV-8564-C2.
Master sends-out the “Word Address” to the RV-8564-C2.
Acknowledgement from the RV-8564-C2.
Master sends-out the “Data” to write to the specified address in step 4).
Acknowledgement from the RV-8564-C2.
Steps 6) and 7) can be repeated if necessary. The address will be incremented automatically in the RV-8564-C2.
Master sends-out the “Stop Condition”.
12/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
8.2 READ MODE AT SPECIFIC ADDRESS
Master reads Data after setting Word Address
1)
2)
3)
4)
5)
6)
7)
8)
9)
10)
11)
12)
13)
Master sends-out the “Start Condition”.
Master sends-out the “Slave Address”, A2h for the RV-8564-C2; the R/W bit in write mode.
Acknowledgement from the RV-8564-C2.
Master sends-out the “Word Address” to the RV-8564-C2.
Acknowledgement from the RV-8564-C2.
Master sends-out the “Start Condition”. “Stop Condition” has not been sent.
Master sends-out the “Slave Address”, A3h for the RV-8564-C2; the R/W bit in read mode.
Acknowledgement from the RV-8564-C2.
At this point, the Master becomes a Receiver, the Slave becomes the Transmitter.
The Slave sends-out the “Data” from the Word Address specified in step 4).
Acknowledgement from the Master.
Steps 9) and 10) can be repeated if necessary. The address will be incremented automatically in the RV-8564-C2.
The Master, addressed as Receiver, can stop data transmission by not generating an acknowledge on the last byte
that has been sent from the Slave Transmitter. In this event, the Slave-Transmitter must leave the data line HIGH
to enable the Master to generate a stop condition.
Master sends-out the “Stop Condition”.
8.3 READ MODE
Master reads Slave-Transmitter immediately after first byte
1)
2)
3)
4)
5)
6)
7)
8)
Master sends-out the “Start Condition”.
Master sends-out the “Slave Address”, A3h for the RV-8564-C2; the R/W bit in read mode.
Acknowledgement from the RV-8564-C2.
At this point, the Master becomes a Receiver, the Slave becomes the Transmitter
The RV-8564-C2 sends-out the “Data” from the last accessed Word Address incremented by 1.
Acknowledgement from the Master.
Steps 4) and 5) can be repeated if necessary. The address will be incremented automatically in the RV-8564-C2.
The Master, addressed as Receiver, can stop data transmission by not generating an acknowledge on the last byte
that has been sent from the Slave Transmitter. In this event, the Slave-Transmitter must leave the data line HIGH
to enable the Master to generate a stop condition..
Master sends-out the “Stop Condition”.
13/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
9.0 PACKAGE DIMENSIONS AND SOLDERPAD LAYOUT
Package Dimensions; bottom view
Recommended Solderpad Layout
9.1 PACKAGE MARKING AND PIN 1 INDEX
14/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
9.2 RECOMMENDED REFLOW TEMPERATURE (for “lead-free” soldering)
360 seconds Max.
VI
°C
20 sec.
270
240(+0/-5)°C Max.
220
120 seconds Min.
183°C
Ramp Up
3°C/minute Max.
170
120
125°C
70
Cooling
Rate
6°C/second Max.
Ramp Up
20
3°C/minute Max.
Soak Zone
15/20
60-150 seconds
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
9.2 HANDLING PRECAUTIONS FOR CRYSTALS
The built-in tuning-fork crystal consists of pure Silicon Dioxide in crystalline form. The cavity inside the package
is evacuated and hermetically sealed in order for the crystal blank to function undisturbed from air molecules,
humidity and other influences.
Shock and vibration
Keep the crystal from being exposed to excessive mechanical shock and vibration. Micro Crystal guarantees
that the crystal will bear a mechanical shock of 5000g / 0.3 ms.
The following special situations may generate either shock or vibration:
Multiple PCB panels - Usually at the end of the pick & place process the single PCBs are cut out with a router.
These machines sometimes generate vibrations on the PCB that have a fundamental or harmonic frequency
close to 32.768 kHz. This might cause breakage of crystal blanks due to resonance. Router speed should be
adjusted to avoid resonant vibration.
Ultrasonic Cleaning - Avoid cleaning processes using ultrasonic energy. These processes can damages
crystals due to mechanical resonance of the crystal blank.
Overheating, Rework high-temperature-exposure
Avoid overheating the package. The package is sealed with a sealring consisting of 80% Gold and 20% Tin. The
eutectic of this alloy is at 280°C. Heating the sealring up to >280°C will cause melting of the metal seal which
then, due to the vacuum, is sucked into the cavity forming an air duct. This happens when using hot-air-gun set
at temperatures >300°C.
Use the following methods for re-work:
• Use a hot-air- gun set at 260°C
• Use 2 temperature-controlled soldering irons, set at 260°C, with special-tips to contact all solder-joints
from both sides of the package at the same time, remove part with tweezers when pad solder is liquid.
16/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
10.0 CHARTS OF TYPICAL ELECTRICAL CHARACTERISTICS
IDD Power Consumption
IDD Power Consumption
in “Timekeeping” or Standby-Mode.
Conditions:
CLKOUT
Disabled
in “Timekeeping“or Standby-Mode.
Conditions:
CLKOUT
Enabled
CLKOUT-Frequency
32.768kHz
1.0
5.0
0.8
4.0
0.6
3.0
IDD [µA]
IDD [µA]
Cload = 7.5pF
0.4
2.0
Cload = 0pF
0.2
1.0
0.0
0.0
0
1
2
3
4
5
6
0
2
3
4
5
6
Supply V oltage V DD [V ]
Frequency vs VDD Voltage Drift
Frequency vs Temperature Drift
in “Timekeeping” or Standby-Mode.
Conditions:
CLKOUT
Enabled
CLKOUT-Frequency
32.768kHz
Tambient
25°C
in “Timekeeping“or Standby-Mode.
Conditions:
CLKOUT
Enabled
CLKOUT-Frequency
32.768kHz
Tambient
-40 to +85°C
5
20
4
0
3
-20
2
-40
∆F/FL [ppm]
∆F/FL [ppm]
Supply V oltage V DD [V ]
1
1
0
-1
-2
T0 25 °C +/- 5°C
-60
-80
-100
-120
2
-0.035 ppm / °C * (T-T0)
-140
-3
2
+/-10%
-160
-4
-180
-5
0
1
2
3
4
5
6
-50
0
50
Te m pe rature [°C]
V DD [V ]
17/20
100
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
11.0 PACKING INFO CARRIER TAPE
Base Material:
Adhesive Material:
5,5 ±0,1
+0
,1
0
,5
5,3 ±0,1
2,85
Ø1
,5
2 ±0,1
Ø1
±
0, 1
4 ±0,1
8 ±0,1
0,3 ±0,05
12 ±0,2
Cover Tape:
Polystyrene / Butadine or
Polystyrol black, conductive
Polyester, conductive
0.061 mm
Pressure-sensitive Synthetic Polymer
±0,1
Material:
1,75
12 mm Carrier-Tape:
1,35 ±0,1
3,5 ±0,1
Drawing Nr. M43.611.10.09
User Direction of Feed
Tape Leader and Trailer: 300 mm minimum
REELS:
All dimensions are in mm
DIAMETER
MATERIAL.
RTC’s per REEL.
7”
10”
13”
Plastic, Polystyrene
Plastic, Polystyrene
Plastic, Polystyrol
1000
2500
5000
18/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
11.1 REEL 13 INCH FOR 12 mm TAPE
Reel:
Diameter
13”
Material
Plastic, Polystyrol
19/20
Micro Crystal
Real Time Clock / Calender Module
RV-8564-C2
12.0 DOCUMENT REVISION HISTORY
Date
Revision #
February 2005
1.1
Revision Details
First release
Information furnished is believed to be accurate and reliable. However, Micro Crystal assumes no
responsibility for the consequences of use of such information nor for any infringement of patents or
other rights of third parties which may result from its use. In accordance with our policy of continuous
development and improvement, Micro Crystal reserves the right to modify specifications mentioned in
this publication without prior notice. This product is not authorized for use as critical component in life
support devices or systems.
20/20