SM8578BV Real-time Clock IC

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

CF5073 series VCXO Module ICs with Built-in Varicap

SM1155 series Melody LSIs

CF5074B VCXO Module IC with Built-in Varicap

Recommended crystal unit/ resonator. 5036G 80 to A1 5036A2 3rd overtone, 5036B 2. Fundamental,

5056 series Crystal Oscillator Module ICs

Recommended crystal unit/ resonator. Fundamental, Fundamental, 3rd overtone, SAW. 80 to A1N No 2.5. SAW 110 to B1N

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

5053 series Crystal Oscillator Module ICs

CF5008A1 2. VCXO Module IC OVERVIEW FEATURES SERIES CONFIGURATION ORDERING INFORMATION

SM6661AB. Post-amplifier for Gyroscope OVERVIEW FEATURES PINOUT APPLICATIONS PACKAGE DIMENSIONS ORDERING INFORMATION

5076 series VCXO Module IC with Built-in Varicap

SM5006 series Crystal Oscillator Module ICs

5075 series VCXO Module IC with Built-in Varicap

SERIAL I/O REAL TIME CLOCK

5054H series, 5054xF Crystal Oscillator Module ICs

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

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

SM5301BS 3-channel Video Buffer with Built-in Wideband Filters with Filter Through Function

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

CF1155 series Melody LSIs

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

RV-8564 Application Manual. Application Manual. Real-Time Clock Module with I 2 C-Bus Interface. October /62 Rev. 2.1

5059H series 32kHz output Crystal Oscillator Module ICs

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

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

LC7574NE, 7574NW. 1/2 Duty VFD Driver for Frequency Display

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

RayStar Microelectronics Technology Inc. Ver: 1.4

unit: mm 3159-QFP64E unit: mm 3190-SQFP64

PT7C43190 Real-time Clock Module

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

SM8141BV. EL Sheet Driver OVERVIEW PINOUT FEATURES PACKAGE DIMENSIONS ORDERING INFORMATION

ΣDECO SM5865BM D/A Converter for Digital Audio

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

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

onlinecomponents.com

UNISONIC TECHNOLOGIES CO., LTD CD4541

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

5061H series LVDS Output Oscillator ICs

SM5309AV OVERVIEW FEATURES PINOUT PACKAGE DIMENSIONS APPLICATIONS ORDERING INFORMATION. 3-channel Video Buffer with Built-in wideband LPF

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

CCB is ON Semiconductor s original format. All addresses are managed by ON Semiconductor for this format.

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

HD61103A. (Dot Matrix Liquid Crystal Graphic Display 64-Channel Common Driver) Features. Description. Ordering Information

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

Maintenance/ Discontinued

HT1621. HT1621 RAM Mapping 32x4 LCD Controller for I/O MCU

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

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

LC75847T/D. 1/3, 1/4-Duty General-Purpose LCD Driver

HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 HT1627 HT16270 COM

LC7215, 7215F, 7215FM. MW/LW PLL Frequency Synthesizers. Package Dimensions. Overview. Features

SM5160CM/DM OVERVIEW PINOUT FEATURES PACKAGE DIMENSIONS SERIES LINEUP. Programable PLL Frequency Synthesizer. (Top View)

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

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

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

V3021 EM MICROELECTRONIC - MARIN SA. Ultra Low Power 1-Bit 32 khz RTC. Description. Features. Applications. Typical Operating Configuration

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

32.768kHz output Tuning fork Quartz Crystal Oscillator IC

HM8563. Package. Typenumber

Application Manual RV-8803-C7

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

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 HT1627 HT16270 COM

Preliminary NT7070B Dot Matrix LCD Driver & Controller. Features. Descriptions. Applications

RV-8803-C7. Datasheet_DRAFT. Date: September 2014 Revision N : /59 Headquarters: Micro Crystal AG Mühlestrasse 14 CH-2540 Grenchen Switzerland

Maintenance/ Discontinued

PCF2129 Integrated RTC/TCXO/Crystal

S-8423 Series. Rev.2.0 BATTERY BACKUP IC

Built-in LCD display RAM Built-in RC oscillator

R/W address auto increment External Crystal kHz oscillator

DS1642 Nonvolatile Timekeeping RAM

