Epson RX8010SJ Applications Manual

Epson RX8010SJ Applications Manual

Real time clock module
Table of Contents

Advertisement

Quick Links

Application manual
Real Time Clock Module
RX8010SJ
ETM37E-07
Product name
Product number
RX8010SJ
X1B000242000100

Advertisement

Table of Contents
loading

Summary of Contents for Epson RX8010SJ

  • Page 1 Application manual Real Time Clock Module RX8010SJ ETM37E-07 Product name Product number RX8010SJ X1B000242000100...
  • Page 2: Notice

    Epson’s official web sites and resources. This document may not be copied, reproduced, or used for any other purposes, in whole or in part, without Epson’s prior consent. Information provided in this document including, but not limited to application circuits, programs and usage, is for reference purpose only.
  • Page 3: Revision History

    1: SDA was added to VOL1 and VOL2. 2: VOL6 was added. DC charcteristics. 17.Dec.2021 30, 31 Digital offset function is available. Digital offset. Contact was updated Contacts Index link was added to all footer RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 4: Table Of Contents

    13.3. Alarm Interrupt Function ....................... 24 13.3.1. Related registers for Alarm interrupt functions..............24 13.3.2. Examples of alarm settings .................... 25 13.3.3. Diagram of alarm interrupt function ................26 13.4. Time Update Interrupt Function ....................27 RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 5 C-Bus communications ................... 37 15.4. Slave address ..........................37 15.5. System configuration ........................38 15.6. I C-Bus protocol ..........................39 15.7. The example of the communication wave pattern ................. 40 Contacts .......................... 41 RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 6: Overview

    BUILT-IN XTAL ( 32.768 kHz ) CLOCK DIVIDER CALENDR TIMER REGISTER ALARM,TIMER,FOUT INTERRUPTS / IRQ1 ALARM REGISTER CONTROLLER TIMER, FOUT / IRQ2 CONTROL REGISTER INTERFACE CIRCUIT SYSTEM CONTROLLER USER RAM 128 bit RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 7: Terminal Description

    Note: Open drain pins are able to Pull-up to 5.5V regardless of V applied voltage. Note: Connect a bypass capacitor rated at least 0.1μF between power supply pins and GND pin. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 8: External Dimensions

    4. External Dimensions External Dimensions 4.1. External Dimensions ( SOP − 8 pin ) RX8010SJ • External dimensions  0 - 8   0.22 2.65 Max. 1.27 Unit : mm RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 9: Absolute Maximum Ratings

     10 −6 Ta = +25 C , V −5 Aging = 3.0 V ; first year / year 1 ) The monthly error is equal to one minute. ( excluding offset ) RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 10: Electrical Characteristics

    GND +0.4  2 V, I SDA pin GND +0.4 =3.0 mA Input −0.1 A Input pin, V or GND leakage current Output −0.1 A Output pin, V or GND leakage current RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 11: Ac Characteristics

    = 1.6 V  5.5 V , Ta = −40 C  +85 Unless otherwise specified, GND = 0 V , V Item Symbol Condition Min. Typ. Max. Unit FOUT symmetry (/IRQ2) 50% V DD Level RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 12: Note Of Usage In Power On / Off

    FOUT FOUT Please make speed to descend of a power supply voltage loose than 4 ms/V. FOUT Please make speed to rise of a power supply voltage loose than 4 ms/V. FOUT RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 13 (internal oscillation wait time) • Normal access is enabled • Normal operation is enabled 40 [ ms ] Note: After 40 (ms) has elapsed, access is enabled. However, access guarantee range is address 20h 2Fh. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 14: Reference Information

    : Frequency deviation in any voltage. 3. How to find the date difference Date Difference = f/f  86400(Sec)  For example: f/f = 11.574  10 is an error of approximately 1 second/day. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 15: Application Notes

    Ts min : +150 over) ts ℃ 60 sto120 s (+150 ℃ to +200 ℃) Time +25 ℃ to Peak 120 180 240 300 360 420 480 540 600 660 720 780 Time[s] RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 16: Overview Of Functions And Description Of Registers

    . When calculate compensation value from frequency accuracy or clock accuracy, please refer to accuracy after initialized a register by all means. 9) User RAM RAM register is read/write accessible for any data. Digital offset function RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 17: Register Table

     Since the value of other registers is undefined at this time, be sure to reset all registers before using them. 2. The TEST, bit are Epson test bits.  Be sure to write "0" by initializing before using the clock module. Afterward, be sure to set "0" when writing.
  • Page 18: Description Of Registers

    A count stops the source clock setting of the timer in case of "64Hz, 1Hz, 1min, 1h".  3) Note 3: The effect of STOP bit to FOUT functions. When STOP = "1", 32768Hz output is possible. But 1Hz and 1024Hz output is disabled. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 19: Function-Related Register 2

       Setting data IRQ Control   TMPIN FOPIN1 FOPIN0 TMPIN FOPIN1 FOPIN0 Setting data The ' ' mark indicates a write-prohibited bit, which returns a "0" when read.  RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 20: How To Use

    Normal year Leap year 2) [ YEAR ] register This register is a BCD counter for years 00 to 99. The leap year is automatically determined, which reflects in the DAY register. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 21: Wakeup Timer Interrupt Function

    When selected1/60Hz / 1/3600Hz as a source clock, 1Hz of error occurs at the maximum. The example of the error of the first countdown: A value to preset is 0004h Internal source clock Designated cycle Cycle error 初回周期誤差 Down counter TF Flag ”0” ⇒ “1” RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 22 2) When a wakeup timer interrupt event occurs, the interrupt signal is Write canceled (/IRQ status changes from low to Hi-z). When a wakeup timer interrupt event occurs, an interrupt signal is generated (/IRQ status changes from Hi-z to low). RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 23: Wakeup Timer Start Timing

    1.0000 s 64.000 s 4096 s 4096 min 4096 h • • • • • • • • • • • • 65535 15.9998 s 1023.984 s 65535 s 65535 min 65535 h RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 24: Diagram Of Wakeup Timer Interrupt Function

    (Repeated operation)  The count down that starts when the TE bit value changes from "0" to "1" always begins from the preset value. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 25: Alarm Interrupt Function

    Clearing this bit to zero enables /IRQ1 low output to be canceled (/IRQ1 remains Hi-z) when an alarm interrupt event has occurred. Write This bit is invalid after a "1" has been written to it. − Read RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 26: Examples Of Alarm Settings

    30 minutes each AE bit = 1 30 h hour  Hour value is ignored        Every day, at 6:59 PM 18 h 59 h : Don't care RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 27: Diagram Of Alarm Interrupt Function

    /IRQ1 " 1 " AIE bit " 0 " Hi - z /IRQ1 output " L " " 1 " AF bit " 0 " Event occurs RTC internal operation Write operation RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 28: Time Update Interrupt Function

    1) Does not generate an interrupt signal. (/IRQ1 remains Hi-z) 2) Cancels interrupt signal triggered by time update interrupt event (/IRQ1 Write / Read changes from low to Hi-z). When an Update interrupt event occurs, an interrupt signal is generated. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 29: Time Update Interrupt Function Diagram

    / IRQ1 output " L " tRTN " 1 " UF bit " 0 " period period period period Carry tRTN = 7.568 ms ~ 15.625 ms Operation in RTC Write operation RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 30: Frequency Stop Detection Function

     At the time of the initial power-on, “0” is set to FSEL1, FSEL0. Note: The effect of STOP bit to FOUT functions. When STOP = "1", 32768Hz output is possible. But 1Hz and 1024Hz output is disabled. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 31: Digital Offset Function

    L[7  1] = 11.57 / 3.05 = 4 (dec) However, decimals are discarded. = 0000100(bin) is set. Negative offset L[7  1] = 128 – ( 11.57 / 3.05 ) = 124 (dec) However, decimals are discarded. = 1111100(bin) is set. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 32: An Effect To The Other Function, When Used A Digital Offset Function

    64Hz or 1Hz source clock setting: Once in 10 seconds, a period fluctuates. When the setting of the down counter is large, the influence looks small relative. • 4kHz source clock is not affected. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 33: Flow-Chart

    • Set the maximum number of loops, for an trouble of crystal oscillation VLF=0 ? •When power-on reset cannot satisfy a power supply condition Software reset valid, execute a software reset. & Initialize Start-up complete RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 34 "0" to the TE and TIE bits. • Set the Update interrupt function. Setting the Update function Reg − 1Dh  1Fh  When initialization is finished, be sure to clear STOP bit to “0”. Next processing RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 35  It is able to set time even if not combined use of STOP bit. Next process Please note that [ clock is started at the time of writing [second ] ] in case STOP bit is not used. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 36 TSTP, " 1 " → " 0 " Next process 2 When you want to restart from a pre-set value, please set a TE bit to “1” again after setting a TE bit to “0”. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 37 Reg − 18[h], 1A[h] • Select week or day in WADA bit Reg-1D[h] • Clear AF bit Reg-1E[h] • Select and set /IRQ1 output in AIE bit. Reg − 1F[h] Next process RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 38: The I C-Bus Interface

    During in actual data transmission, the transmitted data contains the slave address and the data with R/W (read/write) bit. Slave address bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 0 when write mode 1 when read mode RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 39: System Configuration

    In the case of this RTC module, controllers such as a CPU are defined as master devices and the RTC module is defined as a slave device. When a device is used for both transmitting and receiving data, it is defined as either a transmitter or receiver depending on these conditions. RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 40: I 2 C-Bus Protocol

    15.6. I C-Bus protocol In the following sequence descriptions, it is assumed that the CPU is the master and the RX8010SJ is the slave. 1) Address specification write sequence Since the RX8010SJ includes an address auto increment function, once the initial address has been specified, the RX8010 increments (by one byte) the receive address each time data is transferred.
  • Page 41: The Example Of The Communication Wave Pattern

    When read A5h from address 20h: Slave address + 0(Write) Slave address + 1(Read) STOP Address (20h) RESTRAT Data of Address 20h STRAT A5h read ACK signal from RX8010 ACK from CPU CPU release the SDA line RX8010SJ Jump to INDEX Seiko Epson Corporation ETM37E-07...
  • Page 42: Contacts

    Epson Hong Kong Ltd. Unit 715-723 7/F Trade Square, 681 Cheung Sha Wan Road, Kowloon, Hong Kong www.epson.com.hk Epson Taiwan Technology & Trading Ltd. 15F, No.100, Songren Rd., Sinyi Dist.,Taipei City, 11073 Taiwan www.epson.com.tw/ElectronicComponent Epson Singapore Pte., Ltd. Electronic Devices Sales Division Alexandra Technopark Block B, #04-01/04 438B Alexandra Rd, Singapore 119968 www.epson.com.sg/electronic-devices...

This manual is also suitable for:

X1b000242000100

Table of Contents