PRODUCT DISCONTINUED S-35399A02 2-WIRE REAL-TIME CLOCK. Features. Applications. Package. Seiko Instruments Inc. 1.

Similar documents
onlinecomponents.com

S-35390A 2-WIRE REAL-TIME CLOCK. Rev.2.4_00. Features. Applications. Packages. Seiko Instruments Inc. 1

S-35399A03 2-WIRE REAL-TIME CLOCK. Features. Applications. Package. ABLIC Inc., Rev.3.1_03

S-35392A 2-WIRE REAL-TIME CLOCK. Features. Applications. Package. ABLIC Inc., Rev.3.2_03

S-35390A 2-WIRE REAL-TIME CLOCK. Features. Applications. Packages. SII Semiconductor Corporation, Rev.4.

S-35390A H Series FOR AUTOMOTIVE 105 C OPERATION 2-WIRE REAL-TIME CLOCK. Features. Packages. ABLIC Inc., Rev.2.

S-35190A 3-WIRE REAL-TIME CLOCK. Rev.2.4_00. Features. Applications. Package. Seiko Instruments Inc. 1

S-35190A 3-WIRE REAL-TIME CLOCK. Features. Applications. Packages. ABLIC Inc., Rev.4.2_03

PT7C43190 Real-time Clock Module

A variety of pagers day of a week, hour, minute and second. TV set and VCR CPU interface via three wires

S Series FOR AUTOMOTIVE 125 C OPERATION 2-WIRE INTERVAL TIMER CONVENIENCE TIMER. Features. Application. Package.

S-7760A PROGRAMMABLE PORT CONTROLLER (PORT EXPANDER WITH BUILT-IN E 2 PROM CIRCUIT) Features. Applications. Package.

INF8574 GENERAL DESCRIPTION

RayStar Microelectronics Technology Inc. Ver: 1.4

DS1307ZN. 64 X 8 Serial Real Time Clock PIN ASSIGNMENT FEATURES

GC221-SO16IP. 8-bit Turbo Microcontroller

DS1307ZN. 64 X 8 Serial Real Time Clock

DS1803 Addressable Dual Digital Potentiometer

Application Manual. Real Time Clock Module KR3225Y Series ( I 2 C )

SM8578BV Real-time Clock IC

CAT bit Programmable LED Dimmer with I 2 C Interface DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION CIRCUIT

I2C Digital Input RTC with Alarm DS1375. Features

DS1307/DS X 8 Serial Real Time Clock

M41T0 SERIAL REAL-TIME CLOCK

FLD00042 I 2 C Digital Ambient Light Sensor

ETM45E-03. Application Manual. Real Time Clock Module RX8900SA / CE. Preliminary

INTEGRATED CIRCUITS. PCA9544A 4-channel I 2 C multiplexer with interrupt logic. Product data sheet Supersedes data of 2004 Jul 28.

PCA bit I 2 C LED driver with programmable blink rates INTEGRATED CIRCUITS May 05. Product data Supersedes data of 2003 Feb 20

The operation of the S-5852A Series is explained in the user's manual. Contact our sales office for more information.

SM8580AM Real-time Clock IC with 4-bit Interface and Built-in Temperature Sensor

DS1807 Addressable Dual Audio Taper Potentiometer

HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 HT1627 HT16270 COM

Low-Current Consumption, Real-Time Clock IC (General-Purpose IC)

DS1202, DS1202S. Serial Timekeeping Chip FEATURES PIN ASSIGNMENT. ORDERING INFORMATION DS pin DIP DS1202S 16 pin SOIC DS1202S8 8 pin SOIC

INTEGRATED CIRCUITS. PCA channel I 2 C multiplexer and interrupt logic. Product data Supersedes data of 2001 May 07.

IN1307N/D/IZ1307 CMOS IC of Real Time Watch with Serial Interface, 56 Х 8 RAM

SERIAL I/O REAL TIME CLOCK

INTEGRATED CIRCUITS. PCA bit I 2 C LED dimmer. Product data Supersedes data of 2003 Feb May 02. Philips Semiconductors

Temperature Sensor and System Monitor in a 10-Pin µmax

INTEGRATED CIRCUITS. PCA bit I 2 C LED dimmer. Product data sheet Supersedes data of 2004 Sep Oct 01. Philips Semiconductors

Oscillator fail detect - 12-hour Time display 24-hour 2 Time Century bit - Time count chain enable/disable -

M41T60. Serial access real-time clock. Features summary. 32KHz Crystal + QFN16 vs. VSOJ20

NJU6063. RGB LED Controller Driver with PWM Control FEATURES BLOCK DIAGRAM NJU6063V - 1 -

ETM45E-05. Application Manual. Real Time Clock Module RX8900SA CE. Preliminary

S-8423 Series. Rev.2.0 BATTERY BACKUP IC

PACKAGE HIGH-PRECISION VOLTAGE DETECTOR

Data Sheet PT7C4337 Real-time Clock Module (I 2 C Bus) Product Description. Product Features. Ordering Information

INTEGRATED CIRCUITS. PCA bit I 2 C LED dimmer. Product data Supersedes data of 2003 May Oct 01. Philips Semiconductors

PRODUCT OVERVIEW OVERVIEW OTP

S-8130AA Series TEMPERATURE SWITCH IC WITH LATCH. Rev.2.2_00

DS1621. Digital Thermometer and Thermostat FEATURES PIN ASSIGNMENT

Real-Time Clock (RTC) Module. Calendar in day of the week, day of the month, months, and years with automatic leap-year adjustment

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

±2.5 C ( 55 to +130 C) mv/ C Typ. Ta = 30 C: V Typ. Ta = +30 C: V Typ. Ta = +130 C: V Typ. ±0.4% Typ.

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

S-19100xxxA Series FOR AUTOMOTIVE 125 C OPERATION VOLTAGE DETECTOR BUILT-IN DELAY CIRCUIT (EXTERNAL DELAY TIME SETTING) Features.

ILI2117 Capacitive Touch Controller

DS4000 Digitally Controlled TCXO

M41T00CAP. Serial access real-time clock (RTC) with integral backup battery and crystal. Features

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

S-5813A/5814A Series CMOS TEMPERATURE SENSOR IC. Rev.1.2_00. Features. Applications. Package. Seiko Instruments Inc. 1

ABLIC Inc., 2012 Rev.1.0_02

IZ602 LCD DRIVER Main features: Table 1 Pad description Pad No Pad Name Function

I O 7-BIT POT REGISTER ADDRESS COUNT 7-BIT POT. CODE 64 (40h) DS3503

I2C Demonstration Board I 2 C-bus Protocol

VS1307 北京弗赛尔电子设计有限公司. 64x8, Serial,I 2 C Real-Time Clock PIN ASSIGNMENT FEATURES PIN CONFIGUATIONS GENERAL DESCRIPTION

NEXT Lab Semiconductor Development Group

V OUT0 OUT DC-DC CONVERTER FB

FAH4830 Haptic Driver for DC Motors (ERMs) and Linear Resonant Actuators (LRAs)

CAT bit Programmable LED Dimmer with I 2 C Interface FEATURES DESCRIPTION APPLICATIONS TYPICAL APPLICATION CIRCUIT

+Denotes lead-free package. *EP = Exposed paddle. V CC GND AGND AV CC GND I 2 C INTERFACE. -35dB TO +25dB GAIN AUDIO SOURCE AUDIO AMPLIFIER DS4420

RV5C387A. I 2 C bus SERIAL INTERFACE REAL-TIME CLOCK IC WITH VOLTAGE MONITORING FUNCTION OUTLINE

LC75857E LC75857W. SANYO Semiconductors DATA SHEET. Preliminary. Overview. Features. CMOS IC 1/3, 1/4 Duty LCD Display Drivers with Key Input Function

Fully Calibrated Temperature Sensor IC

Block Diagram , E I F = O 4 ) + J H 6 E E C + E H? K E J +,, H E L A H * E = I + E H? K E J + + % 8,, % 8 +, * * 6 A. H A G K A? O

Obsolete Product(s) - Obsolete Product(s)

DS x 8, Serial, I 2 C Real-Time Clock

I2C, 32-Bit Binary Counter Watchdog RTC with Trickle Charger and Reset Input/Output

UNISONIC TECHNOLOGIES CO., LTD CD4541