AUTOMOTIVE DIGITAL CLOCK IC IN7100 TECHNICAL DATA DESCRIPTION DIP-40

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

HD44105D. (Dot Matrix Liquid Crystal Graphic Display Common Driver) Description. Features. Ordering Information

PCF85063ATL. 1. General description. 2. Features and benefits. 3. Applications. Tiny Real-Time Clock/calendar with alarm function and I 2 C-bus

PACKAGE HIGH-PRECISION VOLTAGE DETECTOR

ITM-1601A LCM. User s Guide. (Liquid Crystal Display Module) 1998 Intech LCD Group Ltd. Document No. TE nd Edition Jan.

±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.

RS5C313 ULTRA-COMPACT REAL-TIME CLOCK IC OUTLINE FEATURES NO.EA

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

TC7SBL66CFU, TC7SBL384CFU

CD4541BC Programmable Timer

CMOS MELODY IC. Enables to program up to 16 songs Provided with two built-in independent sound sources A 8-pin package OVERVIEW FEATURES

16 Channels LED Driver

PRODUCT OVERVIEW OVERVIEW OTP

ETM30E-02. Application Manual. Real Time Clock Module RX-8571SA

Features. Support for external one-path, internal three-path D/A converter reference voltages

DISCONTINUED PRODUCT

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

HT162X HT1620 HT1621 HT1622 HT16220 HT1623 HT1625 HT1626 COM

LC79401KNE. Overview. Features. CMOS LSI Dot-Matrix LCD Drivers

RV-3049-C2 Application Manual

HIGH RIPPLE-REJECTION LOW DROPOUT MIDDLE OUTPUT CURRENT CMOS VOLTAGE REGULATOR

Very Low Power 8-Bit 32 khz RTC Module with Digital Trimming and High Level Integration

1/3, 1/4 Duty LCD Driver

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

RAM Mapping 32 8 LCD Controller for I/O MCU. R/W address auto increment Built-in RC oscillator

RAM Mapping 48 8 LCD Controller for I/O C

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

Transcription:

Real-time Clock IC OVERVIEW The SM8578BV is a serial interface, real-time clock IC that uses a 32.768kHz crystal oscillator for its reference timing. It comprises second-counter to year-counter clock and calendar circuits that feature automatic leap-year adjustment, alarm and timer interrupt functions, as well as oscillator stop, timer reloading, and other detection functions. Data is transferred to and from an external controller using a 3-wire serial interface. It is available in compact 8-pin VSOP packages, making it ideal for use in all types of portable, hand-held equipment. FEATURES PINOUT 1.6 to 5.5V wide operating voltage range 0.5µA (typ.) current consumption (V DD = 3.0V, = Low) 3-wire serial interface control Day, day-of-week, hour, and minute alarm interrupt function 1/4096 seconds to 255 minutes presettable interval timer interrupt function Time update detection function Abnormal oscillation detection function Automatic leap-year adjustment function (Western and Japanese calendars) Oscillator capacitor C D built-in Molybdenum-gate CMOS process Miniature 8-pin VSOP package (Top view) INTN 1 XTN XT VSS 4 8 5 VDD DATA CLK ORDERING INFORMATION, PACKAGE DIMENSIONS Device Package (Unit: mm) SM8578BV 8-pin VSOP 0 to 10 0.575TYP 3.1 ± 0.3 1.15 ± 0.05 4.4 ± 0.2 6.4 ± 0.3 0.5 ± 0.2 + 0.1 0.15 0.05 0.65 0.10 0.1 ± 0.05 0.22 ± 0.1 0.12 M SEIKO NPC CORPORATION 1

BLOCK DIAGRAM VDD VSS Control Line XTN XT CD OSC Divider Clock and Calendar Register Divider and Timer Counter OSC Detect Control Register INTN Interrupt and FOUT Controller Alarm Register Shift Register CLK Internal Bus DATA Input Controller Control Circuit PIN DESCRIPTION Number Name I/O Function 1 INTN O Timer interrupt/alarm interrupt output, determined by internal mode setting, or frequency output, with frequency value given in the frequency set register (N-channel open-drain output) 2 XTN O Oscillator output. Oscillator capacitor C D built-in. 3 XT I Oscillator input 4 VSS Negative supply voltage connection 5 I Chip enable input with pull-down resistance built-in. Internal registers can be accessed when is HIGH. 6 CLK I 7 DATA I/O Serial data transfer clock input. In write mode, data is read in from DATA on the rising edge of CLK. In read mode, data is read out from DATA on the rising edge of CLK. Serial data transfer data input/output. When goes HIGH, the first four bits of write data determine the operating mode (read mode/write mode). 8 VDD Positive supply voltage connection. A 0.1µF bypass capacitor should be connected between VDD and VSS. SEIKO NPC CORPORATION 2

