EPSON RX8010SJ B Datasheet

RX
8010SJ
ETM37E-06
Application Manua
Real Time Clock Module
Preliminary
l

NOTICE

This material is subject to change without notice.
Any part of this material may not be reproduced or duplicated in any form or any means without the
written permission of Seiko Epson.
The information about applied circuitry, software, usage, etc. written in this material is intended for reference only. Seiko Epson does not assume any liability for the occurrence of infringing on any patent or copyright of a third party. This material does not authorize the licensing for any patent or intellectual copyrights.
When exporting the products or technology described in this material, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations.
You are requested not to use the products (and any technical information furnished, if any) for the development and/or manufacture of weapon of mass destruction or for other military purposes. You are also requested that you would not make the products available to any third party who may use the products for such prohibited purposes.
These products are intended for general use in electronic equipment. When using them in specific applications that require extremely high reliability, such as the applications stated below, you must obtain permission from Seiko Epson in advance.
All brands or product names mentioned herein are trademarks and/or registered trademarks of their respective.
/ Space equipment (artificial satellites, rockets, etc.) / Transportation vehicles and related (automobiles, aircraft, trains, vessels, etc.) / Medical instruments to sustain life / Submarine transmitters / Power stations and related / Fire work equipment and security equipment / traffic control equipment / and others requiring equivalent reliability.
ETM37E Revision History
Rev No. Date Page Description ETM37E-01 14.Jul.2013 Release ETM37E-02 06.Sep.2013 28 Corrected a setting data of Flow chart Ex2 ETM37E-03 13.Sep.2013 1 Changed a 1. Overview.
5 Deleted contents of a 8.1 DC characteristics. 5 Corrected a fCLK to fSCL. 6 Changed a comment of 8.2.1. AC characteristics. 7 Deleted a comment of “Target spec” 7 Deleted a software command of TS sample. 20,21 Corrected a 13.3. Alarm interrupt Function. 28 Corrected a setting data of Flow chart Ex2
ETM37E-04 06.Nov.2013 4 Corrected a Item of 7. Frequency Characteristics
6 Corrected a caution of 8.2.1. AC characteristics(1)
ETM37E-05 13.Dec.2013 12 Changed a 12.2. Register table
34
ETM37E-06 25.Sep.2014 7,26
Corrected a 13.8.7. The example of the communication wave pattern Corrected a power-on reset procedure by the software command.
RX8010 SJ

Contents

1. Overview ........................................................................................................................ 1
2. Block Diagram ............................................................................................................... 1
3. Terminal description ..................................................................................................... 2
4. External Dimensions ...................................................................................................... 3
5. Absolute Maximum Ratings ........................................................................................... 4
6. Recommended Operating Conditions ............................................................................ 4
7. Frequency Characteristics ............................................................................................. 4
8. Electrical Characteristics .............................................................................................. 5
9. Matters that demand special attention on use ................................................................ 7
10. Reference information ................................................................................................. 9
11. Application notes ....................................................................................................... 10
12. Overview of Functions and Description of Registers ................................................ 11
12.1. Overview of Functions .................................................................................................................. 11
12.2. Register table ............................................................................................................................... 12
12.3. Description of registers ................................................................................................................. 13
13. How to use ................................................................................................................. 15
13.1. Clock calendar explanation .......................................................................................................... 15
13.2. Fixed-cycle Timer Interrupt Function ............................................................................................ 15
13.3. Alarm Interrupt Function ............................................................................................................... 20
13.4. Time Update Interrupt Function .................................................................................................... 23
13.5. Frequency stop detection function ............................................................................................... 25
13.6. FOUT function [clock output function] .......................................................................................... 25
13.7. Flow-chart ..................................................................................................................................... 26
13.8. Reading/Writing Data via the I2C Bus Interface ........................................................................... 31
ETM37E-06
RX8010 SJ
Low current consumption
SERIAL-INTERFACE REAL TIME CLOCK MODULE
RX8010 SJ
Built in frequency adjusted 32.768-kHz crystal unit.
Real-time clock function : Clock/calendar function,Long timer function, alarm interrupt function, etc.
User RAM : Built in 128 bit RAM
Frequency output function : 32.768 kHz, 1024 Hz, 1Hz
Interface type : I2C-Bus
Interface voltage range : 1.6 V5.5 V
Timekeeper voltage range
Backup current consumption : 160 nA
: 1.1 V5.5 V
/ 3 V
Typ
The I2C-Bus is a trademark of NXP Semiconductors.

1. Overview

