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

no-image

s-35399a03

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
s-35399a03-J8T2U
Manufacturer:
SII/精工
Quantity:
20 000
Rev.1.0
2-WIRE REAL-TIME CLOCK
Features
• Low current consumption :
• Wide range of operating voltage :
• Built-in clock-correction function
• 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 : 8-Pin SOP (JEDEC)
• 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
8-Pin SOP (JEDEC)
Package Name
_00
2
C-bus) CPU interface
The S-35399A03 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.
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.
Package
FJ008-A
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
FJ008-D
Tape
S-35399A03
FJ008-D
Reel
1

Related parts for s-35399a03

s-35399a03 Summary of contents

Page 1

... REAL-TIME CLOCK The S-35399A03 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

... SOP (JEDEC) Top view INT1 XOUT 2 6 XIN 3 5 VSS 4 Figure 1 Pin Configuration (S-35399A03-J8T2G) Table 1 I/O Nch open-drain output Output (no protective diode at VDD) − − Nch open-drain output Output (no protective diode at VDD) CMOS input Input (no protective diode at VDD) Nch open-drain output ...

Page 3

... Figure 2 SDA Pin 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 SCL INT1, INT2 Figure 4 INT1 Pin, INT2 Pin Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A03 Figure 3 SCL Pin 3 ...

Page 4

... REAL-TIME CLOCK S-35399A03 Block Diagram XIN Oscillator XOUT Divider, timing generator Clock correction register Status register 1 Status register 2 Free register 1 Free register 2 Free register 3 24-bit binary up counter Low power supply voltage VDD detector Constant- voltage circuit 4 INT1 controller Alarm expansion ...

Page 5

... DDT − L Table pF, 32.768 kHz) manufactured by Seiko Instruments Inc.) L Conditions Within 10 seconds − − 1 Applied to XIN pin Applied to XOUT pin Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A03 Rating V − − − − +85 − ...

Page 6

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

Page 7

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

Page 8

... 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-35399A03. 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-35399A03. The master device generates an acknowledgment signal for every 1-byte. Regarding details, refer to “ ...

Page 9

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

Page 10

... REAL-TIME CLOCK S-35399A03 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 11

... 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-35399A03 11 ...

Page 12

... REAL-TIME CLOCK S-35399A03 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 13

... 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-35399A03 INT2ME INT2AE TEST R/W R/W R/W R/W: Read/Write INT 2 Pin Pin Output Mode INT 2 INT 1 ...

Page 14

... REAL-TIME CLOCK S-35399A03 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 15

... Set to INT1FE or INT2FE = 1 • Figure 15 Example of output from INT1 register (Data register for output frequency R/W R/W R R/W R/W R/W Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A03 SC2 SC3 SC4 R/W R/W R/W R/W: Read/Write SC5 SC6 SC7 R/W R/W R/W R/W: Read/Write 15 ...

Page 16

... REAL-TIME CLOCK S-35399A03 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 registers These free registers are 1-byte SRAM type registers that can be set freely by users ...

Page 17

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

Page 18

... REAL-TIME CLOCK S-35399A03 8. 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 ...

Page 19

... Register Status After Initialization ”.) For the regular operation of power-on detection circuit, the period to power-up the S-35399A03 is that the voltage reaches 1.3 V within 10 ms after setting the IC’s power supply voltage When the power-on detection circuit is not working normally is ...

Page 20

... SDA Code + command : Output from S-35399A03 : Input from master device 20 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 21 .) “ ...

Page 21

... Low Power Supply Voltage Detection Circuit The S-35399A03 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 22

... REAL-TIME CLOCK S-35399A03 Correction of Nonexistent Data and End-of-Month When users write the real-time data, the S-35399A03 checks it. In case that the data is invalid, the S-35399A03 does the following procedures. 1. Processing of nonexistent data Register Year data Month data Day data ...

Page 23

... Period when alarm time matches Figure 24 Alarm Interrupt Output Timing (1/2) Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK INT 2 pin, at the alarm time which is set by user has Mx Yx Alarm interrupt Month Year Change by program *1 INT / 1 INT 2 pin by setting INT1AE/INT2AE S-35399A03 23 ...

Page 24