SPECIFICATIONS Absolute Maximum Ratings V SS = 0V Parameter Symbol Condition Rating Unit Supply voltage range V DD 0.3 to +7.0 V Input voltage range V IN Input pins V SS 0.3 to V DD + 0.3 V Output voltage range 1 V OUT1 INTN V SS 0.3 to +8.0 V Output voltage range 2 V OUT2 DATA V SS 0.3 to V DD + 0.3 V Power dissipation P D 150 mw Storage temperature range T STG 55 to +125 C Recommended Operating Conditions V SS = 0V Parameter Symbol Condition Rating Unit Supply voltage range V DD 1.6 to 5.5 V Operating temperature range T opr 40 to +85 C DC Characteristics V SS = 0V, V DD = 1.6 to 5.5V, C G = 10pF, Ta = 40 to +85 C unless otherwise noted. Parameter Symbol Condition Rating min typ max Unit Current consumption 1 I DD1 V DD = 5V = V SS, DATA, 1.0 2.0 µa Current consumption 2 I DD2 V DD = 3V INTN = V DD 0.5 1.0 µa HIGH-level input voltage V IH, CLK, DATA pins 0.8V DD V DD V LOW-level input voltage V IL 0 0.2V DD V Input leakage current I LEAK V IN = V DD or V SS,, CLK pins 0.5 0.5 µa Input resistance 1 R DWN1 V DD = 5V V IN = V DD, 75 150 300 kω Input resistance 2 R DWN2 V DD = 3V pin 150 300 600 kω Output voltage 1 Output voltage 2 V OH1 V DD = 5V I OH = 1mA, 4.5 5.0 V V OH2 V DD = 3V DATA pin 2.0 3.0 V V OL1 V DD = 5V I OL = 1mA, V SS + 0.5 V V OL2 V DD = 3V DATA pin V SS + 0.8 V V OL3 V DD = 5V I OL = 1mA, V SS + 0.25 V V OL4 V DD = 3V INTN pin V SS + 0.4 V Output leakage current I OZ V OUT = V DD or V SS, DATA, INTN pins 0.5 0.5 µa SEIKO NPC CORPORATION 3

Oscillator Characteristics Ta = 25 C, C G = 10pF, X tal = NPC reference crystal (C I = 30kΩ, C L = 6pF) unless otherwise noted. Parameter Symbol Condition Rating min typ max Unit Oscillator startup time T STA V DD = 1.6V 5.0 s Oscillator stop voltage V STO 1.5 V Frequency voltage characteristic f/v V DD = 1.6 to 5.5V 2 2 ppm/v Frequency accuracy ε IC V DD = 5.0V 10 10 ppm Output capacitance C D V DD = 5.0V 15 pf AC Characteristics V SS = 0V, Ta = 40 to +85 C unless otherwise noted. Parameter Symbol Condition V DD = 5.0V ± 10% V DD = 3.0V ± 10% min typ max min typ max Unit CLK clock cycle t CLK 600 1200 ns CLK HIGH-level pulsewidth t WH 300 600 ns CLK LOW-level pulsewidth t WL 300 600 ns setup time t CS 150 300 ns hold time t CH 200 400 ns recovery time t CR 300 600 ns CLK hold time t CKH 50 100 ns Write data setup time t DS 50 100 ns Write data hold time t DH 50 100 ns Read data output delay time t RD C L = 50pF 200 400 ns Output disable delay time t RZ C L = 50pF R L = 10kΩ 100 200 ns Input rise and fall time t RF 20 40 ns Abnormal oscillation detection time t OSC 10 10 ms SEIKO NPC CORPORATION 4