R2221x R2223x. 2-wire Serial Interface Real Time Clock IC OUTLINE FEATURES NO.EA

150 ma output is possible (at V IN V OUT(S) V) *1 (Per circuit)

NJU6051. White LED Driver with Automatic Dimming Control PRELIMINARY ! PACKAGE OUTLINE

Low Cost 4 Stereo Inputs and 4-Channel Outputs Volume, Tone, Balance, Fader, Loudness, and Selectable Input Gain APPLICATIONS R B.

16-Port I/O Expander with LED Intensity Control, Interrupt, and Hot-Insertion Protection

Quad, 12-Bit, Low-Power, 2-Wire, Serial Voltage-Output DAC

Low Cost 3 Stereo Inputs and 4-Channel Outputs Volume, Tone, Balance, Fader, Loudness, and Selectable Input Gain APPLICATIONS R B.

4 Stereo Inputs and 2 Channels Output Volume, Tone, Balance, Loudness and Selectable Input Gain R B. Bass Treble. Serial Bus Decoder and Latches

10-Bit, Low-Power, 2-Wire Interface, Serial, Voltage-Output DAC

HD44102D. (Dot Matrix Liquid Crystal Graphic Display Column Driver) Features. Description. Ordering Information

7 OUT1 8 OUT2 9 OUT3 10 OUT4 11 OUT5 12 OUT6 13 OUT7 14 OUT8 15 OUT9 16 OUT10 17 OUT11 18 OUT12 19 OUT13 20 OUT14 21 OUT15 22 OUT16 OUT17 23 OUT18

1.5 V to 5.5 V, selectable in 0.1 V step Output voltage accuracy: ±1.0% Dropout voltage:

PATENTED. PAT No. : HT1622/HT1622G RAM Mapping 32 8 LCD Controller for I/O MCU. Features. General Description.

DS1337 I 2 C Serial Real-Time Clock

16 Channels LED Driver

Time of day in seconds, minutes, and hours or 24-hour format - Optional daylight saving adjustment Programmable square wave output

NOT RECOMMENDED FOR NEW DESIGN. S-8253A/B Series BATTERY PROTECTION IC FOR 2-SERIAL OR 3-SERIAL-CELL PACK. Features. Applications.

HT16LK24 RAM Mapping 67 4/63 8 LCD Driver with Key Scan

Application Manual. AB-RTCMC kHz-B5GA-S3 Real Time Clock/Calendar Module with I 2 C Interface

Multiphase Spread-Spectrum EconOscillator

Transcription:

www.sii-ic.com 2-WIRE REAL-TIME CLOCK Seiko Instruments Inc., 27-21 Rev.2._ The is a CMOS 2-wire real-time clock IC which operates with the very low current consumption and in the wide range of operation voltage. The operation voltage is 1.3 V to 5.5 V so that this IC can be used for various power supplies from main supply to backup battery. Due to the.34 μa current consumption and wide range of power supply voltage at time keeping, this IC makes the battery life longer. In the system which operates with a backup battery, the included free registers can be used as the function for user s backup memory. Users always can take back the information n in the registers which is stored before power-off the main power supply, after the voltage is restored. This IC has the function to correct advance/delay of the clock data speed, in the wide range, which is caused by the oscillation circuit s frequency deviation. Correcting according to the temperature change by combining this function and a temperature sensor, it is possible to make a high precise clock function which is not affected by the ambient temperature. This IC has the function for the external microcomputer s sub clock to output the 32.768 khz clock pulse. And for this output, users can select either of Nch open drain or CMOS. Moreover, this IC has a 24-bit binary up counter. This counter counts up every 6 sec from power-on so that users are able to grasp the elapsed time from power-on up to 3 years. Features Low current consumption :.34 μa typ. (V DD D = 3. V, Ta = 25 C) Wide range of operating voltage : 1.3 to 5.5 V Built-in clock-correction function Clock pulse output (CMOS output, function to select frequency) 32.768 khz clock pulse output (Nch open-drain, output control pin) Built-in 24-bit binary up counter Built-in free user register 2-wire (I 2 C-bus) CPU interface Built-in alarm interrupter Built-in flag generator during detection of low power voltage or at power-on Auto calendar up to the year 299, automatic leap year calculation function Built-in constant voltage circuit Built-in 32.768 khz crystal oscillator (C d built in, C g external) Lead-free, halogen-free Applications Mobile game devices Mobile AV devices Digital still cameras Digital video cameras as Electronic power meters DVD recorders TVs, VCRs Mobile phones, PHS Car navigation Package WLP-12A DISCONTINUED IN Seiko Instruments Inc. 1

2-WIRE REAL-TIME CLOCK Rev.2._ Pin Configuration WLP-12A Bottom View Marking Specifications D3 C3 B3 A3 F32K VDD SCL INT2 D2 C2 B2 A2 FOUT INT1 CTRL D1 C1 B1 A1 VDDL XOUT XIN VSS (1.84 1.97.6 max) 3 Figure 1 Top View 9 9 A 2 (1) (2) numd Lot number Figure 2 NUFigur Table 1 Pin No. Symbol Description I/O Configuration A1 VSS GND pin B1 XIN Connection pin for C1 XOUT crystal sco oscillator Power supply pin for FOUT D1 VDDL output Nch open-drain output A2 I/O pin for serial data Bi-directional (no protective diode at VDD) CMOS input CMOS input B2 CTRL Control pin for F32K output Input (built-in pull-down resistor. no protective diode at VDD) DCont Nch open-drain output C2 INT1 Output pin for interrupt signal Output (no protective diode at VDD) D2 FOUT Output pin for clock pulse signal Output CMOS output List of Pin A3 INT2 DI ISCONTI TINUED Output pin for interrupt signal 2 Output B3 SCL Input pin for serial clock Input Nch open-drain output (built-in pull-down resistor. no protective diode at VDD) CMOS input (no protective diode at VDD) C3 VDD Pin for positive power supply D3 F32K Pin for 32.768 khz output Output Nch open-drain output (no protective diode at VDD) 2 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK Pin Functions (I/O for serial data) pin This pin is to data input/output for I 2 C-bus interface. This pin inputs/outputs data by synchronizing with a clock pulse from the SCL pin. This pin has CMOS input and Nch open drain output. Generally in use, pull up this pin to the VDD potential via a resistor, and connect it to any other device having open drain or open collector output with wired-or connection. SCL (input for serial clock) pin This pin is to input a clock pulse for I 2 C-bus interface. The pin inputs/outputs data by synchronizing with the clock pulse. XIN, XOUT (crystal oscillator connect) pin Connect a crystal oscillator between XIN and XOUT. INT 1 (output for interrupt signal 1) pin This pin outputs a signal of interrupt, or a clock pulse. By using the status register 2, users can select either of; alarm 1 interrupt, output of user-set frequency, per-minute edge interrupt, minute-periodical interrupt 1, minute-periodical interrupt 2, or 32.768 khz output. This pin has Nch open drain output. INT 2 (output for interrupt signal 2) pin This pin outputs a signal of interrupt, or a clock pulse. By using the status register 2, users can select either of; alarm 2 interrupt, output of user-set frequency, per-minute edge interrupt or minute-periodical interrupt 1. This pin has Nch open drain output. CTRL (F32K output control) pin This pin is to control output from the F32K pin, has a pull-down resistor. This pin outputs a clock pulse from the F32K pin when the CTRL pin is in H. It does not do so when the CTRL pin is in L or open. Set this CTRL pin to L or open at power-on. To output 32.768 khz from the F32K pin, after power-on, set the CTRL pin to H more than one sec after. F32K (32.768 khz output) pin This pin has the function to output-control, tro outputs 32.768 khz. When the CTRL pin is in H, this pin outputs the 32.768 khz clock pulse, when the CTRL pin is in L or open, the status is in high impedance. This pin has Nch open drain output. FOUT (output for clock ck pulse signal) pin This pin is to output the clock pulse selected by users. Users can select the frequency by using the FOUT setting sd register 1 and 2. This pin outputs L at power-on. This pin has CMOS output. VDD (positive power supply) pin Connect this VDD pin with a positive power supply. Regarding the values of voltage to be applied, refer to Recommended Operation Conditions. VDDL (positive power supply for FOUT output) pin This pin is for positive power supply for the FOUT pin s output. Set the value of voltage to be applied as V DDL V DD. VSS pin Connect this VSS pin to GND. DISCONTI TINUED Seiko Instruments Inc. 3