This is a real-time clock module of the serial interface system that incorporates a 32.768 kHz crystal oscillator. The real-time clock function incorporates not only a calendar and clock counter for the year, month, day, day of the week, hour, minute, and second, but also a time alarm, interval timer, and time update interruption, among other
features. All of these many functions are implemented in a thin, compact SOP package, which makes it suitable for various kinds of small electronic devices.

2. Block Diagram

BUILT-IN XTAL ( 32.768 kHz )
/ IRQ1
/ IRQ2
SCL SDA
OSC
ALARM,TIMER,FOUT
TIMER, FOUT
DIVIDER
INTERRUPTS CONTROLLER
BUS INTERFACE CIRCUIT
USER RAM 128 bit
CLOCK
and
CALENDR
TIMER REGISTER
ALARM REGISTER
CONTROL
REGISTER and SYSTEM
CONTROLLER
Page1
ETM37E-06
RX8010 SJ
.
1.
8.
2.
7.
3./ IRQ2
6.
4.
5.

3. Terminal description

3.1. Terminal connections

N.C. N.C.
VDD / IRQ1 SCL
GND
SOP8pin
SDA

3.2. Pin Functions

Signal
name
SCL Input This is a shift clock input pin for serial data transmission.
SDA Input/Output This is the data input/output pin for serial data transfer.
/ IRQ1 Output
/ IRQ2 Output
VDD Supply
GND Supply
Note: Input pins are able to input up to 5.5V regardless of VDD applied voltage. Note: Open drain pins are able to Pull-up to 5.5V regardless of VDD applied voltage. Note: Connect a bypass capacitor rated at least 0.1µF between power supply pins and GND pin.
I/O Function
This pin outputs interrupt signals ("L" level) for alarm, timer, time update, and FOUT. This is an N-ch open-drain output.
This pin outputs interrupt signals ("L" level) for timer and FOUT. This is a C-MOS output.
This is a power-supply pin. This pin is connected to a ground.
Page2
ETM37E-06
RX8010 SJ
Unit : mm
#8
4.

External Dimensions

4.1. External Dimensions

RX8010SJ
External dimensions
( SOP − 8 pin )
#1
0.4
7.0 ± 0.2
1.27
0° - 8°
#5
3.9 ± 0.1
#4
6.0 ± 0.2
0.22
2.65 Max.
0.6
Page3
ETM37E-06
RX8010 SJ
to
6.

Recommended Operating

5. Absolute Maximum Ratings

Item Symbol
GND = 0 V
Condition Rating Unit
Supply voltage V
Input voltage VIN SCL,SDA
Output voltage 1 V
Output voltage 2 V
Storage temperature T
Item Symbol
Operating supply voltage V
Clock supply voltage V
Low voltage detection V
Applied voltage when OFF V
Operating temperature
Minimum value of Clock supply voltage V supply voltage V
ACC
.
DD
OUT1
/IRQ2
OUT2
SDA, /IRQ1
STG
ACC
CLK
- 1.1 3.0 5.5 V
LOW
- 1.10 V
PUP
SDA, /IRQ1pin 5.5 V
T
OPR
No condensation
CLK
Between VDD and GND
When stored separately,
is the timekeeping continuation lower limit value that initialized RX8010 in operating

7. Frequency Characteristics

0.3
0.3
0.3
without packaging
*Unless otherwise specified, GND = 0 V , Ta = −40 °C to +85 °C
Condition Min. Typ. Max. Unit
-
*Unless otherwise specified, GND = 0 V , Ta = −40 °C to +85 °C
0.3
55
1.6 3.0 5.5 V
40
+6.5 V
+6.5 V
VDD+0.3 V
+6.5 V
+125
+25 +85
°C
°C
Item Symbol
Output frequency fo 32.768
Frequency stability Frequency/voltage
characteristics
Frequency/temperatur
e characteristics
Oscillation start time
Aging fa
1 )
The monthly error is equal to one minute. ( excluding offset )
∆ f / f
f / V
Top
t
STA
Ta = +25 °C VDD = 3.0 V Ta = +25 °C
VDD = 1.2 V Ta = −20 °C ∼ +70 °C VDD = 3.0 V ; +25 °C reference Ta = ±0 °C ∼ +50 °C
VDD = 1.6 V Ta =40 °C+85 °C
VDD = 1.6 V Ta = +25 °C , VDD = 3.0 V ; first year −5
Condition Min. Typ. Max. Unit
∼ ∼
5.5 V
5.5 V
5.5 V
2
120
1.0 s
3.0 s
5 ± 23
+2
+10
+5
( Typ. )
(1)
kHz
× 106
× 106 / V
× 106
× 106
/ year
Page4
ETM37E-06
RX8010 SJ

