s-35399a02 Seiko Instruments Inc., s-35399a02 Datasheet

no-image

s-35399a02

Manufacturer Part Number
s-35399a02
Description
2-wire Real-time Clock
Manufacturer
Seiko Instruments Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s-35399a02-HRT1
Manufacturer:
SEIKO
Quantity:
20 000
Part Number:
s-35399a02-HRT1
Manufacturer:
SEIKO
Quantity:
7 653
Rev.1.0
2-WIRE REAL-TIME CLOCK
Features
• Low current consumption :
• Wide range of operating voltage :
• 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
• Built-in alarm interrupter
• Built-in flag generator during detection of low power voltage or at power-on
• Auto calendar up to the year 2099, automatic leap year calculation function
• Built-in constant voltage circuit
• Built-in 32.768 kHz crystal oscillator (C
• Package : WLP-12A
• Lead-free product
Applications
• Mobile game devices
• Mobile AV devices
• Digital still cameras
• Digital video cameras
• Electronic power meters
• DVD recorders
• TVs, VCRs
• Mobile phones, PHS
• Car navigation
Package
WLP-12A
Package Name
_00
2
C-bus) CPU interface
The S-35399A02 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 0.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 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 60 sec from
power-on so that users are able to grasp the elapsed time from power-on up to 30 years.
HA012-A
Package
d
built in, C
Seiko Instruments Inc.
0.34 µA typ. (V
1.3 to 5.5 V
g
external)
DD
= 3.0 V, Ta = 25°C)
Drawing Code
HA012-A
Tape
S-35399A02
HA012-A
Reel
1

Related parts for s-35399a02

s-35399a02 Summary of contents

Page 1

... REAL-TIME CLOCK The S-35399A02 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 that this IC can be used for various power supplies from main supply to backup battery. Due to the 0.34 µ ...

Page 2

... REAL-TIME CLOCK S-35399A02 Pin Configuration Marking Specifications List of Pin Pin No. Symbol A1 VSS GND pin B1 XIN Connection pin for crystal oscillator C1 XOUT Power supply pin for FOUT D1 VDDL output A2 SDA I/O pin for serial data B2 CTRL Control pin for F32K output C2 Output pin for interrupt signal ...

Page 3

... This pin is for positive power supply for the FOUT pin’s output. Set the value of voltage to be applied as V • VSS pin Connect this VSS pin to GND. 2 C-bus interface. This pin inputs/outputs data by synchronizing with a clock pulse 2 C-bus interface. The SDA pin inputs/outputs data by synchronizing with the clock Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A02 ≤ V DDL . DD 3 ...

Page 4

... REAL-TIME CLOCK S-35399A02 Equivalent Circuits of I/O Pin SDA Figure 3 SDA Pin INT1, INT2, F32K Figure 5 INT1 Pin, INT Figure 7 FOUT Pin and VDDL Pin 4 CTRL 2 Pin, F32K Pin VDDL FOUT Seiko Instruments Inc. SCL Figure 4 SCL Pin Figure 6 CTRL Pin Rev.1.0 ...

Page 5

... Day week Real-time data register Comparator 2 Alarm expansion register 2 INT2 register INT2 controller Shift register Power-on detector Figure 8 Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A02 32.768 kHz controller register 1 Month Year Serial interface CTRL F32K VDDL FOUT INT1 INT2 SDA SCL ...

Page 6

... REAL-TIME CLOCK S-35399A02 Absolute Maximum Ratings Parameter Power supply voltage 1 V Power supply voltage 2 V Input voltage V Output voltage 1 V Output voltage 2 V Operating ambient T *1 temperature Storage temperature T *1. Conditions with no condensation or frost. Condensation and frost cause short circuiting between pins, resulting in a malfunction ...

Page 7

... V − DD − 0.3 − 0 − − 1.5 0.65 1 S-35399A02 Max. Unit 0.97 µ A µ A 1.47 µ µ A 0.5 µ A 0.5 µ 300 µ A − µ A 0.5 µ A µ 0.2 × − ...

Page 8