2-WIRE REAL-TIME CLOCK Rev.2._ Equivalent Circuits of I/O Pin SCL Figure 3 Pin INT1, INT2, F32K Figure 5 INT1 Pin, INT 2 Pin, F32K Pin Figure 7 FOUT Pin and VDDL Pin VDDL FOUT INFO CTRL DISCONTIN TINUED Figure 4 SCL Pin Figure 6 CTRL Pin 4 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK Block Diagram XIN XOUT VDD Oscillator Divider, timing generator Clock correction register Status register 1 Status register 2 FOUT setting register 1 FOUT setting register 2 Free register 24-bit binary up counter td powerd Low power wdw supply voltage detector Constantvoltage circuit Power-on detection circuit INT1 register Comparatoror 1 Second Minute Hour Day of Day Month Year the week Real-time data register EDReal-tim INT2 register Shift register INT1 controller DaP Comparator 2 INT2 controller 32.768 khz controller Alarm expansion register 1 Alarm expansion register 2 Serial interface DISC wdisco SCONTIN NTINUED PROD ODUC UCT CTRL F32K VDDL FOUT INT1 INT2 SCL VSS Figure 8 Seiko Instruments Inc. 5

2-WIRE REAL-TIME CLOCK Rev.2._ Absolute Maximum Ratings Table 2 Parameter Symbol Applicable Pin Rating Unit Power supply voltage 1 V DD V SS.3 to V SS + 6.5 V Power supply voltage 2 V DDL V SS.3 to V DD V Input voltage V IN SCL,, CTRL V SS.3 to V SS + 6.5 V Output voltage 1 V OUT1, INT 1, INT 2, F32K V SS.3 to V SS S T + 6.5 V Output voltage 2 V OUT2 FOUT V SS.3 to V DDL V Operating ambient temperature *1 T opr 4 to +85 C Storage temperature T stg 55 to +125 C *1. Conditions with no condensation or frost. Condensation and frost cause short circuiting between pins, resulting in a malfunction. Caution The absolute maximum ratings are rated values exceeding whichh the product could suffer physical damage. These values must therefore not be exceeded under any conditions. Recommended Operation Conditions Table 3 ED (V SS = V) Parameter Symbol Conditions ns Min. Typ. Max. Unit Power supply voltage 1 *1 V DD Ta = 4 to +85 C 1.3 3. 5.5 V Power supply voltage 2 V DDL Ta = 4 to +85 C 1.3 V DD V Time keeping power supply voltage *2 V DDT Ta = 4 to +85 C V DET.15 5.5 V Crystal oscillator C L value C L 6 7 pf *1. The power supply voltage that allows communication under the conditions shown in Table 8 of AC Electrical Characteristics. *2. The power supply voltage that allows time keeping. epin For the relationship with V DET (low power supply voltage detection voltage), refer to Characteristics cs (Typical Data). Oscillation Characteristics cs Table 4 (Ta = 25 C, V DD = 3. V, V SS = V, SP-T2A crystal oscillator (C L = 6 pf, 32.768 khz) manufactured by Seiko Instruments Inc.) VS Parameter Symbol Conditions Min. Typ. Max. Unit Oscillation start voltage V STA Within 1 seconds 1.1 5.5 V Oscillation start time t STA CTRL pin = L or open 1 s ISSTA IC-to-IC frequency deviation *1 δic 1 +1 ppm Frequency voltage deviation δv V DD = 1.3 to 5.5 V 3 +3 ppm/v External capacitance C g Applied to XIN pin 9.1 pf Internal oscillation capacitance C d Applied to XOUT pin 8 pf Duty ratio Duty Applied when 32.768 khz is output from either INT 1, F32K, or FOUT pin 4 6 % *1. Reference value DISCONT TINUED UE 6 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK DC Electrical Characteristics Table 5 DC Characteristics (V DD = 3. V) (Ta = 4 to +85 C, V SS = V, SP-T2A crystal oscillator (C L = 6 pf, 32.768 khz, C g = 9.1 pf) manufactured by Seiko Instruments Inc.) Parameter Symbol Applicable Pin Conditions Min. Typ. Max. Unit Current consumption 1 Current consumption 2 Current consumption 3 Input current leakage 1 Input current leakage 2 I DD1 Out of communication.34.97 μa Out of communication (when 32.768 khz is I DD2.6 1.47 μa output from F32K pin UC or INT 1 pin) During communication I DD3 9 14 μa (SCL = 1 khz) I IZH SCL, V IN = V DD.5.5 μa I IZL SCL, V IN = V SS.5.5 μa Input current 1 I IH1 CTRL V IN = V DD 2 6 16 μa Input current 2 I IH2 CTRL V IN =.4 V O2 4 1 3 μa Input current 3 I IH3 CTRL V IN = 1. V 215 μa Output current leakage 1 Output current leakage 2 I OZH, INT 1, INT 2, F32K I OZL, INT 1, INT 2, F32K V OUT1 = V DD.5.5 μa D V OUT1 = V SS.5.5 μa RO2 Input voltage 1 V IH SCL,, CTRL.8 V DD V SS + 5.5 V Input voltage 2 V IL SCL,, CTRL V SS.3.2 V DD V INT 1, INT 2, Output current 1 I OL1 V OUT1 =.4 V 3 5 ma F32K Output current 2 I OL2, FOUT V OUT1 = V OUT2 =.4 V 5 1 ma Output current 3 I OH FOUT VNV OUT2 = V DD.4 V 1.5 1 ma Power supply INVOU voltage detection voltage V DET Ta = 4 to +85 C.65 1 1.35 V DISCONTINUED INOUNU NU=UE ED OD.5DU Seiko Instruments Inc. 7

2-WIRE REAL-TIME CLOCK Rev.2._ Table 6 DC Characteristics (V DD = 5. V) (Ta = 4 to +85 C, V SS = V, SP-T2A crystal oscillator (C L = 6 pf, 32.768 khz, C g = 9.1 pf) manufactured by Seiko Instruments Inc.) Parameter Symbol Applicable Pin Conditions Min. Typ. Max. Unit Current consumption 1 I DD1 Out of communication.36 1.18 μa Current consumption 2 Current consumption 3 Input current leakage 1 Input current leakage 2 I DD2 I DD3 Out of communication (when 32.768 khz is output from F32K pin or INT 1 pin) During communication (SCL = 1 khz).82 2.17 μa 2 3 μa I IZH SCL, V IN = V DD.5.5 μa I IZL SCL, V IN = V SS.5.5 μa Input current 1 I IH1 CTRL V IN = V DD 8 16 5 μa Input current 2 I IH2 CTRL V IN =.4 V 4 15 35 μa Input current 3 I IH3 CTRL V IN = 2. V O4 61 μa Output current leakage 1 Output current leakage 2 I OZH, INT 1, INT 2, F32K I OZL, INT 1, INT 2, F32K V OUT1 = V DD.5.5 μa V OUT1 = V SS.5.5 μa Input voltage 1 V IH SCL,, CTRL.8 V DD V SS + 5.5 V Input voltage 2 V IL SCL,, CTRL V SS.3.2 V DD V INT 1, INT 2, Output current 1 I OL1 F32K V OUT1 =.4 V 5 8 ma Output current 2 I OL2, FOUT V OUT1 = V OUT2 =.4 V 6 13 ma Output current 3 I OH FOUT V OUT2 = V DD.4 V 2.3 1.5 ma Power supply voltage detection voltage UT INVOU NU= NTINV SS ED 8 DU V DET Ta = 4 to +85 C.65 1 1.35 V DISCONTIN TINUED INOUNU ED O4OD 8 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK AC Electrical Characteristics Table 7 Measurement Conditions V DD Input pulse voltage Input pulse rise/fall time Output determination voltage Output load V IH =.8 V DD, V IL =.2 V DD 2 ns V OH =.5 V DD, V OL =.5 V DD 1 pf + pull-up resistor 1 kω Remark R = 1 kω C = 1 pf The power supplies of the IC and load have the same electrical potential. Figure 9 Output Load Circuit Table 8 AC Electrical Characteristics tic (Ta = 4 to +85 C) Parameter Symbol V *2 DD 1.3 V V *2 DD 3. V Min. Typ. Max. Min. Typ. Max. Unit SCL clock frequency f SCL 1 4 khz SCL clock low time t LOW 4.7 1.3 μs SCL clock high time t HIGH UE4 4.6 μs output delay time *1 t PD 3.5.9 μs Start condition setup time t SU.STA 4.7.6 μs Start condition hold time t HD.STA 4.6 μs Data input setup time t SU.DAT 25 1 ns Data input hold time t HD.DAT μs Stop condition setup time t SU.STO 4.7.6 μs SCL, rise time t R 1.3 μs SCL, fall time t F.3.3 μs Bus release time t BUF 4.7 1.3 μs Noise suppression time t I 1 5 ns *1. Since the output format of the pin is Nch open-drain output, output delay time is determined by the values of the load resistance (R L) and load capacity (C L ) outside the IC. Therefore, use this value only as a reference value. *2. Regarding the power supply voltage, refer to Recommended Operation Conditions. SCL tf SU.DAN thigh tlow DISCO ONTI NTINUED tti ttin tin NU EDD DUa D D *2P*2 P P tr tsu.sta thd.sta thd.dat tsu.dat tsu.sto (Input from ) tbuf (Output from ) tpd Figure 1 Bus Timing Seiko Instruments Inc. 9