... REAL-TIME CLOCK S-35399A03 Alarm setting of “H (hour)” Status register 2 setting • INT1 pin output mode 32kE = 0, INT1ME = INT1FE = 0 • INT2 pin output mode INT2ME = INT2FE = 0 Real-time data (H − Change by program INT1AE/INT2AE Alarm time matches INT1 pin/INT2 pin *1. If users clear INT1AE/INT2AE once ...

Page 25

... Figure 28 Timing of Minute-periodical Interrupt Output 1 Change by program Minute-carry processing OFF Minute-carry Minute-carry processing processing Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A03 INT / 1 INT 2 pin, when the first minute-carry pin output mode, INT 2 Minute-carry processing *1 . Minute-carry Minute-carry processing ...

Page 26

... REAL-TIME CLOCK S-35399A03 5. Minute-periodical interrupt output 2 (only in the The output of minute-periodical interrupt 2 is the function to output “L”, for 7.9 ms, from the the first minute-carry processing after selecting the output mode. However, in Read in the real-time data register, the procedure delays at max. 0.5 sec thus output “L” from the data register, some delay is made in the output period due to Write timing and the second-data during Write ...

Page 27

... Rev.1.0 _00 6. Operation of power-on detection circuit (only in the When power is applied to the S-35399A03, the power-on detection operates to set “1” in the POC flag (B0 in the status register 1 clock pulse is output from the Status register 2 setting • 32kE = 0, INT1AE = INT1ME = 0 ...

Page 28

... REAL-TIME CLOCK S-35399A03 1. How to calculate (1) If current oscillation frequency > target frequency (in case the clock is fast 128 − Integral value Correction value Caution The figure range which can be corrected is that the calculated value is from 0 to 64. *1. Convert this value to be set in the clock correction register. For how to convert, refer to “ (a) Calculation example 1” ...

Page 29

... Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A03 Correction Value Rate [ppm] [s/day] 192.3 16.61 189.2 16.35 186.2 16.09 • • • • • • 6.1 0.53 3.1 0. − 3.1 − 0.26 − 6.1 − 0.53 − 9.2 − ...

Page 30

... S-35399A03 3. How to confirm setting value for register and result of correction The S-35399A03 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 31 ...

Page 31

... A clock pulse is 60 seconds or more. Write real-time second data: 50 seconds 000001 h 000010 h A clock pulse is 60 seconds or less. Figure 32 Timing Chart of 24-Bit Binary Up Counter Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A03 FFFFFF h 000000 h 000001 h OFF 31 ...

Page 32

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

Page 33

... 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-35399A03 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 34

... After detecting a start condition, S-35399A03 receives device code and command. The S-35399A03 enters the Write-data mode by the Read/Write bit “0”. Input data from 1-byte. The S-35399A03 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-35399A03 to finish access ...

Page 35

... 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-35399A03 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 41 Status Register 1 Access and Status Register 2 Access ...

Page 36

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

Page 37

... Free register data I/O mode switching Figure 45 Free Register 1 Access 9 18 Read only Count data I/O mode switching Figure 46 Up Counter Access Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK 18 B0 I/O mode switching 18 B0 I/O mode switching Count data S-35399A03 36 37 ...

Page 38

... SCL 0 1 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-35399A03 in Read. *3. Set NO_ACK = 1 in Read. Figure 48 Alarm Expansion Register 1 Access and Alarm Expansion Register 2 Access R ...

Page 39

... S-35399A03 does not operate the next procedure because the internal circuit keeps the state prior to interruption. The S-35399A03 does not have a reset pin so that users usually reset its internal circuit by inputting a stop condition. However, if the SDA line is outputting “L” (during output of acknowledgment signal or Read), the S-35399A03 does not accept a stop condition from the master device ...

Page 40

... REAL-TIME CLOCK S-35399A03 Flowchart of Initialization at Power-on and Example of Real-time Data Set-up Figure 50 shows the flowchart of initialization at power-on and an example of real-time data set-up. Regarding how to apply power, refer to “ Power-on Detection Circuit and Register Status” unnecessary for users to comply with this flowchart of real-time data strictly ...

Page 41

... INT2 SDA SCL Figure 51 Application Circuit 1 10 kΩ INT1 10 kΩ INT2 SDA SCL Figure 52 Application Circuit 2 Seiko Instruments Inc. 2-WIRE REAL-TIME CLOCK S-35399A03 V CC System power supply VCC CPU VSS ≥ possible System power supply VCC ...

Page 42

... 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-35399A03. Parasitic capacitance C Crystal oscillator: 32.768 kHz * ...

Page 43

... Rev.1.0 _00 2. Measurement of oscillation frequency When the S-35399A03 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 44

... REAL-TIME CLOCK S-35399A03 3. Adjustment of oscillation frequency (1) Adjustment by setting C Matching of the crystal oscillator with the nominal frequency must be performed with the stray capacitance on the board included. Select a crystal oscillator and optimize the C Fixed capacitor Request a crystal manufacturer for matching evaluation between the IC and a crystal. The recommended crystal characteristic values are Ω ...

Page 45

... Rev.1.0 _00 Product Name Structure S-35399A03 - J8T2 G 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 46

... REAL-TIME CLOCK S-35399A03 Characteristics (Typical Data) (1) Current consumption 1 (current consumption out of communication) vs. V characteristics ° 1.0 0.8 0.6 I DD1 [µA] 0.4 0 (3) Current consumption 3 (current consumption during communication) vs. Input clock characteristics ° 5 DD3 [µ ...

Page 47

... OUT release voltage, and time keeping power supply voltage (Min) vs. Temperature characteristics pF 1.4 Release voltage 1.2 1.0 Detection voltage 0 [V] 0.6 0.4 0.2 0 −40 − [°C] S-35399A03 OUT OL1 pin ° 5 5 (Min) DDT 50 75 ...

Page 48

...

Page 49

...

Page 50

...

Page 51

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