Timing Diagrams tclk tcs twl twh tch tckh CLK 50% t CR 50% Data write CLK 50% t DH DATA 50% t DS 50% t CS Data read t RF t RF CLK 50% 90% 10% t RD DATA 50% 90% 10% Hi Z 50% t RZ SEIKO NPC CORPORATION 5

FUNCTIONAL DESCRIPTION Register Table Address Function Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Read Write 0 Second FOS 40 20 10 8 4 2 1 Yes Yes 1 Minute fr 40 20 10 8 4 2 1 Yes Excl. bit 7 2 Hour fr * 20 10 8 4 2 1 Yes Excl. bit 7 3 Day-of-week fr 6 5 4 3 2 1 0 Yes Excl. bit 7 4 Day fr * 20 10 8 4 2 1 Yes Excl. bit 7 5 Month fr * * 10 8 4 2 1 Yes Excl. bit 7 6 Year 80 40 20 10 8 4 2 1 Yes Yes 7 Minute alarm AE 40 20 10 8 4 2 1 Yes Yes 8 Hour alarm AE * 20 10 8 4 2 1 Yes Yes 9 Day-of-week alarm AE 6 5 4 3 2 1 0 Yes Yes A Day alarm AE * 20 10 8 4 2 1 Yes Yes B Frequency FE * FD4 FD3 * FD2 FD1 FD0 Yes Yes C Fixed cycle TE * TD1 TD0 * * * * Yes Yes D Fixed-cycle counter 128 64 32 16 8 4 2 1 Yes Yes E Control 1 * * * TI/TP AF TF AIE TIE Yes Yes *1 F Control 2 * TEST * RESET HOLD * * * Yes Yes *1. The AF and TF bits have 0 only valid write data values. Note 1. When power is applied, all register values are undefined, hence they must be initialized. Note 2. When Register D is read, the previously preset data value written to the register is read. SEIKO NPC CORPORATION 6

Clock and Calendar Registers (Registers 0 to 6) Data is in BCD format. For example, register 0 data 0101 1001 represents the value 59 seconds. Also, * - entries in the register table represent read/write locations that can be used as RAM. Clock timing is in 24-hour mode. Year register and leap year: The year register represents years as 2 digits, with 00 following year 99. Leap years are automatically identified for years up to 2099. Day-of-week register: The day-of-week register is a 7-bit register (bits 0 to 6) with valid values shown in the following table. Note that a register setting with a multiple number of 1 bits is invalid. Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Day-of-week 0 0 0 0 0 0 1 Sunday 0 0 0 0 0 1 0 Monday 0 0 0 0 1 0 0 Tuesday 0 0 0 1 0 0 0 Wednesday 0 0 1 0 0 0 0 Thursday 0 1 0 0 0 0 0 Friday 1 0 0 0 0 0 0 Saturday FOS (Abnormal Oscillation Detection Bit) This flag reports oscillation abnormalities during normal operation, such as may occur when the supply voltage falls too low, for example. It is set to 1 to indicate abnormal oscillation, and maintains this value until a 0 bit is written. It is not affected by the function of any other bits. fr (Read Flags) When is HIGH, these flags are set to 1 when the 1s seconds digit is incremented. They are set to 0 when goes LOW. This makes it possible to determine whether the 1s seconds digit has been incremented during a clock register read-out operation (when is HIGH). If the fr bits are set to 1, all the clock timing registers should be read again. The seconds and year registers do not have fr flags. Instead, bits 6 and 5 in the seconds register and bits 7 and 6 in the year register are logically-ored with data 1 (example: year register 00101001 11101001). When goes LOW, the register values are restored (example: year register 11101001 00101001). SEIKO NPC CORPORATION 7