2-WIRE REAL-TIME CLOCK Rev.2._ Configuration of Data Communication 1. Configuration of data Communication For data communication, the master device in the system generates a start condition for the. Next, the master device transmits 4-bit device code 11 or 111, and 3-bit command and 1-bit Read/Write command to the bus. After that, output or input is performed from of data. If data I/O has been completed, finish communication by inputting a stop condition to the. The master device generates an acknowledgment signal for every 1-byte. Regarding details, refer to Serial Interface. Device code 11 is compatible with the SII S-3539A/392A as software. Regarding details, refer to 2. Configuration of command. Start condition STA Device code Command 1 1 / 1 C2 C1 C R / W 1-byte data B6 B5 B4 B3 B2 B1 ACK Figure 11 Data Communication DISCONTINUED Read/Write e bit Acknowledgment bit ACK Stop condition PRO ODUC DUAUC UCT STP 1 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK 2. Configuration of command Code 11 111 13 types of command are available for the, The does Read/Write the various registers by inputting these codes and commands. The does not perform any operation with any codes and commands other than those below. Table 9 List of Command Command Data C2 C1 C Description B6 B5 B4 B3 B2 B1 Status register 1 access RESET *1 12/ 24 SC *2 SC1 *2 INT1 *3 INT2 *3 BLD *4 POC *4 1 Status register 2 access INT1FE INT1ME INT1AE 32kE INT2FE INT2ME INT2AE TEST *5 Y1 Y2 Y4 Y8 Y1 Y2 Y4 Y8 M1 M2 M4 M8 *6 *6 *6 D1 D2 D4 D8 D1 CTINT D2 *6 *6 Real-time data 1 access 1 W1 W2 W4 *6 *6 *6 *6 *6 (year data to) H1 H2 H4 H8 UCM1 H1 H2 AM/ PM *6 m1 m2 m4 m1 m2 m4 *6 s1 s2 s4 s8 s1 s2 s4 *6 H1 H2 H4 H8 H1 H2 AM/PM *6 Real-time data 2 access ODm8 1 1 m1 m2 m4 m8 m1 m2 m4 *6 (hour data to) s1 s2 s4 s8 s1 s2 s4 *6 INT1 register access W1 W2 W4 *6 *6 *6 *6 A1WE (alarm time 1: week/hour/minute) H1 2ED H2 H4 H8 H1 H2 AM/ PM A1HE (INT1AE = 1, INT1ME =, m1 m2 m4 m8 m1 m2 m4 A1mE 1 INT1FE = ) INT1 register access (output of user-set frequency) 1 Hz 2 Hz 4 Hz 8 Hz 16 Hz SC2 *2 SC3 *2 SC4 *2 (INT1ME =, INT1FE = 1) 1 1 INT2 register access W1 W2 W4 *6 *6 *6 *6 A2WE (alarm time 2: week/hour/minute) H2 H4 H8 H1 H2 AM/ PM A2HE (INT2AE = 1, INT2ME =, TI H1 m1 m2 m4 m8 m1 m2 m4 A2mE INT2FE = ) INT2 register access (output of user-set frequency) 1 Hz 2 Hz 4 Hz 8 Hz 16 Hz SC5 *2 SC6 *2 SC7 *2 (INT2ME =, INT2FE = 1) 1 1 Clock correction register access V V1 V2 V3 V4 V5 V6 V7 1 1 1 Free register access F F1 F2 F3 F4 F5 F6 F7 Up counter access *7 s C256 C512 C1k C2k C4k C8k C16k C32k C64k C128k C256k C512k C1M C2M C4M C8M C1 C2 C4 C8 C16 C32 C64 C128 1 FOUT setting register 1 access 256 Hz 512 Hz 1 khz 2 khz 4 khz 8 khz 16 khz 32 khz 1 FOUT setting register 2 access 1 Hz 2 Hz 4 Hz 8 Hz 16 Hz 32 Hz 64 Hz 128 Hz 1 Y1 Y2 Y4 Y8 Y1 Y2 Y4 Y8 Alarm expansion register 1 access M1 M2 M4 M8 M1 *6 A1YE A1ME (alarm time 1 : year/month/day) D1 D2 D4 D8 D1 D2 *6 A1DE 1 1 rmd accesson equency)tin rmdi DISC SCON ONTI TINU NHU UED m2d PWPR O DU D1CT T Alarm expansion register 2 access (alarm time 2 : year/month/day) Y1 M1 D1 *1. Write-only flag. The initializes by writing 1 in this register. *2. Scratch bit. A R/W-enabled, user-free register. *3. Read-only flag. Valid only when using the alarm function. When the alarm time matches, this flag is set to 1, and it is cleared to when Read. *4. Read-only flag. POC is set to 1 when power is applied. It is cleared to when Read. Regarding BLD, refer to Low Power Supply Voltage Detection Circuit. *5. Test bit for SII. Be sure to set in use. *6. No effect by Write. It is when Read. *7. The up counter is a Read-only register. Seiko Instruments Inc. 11 Y2 M2 D2 Y4 M4 D4 Y8 M8 D8 Y1 M1 D1 Y2 *6 D2 Y4 A2YE *6 Y8 A2ME A2DE

2-WIRE REAL-TIME CLOCK Rev.2._ Configuration of Register 1. Real-time data register The real-time data register is a 7-byte register that stores the data of year, month, day, day of the week, hour, minute, and second in the BCD code. To Write/Read real-time data 1 access, transmit/receive the data of year in, month, day, day of the week, hour, minute, second in, in 7-byte. When you skip the procedure to access the data of year, month, day, day of the week, Read/Write real-time data 2 access. In this case, transmit/receive the data of hour in, minute, second in, in 3-byte. Year data ( to 99) Start bit of real-time data 1 data access Y1 Y2 Month data (1 to 12) Day data (1 to 31) Hour data ( to 23 or to 11) Start bit of real-time data 2 data access Minute data ( to 59) Y4 Y8 Y1 Y2 Y4 DUY8 M1 M2 M4 M8 M1 D1 D2 D4 D8 D1 D2 Day of week data a ( to 6) W1 W2 W4 H1 H2 H4 H8 H1 H2 AM / PM W4IN DISCONT NTINU NUED m1 m2 m4 D1D PROD ODUCT m8 m1 m2 m4 Second data ( to 59) s1 s2 s4 s8 s1 s2 s4 Figure 12 Real-Time Data Register 12 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK Year data ( to 99): Y1, Y2, Y4, Y8, Y1, Y2, Y4, Y8 Sets the lower two digits in the Western calendar year ( to 99) and links together with the auto calendar function until 299. Example: 253 (Y1, Y2, Y4, Y8, Y1, Y2, Y4, Y8) = (1, 1,,, 1,, 1, ) Month data (1 to 12): M1, M2, M4, M8, M1 Example: December (M1, M2, M4, M8, M1,,, ) = (, 1,,, 1,,,) Day data (1 to 31): D1, D2, D4, D8, D1, D2 The count value is automatically changed by the auto calendar function. 1 to 31: Jan., Mar., May, July, Aug., Oct., Dec., 1 to 3: April, June, Sep., Nov. 1 to 29: Feb. (leap year), 1 to 28: Feb. (non-leap year) Example: 29 (D1, D2, D4, D8, D1, D2,, ) = (1,,, 1,, 1,, ) Day of the week data ( to 6): W1, W2, W4 A septenary up counter. Day of the week is counted in the order of,, 1, 2,, 6, and. Set up day of the week and the count value. P Hour data ( to 23 or to 11): H1, H2, H4, H8, H1, H2, AM / PM In a 12-hour expression, write ; AM, 1; PM in the AM/ PM bit. In a 24-hour expression, users can Write either or 1. is read when the hour data is from to 11, and 1 is read when from 12 to 23. Example (12-hour expression): 12 p.m. (H1, H2, H4, H8, H1, H2, AM/PM, ) = (, 1,,, 1,, 1, ) Example (24-hour expression): 22 (H1, H2, H4, H8, H1, H2, AM/PM, ) = (, 1,,,, 1, 1, ) Minute data ( to 59): m1, m2, m4, m8, m1, m2, m4 Example: 32 minutes (m1, m2, m4, m8, m1, m2, m4, ) = (, 1,,, 1, 1,, ) Example: 55 minutes (m1, m2, m4, m8, m1, m2, m4, ) = (1,, 1,, 1,, 1, ) Second data ( to 59): s1, s2, s4, s8, s1, s2, s4 Example: 19 seconds (s1, s2, s4, s8, s1, s2, s4, ) = (1,,, 1, 1,,, ) DISCON NTI TINUE UED M Seiko Instruments Inc. 13

