Page 1
MQ162-01 Application Manual Real Time Clock Module RTC-72421/ 72423...
Page 2
• Seiko Epson reserves the right to make changes to this material without notice. • Seiko Epson does not assume any liability of any kind arising out of any inaccuracies contained in this material or due to its application or use in any product or circuit and, further, there is no representation that this material is applicable to products requiring high level reliability, such as, medical products.
Page 4
CONTENTS Using the RTC-72421/RTC-72423 ----------------------------------------------------------------16 1. Power-on procedure (initialization) ------------------------------------------------------------------------------------16 2. Read/write of S to W registers -----------------------------------------------------------------------------------------18 3. Write to 30-second ADJ bit ----------------------------------------------------------------------------------------------18 4. Using the CS pin ----------------------------------------------------------------------------------------------------------19 (1) Functions -----------------------------------------------------------------------------------------------------------------19 (2) Timing ---------------------------------------------------------------------------------------------------------------------19 (3) Note-----------------------------------------------------------------------------------------------------------------------19 Power supply circuit example -----------------------------------------------------------------------19 Examples of connection to general-purpose microprocessor ------------------------------20 1.
Pins and functions compatible with the SMC5242 series Overview The RTC-72421/RTC-72423 module is a real time clock that can be connected directly to a microprocessor's bus. Its built-in crystal unit enables highly accurate timekeeping with no physical access required for adjustment and, since there is no need to connect external components, mounting and other costs can be reduced.
RTC-72421/72423 Block diagram Pin connections RTC-72421 RTC-72423 The (V ) pins are at the same electrical level as V . Do not connect these pins externally. The N.C. pins are not connected internally. Ground them in order to prevent noise.
Pin functions Signal Pin No. Input/ Function RTC-72421 RTC-72423 Output Connect these pins to a bidirectional data bus or CPU data bus. Use this bus to read to and write from the internal counter and registers. CS-1 Mode of D...
RTC-72421/72423 Switching characteristics (AC characteristics) 1. When ALE is used Write mode =5V±0.5V,RTC-72421:Ta=-10°C to +70°C, RTC-72423:Ta=-40°C to +85°C) Read mode =5V±0.5V,RTC-72421:Ta=-10°C to +70°C, RTC-72423:Ta=-40°C to +85°C) Page-6...
RTC-72421/72423 2. When ALE is fixed at V Write mode =5V±0.5V, RTC-72421:Ta=-10°C to +70°C, RTC-72423:Ta=-40°C to +85°C) Read mode =5V±0.5V, RTC-72421:Ta=-10°C to +70°C, RTC-72423:Ta=-40°C to +85°C) (1) Write mode (2) Read mode (3) Read/write recovery mode Page-8...
72423" on page 16. (4) The TEST bit of control register F is used by EPSON for testing. Operation cannot be guaranteed if 1 is written to this bit, so make sure that it is set to 0 during power-on initialization.
The main leap and ordinary years since 1900 and into the future are listed on the right. [Leap years in the RTC-72421/72423] To identify leap years, the RTC-72421/RTC-72423 checks whether or not the year digits are divisible by four. As implied above, 2000 will be a leap year, and so no further correction will be necessary in that case.
RTC-72421/72423 2. C register (control register D) (1) HOLD bit (D Use the HOLD bit when accessing the S and W registers. For details, see "Read/write of S to W registers" on page When the HOLD bit is 1, any incrementation in the count is held within the RTC. The held incrementation is automatically compensated for when the HOLD bit becomes 0.
The output levels of the STD.P pin are low (down) and open circuit (up). Note: If the STD.P pin output remains low as set, subsequently generated interrupts are ignored. In order to prevent interrupts from being overlooked, write 0 to the IRQ FLAG bit before the next interrupt is generated, to return the STD.P pin to high.
RTC-72421/72423 1. Fixed-period pulse output mode (ITRPT/STND=0) The output levels of the STD.P pin are low (down) and open circuit (up). 2. Fixed-period interrupt mode (ITRPT/STND=1) The output levels of the STD.P pin are low (down) and open circuit (up).
24/12 bit. (4) TEST bit (D The TEST bit is used by EPSON for test purposes. Operation cannot be guaranteed if 1 is written to this bit, so make sure that it is set to 0 during power-on initialization.
RTC-72421/72423 Using the RTC-72421/RTC-72423 1. Power-on procedure (initialization) When power is turned on, the contents of all registers and the output from the STD.P pin are undefined. Therefore, all the registers must be initialized after power on. Follow the procedure given below for initialization.
Page 21
(C) Stopping and resetting the counter (A)Starting the count Wait 250 µs (B)Checking the status of the BUSY bit (C)Stopping and resetting the counter Page-17...
RTC-72421/72423 Read/write of S to W registers Use one of the procedures shown below to access registers other than the control registers (C , and C ) while the RTC is operating. Note that the control registers can be accessed regardless of the status of the BUSY bit.
4. Using the CS The RTC-72421/RTC-72423 has 2 chip-select signal systems: and CS . Use as chip-select for ordinary bus access. CS is not only used for CPU bus control, it also has the main function of switching between standby mode and operating mode.
RTC-72421/72423 Examples of connection to general-purpose microprocessor When connecting the RTC-72421/RTC-72423 to a microprocessor, carefully check the AC timings of both the RTC and the microprocessor. 1. Connection to multiplexed bus type The resistors on the lines are not necessary if the CPU does not have a HALT or HOLD state.
Reference data 1. Connection to multiplexed bus type (typical) Finding the frequency stability (clock error) 1. The frequency-temperature characteristics can be approximated by the following equation: ∆f (ppm)=α(θ -θ 2. To determine the overall clock accuracy, add the frequency tolerance and the voltage characteristics: ∆f/f(ppm)=∆f/f + ∆f + ∆f...
RTC-72421/72423 External dimensions 1. RTC-72421 2. RTC-72423 Unless otherwise stated, all units are mm. Marking layout Note: The illustration is a general representation of the content and location of information on the label, and is not a detailed specification of the typeface, size, or positioning of printing used on the label.
Application notes 1. Notes on handling In order to enable the RTC-72421/RTC-72423 module to operate at low power levels, C-MOS circuitry was used in the design of the chip. To prevent damage to this RTC, note the following points: (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.
2. Notes on mounting (1) Soldering temperature conditions i. RTC-72421 Solder is used on the built-in crystal unit. Therefore, if the temperature within the package exceeds 150°C, the characteristics of the crystal unit will be degraded and it may be damaged. Either use a soldering bath or solder by hand.
Page 29
EPSON HONG KONG LTD. 20/F., Harbour Centre, 25 Harbour Road, Wanchai, HONG KONG Phone: (852) 2585-4600 Fax: (852) 2827-2152 EPSON TAIWAN TECHNOLOGY & TRADING LTD. 10F, No.287, Nanking East Road, Sec.3, Taipei, TAIWAN, R.O.C. Phone: (886) 2-717-7360 Fax: (886)2-718-9366 EPSON SINGAPORE PTE. LTD.