Alarm Registers (Registers 7 to A) These registers contain the alarm interrupt time setting. When the alarm matches the clock registers, the INTN output goes LOW (if the alarm interrupt enable AIE bit is set to 1). The alarm can be set for day-of-week, day, hour and minute. Bit 7 of each of the alarm registers is an enable alarm AE bit. These bits can be used to implement repetitive alarms, such as for every hour or every day. The day-of-week alarm can optionally be set for multiple alarms. Correct alarm output may not occur if the only alarm setting is a day-of-week alarm. When the AE bit is set to 0, the alarm registers are compared with the corresponding clock registers. When set to 1, the data is ignored as don t care bits and is always deemed to match. When the AIE bit in register E is set to 0, output on pin INTN is disabled. The TIE and FE bits must be set to 1 and the AIE bit must be set to 0 to enable alarm interrupts. Day-of-week alarm bit relationship. Bit Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 Day-of-week Saturday Friday Thursday Wednesday Tuesday Monday Sunday Timer Registers (Registers C to E) These registers control the 8-bit presettable down-counters used for timer interrupts. The counter source clock is assigned by register C, and the counter frequency divider is assigned by register D. When the timer count register counts down to zero, with source clock cycle timing, the INTN output goes LOW (if the timer interrupt enable TIE bit is set to 1 ). When the TI/TP bit is set to 1, the fixed-cycle counter register data is reloaded and the count down starts again. Accordingly, this bit can be used to implement an interval timer (periodic mode). When the TIE bit in register E is set to 0, output on INTN is disabled. The TI/TP, FE, AIE, and TIE bits must be set for normal timer operation (with the FE and AIE bits set to 0 ). When data is written to register D, the presettable down counters are updated. The data written to register D is maintained until a subsequent data write is performed, hence this register can be used as RAM, similar to the * - entries in the register table, when timer interrupt mode is not used (when TIE is 0 ). When the TE bit is set to 0, the counter loads the fixed-cycle counter contents and the count stops. When the TE bit is set to 1, the count starts. Note that when the TE bit is set to 0, fixed-cycle interrupts from output INTN are not generated even when the fixed-cycle counter (register D) is loaded with zero data. TD1 TD0 Source clock 0 0 4096Hz 0 1 64Hz 1 0 1Hz 1 1 1/60Hz SEIKO NPC CORPORATION 8

Frequency Setting Register (Register B) This register contains the arbitrary frequency setting for output on INTN. The FD4 and FD3 bits set the frequency divider source clock, and the FD2 to FD0 bits set the frequency divider ratio of the source clock (output frequency = source clock frequency frequency divider ratio). The FE bit must be set to 1 to enable frequency output on INTN, with frequency given by the frequency set register (with the AIE and TIE bits set to 0 ). When the FE bit is set to 0, the output is disabled and is high impedance (Hi-Z). FD4 FD3 Source clock 0 0 32768Hz 0 1 1024Hz 1 0 32Hz 1 1 1Hz FD2 FD1 FD0 Frequency divider ratio 0 0 0 1/1 0 0 1 1/2 0 1 0 1/3 0 1 1 1/6 1 0 0 1/5 1 0 1 1/10 1 1 0 1/15 1 1 1 1/30 Control Register 1 (Register E) This register controls alarm interrupts and timer interrupts. Address Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 E * * * TI/TP AF TF AIE TIE TI/TP bit: Interrupt Signal Output Mode Select. Interrupt/Periodic This selects the timer interrupt signal output mode (with the FE and AIE bits set to 0 ). TI/TP 0 1 Mode <Level interrupt mode> INTN goes LOW immediately when a timer interrupt occurs. INTN remains LOW until the TF bit is set to 0 (with TIE = 1 ). <Periodic interrupt mode (interval interrupt)> INTN goes LOW immediately when a timer interrupt occurs (with TIE = 1 ), the TF bit is set to 1, and then INTN becomes high impedance until 0 data is written to the TF bit. AF, TF bits: Alarm Flag, Timer Flag The AF bit is set to 1 when an alarm occurs, and the TF bit is set to 1 when the timer is zero. The data bits are maintained until 0 data is written to both bits. Note that 1 data cannot be written to both bits. AIE, TIE bits: Alarm, Timer Interrupt Enable These bits determine the output on INTN when alarm or timer interrupt events occur. AIE is the alarm interrupt enable flag, and TIE is the timer interrupt enable flag. The alarm or timer interrupt is enabled when the corresponding enable bit is set to 1 (both interrupts are output if both bits are set to 1, so setting both bits to 1 should be avoided). SEIKO NPC CORPORATION 9