2-WIRE REAL-TIME CLOCK Rev.2._ 2. Status register 1 Status register 1 is a 1-byte register that is used to display and set various modes. The bit configuration is shown below. B6 B5 B4 B3 B2 B1 RESET 12 / 24 SC SC1 INT1 INT2 BLD POC : POC W R/W R/W R/W R Figure 13 Status Register 1 R R: Read W: Write R/W: Read/Write This flag is used to confirm whether the power is on. The power-on detection circuit operates at power-on and is set to 1. This flag is Read-only. Once it is read, it is automatically set to. When this flag is 1, be sure to initialize. Regarding the operation after power-on, refer to Power-on on Detection tio Circuit and Register Status. B1 : BLD This flag is set to 1 when the power supply voltage decreaseses to the level of detection voltage (V DET ) or less. Users can detect a drop in the power supply voltage. This flag is set to 1 once, is not set to again even if the power supply increases to the level of detection voltage (V DET) ) or more. This flag is Read-only. When this flag is 1, be sure to initialize. Regarding the operation of the power supply ply voltage detection circuit, refer to Low Power Supply Voltage Detection Circuit. B2, B3 : INT2, INT1 This flag indicates the time set by alarm arm and when the time has reached it. This flag is set to 1 when the time that users set by using the alarm interrupt function has come. The INT1 flag in 1 at alarm 1 interrupt mode, the INT2 flag in 1 at alarm 2 interrupt mode. Set in INT1AE (B5 in the status register 2) or in INT2AE (B1 in the status register 2) after reading 1 in the INT1 flag or in the INT2 flag. This flag is Read-only. This flag is read once, is set to automatically. B4, B5 : SC1, SC These are 2-bit SRAM type registers that can be freely set by users. B6 : 12 / 24 This flag is used to set 12-hour or 24-hour expression. : 12-hour expression ess 1 : 24-hour expression : RESET prd DISC CONTINUE UED The internal IC is initialized by setting this bit to 1. This bit is Write-only. It is always when Read. When applying the power supply voltage to the IC, be sure to write 1 to this bit to initialize the circuit. Regarding each status of data after initialization, refer to Register Status After Initialization. R R 14 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK 3. Status register 2 Status register 2 is a 1-byte register that is used to display and set various modes. The bit configuration is shown below. B6 B5 B4 B3 B2 B1 : TEST INT1FE R/W INT1ME INT1AE 32kE INT2FE INT2ME INT2AE R/W R/W R/W R/W R/W R/W R/W Figure 14 Status Register 2 R/W: Read/Write e TEST This is a test flag for SII. Be sure to set this flag to in use. If this flag is set to 1, be sure to initialize to set. B1 : INT2AE, B2 : INT2ME, B3 : INT2FE These bits are used to select the output mode for the INT 2 pin. Table 1 shows how to select the mode. To use an alarm 2 interrupt, set alarm interrupt mode, then access the INT2 register and the alarm expansion register 2. Table 1 Output Modes for INT 2 Pin INT2AE INT2ME INT2FE E INT 2 Pin Output Mode No interrupt rup *1 1 Output t of user-set frequency *1 1 Per-minute edge interrupt *1 1 1 Minute-periodical UPer-m UMin interrupt 1 (5% duty) 1 Alarm 2 interrupt *1. Don t care (Both of and 1 are acceptable). B4 : 32kE, B5 : INT1AE, B6 : INT1ME, : INT1FE These bits are used to select the output t mode for the INT 1 pin. Table 11 shows how to select the mode. To use an alarm 1 interrupt, set alarm interrupt mode, then access the INT1 register and the alarm expansion register 1. SC COT Table 11 Output Modes for INT 1 Pin 32kE INT1AE INT1ME INT1FE INT 1 Pin Output Mode No interrupt *1 1 Output of user-set frequency *1 1 Per-minute edge interrupt 1 1 Minute-periodical interrupt 1 (5% duty) D 1 Alarm 1 interrupt 1 1 1 Minute-periodical interrupt 2 1 *1 *1 *1 32.768 khz output eptable).n DISC *1IS SCONTINUED NUMinU INP *1. Don t care (Both of and 1 are acceptable). Seiko Instruments Inc. 15

2-WIRE REAL-TIME CLOCK Rev.2._ 4. INT1 register and INT2 register The INT1 and INT2 registers are to set up the output of user-set frequency, or to set up alarm interrupt. Users are able to switch the output mode by using the status register 2. If selecting to use the output mode for alarm interrupt by status register 2; this register works as the alarm-time data register. If selecting the output of user-set frequency by status register 2; this register works as the data register to set the frequency for clock output. From each INT1 and INT2 pin, a clock pulse and alarm interrupt are output. (1) Alarm interrupt Users can set the alarm time (the data of day of the week, hour, minute) by using the INT1 and INT2 registers which are 3-byte data registers. The configuration of register is as well as the data register of day of the week, hour, minute, in the real-time data register; is expressed by the BCD code. Do not set a nonexistent day. Users are necessary to set up the alarm-time data according to the 12/24 hour expression that they set by using the status register 1. INT1 register W1 H1 m1 W2 H2 m2 W4 H4 m4 H8 m8 H1 H2 m1 m2 AM / PM A1WE A1HE m4 A1mE INT2 register r W1 W2 ODW W4 H1 Figure 15 INT1 Register and INT2 Register (Alarm Time-Data) m1 H2 m2 H4 m4 H8 m8 H1 H2 AM / PM m1 m2 m4 The INT1 register has A1WE, A1HE, A1mE at in each byte. It is possible to make data valid; the data of day of the week, hour, minute which are in the corresponded ond byte; by setting these bits to 1. This is as well in A2WE, A2HE, A2mE in the INT2 register. Regarding set-up of year, month, day, refer to 9. Alarm expansion register 1 and alarm expansion register 2. Setting example: alarm time 7: pm in the INT1 register (a) 12-hour expression (status register 1 B6 = ) set up 7: PM Data written ten to INT1 register Day weeksc of week *1 *1 *1 *1 *1 *1 *1 Hour 1 1 1 1 1 Minute 1 *1. Don t care (Both of and 1 are acceptable). DISCONTINUED NUED (b) 24-hour expression (status register 1 B6 = 1) set up 19: PM Data written to INT1 register Day of week *1 *1 *1 *1 *1 *1 *1 Hour 1 1 1 1 *2 1 Minute 1 *1. Don t care (Both of and 1 are acceptable). *2. Set up the AM / PM flag along with the time setting. A2WE A2HE A2mE 16 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK (2) Output of user-set frequency The INT1 and INT2 registers are 1-byte data registers to set up the output frequency. Setting each bit to B3 in the register to 1, the frequency which corresponds to the bit is output in the AND-form. SC2 to SC4 in the INT1 register, and SC5 to SC7 in the INT2 register are 3-bit SRAM type registers that can be freely set by users. B6 B5 B4 B3 B2 B1 1 Hz R / W 1 Hz R/W 2 Hz 4 Hz 8 Hz 16 Hz SC2 SC3 SC4 R / W R / W R / W R / W R / W R / W TS R / W R/W: Read/Write Figure 16 INT1 Register (Data register for output frequency) enc B6 B5 B4 B3 B2 B1 2 Hz Example: to B3 = 5h 16 Hz 8 Hz 4 Hz 2 Hz 1 Hz INT1 pin or INT2 pin output 4 Hz 8 Hz 16 Hz SC5 SC6 SC7 R/W R/W R/W R/W R/W R/W R/W R/W: PR/ Read/Write Figure 17 INT2 Register (Data register er for output frequency) DISCONT ONTINU NUED RT Status register 2 Set to INT1FE or INT2FE = 1 Figure 18 Example of output from INT1 register (Data register for output frequency) Seiko Instruments Inc. 17

