IC Phoenix
 
Home ›  DD25 > DS1670S+,Portable System Controller
DS1670S+ Fast Delivery,Good Price
Part Number:
If you need More Quantity or Better Price,Welcom Any inquiry.
We available via phone +865332716050 Email
Partno Mfg Dc Qty AvailableDescript
DS1670S+N/AN/a1500avaiPortable System Controller


DS1670S+ ,Portable System ControllerFEATURES The DS1670 portable system controller is a circuit  Provides Real-Time Clock that incorpo ..
DS1672 ,Low Voltage Serial Time Keeping ChipFEATURES  32-Bit Counter The DS1672 incorporates a 32-bit counter and 2power-monitoring functions. ..
DS1672-33 , I2C 32-Bit Binary Counter RTC
DS1672-33+ ,I²C 32-Bit Binary Counter RTCFEATURES  32-Bit Counter The DS1672 incorporates a 32-bit counter and 2power-monitoring functions. ..
DS1672S/3 ,Low Voltage Serial Time Keeping ChipPRELIMINARYDS1672Low Voltage Serial Timekeeping ChipPIN ASSIGNMENT
DS1672S-3 ,Low Voltage Serial Time Keeping ChipPIN DESCRIPTIONV V - Power Supply InputsCC, BACKUPORDERING INFORMATIONGND - GroundDS1672X-XX1, X2 - ..
DV74AC244 , Octal buffer/Line Driver with 3-state Outputs
DVIULC6-2P6 ,Ultra Low capacitance 2 lines ESD protectionApplicationsBenefits■ DVI ports up to 1.65 Gb/s■ ESD standards compliance guaranteed at ■ IEEE 1394 ..
DVIULC6-4SC6 ,Ultralow capacitance ESD protectionFeatures■ 4-line ESD protection (IEC 61000-4-2)■ Protects V when applicableBUS■ Ultralow capacitanc ..
DW01 , One Cell Lithium-ion/Polymer Battery Protection IC
DW01 , One Cell Lithium-ion/Polymer Battery Protection IC
DW01 , One Cell Lithium-ion/Polymer Battery Protection IC


DS1670S+
Portable System Controller
GENERAL DESCRIPTION
The DS1670 portable system controller is a circuit
that incorporates many of the functions necessary for
low-power portable products integrated into one chip.
The device provides a real-time clock (RTC), NV
RAM controller, microprocessor monitor, and a
3-channel, 8-bit analog-to-digital converter (ADC).
Communication with the DS1670 is established
through a simple 3-wire interface.
The 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 DS1670 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.
Automatic backup and write protection of an external
SRAM is provided through the VCCO, CEOL, and
CEOH pins. The backup energy source used to power
the RTC is also used to retain RAM data in the
absence of VCC through the VCCO pin. The chip-
enable outputs to RAM (CEOL and CEOH) are
controlled during power transients to prevent data
corruption.
ORDERING INFORMATION
PART* VOLTAGE
(V)
PIN-
PACKAGE TOP MARK†

DS1670E 3.3 20 TSSOP DS1670E
DS1670E+ 3.3 20 TSSOP DS1670E
DS1670E/T&R 3.3 20 TSSOP DS1670E
DS1670E+TRL 3.3 20 TSSOP DS1670E
DS1670S 3.3 20 SO DS1670S
DS1670S+ 3.3 20 SO DS1670S
* All devices are specified over the 0°C to +70°C operating range.
† A “‘+” anywhere on the top mark denotes a lead-free device.
+ Denotes a lead(Pb)-free/RoHS-compliant device.
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 Power Fail
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  3-Channel, 8-Bit ADC Simple 3-Wire Interface 3.3V Operation Underwriters Laboratory (UL) Recognized
PIN CONFIGURATION

DS1670
Portable System Controller

20
19
18
17
16
15
14
13
12
11
VCC
AIN0
AIN1
AIN2
RST
BLE
BHE
VBAT
VCCO
SCLK
I/O
CEI
CEOL
CEOH
INT
GND
TSSOP (4.4mm)
SO (300 mils)
DS1670

