DS1672
10 of 15
Trickle Charger
The trickle charger is controlled by the trickle charge register. The simplified schematic of Figure 5
shows the basic components of the trickle charger. The trickle charge select (TCS) bit (bits 47) controls
the selection of the trickle charger. In order to prevent accidental enabling, only a pattern on 1010 will
enable the trickle charger. All other patterns will disable the trickle charger. The DS1672 powers up with
the trickle charger disabled. The diode select (DS) bits (bits 2, 3) select whether or not a diode is
connected between V
CC
and V
BACKUP
. If DS is 01, no diode is selected or if DS is 10, a diode is selected.
The RS bits (bits 0, 1) select whether a resistor is connected between V
CC
and V
BACKUP
and
what the value
of the resistor is. The resistor selected by the resistor select (RS) bits and the diode selected by the diode
select (DS) bits are as follows:
TCS TCS TCS TCS DS DS RS RS FUNCTION
X
X
X
X
0
0
X
X
Disabled
X
X
X
X
1
1
X
X
Disabled
X
X
X
X
X
X
0
0
Disabled
1
0
1
0
0
1
0
1
No diode, 250 resistor
1
0
1
0
1
0
0
1
One diode, 250 resistor
1
0
1
0
0
1
1
0
No diode, 2k resistor
1
0
1
0
1
0
1
0
One diode, 2k resistor
1
0
1
0
0
1
1
1
No diode, 4k resistor
1
0
1
0
1
0
1
1
One diode, 4k resistor
0
0
0
0
0
0
0
0
Initial default value--disabled
Warning: The resistor value of 250 must not be selected whenever V
CC
is greater
than 3.63V.
Diode and resistor selection is determined by the user according to the maximum current desired for
battery or super cap charging. The maximum charging current can be calculated as illustrated in the
following example. Assume that a system power supply of 3V is applied to V
CC
and a super cap is
connected to V
BACKUP
. Also assume that the trickle charger has been enabled with a diode and resistor R2
between V
CC
and V
BACKUP
. The
maximum current I
MAX
would, therefore, be calculated as follows:
I
MAX
= (5.0V - diode drop) / R1 (5.0V - 0.6V) / 2k 2.2mA
As the super cap changes, the voltage drop between V
CC
and V
BACKUP
will decrease and, therefore, the
charge current will decrease.
DS1672
11 of 15
Figure 5. Programmable Trickle Charger
I
2
C Serial Data Bus
The DS1672 supports a bidirectional I
2
C bus and data transmission protocol. A device that sends data
onto the bus is defined as a transmitter and a device receiving data as a receiver. The device that controls
the message is called a master. The devices that are controlled by the master are slaves. The bus must be
controlled by a master device that generates the serial clock (SCL), controls the bus access, and generates
the START and STOP conditions. The DS1672 operates as a slave on the I
2
C bus. Connections to the bus
are made via the open-drain I/O lines SDA and SCL. Within the bus specifications, a standard mode
(100kHz maximum clock rate) and a fast mode (400kHz maximum clock rate) are defined. The DS1672
operates in both modes.
The following bus protocol has been defined (Figure 6):
Data transfer may be initiated only when the bus is not busy.
During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in
the data line while the clock line is high will be interpreted as control signals.
Accordingly, the following bus conditions have been defined:
Bus not busy: Both data and clock lines remain HIGH.
Start data transfer: A change in the state of the data line from high to low, while the clock line is
high, defines a START condition.
Stop data transfer: A change in the state of the data line from low to high, while the clock line is
high, defines a STOP condition.
1 OF 16 SELECT
NOTE: ONLY 1010 ENABLES
1 OF 2
SELECT
1 OF 3
SELECT
TCS
TCS
TCS
TCS
DS
DS
RS
RS
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
250
R1
R2
TRICKLE CHARGE REGISTER
TCS =
TRICKLE CHARGER SELECT
DS =
DIODE SELECT
RS =
RESISTOR SELECT
V
CC
V
BACKUP
2k
R3
4k
DS1672
12 of 15
Data valid: The state of the data line represents valid data when, after a START condition, the
data line is stable for the duration of the high period of the clock signal. The data on the line must
be changed during the low period of the clock signal. There is one clock pulse per bit of data.
Each data transfer is initiated with a START condition and terminated with a STOP condition.
The number of data bytes transferred between the START and the STOP conditions is not limited,
and is determined by the master device. The information is transferred byte-wise and each
receiver acknowledges with a ninth bit. Within the I
2
C bus specifications a standard mode
(100kHz clock rate) and a fast mode (400kHz clock rate) are defined.
Acknowledge: Each receiving device, when addressed, is obliged to generate an acknowledge
after the reception of each byte. The master device must generate an extra clock pulse that is
associated with this acknowledge bit.
A device that acknowledges must pull down the SDA line during the acknowledge clock pulse in
such a way that the SDA line is stable LOW during the HIGH period of the acknowledge related
clock pulse. Of course, setup and hold times must be taken into account. A master must signal an
end of data to the slave by not generating an acknowledge bit on the last byte that has been
clocked out of the slave. In this case, the slave must leave the data line HIGH to enable the master
to generate the STOP condition.
Figures 7 and 8 detail how data transfer is accomplished on the I
2
C bus. Depending upon the state of the
R/W bit, two types of data transfer are possible:
1) Data transfer from a master transmitter to a slave receiver. The first byte transmitted by the
master is the slave address. Next follows a number of data bytes. The slave returns an acknowledge
bit after each received byte.
2) Data transfer from a slave transmitter to a master receiver. The first byte (the slave address) is
transmitted by the master. The slave then returns an acknowledge bit. Next follows a number of data
bytes transmitted by the slave to the master. The master returns an acknowledge bit after all received
bytes other than the last byte. At the end of the last received byte, a “not acknowledgeis returned.
The master device generates all of the serial clock pulses and the START and STOP conditions. A
transfer is ended with a STOP condition or with a repeated START condition. Since a repeated START
condition is also the beginning of the next serial transfer, the bus will not be released.
The DS1672 can operate in the following two modes:
1) Slave receiver mode (DS1672 write mode): Serial data and clock are received through SDA and
SCL. After each byte is received, an acknowledge bit is transmitted. START and STOP conditions are
recognized as the beginning and end of a serial transfer. Address recognition is performed by
hardware after reception of the slave address and direction bit (Figure 7). The slave address byte is the
first byte received after the START condition is generated by the master. The slave address byte
contains the 7-bit DS1672 address, which is 1101000, followed by the direction bit (R/W), which for
a write is a 0. After receiving and decoding the slave address byte the DS1672 outputs an
acknowledge on the SDA line. After the DS1672 acknowledges the slave address + write bit, the
master transmits a word address to the DS1672. This will set the register pointer on the DS1672, with
the DS1672 acknowledging the transfer. The master may then transmit zero or more bytes of data,

DS1672U-33

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Real Time Clock I2C 32-Bit Binary Counter RTC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union