8. Electrical Characteristics

8.1. DC characteristics

*Unless otherwise specified, GND = 0 V , Ta = −40 °C to +85 °C
8.1.1.
DC characteristics ( 1 )
Item Symbol
*
Unless otherwise specified, GND = 0 V , VDD = 1.6 V ∼ 5.5 V , Ta = −40°C ∼ +85°C
Condition Min. Typ. Max. Unit
Current consumption (1)
Current consumption (2)
Current consumption (3)
Current consumption (4)
Current consumption (5)
Current consumption (6)
High-level input voltage
Low-level input voltage
High-level output voltage
Low-level output voltage
Input
leakage current
Onput
leakage current
I
DD1
Input pins are "L" f
SCL
= 0 Hz, /IRQ1,2 = OFF
TSEL2=”1”
I
DD2
V
I
DD3
f
SCL
= 0 Hz, /IRQ2 = OFF,
V
V
DD
DD
DD
= 5 V
= 3 V
= 5 V
350
160 320
0.60 1.10
/IRQ1 : 32.768 kHz ON
I
DD4
I
DD5
f
SCL
= 0 Hz, /IRQ1 = OFF,
V
DD
= 3 V
V
DD
= 5 V
0.52 0.90
0.45 1.10
/IRQ2 : 1024 Hz ON ,
I
V
CL = 15 pF
DD6
VIH SCL,SDA pin
VIL SCL, SDA pin
OH1
V
DD
= 3 V
VDD=5 V, IOH=1 mA
0.40 0.90
0.8 × V
GND 0.3
5.5 V
DD
4.5 5.0
/IRQ2 pin
V
OH2
V
OL1
VDD =3 V, IOH=0.5 mA VDD =5 V, IOL=1 mA GND GND +0.5
2.7 3.0
/IRQ2 pin
V
OL2
VDD =3 V, IOL=0.5 mA GND GND +0.3
V
OL4
VDD =5 V, IOL=1 mA GND
/IRQ1 pin
V
OL5
VDD =3 V, IOL=1 mA GND GND +0.4
ILK
IOZ
Input pin, VIN = VDD or GND −0.1 Input pin, V
OUT
= VDD or GND −0.1
0.1
0.1
0.2 × V
GND +0.25
DD
nA
nA
µA
µA
V
V
V
V
µA µA
Page5
ETM37E-06
RX8010 SJ
t
SU ; STA
SDA
SCL
t
SU ; STA

8.2. AC characteristics

8.2.1. AC characteristics(1)
Item Symbol
SCL clock frequency Start condition setup time Start condition hold time Data setup time Data hold time Stop condition setup time Bus idle time between
start condition and stop condition Time when SCL = "L" Time when SCL = "H" Rise time for SCL and SDA Fall time for SCL and SDA
Allowable spike time on bus t
Timing chart
Protocol
START
CONDITION
(S)
t
LOW
BIT 7 MSB
(A7)
t
HIGH
*
Unless otherwise specified, GND = 0 V , VDD= 1.6 V ∼ 5.5 V , Ta = −40°C ∼ +85°C
Standard-Mode
(f
SCL
=100kHz)
Fast-Mode
(f
SCL
=400kHz)
Min. Max. Min. Max.
f
SCL
100 400 kHz
t
SU;STA
t
HD;STA
t
SU;DAT
t
HD;DAT
t
SU;STO
t
BUF
t
LOW
t
HIGH
t
r
t
f
SP
1 / f
SCL
4.7 0.6
4.0 0.6
250 100 ns
0 0 ns
4.0 0.6
4.7 1.3
4.7 1.3
4.0 0.6
1.0 0.3
0.3 0.3 50 50 ns
BIT 6
(A6)
BIT 0
LSB
(R/W)
ACK
(A)
STOP
CONDITION
(P)
START
CONDITION
(S)
Unit
µs µs
µs µs µs
µs µs µs
(S)
t
r
t
f
(A)
t
HD ; STA
t
SU ; DAT
t
HD ; DAT
t
SP
Caution: When communication of I2C-bus is started, consumption electric currents increase.
When accessing this device, all communication from transmitting the start condition to transmitting the stop condition after access should be completed within 0.95 seconds. If such communication requires 0.95 seconds or longer, the I2C bus interface is reset by the internal bus timeout function.
8.2.2. AC characteristics (2)
Item Symbol
FOUT symmetry (/IRQ2) SYM 50% V
*
Unless otherwise specified, GND = 0 V , VDD= 1.6 V ∼ 5.5 V , Ta = −40°C ∼ +85°C
Condition Min. Typ. Max. Unit
DD Level
40 50 60 %
t
SU ; STO
(P)
t
BUF
(S)
t
HD ; STA
Page6
ETM37E-06
RX8010 SJ
Power supply
VDD
tR1
Backup mode
tCL
IF
Access is
im
possible
Valid V
voltage range
tF
tF