Control Register 2 (Register F) This register controls the clock timing frequency divider. Address Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 F * TEST * RESET HOLD * * * TEST bit: NPC Test Bit This bit should be set to 0 when power is applied and when writing to register F. RESET bit When this bit is set to 1, the 2kHz to 1Hz frequency divider counters are reset and clock timing stops. After 1 data is written, test mode is cancelled by writing 0 data or by setting the input LOW. It is not affected by the state of any other bits. HOLD bit When this bit is set to 1, the seconds digit increment operation is disabled. However, if an increment operation occurs when this bit is 1 and the bit is subsequently set to 0 within 1 second, the automatic correction function forces a 1-second correction. Therefore, it is recommended that the HOLD bit should be used for less than 1 second. Functional operation table The function of the RESET and HOLD bits is shown in the following table. Bit Function RESET HOLD Clock timing Timer interrupt output Alarm interrupt output Arbitrary frequency output 0 0 Operating Operating Operating Operating 0 1 *1 *2 Stopped Operating 1 0 Stopped *3 Stopped *4 1 1 Stopped *3 Stopped *4 *1. The automatic correction function operates if the HOLD bit is set for less than 1 second. *2. Normal operation for source clocks other than 1/60Hz (1 minute). *3. Normal operation for 4096Hz source clock only. *4. Normal operation for 32768Hz source clock only. SEIKO NPC CORPORATION 10

INTERRUPT HANDLING Alarm Interrupt If AIE = 1 when the alarm occurs, output INTN goes LOW. If AIE = 0, INTN is in high impedance state. The alarm interrupt is output when the 10s seconds digit carries over to the minutes digit. AIE bit INTN output AF bit "1" "0" No output while AIE is "0" Hi Z LOW level "1" "0" Data 0 written to AF Alarm interrupt timing Timer Interrupt The TI/TP bit setting selects either level interrupt mode or periodic interrupt mode output (with the AIE and FE bits set to 0 ). (1) Level interrupt mode (TI/TP = 0 ) If TIE = 1 when the interrupt occurs, output INTN goes LOW. If TIE = 0, INTN is in high impedance state. TIE bit INTN output TF bit No output while TIE is "0" Data 0 written to TF "1" "0" Hi Z LOW level "1" "0" Timer interrupt timing SEIKO NPC CORPORATION 11

(2) Periodic mode (TI/TP = 1 ) If TIE = 1 when the interrupt occurs, output INTN goes LOW. If TIE = 0 when the interrupt occurs, output INTN stays high impedance and the TF bit is set to 1, and this condition is maintained. TIE bit "1" "0" INTN output trtn Auto-return Hi Z LOW level TF bit "1" "0" Data 0 written to TF Timer interrupt timing * Auto-return: The auto-return time (t RTN ) is determined by the source clock set by register C. Source clock Auto-return time (t RTN ) 4096Hz 64Hz 0.122ms 7.81ms 1Hz 0.5s 1/60Hz 0.122ms SEIKO NPC CORPORATION 12

USAGE NOTES Data Read/Write For both writing and reading data, the first 4 bits after goes HIGH are mode select bits, the next 4 bits assign the address, and subsequent bits are read/write data in 8-bit units. When writing data, the data must be input in 8-bit units. If goes LOW before an 8-bit unit data word is input, the 8-bit data being written when goes LOW will not be written correctly. Write data and read data are in LSB-first format. [Write mode] 1) If the first 4 bits after goes HIGH have value 3, write mode is selected. The next 4 bits determine the write address. 2) The next 8-bit data unit is written to the write address, and subsequent 8-bit data units are written to consecutive locations addressed using an automatic address increment function. 3) The address automatic increment function is cyclical, with address 0 following after address F. CLK DATA D0 D1 D2 D3 D0 D1 D2 D3 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 Write mode select code (3H) Adress select (N) Data write (adress N) Data write (adress N+1) [Read mode] 1) If the first 4 bits after goes HIGH have value C, read mode is selected. The next 4 bits determine the read address. 2) The next 8-bit data unit is read from the read address, and subsequent 8-bit data units are read from consecutive locations addressed using an automatic address increment function. 3) The address automatic increment function is cyclical, with address 0 following after address F. CLK DATA D0 D1 D2 D3 D0 D1 D2 D3 D0 D1 D2 D3 D4 D5 D6 D7 D0 D1 D2 D3 D4 D5 D6 D7 Read mode select code (CH) Adress select (N) Data read (adress N) Data read (adress N+1) From the point DATA is in output mode. Note. If the mode set code is neither C nor 3, all subsequent data is ignored and the DATA pin input state is maintained. SEIKO NPC CORPORATION 13