TOP VIEW
DS1670
DETAILED DESCRIPTION

The microprocessor monitor circuitry of the DS1670 provides three basic functions. First, a precision
temperature-compensated reference and comparator circuit monitors the status of VCC. When an out-of-
tolerance condition occurs, an internal power-fail signal is generated that forces the reset to the active
state. When VCC returns to an in-tolerance condition, the reset signals are kept in the active state for
250ms to allow the power supply and processor to stabilize. The second microprocessor monitor function
is pushbutton reset control. The DS1670 debounces a pushbutton input and guarantees an active-reset
pulse width of 250ms. The third function is a watchdog timer. The DS1670 has an internal timer that
forces the reset signals to the active state if the strobe input is not driven low prior to watchdog timeout.
The DS1670 also provides a 3-channel, 8-bit successive approximation analog-to-digital converter. The
converter has an internal 2.55V (typical) reference voltage generated by an on-board band-gap circuit.
The ADC 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 DS1670. The following paragraphs
describe the function of each pin.
DS1670 BLOCK DIAGRAM Figure 1

DS1670
PIN DESCRIPTION
PIN NAME FUNCTION

1 VBAT
Battery Input for Standard 3V Lithium Cell or Other Energy Source. UL recognized to
ensure against reverse charging when used with a lithium battery. Go to www.maxim-
ic.com/qa/info/ul/.
2 VCCO
External SRAM Power Supply Output. This pin is internally connected to VCC when VCC is
within nominal limits. However, during power-fail VCCO is internally connected to the
VBAT pin. Switchover occurs when VCC drops below the lower of VBAT or 2.7V. SCLK Serial Clock Input. Used to synchronize data movement on the serial interface. I/O Data Input/Output. This pin is the bidirectional data pin for the 3-wire interface.
5 CS Chip Select. Must be asserted high during a read or a write for communication over the 3-
wire serial interface. CS has an internal 40k pulldown resistor. CEI RAM Chip-Enable In. Must be driven low to enable the external RAM. CEOL RAM Chip-Enable Out Low. Active-low chip-enable output for low-order SRAM byte. CEOH RAM Chip-Enable Out High. Active-low chip-enable output for high-order SRAM byte.
9 INT
Interrupt Output. This pin is an active-high output 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 interrupt-enable bit is set. The INT pin operates
when the DS1670 is powered by VCC or VBAT.
10 GND Ground. DC power is provided to the device on this pin.
11 BHE Byte High-Enable Input. This pin when driven low activates the CEOH output if CEI is
also driven low.
12 BLE Byte Low-Enable Input. This pin when driven low activates the CEOL output if CEI is
also driven low.
13 RST
Active-Low Reset. The RST pin functions as a microprocessor reset signal. This pin is
driven low 1) when VCC is outside of nominal limits; 2) when the watchdog timer has
timed out; 3) during the power up reset period; and 4) in response to a pushbutton reset.
The RST pin also functions as a pushbutton reset input. When the RST pin is driven low,
the signal is debounced and timed such that a RST signal of at least 250ms is generated.
This pin has an open-drain output with an internal 47k pullup resistor.
14,
15, 16
AIN2,
AIN1,
AIN0
Analog Inputs. These pins are the three analog inputs for the 3-channel ADC.
17, 18 X2, X1
Connections for Standard 32.768kHz Quartz Crystal. For greatest accuracy, the DS1670
must be used with a crystal that has a specified load capacitance of 6pF. 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 guard-ringed with ground and that high
frequency signals be kept away from the crystal area. For more information on crystal
selection and crystal layout considerations, refer to Application Note 58: Crystal
Considerations with Dallas Real Time Clocks. The DS1670 does not function without a
crystal.
19 VCC
+3.3V Input DC Power. When 3.3V is applied within nominal limits, the device is fully
accessible and data can be written and read. When VCC drops below 2.88V (typical) access
to the device is prohibited. When VCC drops below the lower of VBAT and 2.7V (typical),
the device is switched over to the backup power supply.
20 ST Active-Low Strobe Input. The strobe input pin is used with the watchdog timer. If the ST
DS1670
POWER-UP/POWER-DOWN CONSIDERATIONS

