1 of 17
050200
FEATURES
Provides Real Time Clock:
-
Counts seconds, minutes, hours, date of
the month, month, day of the week, and
year with leap year compensation valid up
to 2100
-
Power control circuitry supports system
power on from day/time alarm
Microprocessor monitor:
-
Halts microprocessor during powerfail
-
Automatically restarts microprocessor
after power failure
-
Monitors pushbutton for external
override
-
Halts and resets an out of control
microprocessor
=NV RAM control:
-
Automatic battery backup and write
protection to external SRAM
3channel, 8bit analogtodigital converter
Simple 3wire interface
+5.0V operation
=1.25V threshold detector for powerfail
warning
PIN ASSIGNMENT
ORDERING INFORMATION
DS1677E 20Pin TSSOP
DESCRIPTION
The Portable System Controller is a circuit which incorporates many of the functions necessary for low
power portable products integrated into one chip. The DS1677 provides a Real Time Clock, NV RAM
controller, micro-processor monitor, powerfail warning, and a 3channel, 8bit analogtodigital
converter. Communication with the DS1677 is established through a simple 3wire interface.
The Real Time Clock (RTC) provides seconds, minutes, hours, day, date, month, and year information
with leap year compensation. The RTC also provides an alarm interrupt. This interrupt works when the
DS1677 is powered by the system power supply or when in battery backup operation so the alarm can be
used to wake up a system that is powered down.
DS1677
Portable System Controller
www.dalsemi.com
20-Pin TSSOP
V
BAT
V
CCO
SCLK
I/O
CS
CEI
CEO
NC
INT
GND
ST
V
CC
X1
X2
AIN0
AIN1
AIN2
RST
PFI
PFO
20
19
18
17
16
15
14
13
12
11
1
2
3
4
5
6
7
8
9
10
DS1677
2 of 17
Automatic backup and write protection of an external SRAM is provided through the V
CCO
and
CE0
pins.
The backup energy source used to power the RTC is also used to retain RAM data in the absence of V
CC
through the V
CCO
pin. The chip-enable output to SRAM,
CE0
,
is controlled during power transients to
prevent data corruption.
The microprocessor monitor circuitry of the DS1677 provides three basic functions. First, a precision
temperaturecompensated reference and comparator circuit monitors the status of V
CC
. When an outof
tolerance condition occurs, an internal powerfail signal is generated which forces the to
RST
the active
state. When V
CC
returns to an intolerance condition, the
RST
signal is kept in the active state for
250 ms to allow the power supply and processor to stabilize. The DS1677 debounces a pushbutton input
and guarantees an active
RST
pulse width of 250 ms. The third function is a watchdog timer. The
DS1677 has an internal timer that forces the
RST
signal to the active state if the strobe input is not driven
low prior to watchdog timeout.
The DS1677 also provides a 3channel 8bit successive approximation analogtodigital converter. The
converter has an internal 2.55 volt (typical) reference voltage generated by an onboard bandgap circuit.
The A/D converter is monotonic (no missing codes) and has an internal analog filter to reduce high
frequency noise.
OPERATION
The block diagram in Figure 1 shows the main elements of the DS1677. The following paragraphs
describe the function of each pin.
DS1677 BLOCK DIAGRAM Figure 1
DS1677
3 of 17
SIGNAL DESCRIPTIONS
V
CC
, GND
DC power is provided to the device on these pins. V
CC
is the +5.0 volt input.
V
BAT
(Backup Power Supply)
Battery input for standard 3 volt lithium cell or other energy source.
SCLK (Serial Clock Input)
SCLK is used to synchronize data movement on the serial interface.
I/O (Data Input/Output)
The I/O pin is the bidirectional data pin for the 3wire interface.
CS (Chip Select)
The Chip Select signal must be asserted high during a read or a write for
communication over the 3wire serial interface.
V
CCO
(External SRAM Power Supply Output)
This pin is internally connected to V
CC
when V
CC
is
within nominal limits. However, during powerfail V
CCO
is internally connected to the V
BAT
pin.
Switchover occurs when V
CC
drops below V
CCSW
.
INT (Interrupt Output)
The INT pin is an active high output of the DS1677 that can be used as an
interrupt input to a microprocessor. The INT output remains high as long as the status bit causing the
interrupt is present and the corresponding interruptenable bit is set. The INT pin operates when the
DS1677 is powered by V
CC
or V
BAT
.
CEI (SRAM Chip Enable In)
CEI
must be driven low to enable the external SRAM.
CEO (SRAM Chip Enable Output) Chip enable output for SRAM.
PFI (PowerFail Input) PowerFail comparator input. When PFI is less than 1.25V,
PFO
goes low;
otherwise
PFO
remains high. Connect PFI to GND or V
CC
when not used.
PFO (PowerFail Output) PowerFail output goes
low and sinks current when PFI is less than 1.25V;
otherwise
PFO
remains high.
ST (Strobe Input)
The Strobe input pin is used in conjunction with the watchdog timer. If the
ST
pin
is not driven low within the watchdog time period, the
RST
pin is driven low.
RST (Reset)
The
RST
pin functions as a microprocessor reset signal. This pin is driven low
1) when V
CC
is outside of nominal limits; 2) when the watchdog timer has "timed out"; 3) during the
powerup reset period; and 4) in response to a pushbutton reset. The
RST
pin also functions as a push
button reset input. When the
RST
pin is driven low, the signal is debounced and timed such that a
RST
signal of at least 250 ms is generated. This pin has an internal 47 k
pull up resistor.
AIN0, AIN1, AIN2 (Analog Inputs) These pins are the three analog inputs for the 3channel analog
todigital converter.
DS1677
4 of 17
X1, X2
Connections for a standard 32.768 kHz quartz crystal. For greatest accuracy, the DS1677 must
be used with a crystal that has a specified load capacitance of 6 pF. There is no need for external
capacitors or resistors. Note: X1 and X2 are very high impedance nodes. It is recommended that they
and the crystal be guardringed with ground and that high frequency signals be kept away from the
crystal area. For more information on crystal selection and crystal layout considerations, please consult
Application Note 58, "Crystal Considerations with Dallas Real Time Clocks".
The DS1677 will not function without a crystal.
POWERUP/POWERDOWN CONSIDERATIONS
When V
CC
is applied to the DS1677 and reaches a level greater than V
CCTP
(powerfail trip point), the
device becomes fully accessible after t
RPU
(250 ms typical). Before t
RPU
elapses, all inputs are disabled.
When V
CC
drops below V
CCSW
, the device is switched over to the V
BAT
supply.
During powerup, when V
CC
returns to an intolerance condition, the
RST
pin is kept in the active state
for 250 ms (typical) to allow the power supply and microprocessor to stabilize.
ADDRESS/COMMAND BYTE
The command byte for the DS1677 is shown in Figure 2. Each data transfer is initiated by a command
byte. Bits 0 through 6 specify the address of the registers to be accessed. The MSB (bit 7) is the
Read/Write bit. This bit specifies whether the accessed byte will be read or written. A read operation is
selected if bit 7 is a zero and a write operation is selected if bit 7 is a one. The address map for the
DS1677 is shown in Figure 3.
ADDRESS/COMMAND BYTE Figure 2
7
6
5
4
3
2
1
0
RD
WR
A6
A5
A4
A3
A2
A1
A0
DS1677
5 of 17
DS1677 ADDRESS MAP Figure 3
BIT7
BIT0
00
0
10 SECONDS
SECONDS
01
0
10 MINUTES
MINUTES
02
0
12
24
10 HR
A/P
10 HR
HOURS
03
0
0
0
0
0
DAY
04
0
0
10 DATE
DATE
05
0
0
0
10 MO.
MONTH
06
10 YEAR
YEAR
07
M
10 SEC ALARM
SECONDS ALARM
08
M
10 MIN ALARM
MINUTES ALARM
09
M
12
24
10 HR
A/P
10 HR
HOUR ALARM
0A
M
0
0
0
DAY ALARM
0B
CONTROL REGISTER
0C
STATUS REGISTER
0D
WATCHDOG REGISTER
0E
ADC REGISTER
0F
7F
RESERVED
CLOCK, CALENDAR AND ALARM
The time and calendar information is accessed by reading/writing the appropriate register bytes. Note
that some bits are set to zero. These bits will always read zero regardless of how they are written. Also
note that registers 0Fh to 7Fh are reserved. These registers will always read zero regardless of how they
are written. The contents of the time, calendar, and alarm registers are in the BinaryCoded Decimal
(BCD) format.
The DS1677 can run in either 12hour or 24hour mode. Bit 6 of the hours register is defined as the 12
or 24hour mode select bit. When high, the 12hour mode is selected. In the 12hour mode, bit 5 is the
AM/PM bit with logic one being PM. In the 24hour mode, bit 5 is the second 10hour bit (2023
hours).
The DS1677 also contains a time of day alarm. The alarm registers are located in registers 07h to 0Ah.
Bit 7 of each of the alarm registers are mask bits (see Table 1). When all of the mask bits are logic 0, an
alarm will occur once per week when the values stored in timekeeping registers 00h to 03h match the
values stored in the time of day alarm registers. An alarm will be generated every day when mask bit of
the day alarm register is set to one. An alarm will be generated every hour when the day and hour alarm
mask bits are set to one. Similarly, an alarm will be generated every minute when the day, hour, and
minute alarm mask bits are set to one. When day, hour, minute, and seconds alarm mask bits are set to
one, an alarm will occur every second.
DS1677
6 of 17
TIME OF DAY ALARM BITS Table 1
ALARM REGISTER MASK BITS (BIT 7)
SECONDS
MINUTES
HOURS
DAYS
1
1
1
1
Alarm once per second.
0
1
1
1
Alarm when seconds match.
0
0
1
1
Alarm when minutes and seconds match.
0
0
0
1
Alarm when hours, minutes and seconds match.
0
0
0
0
Alarm when day, hours, minutes and seconds match.
SPECIAL PURPOSE REGISTERS
The DS1677 has two additional registers (control register and status register) that control the Real Time
Clock and interrupts.
CONTROL REGISTER
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
EOSC
WP
AIS1
AIS0
0
0
0
AIE
EOSC (Enable Oscillator)
This bit, when set to logic 0 will start the oscillator. When this bit is set
to a logic 1, the oscillator is stopped and the DS1677 is placed into a lowpower standby mode with a
current drain of less than 200 nanoamps when in battery backup mode. When the DS1677 is powered
by V
CC
, the oscillator is always on regardless of the status of the
EOSC
bit; however, the real time clock is
incremented only when
EOSC
is a logic 0.
WP (Write Protect)
Before any write operation to the real time clock or any other registers, this bit
must be logic 0. When high, the write protect bit prevents a write operation to any register.
AIS0AIS1 (Analog Input Select)
These 2 bits are used to determine the analog input for the
analogtodigital conversion. Table 2 lists the specific analog input that is selected by these 2 bits.
AIE (Alarm Interrupt Enable)
When set to a logic 1, this bit permits the Interrupt Request Flag
(IRQF) bit in the status register to assert INT. When the AIE bit is set to logic 0, the IRQF bit does not
initiate the INT signal.
ANALOG INPUT SELECTION Table 2
AIS1
AIS0
ANALOG INPUT
0
0
NONE
0
1
AIN0
1
0
AIN1
1
1
AIN2
STATUS REGISTER
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
CU
LOBAT
0
0
0
0
0
IRQF
DS1677
7 of 17
CU (Conversion Update In Progress)
When this bit is a one, an update to the ADC Register
(register 0Eh) will occur within 488 s. When this bit is a zero, an update to the ADC Register will not
occur for at least 244 s.
LOBAT (Low Battery Flag)
This bit reflects the status of the backup power source connected to the
V
PAT
pin. When V
PAT
is greater than 2.5 volts, LOBAT is set to a logic 0. When V
PAT
is less than
2.3 volts, LOBAT is set to a logic 1.
IRQF (Interrupt Request Flag)
A logic 1 in the Interrupt Request Flag bit indicates that the current
time has matched the time of day Alarm registers. If the AIE bit is also a logic 1, the INT pin will go
high. IRQF is cleared by reading or writing to any of the alarm registers.
NONVOLATILE SRAM CONTROLLER
The DS1677 provides automatic backup and write protection for an external SRAM. This function is
pro-vided by gating the chip enable signal and by providing a constant power supply through the V
CCO
pin.
The DS1677 nonvolatizes the external SRAM by write protecting the SRAM and by providing a backup
power supply in the absence of V
CC
. When V
CC
falls below V
PF
, access to the external SRAM is
prohibited by forcing
CE0
high regardless of the level of
CEI
. Upon powerup, access is prohibited until
the end of t
RPU
.
POWERFAIL COMPARATOR
The PFI input is connected to an internal reference. If PFI is less than 1.25V,
PFO
goes low. The power
fail comparator can be used as an undervoltage detector to signal an impending power supply failure.
PFO
can be used as a
P interrupt input to prepare for powerdown. For battery conservation, the
comparator is turned off and
PFO
is held low when in batterybacked mode
ADDING HYSTERESIS TO THE POWERFAIL COMPARATOR
Hysteresis adds a noise margin to the powerfail comparator and prevents
PFO
from oscillating when
VIN is near the powerfail comparator trip point. Figure 8 shows how to add hysteresis to the powerfail
comparator. Select the ratio of R1 and R2 such that PFI sees 1.25 volt when VIN falls to the desired trip
point (VTRIP). Resistors R2 and R3 adds hysteresis. R3 will typically be an order of magnitude greater
than R1 or R2. R3 should be chosen in manner to prevent it from loading down the
PFO
pin. Capacitor
C1 adds noise filtering and has a value of typically 1.0 uF. See Figure 8 for a schematic diagram and
equations.
DS1677
8 of 17
MICROPROCESSOR MONITOR
The DS1677 monitors three vital conditions for a micro-processor: power supply, software execution, and
external override.
First, a precision temperaturecompensated reference and comparator circuit monitors the status of V
CC
.
When an outoftolerance condition occurs, an internal powerfail signal is generated which forces the
RST
pin to the active state thus warning a processorbased system of impending power failure. When
V
CC
returns to an intolerance condition upon powerup, the reset signal is kept in the active state for
250 ms (typical) to allow the power supply and microprocessor to stabilize. Note however that if the
EOSC
bit is set to a logic 1 (to disable the oscillator during battery backup mode), the
RST
signal will be
kept in an active state for 250 ms plus the startup time of the oscillator.
The second monitoring function is push-button reset control. The DS1677 provides for a pushbutton
switch to be connected to the
RST
output pin. When the DS1677 is not in a reset cycle, it continuously
monitors the
RST
signal for a low going edge. If an edge is detected, the DS1677 will debounce the
switch by pulling the
RST
line low. After the internal 250 ms timer has expired, the DS1677 will
continue to monitor the
RST
line. If the line is still low, the DS1677 will continue to monitor the line
looking for a rising edge. Upon detecting release, the DS1677 will force the
RST
line low and hold it
low for 250 ms.
The third microprocessor monitoring function provided by the DS1677 is a watchdog timer. The
watchdog timer function forces
RST
to the active state when the
ST
input is not stimulated within the
predetermined time period. The time period is set by the Time Delay (TD) bits in the Watchdog Register.
The time delay can be set to 250 ms, 500 ms, or 1000 ms (see Figure 4). If TD0 and TD1 are both set to
zero, the watchdog timer is disabled. When enabled, the watchdog timer starts timing out from the set
time period as soon as
RST
is inactive. The default setting is for the watchdog timer to be enabled with
1000 ms time delay. If a hightolow transition occurs on the
ST
input pin prior to timeout, the
watchdog timer is reset and begins to timeout again. If the watchdog timer is allowed to timeout, then
the
RST
signal is driven to the active state for 250 ms (typical). The
ST
input can be derived from
microprocessor address signals, data signals, and/or control signals. To guarantee that the watchdog
timer does not timeout, a hightolow transition must occur at or less than the minimum period.
WATCHDOG TIMEOUT CONTROL Figure 4
WATCHDOG REGISTER
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
0
0
0
0
0
0
TD1
TD0
WATCHDOG REGISTER
TD1
TD0
WATCHDOG TIME-OUT
0
0
WATCHDOG DISABLED
0
1
250 ms
1
0
500 ms
1
1
1000 ms
DS1677
9 of 17
ANALOGTODIGITAL CONVERTER
The DS1677 provides a 3channel 8bit analogtodigital converter. The A/D reference voltage (2.55
volt typical) is derived from an onchip bandgap circuit. Three multiplexed analog inputs are provided
through the AIN0, AIN1, and AIN2 pins. The A/D converter is monotonic (no missing codes) and uses a
successive approximation technique to convert the analog signal into a digital code.
An A/D conversion is the process of assigning a digital code to an analog input voltage. This code
represents the input value as a fraction of the full scale voltage (FSV) range. Thus the FSV range is then
divided by the A/D converter into 256 codes (8 bits). The FSV range is bounded by an upper limit equal
to the reference voltage and the lower limit which is ground. The DS1677 has a FSV of 2.55 volt
(typical) which provides a resolution of 10 mV. An input voltage equal to the reference voltage converts
to FFh while an input voltage equal to ground converts to 00h. The relative linearity of the A/D converter
is
0.5 LSB.
The A/D converter selects from one of three different analog inputs (AIN0 AIN2). The input that is
selected is determined by the Analog Input Select (AIS) bits in the Control Register. Table 2 lists the
specific analog input that is selected by these 2 bits. Note also that the converter can be turned off by
these bits to reduce power. When the A/D is turned on by setting AIS0 and AIS1 to any value other than
0,0 the analog input voltage is converted and written to the ADC Register within 488
s. An internal
analog filter at the input reduces high frequency noise. Subsequent updates occur approximately every
10 ms. If AIS0 and/or AIS1 are changed, updates will occur at the next 10 ms conversion time.
The Conversion Update In Progress (CU) bit in the Status Register indicates when the ADC Register can
be read. When this bit is a one, an update to the ADC Register will occur within 488
s maximum.
However, when this bit is zero an update will not occur for at least 244
s. The CU bit should be polled
before reading the ADC Register to insure that the contents are stable during a read cycle. Once a read
cycle to the ADC Register has been started, the DS1677 will not update that register until the read cycle
has been completed. It should also be mentioned that taking CS low will abort the read cycle and will
allow the ADC Register to be updated.
Figure 5 illustrates the timing of the CU bit relative to an instruction to begin conversion and the
completion of that conversion.
DS1677
10 of 17
CU BIT TIMING Figure 5
3WIRE SERIAL INTERFACE
Communication with the DS1677 is accomplished through a simple 3wire interface consisting of the
Chip Select (CS), Serial Clock (SCLK) and Input/Output (I/O) pins.
All data transfers are initiated by driving the CS input high. The CS input serves two functions. First, CS
turns on the control logic which allows access to the shift register for the address/command sequence.
Second, the CS signal provides a method of terminating either single byte or multiple byte (burst) data
transfer. A clock cycle is a sequence of a rising edge followed by a falling edge. For data input, data
must be valid during the rising edge of the clock and data bits are output on the falling edge of the clock.
If the CS input goes low, all data transfer terminates and the I/O pin goes to a high impedance state.
Address and data bytes are always shifted LSB first into the I/O pin. Any transaction requires the
address/command byte to specify a read or write to a specific register followed by one or more bytes of
data. The address byte is always the first byte entered after CS is driven high. The most significant bit
(
RD
/
WR) of this byte determines if a read or write will take place. If this bit is 0, one or more read
cycles will occur. If this bit is 1, one or more write cycles will occur.
Data transfers can occur one byte at a time or in multiple byte burst mode. After CS is driven high an
address is written to the DS1677. After the address, one or more data bytes can be read or written. For a
single byte transfer one byte is read or written and then CS is driven low. For a multiple byte transfer,
multiple bytes can be read or written to the DS1677 after the address has been written. Each read or write
cycle causes the register address to automatically increment. Incrementing continues until the device is
disabled. After accessing register 0Eh, the address wraps to 00h.
Data transfer for single byte transfer and multiple byte burst transfer is illustrated in Figures 6 and 7.
DS1677
11 of 17
SINGLE BYTE DATA TRANSFER Figure 6
MULTIPLE BYTE BURST TRANSFER Figure 7
POWERFAIL COMPARATOR Figure 8
=
DS1677
12 of 17
ABSOLUTE MAXIMUM RATINGS*
Voltage on Any Pin Relative to Ground
0.3V to +7.0V
Operating Temperature
0
C to 70
C
Storage Temperature
55
C to +125
C
Soldering Temperature
See J-STD-020A
* This is a stress rating only and functional operation of the device at these or any other conditions above
those indicated in the operation sections of this specification is not implied. Exposure to absolute
maximum rating conditions for extended periods of time may affect reliability.
RECOMMENDED DC OPERATING CONDITIONS
(0
C to 70
C)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS NOTES
Power Supply Voltage
5V Operation
V
CC
4.5
5.0
5.5
V
1
Input Logic 1
V
IH
2.0
V
CC
+0.3
V
1
Input Logic 0
V
IL
-0.3
+0.8
V
1
Battery Voltage
V
BAT
2.5
3.7
V
1
DC ELECTRICAL CHARACTERISTICS
(0
C to 70
C; V
CC
=5.0V
10%)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS NOTES
Input Leakage
I
LI
-1
+1
A
CS Leakage
I
LO
150
A
7
Logic 1 Output
V
OH
2.4
V
2
Logic 0 Output
V
OL
0.4
V
3
Active Supply Current
(CS=V
CC
-0.2)
I
CCA
1.5
2.0
mA
4
A/D Converter Current
I
ADC
500
A
5
Standby Current (CS=V
IL
)
I
CCS
300
A
6
Oscillator Current
I
OSC
300
500
nA
Battery Standby Current
(Oscillator Off)
I
BAT
200
nA
Internal
RST Pull-Up Resistor
R
P
35
47
60
k
V
CC
Trip Point
V
CCTP
4.25
4.35
4.50
V
V
CC
Switchover
V
CCSW
2.60
2.70
2.80
V
12
A/D Reference Voltage
V
ADC
2.47
2.55
2.63
V
Pushbutton Detect
PB
DV
0.8
2.0
V
Pushbutton Release
PB
RD
0.3
0.8
V
Output Voltage
V
CCO
V
CC
-0.3
V
11
PFI Input Threshold
V
PFI
1.20
1.25
1.30
V
PFI Input Current
I
PFI
0.25
0.01
25
nA
PFO
Output voltage I
OH
= -1
A
V
OH
V
CC
-1.5
V
PFO
Output voltage I
OL
= 3.2
A
V
OL
0.4
V
V
CCO
Output Current
(Source=V
CC
)
I
CCO1
150
mA
13
V
CCO
Output Current
(Source=V
BAT)
I
CCO2
150
A
14
DS1677
13 of 17
CAPACITANCE (t
A
=25
C)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS NOTES
Input Capacitance
C
I
10
pF
I/O Capacitance
C
I/O
15
pF
Crystal Capacitance
C
X
6
pF
AC ELECTRICAL CHARACTERISTICS
(0
C to 70
C; V
CC
=5.0V
10%)
PARAMETER
SYMBOL
MIN
TYP
MAX
UNITS NOTES
Data to Clock Setup
t
DC
50
ns
8
CLK to Data Hold
t
CDH
70
ns
8
CLK to Data Delay
t
CDD
200
ns
8, 9, 10
CLK to Low Time
t
CL
250
ns
8
CLK to High Time
t
CH
250
ns
8
CLK Frequency
t
CLK
2.0
MHz
8
CLK Rise and Fall
t
R
, t
F
500
ns
CS to CLK Setup
t
CC
1
s
8
CLK to CS Hold
t
CCH
60
ns
8
CS Inactive Time
t
CWH
1
s
8
CS to I/O High-Z
t
CDZ
70
ns
8
V
CC
Slew Rate (4.5V to 2.3V)
t
F
1
ms
V
CC
Slew Rate (2.3V to 4.5V)
t
R
0
ns
V
CC
Detect to
RST
(V
CC
Falling)
t
RPD
100
ns
Reset Active Time
t
RST
250
ms
15
Pushbutton Debounce
PB
DB
250
ms
15
V
CC
Detect to
RST
(V
CC
Rising)
t
RPU
250
ms
15, 16
ST
Pulse Width
t
ST
20
ns
Chip Enable Propagation Delay to
External SRAM
t
CED
8
15
ns
Nominal Voltage to V
CC
Switchover
Fall Time
t
FB
200
s
PFI Low to
PFO
Low
t
PFD
2
s
PFI High to
PFO
High
t
PFU
2
s
DS1677
14 of 17
TIMING DIAGRAM: READ DATA Figure 9
TIMING DIAGRAM: WRITE DATA Figure 10
PUSHBUTTON RESET Figure 11
DS1677
15 of 17
POWERUP Figure 12
POWERDown Figure 13
DS1677
16 of 17
POWERFAIL WARNING Figure 14
NOTES:
1.
All voltages are referenced to ground.
2.
Logic one voltages are specified at a source current of 0.4 mA at V
CC
=3.0V, V
OH
=V
CC
for capacitive
loads.
3.
Logic zero voltages are specified at a sink current of 1.5 mA at V
CC
=3.0, V
OL
=GND for capacitive
loads.
4.
I
CCA
is specified with outputs open, CS set to a logic 1, SCLK=500 kHz, oscillator enabled, and A/D
converter enabled.
5.
I
ADC
is specified with CS, V
CCO
open and I/O, SCLK at logic zero. A/D converter is enabled.
6.
I
CCS
is specified with CS, V
CCO
open and I/O, SCLK at logic zero. A/D converter is disabled.
7.
CS has a 40 k
pulldown resistor to ground.
8.
Measured at V
IH
=2.0V or V
IL
=0.8V and 10 ns maximum rise and fall time.
9.
Measured at V
OH
=2.4V or V
OL
=0.4V.
10. Load capacitance= 25 pF.
11. I
CCO
=100 mA, V
CC
> V
CCTP
.
12. V
CCO
switchover from V
CC
to V
BAT
occurs when V
CC
drops below the lower of V
CCSW
and V
BAT
.
13. Current from V
CC
input pin to V
CCO
output pin.
14. Current from V
BAT
input pin to V
CCO
output pin.
15. Timebase is generated by very accurate crystal oscillator. Accuracy of this time period is based on
the crystal that is used. A typical crystal with a specified load capacitance of 6 pF will provide an
ccuracy within
100 ppm over the 0
C to 70
C temperature range. For greater accuracy see
DS32KHz data sheet.
16. If the
EOSC
bit in the Control Register is set to a logic 1, t
RPU
is equal to 250 ms plus the startup
time of the crystal oscillator.
DS1677
17 of 17
20 PIN TSSOP
PKG
20-PIN
DIM
MIN
MAX
A MM
-
1.10
A1 MM
0.05
-
A2 MM
0.75
1.05
C MM
0.09
0.18
L MM
0.50
0.70
e1 MM
0.65 BSC
B MM
0.18
0.30
D MM
6.40
6.90
E MM
4.40 NOM.
G MM
0.25 REF.
H MM
6.25
6.55
phi
0
8