2-WIRE REAL-TIME CLOCK Rev.2._ 5. Clock-correction register The clock-correction register is a 1-byte register that is used to correct advance/delay of the clock. When not using this function, set this register to h. Regarding the register values, refer to Function to Clock-Correction. B6 B5 B4 B3 B2 B1 V R/W 6. Free register V1 V2 V3 V4 R/W R/W R/W R/W R/W R/W R/W V5 Figure 19 Clock-Correction Register V6 R/W: Read/Write The free register is a 1-byte SRAM type register that can be set freely by users. s. F R/W PR B6 B5 B4 B3 B1 F1 F2 F3 F4 F5 F6 F7 PRB2 R/WD R/W R/W R/W R/W R/W R/W R/W Figure 2 Free Register DISCONTINUED R/W: Read/Write V7 WriteCTRTRT 18 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK 7. Up counter The up counter is a 24-bit Read-only register. It starts binary counting from h from power-on and continues counting as long as power is being applied. It continues counting when initialization, instead of returning to h. At power-on, registers are cleared by the power-on detection circuit so that the up counter is cleared to h. If the power-on detection circuit does not operate successfully, the counter may start from the indefinite status. For successful operation of the power-on detection circuit, refer to Power-on Detection Circuit and Register Status. Regarding the operation timing of the up counter, refer to Up-Count Operation. C64k C256 C1 C128k C512 C2 C256k C1k C4 C512k C2k C8 C1M C4k C16 C2M C8k C32 PCPC32 Figure 21 Up Counter C4M C64 C8 M C16k C3 2k DC C128 Table 12 Example of Count Value and Read Data in Register TI Count Value Read data in register 1h 1h 8h 2h 2h 4h ON EFFFFFh F7FFFFh FFFFFFh FFFFFFh DISCO ISCONT COEFFFO ONTINUED NU Seiko Instruments Inc. 19

2-WIRE REAL-TIME CLOCK Rev.2._ 8. FOUT setting register 1 and FOUT setting register 2 FOUT setting register 1 and 2 are 1-byte data registers to set up the output frequency for the FOUT pin. As well as the function output of user-set frequency, in the INT1 (INT2) register, by setting each bit in the register to 1, the frequency, which corresponds to the bit, is output in the AND-form. Figure 24 shows the setting example. At power-on, the FOUT setting register 1 and 2 are set to h so that no clock pulses are output. The value of output voltage is defined by V DDL. 256 Hz R/W 1 Hz R/W B6 B5 B4 B3 B2 B1 CT 512 Hz 1 khz 2 khz 4 khz 8 khz 16 khz khz R/W R/W R/W R/W R/W R/W R/W CT32 R/W: Read/Write e Figure 22 FOUT Setting Register 1 B6 B5 B4 B3 B2 B1 2 Hz 4 Hz 8 Hz 16 Hz Hz 64 Hz 128 Hz R/W R/W R/W R/W P32 R/W R/W R/W Figure 23 FOUT Setting tin Register 2 Setting example: FOUT setting register 1 : to = 8h, FOUT setting register 2 : to = 5h 256 Hz 128 Hz 64 Hz 32Hz FOUT pin datd R/W: Read/Write *1 *1 *1 datdis DISC ISCONTINUED NU D C Set data in FOUT setting register 1 and FOUT setting register 2 *1. The value of output voltage is defined by V DDL. Set V DDL V DD. Figure 24 Example of output of clock pulse 2 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK 9. Alarm expansion register 1 and alarm expansion register 2 The alarm expansion register 1 and 2 are 3-byte registers. They are expansion registers for the INT1 and INT2 registers which output alarm interrupt. Users are able to set the alarm time; the data of year, month, day. The configuration of register is expressed by BCD code as well as the data register of year, month, day in the real-time register. Alarm expansion register 1 Alarm expansion register 2 Y1 Y2 Y4 Y8 Y1 Y2 Y4 Y8 M1 M2 M4 M8 M1 A1YE A1ME M1 M2 M4DUM8M8 M1 A2YE A2ME D1 D2 D4 D8 D1 D2 A1DE Y1 Y2 Y4 Y8 Y1 Y2 Y4 Y8 TY2 D1 D2 D4 D8 D1 D2 A2DE Figure 25 Alarm Expansion Register 1 and Alarm Expansion Register 2 To make the year data of alarm expansion register 1 valid, set A1YE to 1. For the month data, set A1ME to 1, for the day data, set A1DE to 1. Set as well A2ME, A2YE, A2DE in the alarm expansion register 2. Regarding how to set the data of day of the week, hour, and minute, refer to (1) Alarm interrupt in 4. INT1 register and INT2 register. Setting example: Setting alarm time January 31, 215 in the alarm expansion register 1 TI Data written to the alarm expansion register 1 Year 1 1 1 Month 1 *1 1 1 Day 1 1 1 *1 1 *1. Don t care (Both of and 1 are acceptable.) ON N DISCO ONTINUED NU RODUM8 Seiko Instruments Inc. 21

2-WIRE REAL-TIME CLOCK Rev.2._ Power-on Detection Circuit and Register Status The power-on detection circuit operates by power-on the, as a result each register is cleared; each register is set as follows. Real-time data register : (Y), 1 (M), 1 (D), (day of the week), (H), (M), (S) Status register 1 : 1h Status register 2 : 8h INT1 register : 8h INT2 register : h Clock correction register : h Free register : h Up counter : h FOUT setting register 1 : h FOUT setting register 2 : h Alarm expansion register 1 : h Alarm expansion register 2 : h 1 is set in the POC flag ( in the status register 1) to indicate that t power has been applied. To correct the oscillation frequency, the status register 2 goes in the mode the output of user-set frequency, so that 1 Hz clock pulse is output from the INT 1 pin. When 1 is set in the POC flag, be sure to initialize. The POC flag is set to due to initialization so that the output of user-set frequency mode is cleared. (Refer to Register Status After Initialization.) For the regular operation of power-on detection circuit, the period to power-up the is that the voltage reaches 1.3 V within 1 ms after setting the IC s power supply voltage at V. When the power-on detection circuit is not working normally is; the POC flag ( in the status register) is not in 1, or 1 Hz is not output from the INT 1 pin. In this case, power-on the once again because the internal data a may be in the indefinite status. Do not transmit data immediately after power-on at least one sec because the power-on detection circuit is operating. powp Within 1 ms 1.3 V V *1 *1. V indicates that there are no potential differences between the VDD pin and VSS pin of the. DISCONTINUED NU D Figure 26 How to raise the power supply voltage 22 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK Register Statuses After Initialization The status of each register after initialization is as follows. Real-time data register : (Y), 1 (M), 1 (D), (day of the week), (H), (M), (S) Status register 1 : B6 B5 B4 b (In B6, B5, B4, the data of B6, B5, B6 in the status register 1 at initialization is set. Refer to Figure 27.) Status register 2 : h INT1 register : h INT2 register : h Clock correction register : h Free register : h Up counter : Is not initialized and continues counting. FOUT setting register 1 : h FOUT setting register 2 : h Alarm expansion register 1 : h Alarm expansion register 2 : h SCL START 1 Write to status register 1 Read from status register 1 9 18 1 PRRea 9 1 1 Code + command ACK R/W 1 1 B5 : Output from : Input from master device ACKNUSTOP START Write 1 to reset et flag and SC. ACK R/W NO_ACK NU 1 1 1 L L H L L L L L Code + command B5 : Not reset Figure 27 Data of Status Register 1 at Initialization DISCO ONT NTINUED NUE 18 STOP Seiko Instruments Inc. 23

