Epson RX8111CE Applications Manual

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

Advertisement

Quick Links

ETM61E-01
Application Manua
Real Time Clock Module
RX8111CE
Preliminary
Product name
RX8111CE A
RX8111CE B
Product number
X1B000421000115
X1B000421000215
l

Advertisement

Table of Contents
loading

Summary of Contents for Epson RX8111CE

  • Page 1 ETM61E-01 Application Manua Real Time Clock Module RX8111CE Preliminary Product name Product number RX8111CE A X1B000421000115 RX8111CE B X1B000421000215...
  • Page 2 Epson’s official web sites and resources. 2. This document may not be copied, reproduced, or used for any other purposes, in whole or in part, without Epson’s prior consent. 3. Information provided in this document including, but not limited to application circuits, programs and usage, is for reference purpose only.
  • Page 3 ETM61E Revision History Rev No. Date Page Description 29.Jan.2020 Release...
  • Page 4: Table Of Contents

    RX8111CE INDEX 1. Overview ........................2 2. Block Diagram ....................... 2 3. Terminal Description ....................3 3.1. Terminal Connections ......................... 3 3.2. Pin Functions ..........................3 4. Connection Example ..................... 4 4.1. Battery Switchover connection Examples ..................4 5. External Dimensions / Marking Layout ................6 5.1.
  • Page 5 RX8111CE 14.3. Alarm Interrupt Function ......................29 14.3.1. Related registers for Alarm interrupt functions.............29 14.3.2. Examples of alarm settings ..................30 14.3.3. Diagram of alarm interrupt function ................31 14.4. Time Update Interrupt Function ....................32 14.4.1. Related registers for time update interrupt functions............32 14.4.2.
  • Page 6: Overview

    8 events. Using the backup battery charge control function and the interface power supply input pin, RX8111CE can support various power supply circuits. All of the functions mentioned above are offered in a thin and compact 3.2 x 2.5 ceramic package which could be used in various applications requiring small footprints.
  • Page 7: Terminal Description

    RX8111CE 3. Terminal Description 3.1. Terminal Connections RX8111CE 1. V 10. /INT 2. V 9. GND 3. V 8. V 4. FOUT 7. SDA 5. SCL 6. EVIN Figure 2 Package Pin layout 3.2. Pin Functions Table 1 Pin Description...
  • Page 8: Connection Example

    RX8111CE 4. Connection Example 4.1. Battery Switchover connection Examples Note. When connecting an outside power supply or a large-sized battery to V install bypass capacitors more than 0.1 F in a V terminal if necessary. As for each of bypass-capacitor, Install nearest in each of pin as much as possible.
  • Page 9 RX8111CE Ex.5 Connecting a Non Re-Chargeable battery 0.1 F Non Re-Chargeable Battery INIEN = 0, CHGEN = 0, SESEL1,0 = 01b Figure 7 Connection example 5 Page − 5 ETM61E-01...
  • Page 10: External Dimensions / Marking Layout

    RX8111CE 5. External Dimensions / Marking Layout 5.1. External Dimensions "CE" PKG − Rev.05 RX8111CE • External dimensions • Recommended soldering pattern 3.2  0.2 (Typ.3.24) Unit : mm 0.42 0.35 Figure 8 External dimensions 5.2. Marking Layout RX8111CE Type...
  • Page 11: Absolute Maximum Ratings

    RX8111CE 6. Absolute Maximum Ratings Table 2 Absolute Maximum Ratings GND=0V Item Symbol Condition Rating Unit − −0.3 to +6.5 Operating supply Voltage − −0.3 to +6.5 Operating supply Voltage − −0.3 to +6.5 Backup supply voltage − −0.3 to +6.5 Interface supply voltage −0.3 to +6.5...
  • Page 12: Electrical Characteristics

    RX8111CE 9. Electrical Characteristics 9.1. DC Characteristics 9.1.1.DC Characteristics 1 Table 5 DC Characteristics   = 1.6 V  5.5 V, Ta = -40 Unless otherwise specified, V C to +85 Item Symbol Condition Min. Typ. Max. Unit SCL = SDA = High,...
  • Page 13: Chargeable Current Characteristics

    RX8111CE 9.1.2. Chargeable Current Characteristics Chargeable current characteristics to Battery. It is ON resistance of SW1, 2, 3. The reference value of +25 C Typ. samples. – V Y axis = Charge current Ichg, X axis = Vdef = (V...
  • Page 14: Ac Characteristics

    RX8111CE 9.2. AC Characteristics 9.2.1. AC Characteristics 1 Table 7 AC Characteristics   Unless otherwise specified, 、GND = 0V,V = 1.6 V to 5.5 V, Ta = -40 C to +85 SCL = 100 kHz SCL = 400 kHz...
  • Page 15: Power Supply Sequence

    RX8111CE 10. Power Supply Sequence 10.1. Power Supply Sequence This circuit is sensitive to power supply noise and supply voltage should be stabilized to avoid negative impact on the accuracy. tR1 is needed for a proper power-on reset. If this power-on condition cannot be kept, it is necessary to send an initialization routine to the RTC by software.
  • Page 16: The Behavior And Operation Restriction At Power-On In Rtc

    RX8111CE 10.2. The behavior and operation restriction at power-ON in RTC Because most of the RTC registers are synchronized with the oscillation clock of the built-in crystal oscillator, the RTC does not work normally without the integrated oscillator stabilized. Please initialize the RTC at the time the power supply voltage returns...
  • Page 17: Reset By Software

    After 40 ms, when VLF doesn't reset to 0, go to step5. Dummy reading. Any address is acceptable. In I C communication, ignore ACK / NACK signal from RX8111CE. Should be execute this command even if VLF is 0. Even if VLF is 1, it available after step5.
  • Page 18: Application Notes

    RX8111CE 12. Application Notes 1) Notes on handling This module uses a C-MOS IC to realize low power consumption. Carefully note the following cautions when handling. (1) Static electricity While this module has built-in circuitry designed to protect it against electrostatic discharge, the chip could still be damaged by a large discharge of static electricity.
  • Page 19: Overview Of Functions And Description Of Registers

    RX8111CE 13. Overview of Functions and Description Of Registers Note. The initialization of registers is necessary about the unused function too. 13.1. Overview Of Functions 1) Clock Function This function is used to set and read out second, minute, hour, day, month, year ( to the last two digits), and date data.
  • Page 20: Register Table

    RX8111CE 13.2. Register Table 13.2.1. Register Table Table 9 Register Table (1) Address Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 HOUR WEEK MONTH YEAR MIN Alarm • HOUR Alarm WEEK Alarm •...
  • Page 21 RX8111CE Table 10 Register Table (2) Address Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 No Function No Function Power Switch Control CHGEN INIEN SWSEL1 SWSEL0 SMPT1 SMPT0 Status Monitor EVIN...
  • Page 22 RX8111CE 13.2.2. Register Initial Value After Power on Reset This table describes initial values after power on reset. Note: Registers marked “X” should be initialized to 0, except time stamp area. Table 11 Register Initial value (1) Address Function bit 7...
  • Page 23 RX8111CE Table 12 Register Initial value (2) Address Function bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 No Function No Function Power Switch Control EVIN Monitor Time Stamp Control 1 Time Stamp Control 2...
  • Page 24: Description Of Registers

    RX8111CE 13.3. Description Of Registers 13.3.1. Clock and Calendar Counter (10h  16h) This is counter registers from a second to a year. Please refer to [14.1 Clock calendar explanation] for the details. 13.3.2. Wake-up Timer (Down Counter) (1Ah  1Ch, 2Dh) Wake-up timer(down counter) data is read and stored in this register., along with TE, TF, TIE, TSEL1, TSEL0, TBKON, TBKEbit.
  • Page 25: Battery Backup Switchover Function Related Register (32H)

    RX8111CE 13.3.5. Battery Backup Switchover Function Related Register (32h) Please refer to 14.7 Battery Backup Switchover function for the details. 1) CHGEN bit Setting of backup battery charge control (ON/OFF). 2) INIEN bit Setting of a power switchover function (ON/OFF).
  • Page 26: How To Use

    RX8111CE 14. How to use Figure 18 Basic (32.768 kHz oscillation, counter, FOUT) Function 14.1. Clock Calendar Function At the time of a communication start, the Clock & Calendar data are fixed (hold the carry operation), and it is automatically revised at the end of the communication.
  • Page 27: Week Counter

    RX8111CE 14.1.2. Week Counter The day (of the week) is indicated by 7 bits, bit 0 to bit 6. The day data values are counted as: Day 01h → Day 02h → Day 04h → Day 08h → Day 10h → Day 20h → Day 40h →...
  • Page 28: Wake-Up Timer Interrupt Function

    RX8111CE 14.2. Wake-up Timer Interrupt Function The wake-up timer interrupt function generates an interrupt event periodically at any fixed cycle set between 244.14 s and 31.9 years. This function can stop at one time and is available as an accumulative timer.
  • Page 29 RX8111CE Source clock select signal TSEL0,TSEL1 bit 4096 Hz Resister Timer Counter 0 source TSTP Timer Counter 1 clock 64 Hz Timer Counter 2 selector 1 Hz 1/60 Hz TSTP 1/60 1 Hz timer stop signal TSTP, TBKE, TBKON bit The resolution of the count value depends on the selected clock source.
  • Page 30: Wake-Up Timer Start Timing

    RX8111CE Table 21 TBKON, TBKE bit (Timer Backup ON, Timer Backup/normal Enable) operation TBKE TBKON Description This setting counts normal mode and backup mode. Write This setting counts it at time of normal mode(V operation) This setting counts it at time of backup mode (V...
  • Page 31: Wake-Up Timer Interrupt Interval

    RX8111CE 14.2.3. Wake-up timer interrupt interval The combination of the source clock selection and wake-up timer value interruption interval, as shown in the following table. When counter setting is all 0, counter doesn’t work. Table 24 Wake-up timer interrupt cycles...
  • Page 32 RX8111CE Wake-up timer start Wake-up timer stops " 1 " TE bit Operation of wake-up timer " 0 " " 1 " TIE bit " 0 "  TIE→ 0 or Hi - Z  TF bit→ 0 TE → 0 makes...
  • Page 33: Alarm Interrupt Function

    RX8111CE 14.3. Alarm Interrupt Function The alarm interrupt function generates interrupt events for alarm settings such as date, day, hour, and minute settings. When an interrupt event occurs, the AF bit value is set to "1" and the /INT pin goes to low level to indicate that an event has occurred.
  • Page 34: Examples Of Alarm Settings

    RX8111CE 4) AIE bit (Alarm Interrupt Enable) This bit is used to control output of interrupt signals from the /INT pin when an Alarm interrupt event has occurred. Table 28 AIE bit (Alarm Interrupt Enable) Data Description 1) When an alarm interrupt event occurs, an interrupt signal is not generated or is canceled (/INT status remains Hi-Z).
  • Page 35: Diagram Of Alarm Interrupt Function

    RX8111CE 14.3.3. Diagram of alarm interrupt function SEC detection result SEC AE MIN detection result MIN AE HOUR detection result HOUR AE WEEK detection result AF Flag WEEK / DAY AE DAY detection result WADA Internal second carry AF Clear to 0...
  • Page 36: Time Update Interrupt Function

    RX8111CE 14.4. Time Update Interrupt Function The time update interrupt function generates interrupt in one-second or one-minute intervals which are synchronized to the update of the second or minute time register of the RTC. When an interrupt event is generated, this /INT status is automatically cleared (/INT status changes from low level to Hi-Z 7.57 ms after the interrupt occurs).
  • Page 37: Time Update Interrupt Function Diagram

    RX8111CE 14.4.2. Time update interrupt function diagram UIE bit Flag UF clears to Zero. Carry Sec. Update /tRTN Carry Min. Control Circuit USEL bit F64Hz Figure 24 Time Update Interrupt block diagram " 1 " UIE bit " 0 "...
  • Page 38: Rtc Self Monitoring Detection

    RX8111CE 14.5. RTC self monitoring Detection These bits are flag bit of each of functions of RTC. It is a flag bit that detects the state of this product and holds the result. Power ON Reset detection Detects Internal Voltage Low.
  • Page 39: Fout Function (Clock Output Function)

    RX8111CE 5) VCMP bit User can monitor the status of VCMP during the period that battery is being recharged. Table 40 VCMP bit (VCMP) VCMP Data Description < V Recharging Read > V Recharging suspended SW2:OFF 6) VLOW bit User can monitor the result of VLOW (battery backup lower voltage) .
  • Page 40: Battery Backup Switchover Function

    RX8111CE 14.7. Battery backup switchover function 14.7.1. Description of Battery backup switchover function There are three kinds of detection, switchover functions. 1) V voltage detection (VDET) comparison between V voltage and V (INIEN register control) DET1 2) V recharge detection (VCMP) comparison between V voltage and V voltage (CHGEN register control).
  • Page 41 RX8111CE 4) Battery Backup Switchover control (Initial power on) Please refer 4. Connection Example. Figure6 Figure7 Figure 27 Battery Backup Switchover Control (Initial power on) 5) Non re-chargeable battery control (INIEN: 1, CHGEN: 0) Figure 28 Battery Backup Switchover Control (non rechargeable battery) Page −...
  • Page 42 RX8111CE 6) Re-chargeable battery control (INIEN:1, CHGEN:1) Figure 29 Battery Backup Switchover Control (rechargeable battery) 7) V voltage detection register SMPT1, SMPT0 bit voltage low detection (V ). This detection is checking voltage anytime with setting Battery switchover functions managed by V...
  • Page 43 RX8111CE Figure 30 VDD detection (V ) SW1 intermittent operation DET1 Page − 39 ETM61E-01...
  • Page 44 RX8111CE 8) Battery Backup Switchover related register SWSEL1, SWSEL0 bit If user do not use switchover function (INIEN = 0), these two registers can fix MOS SW setting. Table 48 Battery Backup Switchover SW register INIEN SWSEL1 SWSEL0 C Bus...
  • Page 45: Time Stamp Function

    RX8111CE 14.8. Time Stamp Function 14.8.1. Outline of Time Stamp function There are three factors for time stamp operation 1) EVIN pin signal detection 2) RTC internal status detection 3) Command trigger by I C read command (2Fh reading) Time stamp events are recoded into RAM up to maximum of 8 times. (Refer to Figure 31) /INT pin interrupt output is available when time stamp event occurs.
  • Page 46: Time Stamp Function Triggered By Evin Pin Input

    RX8111CE 14.8.3. Time stamp function triggered by EVIN pin input Following registers control time stamp function triggered by EVIN pin input. 1) ETS bit (Enable Time Stamp) This register controls time stamp (triggered by EVIN pin input) ON/OFF. Also, user can use chattering prevention function. User should be aware that chattering prevention results in the worse resolution.
  • Page 47 RX8111CE 5) ET1, ET0 bit These bits select chattering filter period of input from EVIN. Table 55 ET bit selection When EVIN chattering filter function is used, correct data of sub cycle ( bit 6 ) ( bit 5 ) seconds is not stored in following register bits.
  • Page 48: Time Stamp Function Triggered By I

    RX8111CE Figure 33 Operation of OVW, pointer 14.8.4. Time stamp function triggered by I C access An I C access can trigger time stamp too. 1) COMTG bit This register control Time stamp trigger by I C access ON/OFF. Table 58 COMTG bit (Command Trigger)
  • Page 49: Time Stamp Stored Register

    RX8111CE 14.8.5. Time stamp stored register At time stamp event occurs, following data is recorded. Refer to Figure 35 Note: In case of multiple time stamps, please refer to 14.8.6 Figure 35 Time stamp stored register (1/1024 s ~ 1 s)
  • Page 50: Rtc Internal Event Triggered Time Stamp, Multiple Times Stamp

    RX8111CE 1) VLOW bit (Time Stamp VLOW) This bit records the comparison result of V vs V at the moment of event. Table 61 VLOW bit (Time Stamp VLOW) VLOW Data Description > V Read < V 2) VCMP bit (Time Stamp VCMP)
  • Page 51 RX8111CE Figure 36 Avoiding EVIN pin input event, user read time stamp data. (1) Time stamp by self monitor detection of RTC 1) ECMP bit (Enable VCMP) This bit controls time stamp (VCMP) ON/OFF. Table 66 ECMP bit (Enable VCMP)
  • Page 52 RX8111CE Figure 37 Careful timing process when RTC internal status trigger is used for time stamp (2) Multiple time stamp is available with following registers management. The record area (40h  7Fh) all the time stamp is recorded except 1/1024 sec, WEEK.
  • Page 53 RX8111CE (3) Multiple time stamp recording function 1) TSFUL bit (Time Stamp Full) This bit is reflected by 8 times time stamp recording. Table 73 TSFUL bit (Time Stamp Full) TSFUL Data Description There is (are) empty RAM area. Read RAM area is fully occupied by 8 times time stamp recording.
  • Page 54: Flow Chart

    RX8111CE 14.9. Flow Chart Below are examples of flow charts, but they are not necessarily applicable for every use-case and not necessarily the most effective process for individual applications. For effective processing, user can do multiple execution, change ordering, eliminate execution etc.
  • Page 55 RX8111CE 2) Initialization Ex1 Start Reg − 32h • Setup of battery backup switchover function. Reg − 1Dh • Setup Timer function. Reg − 1Eh • Clear self monitoring Bits. • Setup interruption output Reg − 1Eh Reg − 10h  16h •...
  • Page 56 RX8111CE 3) Initialization Ex2 (only clock usage) Start •Setup the Battery switchover function. Reg − 32h Reg − 1Dh •Specify basic timing for each of functions. •Reset all status flags. Reg − 1Fh •Set STOP bit to 1. Reg − 1Eh •Clear all all interruption enable bit.
  • Page 57 RX8111CE 6) Setting wake-up timer interpunction example Wake-up timer setting • Clear TE bit to “0” to inactivate wake-up timer interruption. Reg-1D[h] • Set TSEL1, TSEL0 bit combination to count down period (source clock). • Clear the TF-bit by zero.
  • Page 58 RX8111CE 8) Time stamp (one time recording) Example Start • Clear ETS bit by “0” to inactivate time stamp function. Reg- 1D[h] • Clear EVF bit by“0”. Reg- 1E[h] • Set EIE bit to “1” to activate time stamp interrupt function.
  • Page 59 RX8111CE 9) Time stamp (1/1028 sec to 1/128 sec reading) Example Start •ETS  0 •To inactive time stamp EVIN pin detection. Write Reg - 1Dh bit2 0b •Time Stamp Control 2 bit3~0  0 Write Reg - 35h bit3~0 0000b •To inactive RTC internal status detection time stamp...
  • Page 60 RX8111CE 10) Time stamp (Year to 1/128 sec reading) Example Start ・ETS  0 Write Reg - 1Dh bit2 0b ・To inactivate EVIN input event time stamp. ・Time Stamp Control 2 bit3~0  0 Write Reg - 35h bit3~0 0000b ・To inactive RTC internal status detection time stamp...
  • Page 61: Reading/Writing Data Via The I 2 C-Bus Interface

    RX8111CE 14.10. Reading/Writing Data via the I C-Bus Interface 14.10.1. Overview of I C-Bus The I C-Bus supports bi-directional communications via two signal lines: the SDA (data) line and SCL (clock) line. A combination of these two signals is used to transmit and receive communication start/stop signals, data transfer signals, acknowledge signals, and so on.
  • Page 62: Slave Address

    RX8111CE 14.10.4. Slave address The I C-Bus devices do not have any chip select or chip enable pins. All I C-Bus devices are memorized with a fixed unique number in it. The chip selection on the I C-Bus is executed, when the interface starts, the master device sends the required slave address to all devices on the I C-Bus.
  • Page 63: I 2 C-Bus Protocol

    (7) CPU transfers RX8111CE's slave address with the R/W bit set to read mode. (8) Check for ACK signal from RX8111CE (from this point on, the CPU is the receiver and the RX8111CE is the transmitter). (9) Data from address specified at (4) above is output by the RX8111CE.
  • Page 64: Circuit Diagram Connection

    RX8111CE 15. Circuit Diagram Connection Page − 60 ETM61E-01...
  • Page 65: Tables

    RX8111CE 16. Tables Table 1 Pin Description ................................. 3 Table 2 Absolute Maximum Ratings ............................7 Table 3 Recommended Operating Conditions ........................7 Table 4 Frequency Characteristics ............................7 Table 5 DC Characteristics ..............................8 Table 6 Reference value of switching element ........................9 Table 7 AC Characteristics..............................
  • Page 66: Figures

    RX8111CE Table 67 EVDET bit (Enable VDET) ............................ 47 Table 68 EVLOW bit (Enable VLOW) ..........................47 Table 69 EXST bit (Enable X’tal Oscillation Stop) ........................ 47 Table 70 TSRAM bit (Time Stamp Clear) ..........................48 Table 71 TSCLR bit (Time Stamp Clear) ..........................48 Table 72 EISEL bit (Event Interrupt Select) ..........................
  • Page 67 Unit 715-723 7/F Trade Square, 681 Cheung Sha Wan Road, Kowloon, Hong Kong Phone: (86) 755-2699-3828 (Shenzhen Branch) Fax: (86) 755-2699-3838 (Shenzhen Branch) www.epson.com.hk Epson Taiwan Technology & Trading Ltd. 15F, No.100, Songren Rd.,Sinyi Dist., Taipei City 110, Taiwan Phone: (886) 2-8786-6688 Fax: (886)2-8786-6660 www.epson.com.tw/ElectronicComponent...

This manual is also suitable for:

Rx8111ce aRx8111ce b

Table of Contents