... REAL-TIME CLOCK S-35399A02 (Ta = −40 to +85°C, V Parameter Symbol Current I DD1 consumption 1 Current I DD2 consumption 2 Current I DD3 consumption 3 Input current I IZH leakage 1 Input current I IZL leakage 2 Input current 1 I IH1 Input current 2 I IH2 Input current 3 I IH3 Output current I OZH ...

Page 9

... SU.STO SU.DAT S-35399A02 kΩ 100 pF Unit Max. 400 kHz − µs − µs µs 0.9 µs − µs − − ns µs − − µs µs 0.3 µ ...

Page 10

... Configuration of Data Communication 1. Configuration of data Communication For data communication, the master device in the system generates a start condition for the S-35399A02. Next, the master device transmits 4-bit device code “0110” or “0111”, and 3-bit command and 1-bit Read/Write command to the SDA bus. After that, output or input is performed from B7 of data. If data I/O has been completed, finish communication by inputting a stop condition to the S-35399A02. The master device generates an acknowledgment signal for every 1-byte. Regarding details, refer to “ ...

Page 11

... Rev.1.0 _00 2. Configuration of command 13 types of command are available for the S-35399A02, The S-35399A02 does Read/Write the various registers by inputting these codes and commands. The S-35399A02 does not perform any operation with any codes and commands other than those below. Command Code ...

Page 12

... REAL-TIME CLOCK S-35399A02 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 B7, month, day, day of the week, hour, minute, second in B0, in 7-byte ...

Page 13

... Second data (00 to 59): s1, s2, s4, s8, s10, s20, s40 Example: 19 seconds (s1, s2, s4, s8, s10, s20, s40 ( bit 24-hour expression, users can Write either (H1, H2, H4, H8, H10, H20, AM/PM ( Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A02 13 ...

Page 14

... REAL-TIME CLOCK S-35399A02 2. Status register 1 Status register 1-byte register that is used to display and set various modes. The bit configuration is shown below RESET R POC This flag is used to confirm whether the power is on. The power-on detector operates at power-on and B0 is set to “1”. ...

Page 15

... Output of user-set frequency 1 0 Per-minute edge interrupt 1 1 Minute-periodical interrupt 1 (50% duty Alarm 1 interrupt 1 1 Minute-periodical interrupt − − 32.768 kHz output Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A02 INT2ME INT2AE TEST R/W R/W R/W R/W: Read/Write INT 2 Pin Pin Output Mode INT 2 INT 1 ...

Page 16

... REAL-TIME CLOCK S-35399A02 4. INT1 register and INT2 register The INT1 and INT2 registers are to set up the output of user-set frequency 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 ...

Page 17

... Figure 18 Example of output from INT1 register (Data register for output frequency R/W R/W R/W Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A02 SC2 SC3 SC4 R/W: Read/Write SC5 SC6 SC7 R/W R/W R/W R/W: Read/Write ...

Page 18

... REAL-TIME CLOCK S-35399A02 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 “00h”. Regarding the register values, refer to “ Function to Clock-Correction” R/W R/W 6. Free register The free register is a 1-byte SRAM type register that can be set freely by users ...

Page 19

... Count Value Read data in register 000001h 000002h • • • EFFFFFh • • • FFFFFFh Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK C2M C4M C16k B0 C32 C64 C128 B0 000080h 000040h • • • F7FFFFh • • • FFFFFFh S-35399A02 19 ...

Page 20

... REAL-TIME CLOCK S-35399A02 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 “ ...

Page 21

... A1YE A1ME A1DE − − Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A02 Y10 Y20 Y40 Y80 M10 0 A2YE A2ME D10 D20 A2DE B0 21 ...

Page 22

... REAL-TIME CLOCK S-35399A02 Power-on Detector and Register Status The power-on detection circuit operates by power-on the S-35399A02 result each register is cleared; each register is set as follows. Real-time data register : Status register 1 : Status register 2 : INT1 register : INT2 register : Clock correction register : Free register : ...

Page 23

... SDA Code + command : Output from S-35399A02 : Input from master device 00 (Y), 01 (M), 01 (D), 0 (day of the week), 00 (H), 00 (M), 00 (S) “ b” (In B6, B5, B4, the data of B6, B5 the status register 1 at initialization is set. Refer to Figure 27 .) “ ...

Page 24

... S-35399A02 Low Power Supply Voltage Detection Circuit The S-35399A02 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. 0.15 V (Typ.) between detection voltage and release voltage (refer to “ ...

Page 25

... Rev.1.0 _00 Correction of Nonexistent Data and End-of-Month When users write the real-time data, the S-35399A02 checks it. In case that the data is invalid, the S-35399A02 does the following procedures. 1. Processing of nonexistent data Register Year data Month data Day data Day of week data ...

Page 26

... REAL-TIME CLOCK S-35399A02 INT 1 INT 2 Pin Output Modes , These are selectable for the output mode for 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 “ ...

Page 27

... Figure 31 Alarm Interrupt Output Timing (2/2) Figure 32 Output Timing of User-set Frequency Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK Mx Yx Alarm interrupt Year Change by program *1 Alarm time matches *2 OFF INT / 1 INT 2 pin by setting INT1AE/INT2AE Change by program OFF S-35399A02 ( ...

Page 28

... REAL-TIME CLOCK S-35399A02 3. Per-minute edge interrupt output Per-minute edge interrupt output is the function to output “L” from the 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 ...

Page 29

... Real-time data reading read command data reading Minute-carry processing Second data of writing: "50" s The output period is shorter. Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A02 pin output mode) INT 1 pin, synchronizing with Minute-carry processing 7 Minute-carry processing 7 Minute-carry processing 7 ...

Page 30

... The function to clock-correction is to correct advance/delay of the clock due to the deviation of oscillation frequency, in order to make a high precise clock. For correction, the S-35399A02 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 20 seconds (or 60 seconds). The minimum resolution is approx. 3 ppm (or approx. 1 ppm) and the S-35399A02 corrects in the range of − ...

Page 31

... Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A02 − (Target oscillation frequency *2 ) × (Minimum resolution *2 ) INT 2 pin. )   − (Current oscillation frequency actual measurement value) × (Minimum resolution) ...

Page 32

... REAL-TIME CLOCK S-35399A02 2. Setting value for register and correction value Table 15 Setting Value for Register and Correction Value (Minimum Resolution: 3.052 ppm ( Table 16 Setting Value for Register and Correction Value (Minimum Resolution: 1.017 ppm (B0 = 1)) ...

Page 33

... How to confirm setting value for register and result of correction The S-35399A02 does not adjust the frequency of the crystal oscillation by using the clock-correction function. Therefore users cannot confirm corrected or not by measuring output 32.768 kHz. When the function to clock-correction is being used, the cycle clock pulse output from the Figure 37 ...

Page 34

... REAL-TIME CLOCK S-35399A02 32.768 kHz Output Pins The S-35399A02 outputs a 32.768 kHz clock pulse from the kHz from these three pins simultaneously because stability of the crystal oscillator is affected. When using the function to clock-correction or adjusting the oscillation frequency, measure the oscillation frequency under the usage conditions ...

Page 35

... SDA line. After that, the S-35399A02 sends an acknowledgment signal back, and set the SDA line to “L” at the 9-bit clock pulse. The S-35399A02 does not output an acknowledgment signal is that the access is not being done regularly. ...

Page 36

... Read-data mode by the Read/Write bit “1”. The data is output from B7 in 1-byte. Input an acknowledgment signal from the master device every moment that the S-35399A02 outputs 1-byte data. However, do not input an acknowledgment signal (input NO_ACK) for the last data-byte output from the master device. This procedure notifies the completion of Read ...

Page 37

... After detecting a start condition, S-35399A02 receives device code and command. The S-35399A02 enters the Write-data mode by the Read/Write bit “0”. Input data from 1-byte. The S-35399A02 outputs an acknowledgment signal (“L”) every moment that 1-byte data is input. After receiving the acknowledgment signal which is for the last byte-data, input a stop condition to the S-35399A02 to finish access ...

Page 38

... Real-time data 2 access SCL 0 SDA I/O mode switching *1. Set NO_ACK = 1 in Read. *2. Transmit ACK = 0 from the master device to the S-35399A02 in Read. (3) Status register 1 access and status register 2 access SCL SDA * Status register 1 selected Status register 2 selected *2. Set NO_ACK = 1 in Read. Figure 48 Status Register 1 Access and Status Register 2 Access ...

Page 39

... SDA I/O mode switching * INT1 register selected INT2 register selected in Read *2. Set NO_ACK = 1 *3. Transmit ACK = 0 from the master device to the S-35399A02 Figure 49 INT1 Register Access and INT2 Register Access SCL SDA I/O mode switching * INT1 register selected INT2 register selected in Read *2 ...

Page 40

... REAL-TIME CLOCK S-35399A02 (5) Clock-correction register access SCL SDA *1. Set NO_ACK = 1 (6) Free register access SCL SDA *1. Set NO_ACK = 1 (7) Up counter access Access to the up counter is Read-only. Users cannot Write in this counter with Write operation. 1 SCL SDA Code + command I/O mode switching ...

Page 41

... SCL SDA Code + command I/O mode switching * Alarm expansion register 1 access Alarm expansion register 2 access *2. Transmit ACK = 0 from the master device to the S-35399A02 in Read. *3. Set NO_ACK = 1 in Read. Figure 55 Alarm Expansion Register 1 Access and Alarm Expansion Register 2 Access ...

Page 42

... During this, release the SDA line for the master device. By this procedure, SDA I/O before interruption is finished, so that the SDA line in the S-35399A02 is released. After that, inputting a stop condition resets the internal circuit so that restore the regular communication. This reset procedure is recommended to perform at initialization of the system after rising the master device’ ...

Page 43

... Set 24-hour/12-hour Read status register 1 Confirm data in status register 1 OK Set real-time data 1 Read real-time data 1 Read status register 2 TEST = 0 YES END Figure 57 Example of Initialization Flowchart Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A02 Initialization after power-on Example of real-time data setting 43 ...

Page 44

... Because the I/O pin has no protective diode on the VDD side, the relation of V But pay careful attention to the specifications. 2. Start communication under stable condition after power-on the power supply in the system. VDDL VDD S-35399A02 VSS XIN C Caution Start communication under stable condition after power-on the power supply in the system. ...

Page 45

... Increase the insulation resistance between pins and the substrate wiring patterns of XIN and XOUT. (3) Do not place any signal or power lines close to the oscillator. (4) Locating the GND layer immediately below the oscillator is recommended. (5) Locate the bypass capacitor adjacent to the power supply pin of the S-35399A02. Parasitic capacitance C Crystal oscillator: 32.768 kHz * ...

Page 46

... REAL-TIME CLOCK S-35399A02 2. Measurement of oscillation frequency When the S-35399A02 is turned on, the internal power-on detector operates and a signal output from the pin to select the crystal oscillator and optimize the C counter following the circuit configuration shown in Figure signal is not output, the power-on detector does not operate normally. Turn off the power and then turn it on again. For how to apply power, refer to “ ...

Page 47

... R L Figure 63 Crystal Oscillator Setting Flow Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK value in accordance with the flowchart below. Set to center of variable *3 capacitance NO Frequency YES Make fine adjustment of frequency using variable capacitance value (equivalent serial resistance S-35399A02 g 47 ...

Page 48

... REAL-TIME CLOCK S-35399A02 Product Name Structure S-35399A02 - HRT1 Precautions • Although the IC contains a static electricity protection circuit, static electricity or voltage that exceeds the limit of the protection circuit should not be applied. • Seiko Instruments Inc. assumes no responsibility for the way in which this IC is used in products created using this IC or for the specifications of that product, nor does Seiko Instruments Inc ...

Page 49

... 1.0 0.9 0.8 0.7 0.6 I DD1 0 5 [µA] 0.4 0.3 0.2 0.1 0 −40 − [°C] characteristics ° pF 5.1 pF (reference ∆f/f 0 [ppm 3 −20 −40 − [pF] g S-35399A02 = ...

Page 50

... REAL-TIME CLOCK S-35399A02 (7) Oscillation frequency vs ° pF ∆f/f 0 [ppm] −10 −20 −30 −40 − (9) Oscillation start time vs. Temperature characteristics (XOUT PIN MONITORED) 500 450 400 350 300 t STA 250 [ms] 200 V DD 150 ...

Page 51

... CTRL pin ° 5 3 [V] IN Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK release voltage, time keeping power supply voltage (Min) vs. Temperature characteristics 1.4 Release voltage 1.2 1.0 Detection voltage 0 [V] 0.6 0.4 0.2 0 −40 − [°C] S-35399A02 = 5 (Min) DDT ...

Page 52

...

Page 53

...

Page 54

...

Page 55

... Use of the information described herein for other purposes and/or reproduction or copying without the express permission of Seiko Instruments Inc. is strictly prohibited. The products described herein cannot be used as part of any device or equipment affecting the human body, such as exercise equipment, medical equipment, security systems, gas equipment, or any apparatus installed in airplanes and other vehicles, without prior written permission of Seiko Instruments Inc ...

Related keywords