2-WIRE REAL-TIME CLOCK Rev.2._ Low Power Supply Voltage Detection Circuit The has a low power supply voltage detection circuit, so that users can monitor drops in the power supply voltage by reading the BLD flag (B1 in the status register 1). There is a hysteresis width of approx..15 V (Typ.) between detection voltage and release voltage (refer to Characteristics (Typical Data) ). The low power supply voltage detection circuit does the sampling operation only once in one sec for 15.6 ms. If the power supply voltage decreases to the level of detection voltage (V DET ) or less, 1 is set to the BLD flag so that sampling operation stops. Once 1 is detected in the BLD flag, no sampling operation is performed even if the power supply voltage increases to the level of release voltage or more, and 1 is held in the BLD flag. After initialization, or once the BLD flag is read, the BLD flag is automatically set to to restart the sampling operation. If the BLD flag is 1 even after the power supply voltage is recovered, the internal circuit may be in the indefinite status. In this case, be sure to initialize the circuit. BLD flag reading Sampling pulse BLD flag V DD Detection voltage 15.6 ms 1 s 1 s Hysteresis width.15 V approximately Release voltage Stop Stop Stop Figure 28 Timing of Low Power Supply Voltage Detection Circuit Circuits Power-on and Low Power Supply Voltage Detection Figure 29 shows the changes of the POC flag and BLD flag due to V DD fluctuation. V DD POC flag BLD flag Low power supply voltage detection voltage DISCONTINUED INU Low power supply voltage detection voltage V SS Status register 1 reading Figure 29 POC Flag and BLD Flag 24 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK Correction of Nonexistent Data and End-of-Month When users write the real-time data, the checks it. In case that the data is invalid, the does the following procedures. 1. Processing of nonexistent data Table 13 Processing of Nonexistent Data Register Normal Data Nonexistent Data Result Year data to 99 XA to XF, AX to FX Month data 1 to 12, 13 to 19, XA to XF 1 Day data 1 to 31, 32 to 39, XA to XF 1 DU Day of week data to 6 7 24-hour to 23 24 to 29, 3X, XA to Hour data *1 XF 12-hour to 11 12 to 2, XA to XF Minute data to 59 6 to 79, XA to XF Second data *2 to 59 6 to 79, XA to XF *1. In a 12-hour expression, Write the AM / PM flag (B1 in hour data in the real-time data register). In 24-hour expression, the AM / PM flag in the real-time data register is omitted. However in the flag in Read, users are able to read ; to 11, 1; 12 to 23. *2. Processing of nonexistent data, regarding second data, is done by a carry pulse which is generated one sec after, after Write. At this point the carry pulse is sent to the minute-counter. unte 2. Correction of end-of-month A nonexistent day, such as February 3 and April 31, is set to the first day of the next month. DISCONTINUED PRO ODUC UCT Seiko Instruments Inc. 25

2-WIRE REAL-TIME CLOCK Rev.2._ INT 1, INT2 Pin Output Modes These are selectable for the output mode for INT 1 and INT 2 pins; Alarm interrupt, the output of user-set frequency, per-minute edge interrupt output, minute-periodical interrupt output 1. In the INT 1 pin output mode, in addition to the above modes, minute-periodical interrupt output 2 and 32.768 khz output are also selectable. To swith the output mode, use the status register 2. Refer to 3. status register 2 in Configuration of Register. When switching the output mode, be careful of the output status of the pin. Especially, when using alarm interrupt/output of frequency, switch the output mode after setting h in the INT1/INT2 register. In 32.768 khz output/per-minute edge interrupt output/minute-periodical interrupt output, it is unnecessary to set data in the INT1/INT2 register for users. Refer to the followings regarding each operation of output modes. 1. Alarm interrupt output Alarm interrupt output is the function to output L from the INT 1/ INT 2 pin, at the alarm time which is set by user has come. If setting the pin output to H, turn off the alarm function by setting in INT1AE/INT2AE in the status register 2. To set the alarm time, set the data of day of the week, hour, minute in the INT1/INT2 register, set the data of year, month, day in the alarm expansion register 1 or 2. Refer to 4. INT1 register and INT2 register and 9. Alarm expansion register 1 and alarm expansion register 2 in Configuration of Register. Alarm setting of Y (year), M (month), D (day), W (day of the week), H (hour), m (minute) Status register 2 setting INTx P register alarm enable flag INT1 pin output mode AxHE = AxmE = AxWE = "1" 32kE =, INT1ME = INT1FE = Alarm expansion register x alarm enable flag INT2 pin output mode AxYE = AxME = AxDE = "1" INT2ME = INT2FE = INT1 register er Alarm expansion register 1 INT2 register Alarm expansion register 2 INT1AE/INT2AE INT1 pin/int2 pin mx Second Minute Real-time data OR Y (year), M (month), D (day), W (day of the week) Real-time data 2AEDI H h (m 1) m 59 s Change by program Alarm time matches Hx Wx Dx Mx Yx Comparator Hour Week Day Month H h m s Change by program DISC CONTINUED NU DISCONMinu OFF AlarmP Year 1 s 59 s Period when alarm time matches Change by program *1 Alarm interrupt H h (m + 1) m s *1. If users clear INT1AE/INT2AE once; L is not output from the INT 1/ INT 2 pin by setting INT1AE/INT2AE enable again, within a period when the alarm time matches real-time data. Figure 3 Alarm Interrupt Output Timing (1/2) 26 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK Alarm setting of H (hour) Status register 2 setting INT1 pin output mode 32kE =, INT1ME = INT1FE = INT2 pin output mode INT2ME = INT2FE = INT1 register INT2 register INTx register alarm enable flag AxHE = AxmE = AxWE = "1" Alarm expansion register x alarm enable flag AxYE = AxME = AxDE = "1" Alarm expansion register 1 Alarm expansion register 2 Real-time data INT1AE/INT2AE INT1 pin/int2 pin (H 1) h 59 m 59 s Change by program Alarm time matches mx Second Minute Real-time data OFF Hx Wx Dx Mx Yx Comparator Hour Week Day Month *1 Year H h m s 1 s 59 s H h 1 m s Change by program Change by progp program Alarm time matches *2 Alarm interrupt Period when alarm time matches *1. If users clear INT1AE/INT2AE once; L is not output NPe from the INT 1/ INT 2 pin by setting INT1AE/INT2AE enable again, within a period when the alarm time matches real-time data. *2. If turning the alarm output on by changing the program, within the period when the alarm time matches real-time data, L is output again from the INT 1 / INT2 pin when the minute is counted up. 2. Output of user-set frequency NUE*1 Figure 31 Alarm Interrupt Output Timing (2/2) OFF H h 59 m 59 s Change by program *1 (H + 1) h m s The output of user-set frequency is the function to output the frequency which is selected by using data, from the INT 1/ INT 2 pin, in the AND-form. Set up the data of frequency in the INT1/INT2 register. Refer to 4. INT1 register INT2 register in Configuration of Register. Status register 2 setting INT1 outpud pin output mode 32kE =, INT1AE DISand = Don t care ( or 1), INT1ME = INT2 pin output mode INT2AE = Don t care ( or 1), INT2ME = Change by program IND PR DISCONT ONTI TIN INUED *1ED INT1FE/INT2FE Free-run output starts OFF INT1 pin/int2 pin Figure 32 Output Timing of User-set Frequency Seiko Instruments Inc. 27

