NPC SM8577B

SM8577B
Real-time Clock IC
NIPPON PRECISION CIRCUITS INC.
OVERVIEW
PINOUT
■
■
■
■
■
■
■
■
CLK
5
4
VDD
XTN
XT
VSS
PACKAGE DIMENSIONS
Unit: mm
8-pin SOP
+ 0.10
0.15− 0.05
4.4 0.2
4.4 0.2
6.2 0.3
■
2.5 to 5.5 V operating voltage range
1.0 µA at 3.0 V (typ) current consumption
3-line serial interface
1.7 ± 0.3 V supply voltage detection threshold
Timer counters for second, minute, hour, day, day
of the week, month, and year
Automatic leap-year calendar adjustment
32.768 kHz and 1 Hz output interrupt selectable
Crystal oscillator circuit built-in (CD built-in)
24-hour time mode
8-pin SOP
8
1
DATA
FOUT
FEATURES
■
CE
8577B
The SM8577B is a CMOS serial-interface type realtime clock IC that operates at 32.768 kHz. It
employs a 3-line serial interface to transfer time and
date data. It incorporates a supply-voltage detect
function to determine data validity/invalidity. It
features an output interrupt with 32 kHz or 1 Hz
output frequency. It is available in 8-pin SOPs.
5.2 0.3
0 to 10∞
Package
SM8577BS
8pin SOP
0.4 0.1
1.5 0.1
1.27
Device
0.05 0.05
ORDERING INFOMATION
NIPPON PRECISION CIRCUITS—1
SM8577B
BLOCK DIAGRAM
VDD
XT
OSC
XTN
VSS
Divider
Timer Counter
Output
Controller
FOUT
Shift Register
Voltage
Detect
DATA
CLK
CE
Controll
Circuit
I/O
Controller
PIN DESCRIPTION
Number
Name
I/O
Description
1
CE
I
2
DATA
I/O
3
CLK
I
Serial clock input.
Data is input (write mode) and output (read mode) on the rising edge of CLK.
Chip enable. With pull-down resistor built-in.
HIGH: Enable
LOW: DATA goes high impedance; input on CLK and DATA stops; and the TM bit is cleared.
Data read and write input/output
4
FOUT
O
Frequency output (controlled by the 4th data bit of the ‘week’ data, FSEL).
1 Hz output when FSEL is 0, and 32.768 kHz output when FSEL is 1.
In 1 Hz output mode, the 1 Hz signal is synchronized to the internal 1 second signal.
FOUT output is not affected by the CE signal.
5
VSS
–
Ground
6
XT
I
Crystal oscillator element connection pin
7
XTN
O
Crystal oscillator element connection pin. Oscillator capacitor CD is built-in.
8
VDD
–
Supply voltage.
Connect a ≥ 0.1 µF capacitor between VDD and VSS.
NIPPON PRECISION CIRCUITS—2
SM8577B
SPECIFICATIONS
Absolute Maximum Ratings
VSS = 0 V
P arameter
Symbol
Condition
Rating
Unit
Supply voltage range
V DD
−0.3 to 7.0
V
Input voltage range
V IN
V SS − 0.3 to V DD + 0.3
V
VOUT
V SS − 0.3 to V DD + 0.3
V
Storage temperature range
Tstg
−55 to 125
°C
Power dissipation
PD
150
mW
Soldering temperature
Tsld
255
°C
Soldering time
tsld
10
s
Rating
Unit
Output voltage range
Recommended Operating Conditions
VSS = 0 V
P arameter
Symbol
Condition
Supply voltage range
V DD
2.5 to 5.5
V
Operating temperature range
Topr
−40 to 85
°C
Oscillator Characteristics
VSS = 0 V, Ta = 25 °C, CG = 12 pF, Seiko Epson C-002SH crystal (CI = 30 kΩ, CL = 6 pF) unless otherwise
noted
Rating
P arameter
Symbol
Condition
V DD = 2.5 V
Unit
min
typ
max
–
–
3
s
Oscillator start time
tSTA
Oscillator start voltage
VSTA
1.5
–
–
V
Oscillator stop voltage
V STO
–
–
1.5
V
Frequency voltage characteristic
f/V
V DD = 2.0 to 5.5 V
−2
–
+2
ppm/V
Frequency accuracy
ε
V DD = 5.0 V
−10
–
+10
ppm
Output capacitance
CD
V DD = 5.0 V
–
12
–
pF
NIPPON PRECISION CIRCUITS—3
SM8577B
DC Electrical Characteristics
VSS = 0 V, VDD = 5.0 V ± 10%, Ta = −40 to 85 °C unless otherwise noted
Rating
P arameter
Symbol
Condition
Unit
min
typ
max
–
1.5
3.0
µA
–
1.0
2.0
µA
IDD1
V DD = 5.0 V
IDD2
V DD = 3.0 V
HIGH-level input voltage
V IH
CE, CLK, DATA
0.8VDD
–
–
V
LOW-level input voltage
V IL
CE, CLK, DATA
–
–
0.2VDD
V
Input resistance
R IN
CE: V IN = 5.0 V
–
–
800
kΩ
Input OFF leakage current
Ileak
CLK: V IN = V DD or V SS
CE: V IN = V SS
–
–
0.5
µA
DATA, FOUT:
IOH = −1.0 mA
4.5
–
–
V
2.0
–
–
V
DATA, FOUT:
IOL = 1.0 mA
–
–
V SS + 0.5
V
–
–
V SS + 0.8
V
Current consumption
HIGH-level output voltage
LOW-level output voltage
Output leakage current
Supply voltage detect threshold
voltage
CE = V SS
VOH1
V DD = 5.0 V
VOH2
V DD = 3.0 V
VOL1
V DD = 5.0 V
VOL2
V DD = 3.0 V
IOZH
DATA, FOUT: VOUT = 5.5 V
−1.0
–
1.0
µA
IOZL
DATA, FOUT: VOUT = 0 V
−1.0
–
1.0
µA
1.4
1.7
2.0
V
V DET
NIPPON PRECISION CIRCUITS—4
SM8577B
AC Characteristics
VDD = 5 V ± 10%, VSS = 0 V, Ta = −40 to 85 °C, CL = 50 pF unless otherwise noted
Rating
P arameter
Symbol
Condition
Unit
min
max
min
CLK clock period
tCLK
0.75
–
7800
µs
CLK LOW-level pulsewidth
tCLKL
0.375
–
3900
µs
CLK HIGH-level pulsewidth
tCLKH
0.375
–
3900
µs
CE setup time
tCES
0.375
–
3900
µs
CE hold time
tCEH
0.375
–
–
µs
CE enable time
tCE
–
–
0.9
s
Write data setup time
tSD
0.1
–
–
µs
Write data hold time
tHD
0.1
–
–
µs
tDATD
–
–
0.2
µs
–
–
0.1
µs
DATA output delay time
DATA output floating time
tDZ
Clock rise time
tr1
–
–
50
ns
Clock fall time
tf1
–
–
50
ns
FOUT rise time
tr2
C L = 30 pF
–
–
100
ns
FOUT fall time
tf2
C L = 30 pF
–
–
100
ns
C L = 30 pF, 32 kHz output
40
–
60
%
0.95
–
–
µs
FOUT duty cycle
Duty
Wait time
tRCV
See measurement circuit.
VDD = 3 V ± 10%, VSS = 0 V, Ta = −40 to 85 °C, CL = 50 pF unless otherwise noted
Rating
P arameter
Symbol
Condition
Unit
min
max
min
CLK clock period
tCLK
1.5
–
7800
µs
CLK LOW-level pulsewidth
tCLKL
0.75
–
3900
µs
CLK HIGH-level pulsewidth
tCLKH
0.75
–
3900
µs
CE setup time
tCES
0.75
–
3900
µs
CE hold time
tCEH
0.75
–
–
µs
CE enable time
tCE
–
–
0.9
s
Write data setup time
tSD
0.2
–
–
µs
Write data hold time
tHD
0.1
–
–
µs
tDATD
–
–
0.4
µs
–
–
0.2
µs
DATA output delay time
DATA output floating time
tDZ
Clock rise time
tr1
–
–
100
ns
Clock fall time
tf1
–
–
100
ns
FOUT rise time
tr2
C L = 30 pF
–
–
200
ns
FOUT fall time
tf2
C L = 30 pF
–
–
200
ns
C L = 30 pF, 32 kHz output
40
–
60
%
1.9
–
–
µs
FOUT duty cycle
Duty
Wait time
tRCV
See measurement circuit.
NIPPON PRECISION CIRCUITS—5
SM8577B
Measurement Circuit
SW2
10kΩ
VDD
DATA
Output
10kΩ
SW1
VSS
50pF
CE
P.G
DATA Output Floating Timing
tDHZ
CE
50%
90%
DATE
tDLZ
CE
DATA
50%
10%
NIPPON PRECISION CIRCUITS—6
SM8577B
Timing Diagrams
Data read
tCE
CE
tCES
tCEH
tCLK
tRCV
CLK
tCLKH tCLKL
tf1
tr1
tDZ
DATA
tDATD
Data write
tCE
CE
tCES
tCLK
tCEH tRCV
tr1
tf1
CLK
tsD
tCLKH tCLKL
tHD
DATA
FOUT output
tH
tr2
90%
FOUT
50%
10%
tr2
t
Duty= ttH X 100(%)
Note that the 1 Hz and 32 kHz oscillators are not
synchronized to each other, so switching between 1
Hz and 32 kHz output temporarily shortens the duty
cycle. Accordingly, a wait time (≥ output frequency
period) should be incorporated when switching
during normal operation.
NIPPON PRECISION CIRCUITS—7
SM8577B
FUNCTIONAL DESCRIPTION
Timer Data Configuration
Counter data is stored in BCD format. The IC
performs long/short month and leap-year adjustment
automatically. Leap-year adjustment occurs:
• when the decade digit is odd and the year digit
is a 2 or 6, and
• when the decade digit is even and the year digit
is a 0, 4 or 8.
The time display is 24-hour mode. All data is written
and read with the LSB first.
MSB
LSB
Second ( 0 to 59 )
FDT
s40
s20
s10
s8
s4
s2
s1
Minute ( 0 to 59 )
∗
mi40
mi20
mi10
mi8
mi4
mi2
mi1
Hour ( 0 to 23 )
∗
∗
h20
h10
h8
h4
h2
h1
FSEL
W4
W2
W1
Week ( 1 to 7 )
Day ( 1 to 31 )
∗
∗
d20
d10
d8
d4
d2
d1
Month ( 1 to 12 )
TM
∗
∗
mo10
mo8
mo4
mo2
mo1
Year ( 0 to 99 )
y80
y40
y20
y10
y8
y4
y2
y1
* bits are don’t care write bits.
FDT is the supply voltage detect bit. FDT is set to 1
when the voltage between VDD and VSS falls below
1.7 ± 0.3 V. It is reset to 0 for data reads longer than
56 bits. Note that the FDT bit is not reset to 0 for
data reads of 55 bits or less. The read/write data bits
should initially be set to 0. After the supply voltage is
first applied, the FDT bit should also be set to 0.
FSEL is the FOUT output frequency switch control
bit. 1 Hz output is selected when FSEL is 0, and 32
kHz output is selected when FSEL is 1. After power
is first applied, 1 Hz default mode is selected.
TM is the factory test bit. It should be set to 0 for
normal use.
NIPPON PRECISION CIRCUITS—8
SM8577B
Data Read
CE
1
2
3
8
10
9
11
58
59
60
60+n
CLK
Output data
not change
DATA
Don't Care
s1
s2
s4
y40
y20
Second
Control Bits
Data Input Mode
y80
Year
Data Output Mode
When CE is HIGH, data read mode starts from the
first rising edge of CLK for which DATA is LOW.
Valid data is then output on DATA from the 9th
rising edge of CLK. Time and date data is loaded
into the shift register on the 8th falling edge of CLK
and then output on DATA in sync with the rising
edge of CLK, starting with the seconds’ digit LSB.
Data is loaded and shifted in the sequence second,
minute, hour, week, day, and month. The output data
is valid for the first 60 rising edges of CLK. Output
data does not change after the 60th rising edge, even
if clock input continues.
corresponding number of cycles. For example, if
only the ‘second’ to ‘week’ data output is required,
then that data only is output if CE goes LOW after 36
clock cycles.
For continuous data reads, a wait time (tRCV) is
required before the next data cycle after CE goes
LOW.
Within the 60 cycles of valid data output, partial data
output can be obtained by taking CE LOW after the
The data read cycle should be completed within
tCE ≤ 0.9 s.
Note that if a timer counter update operation (a 1 s
carry) occurs during a data read cycle, the data in the
shift register is not updated and, as a result, the
output data contains an error of −1 s.
Data Write
CE
1
2
3
8
9
10
11
58
59
60
60+n
CLK
DATA
Don′t Care
Control Bits
Data Input Mode
s1
s2
s4
Second
y20
y40
y80
Year
Data Input Mode
NIPPON PRECISION CIRCUITS—9
SM8577B
When CE is HIGH, data write mode starts from the
first rising edge of CLK for which DATA is HIGH.
Valid data is then input on DATA from the 9th rising
edge of CLK. Time and date data is loaded into the
shift register in sync with the rising edge of CLK,
starting with the seconds’ digit LSB. Data is loaded
and shifted in the sequence second, minute, hour,
week, day, and month. After 60 rising edges of CLK,
the shift register contents are then transferred to the
timer counters.
Note that a data write cycle must contain 60 bits of
input data. If CE goes LOW before 60 bits are input,
the input data is invalid. If the input data exceeds 60
bits, data from the 61st bit is ignored (the first 60 bits
remain valid).
During a data write cycle, timer counter operation
stops on the first falling edge of CLK, and the 1 Hz
to 128 Hz frequency divider step counters are reset.
The 1 s counter increment signal is stopped and does
not restart until CE goes LOW. The divider step
counters are reset during the interval between the
first falling edge of CLK and the 2nd rising edge of
CLK.
The data write cycle should be completed within
tCE ≤ 0.9 s.
If a data read cycle occurs immediately after a data
write cycle, a wait time (tRCV) is required after CE
goes LOW.
Note that activating a read cycle when no valid data
is present will cause incorrect operation. All bits
must be valid data bits.
Supply Voltage Detection
The supply voltage detector tests the level of the
supply voltage once every 0.5 seconds. If the supply
voltage falls below the detector threshold, the FDT
bit is set to 1. The FDT bit is reset to 0 after a data
VDD
read cycle that contains at least 56 data bits. The
FDT bit is not reset for data read cycles of 55 bits or
less.
VDET
0.5 second
0.5 second
Detected Pulse
CE
(READ MODE)
FDT bit
NIPPON PRECISION CIRCUITS INC. reserves the right to make changes to the products described in this data sheet in order to
improve the design or performance and to supply the best possible products. Nippon Precision Circuits Inc. assumes no responsibility for
the use of any circuits shown in this data sheet, conveys no license under any patent or other rights, and makes no claim that the circuits
are free from patent infringement. Applications for any devices shown in this data sheet are for illustration only and Nippon Precision
Circuits Inc. makes no claim or warranty that such applications will be suitable for the use specified without further testing or modification.
The products described in this data sheet are not intended to use for the apparatus which influence human lives due to the failure or
malfunction of the products. Customers are requested to comply with applicable laws and regulations in effect now and hereinafter,
including compliance with export controls on the distribution or dissemination of the products. Customers shall not export, directly or
indirectly, any products without first obtaining required licenses and approvals from appropriate government agencies.
NIPPON PRECISION CIRCUITS INC.
NIPPON PRECISION CIRCUITS INC.
4-3, Fukuzumi 2 chome
Koto-ku, Tokyo 135-8430, Japan
Telephone: 03-3642-6661
Facsimile: 03-3642-6698
NC9617AE
1997.04
NIPPON PRECISION CIRCUITS—10