Alarm Interrupt Alarms can be set for day, day-of-week, hour, and minute. Also, multiple day-of-week alarms can be set. It is recommended that the AF bit and AIE bit be initialized to 0 to avoid unexpected hardware interrupts during the alarm setting procedure. Subsequent alarm data can be set and then the AF flag can be reset to zero for reliable initialization. Then the AIE bit should be set to 1. If hardware interrupts are never used, the AIE should be set to 0 and the AF bit should be monitored using software as necessary. Example 1) Alarm output for 6pm tomorrow: Write 0 to AIE bit, and 0 to AF bit. Write 1 to day alarm AE bit. Write register 3 s current day-of-week data left-shifted by 1 bit into the day-of-week alarm register. If bit 6 in register 3 is 1, left shift into the fr bit is not allowed. Instead, write 01h (Sunday). Write 18h to the hour alarm register. Write 00h to the minute alarm register. Reset the AF bit to zero. Write 1 to the AIE bit. Example 2) Alarm output for 6am every day excluding Saturday and Sunday: Write 0 to AIE bit, and 0 to AF bit. Write 1 to day alarm AE bit. Write 3Eh to the day-of-week alarm register. Write 06h to the hour alarm register. Write 00h to the minute alarm register. Reset the AF bit to zero. Write 1 to the AIE bit. Interrupt Output (INTN) The INTN output mode can be selected, by internal mode setting, for timer interrupt output, alarm interrupt output, or arbitrary frequency output. The output mode setting is set by the TIE, AIE, and FE bits as shown in the following table. Note that multiple 1 bits are invalid. Mode Bit TIE AIE FE Timer interrupt output 1 0 0 Alarm interrupt output 0 1 0 Arbitrary frequency output 0 0 1 Output disabled 0 0 0 SEIKO NPC CORPORATION 14

Monitoring Oscillator Frequency A 1Hz signal is output from INTN when input is biased to 1/2V DD. By monitoring this output, the oscillator frequency can be adjusted by tuning an external capacitor (C G ). XTN R3 XT CG VDD INTN INTN output (1Hz) C1 R1 R2 SW VSS R1 = R2 ( 10kΩ) R3 10kΩ C1 0.1µF TYPICAL APPLICATION CIRCUIT VCC VDD SM8578BV INTN VCC XT XTN CLK DATA Micro controller VSS GND SEIKO NPC CORPORATION 15

Please pay your attention to the following points at time of using the products shown in this document. The products shown in this document (hereinafter Products ) are not intended to be used for the apparatus that exerts harmful influence on human lives due to the defects, failure or malfunction of the Products. Customers are requested to obtain prior written agreement for such use from SEIKO NPC CORPORATION (hereinafter NPC ). Customers shall be solely responsible for, and indemnify and hold NPC free and harmless from, any and all claims, damages, losses, expenses or lawsuits, due to such use without such agreement. NPC reserves the right to change the specifications of the Products in order to improve the characteristic or reliability thereof. NPC makes no claim or warranty that the contents described in this document dose not infringe any intellectual property right or other similar right owned by third parties. Therefore, NPC shall not be responsible for such problems, even if the use is in accordance with the descriptions provided in this document. Any descriptions including applications, circuits, and the parameters of the Products in this document are for reference to use the Products, and shall not be guaranteed free from defect, inapplicability to the design for the mass-production products without further testing or modification. Customers are requested not to export or re-export, directly or indirectly, the Products to any country or any entity not in compliance with or in violation of the national export administration laws, treaties, orders and regulations. Customers are requested appropriately take steps to obtain required permissions or approvals from appropriate government agencies. SEIKO NPC CORPORATION 1-9-9, Hatchobori, Chuo-ku, Tokyo 104-0032, Japan Telephone: +81-3-5541-6501 Facsimile: +81-3-5541-6510 http://www.npc.co.jp/ Email: sales@npc.co.jp NC9619EE 2006.04 SEIKO NPC CORPORATION 16