Epson RA8804CE Series Applications Manual

Epson RA8804CE Series Applications Manual

Real time clock module
Hide thumbs Also See for RA8804CE Series:
Table of Contents

Advertisement

Quick Links

Application manual
Real Time Clock Module
RA8804CE
Product name
RA8804CE XA
RA8804CE XB
Product number
X1B000381A00100
X1B000381A00200

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RA8804CE Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Epson RA8804CE Series

  • Page 1 Application manual Real Time Clock Module RA8804CE Product name Product number RA8804CE XA X1B000381A00100 RA8804CE XB X1B000381A00200...
  • Page 2: Notice:please Read Carefully Below Before The Use Of This Document

    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: Etm60E Revision History

    As for time of auto release of Time update interruption, Symbol name was updated to tRTN1 from tRTN. "USEL (Update Interrupt Select) bit" Note is added the Metal pad of package. 9.1.External Dimensions Contacts list was updated. Contacts RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 4: Table Of Contents

    8.8.1. Temperature Compensation Function ...................... 36 8.8.2. Related Registers for Temperature Compensation Function ..............36 8.9. Reading / Writing Data via the I C-Bus Interface ....................37 8.9.1. Overview of I C-Bus ..........................37 RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 5 8.14. When Used as a Clock Source (32.768 kHz DTCXO) ..................47 9. External Dimensions / Marking Layout....................48 9.1. External Dimensions ............................48 9.2. Marking Layout ..............................48 10.Application Notes ..........................49 11.Figures ..............................50 12.Tables ..............................50 Contacts ..............................52 RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 6: Overview

    CALENDR POWER CONTROLLER TIMER REGISTER /INT INTERRUPTS CONTROLLER ALARM REGISTER FOUT CONTROL CONTROLLER FOUT REGISTER SOUT SOUT CONTROLLER CAPTURE BUFFER EVENT DETECTION CONTROLLER EVIN SYSTEM INTERFACE CONTROLLER CIRCUIT Figure 2 Block Diagram RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 7: Terminal Description

    This pin is connected to a ground Use only for testing in the factory − (Do not connect externally) Note: Be sure to connect a bypass capacitor rated at least 0.1 µF between V and GND. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 8: Absolute Maximum Ratings

    *1 5 s error per a month. *2 9 s error per a month. *3 21 s error per a month. *4 10 s error per a month. *5 13.2 s error per a month. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 9: Electrical Characteristics

    GND µA −0.5 Output leakage current Output pins, output voltage = V or GND kΩ Pull-up Resistor EVIN 2000 EVIN Detection voltage of VDET 1.41 1.45 1.49 Detection voltage of VLF RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 10: Ac Characteristics

    When bus-time-out occur, SDA is released to Hi-Z input mode. 2. But readout data of a clock is stable anytime, and there isn’t contradiction. And it does not occur that data of a clock delay even if access time is prolonged. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 11: Reference Characteristics

    = 3.0 V) TC Unit s Unit µA Unit µA 0.46 0.40 0.38 0.35 0.38 0.33 0.38 0.33 7.3.3 Reference characteristic of I C-Bus active current. Figure 6 I C-Bus Current consumption RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 12: Use Methods

    If an alarm function is not used, registers 08h-0Ah can be used as RAM. (AIE: “0”) Reading register value of address 0Bh-0Ch and 1Fh is pre-set data. If a timer function is not used, register of 0Bh-0Ch and 1Fh can be used as RAM. (TE, TIE: “0”) RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 13: Register Table (Time Stamp, Evin, Sout, Timer)

    TSVLF, TSVDET, ECP, EHL, EPU, RCE, EIE, ET1, ET0, EVMON, SOE0 ~ SOE7, DCE, DC, SRV, FS0 ~ FS2, TRES, TSTP, All bits of address1Ch,1Dh,1Eh and 1Fh All other register values are undefined, so be sure to perform a reset before using the module. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 14: Details Of Registers

    4, 6, 9, or 11 Write / Read 01, 02, 03  28, 01, 02  February in common year 01, 02, 03  28, 29, 01  February in leap year RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 15: Alarm Registers

    When the settings in the above alarm registers and the WADA bit match the current time, the /INT pin goes to low level and “1” is set to the AF bit to report that an alarm interruption has occurred Please refer to Alarm Interrupt Function RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 16: Wakeup Timer Control Registers

    VLF data remains even it was 0 or 1. To retain the data, please write 1 No supply voltage drops occurred Low voltage has been detected, so data loss might have occurred, and time Read information might be wrong All registers should be initialized RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 17: Table 21 Vdet Bit

    The combination of these two bits is used to set the countdown period (source clock) for the wakeup timer interrupt function (four settings can be made). Please refer to 8.3. Wakeup Timer Function RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 18: Sout Control Register

    2) DCE bit ((Direct Control Enable), DC bit (Direct Control) In case of DCE=1, DC bit Value is outputted at SOUT. In case of DCE=0, register value Flag value is outputted at SOUT. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 19: Time Stamp Data Event Controller Register

    Time stamp MONTH TSVLF  TSVDET −  Time stamp YEAR   EVIN set    EVIN det       EVMON −  is available. is not available. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 20: Table 30 Ecp Bit

    The value of EF bit remains even EF = 0 or EF = 1 To keep the EF bit value, please write 1 to EF bit There is no EVIN detection history Read There is EVIN detection history RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 21: Figure 8 Evin Debounce Function

    EVMON can read the EVIN input level. Writing operation is ignored. Table 37 EVMON bit EVMON Data Function The input level of EVIN is LOW Write / Read The input level of EVIN is HIGH RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 22: Sout Function

    SOUT pin is switched to High level when VLF is cleared to 0 Command Example WriteRA8804(0Eh,39h) STEP 6 Target Address VDET Write Data operation Disabling SOUT function Command Example WriteRA8804(19h,00h) STEP 7 Target Address SOE7 SOE6 SOE5 SOE4 SOE3 SOE2 SOE1 SOE0 Write Data RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 23: Figure 10 Sout Function Program Ex.2

    Outputting High level at SOUT pin Command Example WriteRA8804(1Ah,C0h) STEP D Target Address Write Data operation Disabling SOUT function Command Example WriteRA8804(19h,00h) STEP E Target Address SOE7 SOE6 SOE5 SOE4 SOE3 SOE2 SOE1 SOE0 Write Data RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 24: Evin Interrupt And Time Stamp Function

    Time data, VLF, VDET data is stored to registers when longer than 60 us signal is inputted to EVIN STEP6 INIT returns to Hi-Z when either EF or EIE is cleared to 0 RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 25: Timing Chart Of Evin Time Stamping

    2) Processing method in case of no using /INT output. 1. Please keep /INT pin open. 2. Please set “0” to TIE, AIE, UIE and EIE bits and do poling TF, AF, UF and EF. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 26: Alarm Interrupt Function

    Bits marked with • are RAM bits that can contain any value and are read/write-accessible. Before entering settings for operations, it is recommended that writing “0” to the AIE bit to prevent unexpected hardware interrupts. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 27: Table 39 Wada Bit

    When an alarm interrupt event occurs (when the AF bit value changes from “0” to “1”), this bit's value specifies whether an interrupt signal is generated (/INT status changes from Hi-Z to low) or is not generated (/INT status remains Hi-Z). RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 28: Examples Of Alarm Settings

    AE = 1  Minute value is ignored of each month, for 30 minutes each AE = 1 hour  Hour value is ignored Every day, at 6:59 PM X: Don't care RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 29: Alarm Interrupt Timing Chart

    2) Processing method in case of no using /INT output. Please keep /INT pin open. Please set “0” to TIE, AIE, UIE and EIE bits and do poling TF, AF, UF and EF. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 30: Wakeup Timer Interrupt Function

    RAM register. In such cases, stop the wakeup timer function by writing “0” to the TE and TIE bits. • When writes 00h to all timer counter, Timer countdown are stop, and new Timer interruption are inhibited. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 31: Figure 16 Wakeup Timer Count Down Timing Chart

    This bit can be employed like Watch Dog Timer function. Table 47 TRES bit TRES Data Description The Timer Counter is not affected Write / Read Preset value is loaded to all Timer Counters RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 32: Wakeup Timer Start Timing

    Counting down of the wakeup timer value starts at the rising edge of the SCL signal that occurs when the TE value is changed from 0 to “1” (after bit “0” is transferred). RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 33: Wakeup Timer Interrupt Interval (Example)

    63.984 s 4095 s 4095 min • • • • • • • • • • • • • • • 16777215 4096 s 3 days,49 min.4 s 194 days 32 years RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 34: Wakeup Timer Interrupt Timing Chart

    When a 0 is written to the TE bit, the wakeup timer function is stopped and the /INT pin is set to Hi-Z status and the wakeup timer function is stopped. When /INT is low, the /INT pin status changes from Low to Hi-Z as soon as the TIE bit value changes from 1 to 0. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 35: Time Update Interrupt Function

    Write Invalid (writing a 1 will be ignored)! Time update interrupt events are not detected Read Time update interrupt events are detected (The result is retained until UF is cleared to zero) RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 36: Time Update Interrupt Function Timing Chart

    Hi-Z. But, When UF is cleared to 0, /INT is released immediately. (6) When /INT = Low, the /INT pin status changes from Low to Hi-Z as soon as the UIE bit value changes from “1” to ”0”. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 37: Temperature Compensation Function

    30 s and a VDET bit is set to “1”, the temperature compensation operation is Even if the power supply voltage falls below V performed again if the supply voltage raises above V RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 38: Reading / Writing Data Via The I

    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. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 39: Starting And Stopping I

    STOP condition (to stop communications) and transferring the next START condition (to start the next round of communications). STOP START condition condition [ P ] [ S ] 1.3 s Min. Figure 23 I C-Bus Restarting Timing RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 40: Data Transfers And Acknowledge Responses During I C-Bus Communications

    When the Master is the receiver, if the Master does not send an ACK signal in response to the last byte sent from the slave, that indicates to the transmitter that data transfer has ended. At that point, the transmitter continues to release the SDA and awaits a STOP condition from the Master. RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 41: Slave Address

    Table 58 I C-Bus Slave Address Slave address R / W bit Transfer data bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 Read Write RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 42: I 2 C-Bus Protocol

    (2) In Extension resister Address - - - - - - - 18 - 19 - 1A - 1B - 1C - 1D - 1E - 1F - 10 - 11 - 12 - - RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 43: Backup And Recovery

    Power supply fall time = 5.5 V ~ V µs / V Power supply rise time ~ 5.5 V µs / V Setup time from finish of I C-Bus Before V µs RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 44: About Access At The Time Of Backup Return And Initial Power Supply

    A clock operation is possible 30 ms Please perform access to the data which clock counters depend on a crystal oscillation for after tSTA time Figure 27 Power ON and restore from backup sequence RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 45: Flow Chart

    • Set the Update interrupt function Setting the Update function • Writes 00h. Disable output of SOUT • Set the interval of a temperature compensation operation Temperature compensation function Next processing Figure 28 Flow ex. 1 RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 46: Figure 29 Flow Ex. 2

    Clear VLF to 0 • Please set waiting time depending on load of a system optionally Wait VLF = 0 ? Software reset & Initialize Start-up complete Figure 29 Flow ex. 2 RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 47: Figure 30 Flow Ex. 3

    (hold the carry operation), and it is automatically revised at the time of the Read clock communication end • The access to a clock calendar recommends to have access to continuation by an auto increment function Next process Figure 31 Flow ex. 4 RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 48: Connection With Typical Microcontroller

    R = 2 kΩ to 10 kΩ Figure 32 Circuit Diagram 8.14. When Used as a Clock Source (32.768 kHz DTCXO) RA8804CE 0.1 F FOUT 32.768 kHz /INT SOUT EVIN Figure 33 32.768 kHz DTCXO Connection RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 49: External Dimensions / Marking Layout

    XB : A8804 X ¥ 123A Production lot #1 Pin Mark Contents displayed indicate the general markings and display, but are not the standards for the fonts, sizes and positioning. Figure 35 Marking RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 50: Application Notes

    ( +217 C over ) ; +150 C Ts Min. 60 s to 120 s ( +150 C to +200 C) Time +25 C to Peak Time [ s ] Figure 36 Soldering Profile RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 51: Figures

    Table 25 SOUT Control Register ..........................17 Table 26 DCE, DC bit ..............................18 Table 27 SRV bit ................................18 Table 28 FS bit ................................18 Table 29 Time Stamp Data Event Control ........................18 RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 52 Table 55 UIE bit ................................35 Table 56 Temperature Compensation Register ......................36 Table 57 CSEL bit ................................ 36 Table 58 I C-Bus Slave Address ..........................40 Table 59 VDD sequence characteristics ........................42 RA8804CE Jump to Bottom ETM60E-03 Seiko Epson Corporation...
  • Page 53: 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:

Ra8804ce xaRa8804ce xbX1b000381a00100X1b000381a00200

Table of Contents