2-WIRE REAL-TIME CLOCK Rev.2._ 3. Per-minute edge interrupt output Per-minute edge interrupt output is the function to output L from the INT 1/ INT 2 pin, when the first minute-carry processing is done, after selecting the output mode. To set the pin output to H, turn off the output mode of per-minute edge interrupt. In the INT 1 pin output mode, input in INT1ME in the status register 2. In the INT 2 pin output mode, input in INT2ME. Status register 2 setting INT1 pin output mode 32kE =, INT1AE = Don t care ( or 1), INT1FE = INT2 pin output mode INT2AE = Don t care ( or 1), INT2FE = Change by program INT1ME/INT2ME INT1 pin/int2 pin Minute-carry processing OFF "L" is output again if this period is within 7.9 ms *1. Minute-carry processing ODs sin *1. Pin output is set to H by disabling the output mode within 7.9 ms, because the signal of this procedure is maintained for 7.9 ms. Note that pin output is set to L by setting enable the output mode again. 4. Minute-periodical interrupt output 1 Figure 33 Timing of Per-Minute Edge Interrupt Output The minute-periodical interrupt 1 is the function to output the one-minute clock pulse (Duty 5%) from the INT 1/ INT2 pin, when the first minute-carry processing is done, after selecting the output mode. Status register 2 setting INT1 pin output mode 32kE =, INT1AE = INT2 pin output mode INT2AE = INT1ME, INT1FE INT2ME, INT2FE INT1 pin/int2 pin Minute-carry processing Change by program (OFF) Minute-carry processing Minute-carry processing DISCONTINUED N D DIc Minute-carry processing Minute-carry processing 3 s 3 s 3 s 3 s 3 s 3 s 3 s 3 s 3 s "L" is output again if this period is within 7.9 ms *1. "H" is output again if this period is within 7.9 ms. "L" is output at the next minute-carry processing *1. Setting the output mode disable makes the pin output H, while the output from the INT 1/ INT 2 pin is in L. Note that pin output is set to L by setting enable the output mode again. Figure 34 Timing of Minute-periodical Interrupt Output 1 28 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK 5. Minute-periodical interrupt output 2 (only in the INT 1 pin output mode) The output of minute-periodical interrupt 2 is the function to output L, for 7.9 ms, from the INT 1 pin, synchronizing with the first minute-carry processing after selecting the output mode. However, in Read in the real-time data register, the procedure delays at max..5 sec thus output L from the INT 1 pin also delays at max..5 sec. In Write in the real-time data register, some delay is made in the output period due to Write timing and the second-data during Write. (a) During normal operation INT1 pin Minute-carry processing Minute-carry processing Minute-carry processing 7.9 ms 7.9 ms 7.9 ms 6 s 6 s (b) During real-time data read OD6D6 INT1 pin Serial communication (Normal minutecarry Minute-carry processing processing) Minute-carry processing Minute-carry processing 7.9 ms Real-time data read command (c) During real-time data write INT1 pin 7.9D Real-time data write timing 7.9 ms Real-time data reading.5 s Max. 7.9 ms 7.9 ms 6 s 6 s Real-time data read command Real-time data reading Minute-carry processing Minute-carry processing Minute-carry processing DISC CONTINUED 7.9 ms 7.9 ms 55 s 8 s 1 s 45 s 3 s 5 s Second data of writing: "5" s Second data of writing: "1" s The output period is shorter. The output period is longer. Figure 35 Timing of Minute-periodical Interrupt Output 2 Seiko Instruments Inc. 29

2-WIRE REAL-TIME CLOCK Rev.2._ 6. Operation of power-on detection circuit (only in the INT 1 pin output mode) When power is applied to the, the power-on detection operates to set 1 in the POC flag ( in the status register 1). A 1 Hz clock pulse is output from the INT 1 pin. Status register 2 setting 32kE =, INT1AE = INT1ME = INT1FE INT1 pin.5 s.5 s Change by reset command Figure 36 Output Timing of INT 1 Pin during Operation of Power-on Detection Circuit Function to Clock-Correction The function to clock-correction is to correct advance/delay ay of the clock due to the deviation of oscillation frequency, in order to make a high precise clock. For correction, the adjusts the clock pulse by using a certain part of the dividing circuit, not adjusting the frequency of the crystal oscillator. Correction is performed once every 2 seconds (or 6 seconds). The minimum resolution is approx. 3 ppm pm (or approx. 1 ppm) and the corrects in the range of 195.3 to +192.2 ppm (or of 65.1 to +64.1 ppm). (Refer to Table 14.) Users can set up this function by using the clock-correction register. Regarding how to calculate the setting data, refer to 1. How to calculate. When not using this function, be sure to set h. Table 14 Function to Clock-Correction = = 1 Correction Every 2 seconds Every 6 seconds Minimum resolution 3.52 ppm 1.17 ppm Correction range 195.3 to +192.2 ppm 65.1 to +64.1 ppm ONEve DISCON ONTINUED NU OFF 3 Seiko Instruments Inc.

Rev.2._ 2-WIRE REAL-TIME CLOCK 1. How to calculate (1) If current oscillation frequency > target frequency (in case the clock is fast) Correction value *1 = 128 Integral value (Current oscillation frequency actual measurement value *2 ) (Target oscillation frequency *3 ) (Current oscillation frequency actual measurement value *2 ) (Minimum resolution *4 ) Caution The figure range which can be corrected is that the calculated value is from to 64. *1. Convert this value to be set in the clock correction register. For how to convert, refer to (a) Calculation example 1. *2. Measurement value when 1 Hz clock pulse is output from the INT 1/ INT T2 pin. *3. Target value of average frequency when the clock correction function is used. *4. Refer to Table 14. (a) Calculation example 1 In case of current oscillation frequency actual measurement value = 1.7 [Hz], target oscillation frequency = 1. [Hz], = (Minimum resolution = 3.52 ppm) Correction value = 128 Integral value ( 1.7 ) (1. ) ( 1.7 ) ( 3.52 1 6 ) = 128 Integral value (22.93) = 128 22 = 16 Convert the correction value 16 to 7-bit binary and obtain 1111b. Reverse the correction value 1111b and set it to to B1 of the clock correction register. Thus, set the clock correction register: (, B6, B5, B4, B3, B2, B1, ) = (, 1,, 1,, 1, 1, ) (2) If current oscillation frequency < target frequency enc (in case the clock is slow) Correction value = Integral value (Target oscillation frequency) (Current oscillation frequency actual measurement value) (Current oscillation frequency actual measurement value) (Minimum resolution) Caution The figure range which can be corrected is that the calculated value is from to 62. (a) Calculation example 2 In case of current oscillation frequency actual measurement value =.99992 [Hz], target oscillation frequency = 1. [Hz]. = (Minimum resolution = 3.52 ppm) Correction Integral value ( 1. ) (.99992 ) value = (.99992 ) ( 3.52 1-6 + 1 ) = Integral value (26.21) + 1 = 26 + 1 = 27 Thus, set the clock correction register: (, B6, B5, B4, B3, B2, B1, ) = (1, 1,, 1, 1,,, ) (b) Calculation example 3 1P DISCON SCONTINUED NU (3.52P 3.52PR ( PR In case of current oscillation frequency actual measurement value =.99992 [Hz], target oscillation frequency = 1. [Hz], = 1 (Minimum resolution = 1.17 ppm) Correction value = Integral value ( 1. ) (.99992 ) (.99992 ) ( 1.17 1-6 + 1 ) = Integral value (78.66) + 1 This calculated value exceeds the correctable range to 62. = 1 (minimum resolution = 1.17 ppm) indicates the correction is impossible. + 1 Seiko Instruments Inc. 31

2-WIRE REAL-TIME CLOCK Rev.2._ 2. Setting value for register and correction value Table 15 Setting Value for Register and Correction Value (Minimum Resolution: 3.52 ppm ( = )) B6 B5 B4 B3 B2 B1 Correction Value [ppm] Rate [s/day] 1 1 1 1 1 1 192.3 16.61 1 1 1 1 1 189.2 16.35 1 1 1 1 1 186.2 16.9 CT 1 6.1.53 1 3.1.26 1 1 1 1 1 1 1 3.1.26 1 1 1 1 1 1 6.1.53 1 1 1 1 1 1 9.2.79 1 1 D 189.2 16.35 1 1 192.3 16.61 1 D 195.3 16.88 NU Table 16 Setting Value for Register TIN and Correction CorrectioUo on Value (Minimum Resolution: 1.17 ppm ( = 1)) Correction Value Rate B6 B5 B4 B3 B2 B1 [ppm] [s/day] 1 1 1 1 1 1 1 64.1 5.54 1 1 1 1 1 1 63.1 5.45 1 1 1 1 1 1 62. 5.36 CO ISC 1 1 2..18 1 1 1..9 1 1 1 1 1 1 1 1 1 1..9 1 1 1 1 1 1 1 2..18 1 1 1 1 1 1 1 3..26 DI DIS ISCONTINUED INU 1 1 1 63.1 5.45 1 1 1 64.1 5.54 1 1 65.1 5.62 32 Seiko Instruments Inc.