The DS1670 was designed to operate with a power supply of 3.3V. When 3.3V are applied within
nominal limits, the device becomes fully accessible after tRPU (250ms typical). Before tRPU elapses, all
inputs are disabled. When VCC drops below 2.88V (typical), the RST pin is driven low. When VCC drops
below the lower of 2.7V (typical) or the battery voltage, the device is switched over to the backup power
supply.
During power-up, when VCC returns to an in-tolerance condition, the RST pin is kept in the active state
for 250ms (typical) to allow the power supply and microprocessor to stabilize.
ADDRESS/COMMAND BYTE

The command byte for the DS1670 is shown in Figure 2. Each data transfer is initiated by a command
byte. Bits 0 through 6 specify the addresses 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 0 and a write operation is selected if bit 7 is a 1. The address map for the DS1670 is
shown in Figure 3.
ADDRESS/COMMAND BYTE Figure 2
7 6 5 4 3 2 1 0
WR A6 A5 A4 A3 A2 A1 A0
DS1670 ADDRESS MAP Figure 3
BIT 7 BIT 0
00 0 10 SECONDS SECONDS
01 0 10 MINUTES MINUTES
10 HR 02 0 12
24 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
10 HR 09 M 12
24 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
DS1670
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 0. These bits will always read 0 regardless of how they are written. Also note that
registers 0 Fh to 7 Fh are reserved. These registers will always read 0 regardless of how they are written.
The contents of the time, calendar, and alarm registers are in the Binary-Coded Decimal (BCD) format.
The DS1670 can run in either 12-hour or 24-hour mode. Bit 6 of the hours register is defined as the
12-hour or 24-hour mode select bit. When high, the 12-hour mode is selected. In the 12-hour mode, bit 5
is the AM/PM bit with logic 1 being PM. In the 24-hour mode, bit 5 is the second 10-hour bit (20-23
hours).
The DS1670 also contains a time of day alarm. The alarm registers are located in registers 07h to 0 Ah.
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 1. An alarm will be generated every hour when the day and hour alarm
mask bits are set to 1. Similarly, an alarm will be generated every minute when the day, hour, and minute
alarm mask bits are set to 1. When day, hour, minute, and seconds alarm mask bits are set to 1, an alarm
will occur every second.
TIME OF DAY ALARM BITS Table 1
ALARM REGISTER MASK BITS (BIT 7)
SECONDS MINUTES HOURS DAYS DESCRIPTION
1 1 1 Alarm once per second. 1 1 1 Alarm when seconds match. 0 1 1 Alarm when minutes and seconds match 0 0 1 Alarm when hours, minutes and seconds match. 0 0 0 Alarm when day, hours, minutes and seconds.
SPECIAL PURPOSE REGISTERS

The DS1670 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 DS1670 is placed into a low-power standby mode with a current
drain of less than 200nA when in battery-backup mode. When the DS1670 is powered by VCC, 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
DS1670
AIS0-AIS1 (Analog Input Select). These 2 bits are used to determine the analog input for the analog-to-

digital conversion. Table 2 lists the specific analog input that is selected by these two 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
CU (Conversion Update In Progress). When this bit is a 1, an update to the ADC Register (register

0Eh) will occur within 488ms. When this bit is a 0, an update to the ADC Register will not occur for at
least 244ms.
LOBAT (Low Battery Flag). This bit reflects the status of the backup power source connected to the

V BAT pin. When VBAT is greater than 2.5V, LOBAT is set to a logic 0. When VBAT 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.
POWER-UP DEFAULT STATES

These bits are set to a one upon initial power-up: EOSC, TD1 and TD0. These bits are cleared upon
initial power-up: WP, AIS1, and AIS0.
NONVOLATILE SRAM CONTROLLER