9. Matters that demand special attention on use

9.1. Instructions in the power on

9.1.1. Characteristic for the fluctuation of the power supply
tR1 is restrictions to validate power-on reset. When cannot keep this standard, power-on reset does not work normally. It is necessary to initial setting by the software command. Repeated ON/OFF of the power supply in short term, the power-on reset becomes unstable. After power-OFF, keep a state of VDD=GND more than 60 seconds to validate power-on reset.
When it is impossible, please perform initial setting by the software command.
VDD
V
CLK
GND
Access is possible
Access is possible
Item Symbol
Power supply rise time access wait time (Initial power on) access wait time ( Normal power on)
tR1 tCL tCU
Condition Min. Typ. Max. Unit
GND – VDD
-
-
40 - - ms
40 - - ms
A power-on reset procedure by the software command
1) Power- on
2) Wait: At least 40ms.
3) Dummy read. 1
4) Check VLF bit = “1”
5) Write 00[h] Address:Reg-1F[h]
6) Write 80[h] Address:Reg-1F[h]
7) Write D3[h] Address:Reg-60[h]
8) Write 03[h] Address:Reg-66[h]
9) Write 02[h] Address:Reg-6B[h]
10) Write 01[h] Address:Reg-6B[h]
11) Wait: At least 2ms *2 END
A disappearance of the FOUT output when the voltage sharply went up and down.
For example, VDD voltage of the RX8010 is come and go between Main power and backup battery. The clock output from output pins disappears then during several milli-seconds when a sharp voltage change happens. Please check that there is not a problem by this characteristic on your system.
An reference example of a power up and down timing without affect to FOUT.
5.5V
1.6 V
DD
for using FOUT.
FOUT
1 Dummy read The location of the address is arbitrary. Do not check ACK/NACK from RX8010.
2 Wait: At least 2ms This wait time is necessary before transmitting
the command for clearing VLF bit after software command transmission.
tR
FOUT
tCU
1 - 100 µs / V
FOUT
Please make speed to descend of a power supply voltage loose than 4 ms/V.
tR
FOUT
Please make speed to rise of a power supply voltage loose than 4 ms/V.
Page7
ETM37E-06
RX8010 SJ
• Normal access is enabled
4
0 [ ms ]
Note: After
4
0 (ms) has elapsed, access is enabled.
9.2.

Restrictions on Access Operations during Power-on Initialization and Recovery from Backup

RTC-register operations are linked to the internal quartz oscillator's clock signal, so normal operation is not possible if there is no internal oscillation (= oscillation is stopped).
Therefore, we recommend that the initial setting to be set during power-on initialization or backup and restore operations (i.e., when the power supply voltage is recovered after oscillation has stopped due to a voltage drop, etc.) should be "first start internal oscillation, then wait for the oscillation stabilization time (see tSTA standard) to elapse".
Note the following caution points concerning access operations during power-on initialization or when restoring the power supply voltage from backup mode (here after referred to as "switching to the operating voltage").
1) Before switching to the operating voltage, read the VLF-bit (which indicates the RTC error status).
2) Initialization is required when the value read from the VLF-bit is "VLF = 1 (error status)". Before initializing in response to this VLF = "1" result, we recommend first waiting for the internal oscillation
stabilization time (see the tSTA standard) to elapse.
Initialization is required when the status after reading a VLF-bit value of "1" is either of the following. (Status 1) During power-on initialization
(Status 2) When the clock setting is invalid, such as due to a voltage drop during backup
Access timing during power-on initialization and when recovering the power supply voltage after a drop in the voltage used to maintain the clock
V
DD
(illustration)
During power-on initialization or power supply voltage recovery after drop in clock maintenance voltage
Internal oscillation
Oscillation start voltage [v] Minimum voltage for clock maintenance V
t
STA [ s ]
Oscillation start time
(internal oscillation wait time)
However, access guarantee range is address 20h
2Fh.
( Min. )
CLK
[ V ]
• Normal operation is enabled
Page8
ETM37E-06
Loading...
+ 27 hidden pages