The DS1670 provides automatic backup and write protection for external SRAM. This function is
provided by gating the chip enable signals and by providing a constant power supply through the VCCO
pin. The DS1670 was specifically designed with the Intel 80186 and 386EX microprocessors in mind. As
such, the DS1670 can provide access to the external SRAM in either byte-wide or word-wide format.
This capability is provided by the chip enable scheme. Three input signals and two output signals are
used for enabling the external SRAM(s) (see Figure 4). CEI (chip enable in), BHE (byte high enable),
and BLE (byte low enable) are used for enabling either one or two external SRAMs through the CEOL
(chip enable low) and the CEOH (chip enable high) outputs. Table 3 illustrates the function of these pins.
DS1670
The DS1670 nonvolatilizes the external SRAM(s) by write protecting the SRAM(s) and by providing a
back-up power supply in the absence of VCC. When VCC falls below 2.88V (typical), access to the
external SRAM(s) are prohibited by forcing CEOL and CEOH high regardless of the level of CEI, BLE,
and BHE. Also at this point, the SRAM power supply (VCCO) is switched from VCC to VBAT. Upon power-
up, access is prohibited until the end of tRPU.
EXTERNAL SRAM CHIP ENABLE Table 3
CEI BHE BLE CEOL CEOH FUNCTION

0 0 0 0 0 Word Transfer 0 1 1 0 Byte Transfer in upper half of data bus (D15-D8) 1 0 0 1 Byte Transfer in lower half of data bus (D7-D0) 1 1 1 1 External SRAMs disabled X X 1 1 External SRAMs disabled
EXTERNAL SRAM INTERFACE (WORD-WIDE) TO THE DS1670 Figure 4

MICROPROCESSOR MONITOR

The DS1670 monitors three vital conditions for a microprocessor: power supply, software execution, and
external override.
First, a precision temperature-compensated reference and comparator circuit monitors the status of VCC.
When an out-of-tolerance condition occurs, an internal power-fail signal is generated which forces the
RST pin to the active state, thus warning a processor-based system of impending power failure. The
power-fail trip point is 2.88V (typical). When VCC returns to an in-tolerance condition upon power-up,
the reset signal is kept in the active state for 250ms (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 reset signal will be kept in an active state for 250ms plus the startup
time of the oscillator.
The second monitoring function is pushbutton reset control. The DS1670 provides for a pushbutton
DS1670
switch by pulling the RST line low. After the internal 250ms timer has expired, the DS1670 will continue
to monitor the RST line. If the line is still low, the DS1670 will continue to monitor the line looking for a
rising edge. Upon detecting release, the DS1670 will force the RST line low and hold it low for 250ms.
The third microprocessor monitoring function provided by the DS1670 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 250ms, 500ms, or 1000ms (see Figure 5). If TD0 and TD1 are both set to 0,
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
1000ms time delay. If a high-to-low transition occurs on the ST input pin prior to timeout, the watchdog
timer is reset and begins to time-out again. If the watchdog timer is allowed to timeout, then the RST
signal is driven to the active state for 250ms (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 high-to-low transition must occur at or less than the minimum period.
WATCHDOG TIMEOUT CONTROL Figure 5

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 TIMEOUT
TD1 TD0 WATCHDOG TIMEOUT

0 0 Watchdog disabled
0 1 250ms
1 0 500ms
1 1 1000ms
ANALOG-TO-DIGITAL CONVERTER

The DS1670 provides a 3-channel, 8-bit analog-to-digital converter. The ADC reference voltage (2.55V
typical) is derived from an on-chip band-gap circuit. Three multiplexed analog inputs are provided
through the AIN0, AIN1, and AIN2 pins. The ADC 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 ADC 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 DS1670 has a FSV of 2.55V (typical) that provides a resolution of 10mV. 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 ADC is ±0.5 LSB.
The ADC selects from one of three different analog inputs (AIN0–AIN2). The input that is selected is
ic,good price


TEL:86-533-2716050      FAX:86-533-2716790
   

©2020 IC PHOENIX CO.,LIMITED