DS1672U-2+ [MAXIM]

I2C 32-Bit Binary Counter RTC; I²C 32​​位二进制计数器RTC
DS1672U-2+
型号: DS1672U-2+
厂家: MAXIM INTEGRATED PRODUCTS    MAXIM INTEGRATED PRODUCTS
描述:

I2C 32-Bit Binary Counter RTC
I²C 32​​位二进制计数器RTC

计数器 计时器或实时时钟 微控制器和处理器 外围集成电路 光电二极管
文件: 总15页 (文件大小:515K)
中文:  中文翻译
下载:  下载PDF数据表文档文件
DS1672  
I2C 32-Bit Binary Counter RTC  
www.maxim-ic.com  
GENERAL DESCRIPTION  
FEATURES  
The DS1672 incorporates a 32-bit counter and 32-Bit Counter  
I2C* Serial Interface  
power-monitoring functions. The 32-bit counter  
is designed to count seconds and can be used to  
derive time-of-day, week, month, month, and  
year by using a software algorithm. A precision,  
Automatic Power-Fail Detect and Switch  
Circuitry  
Power-Fail Reset Output  
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 signal is kept  
in the active state for a period of time to allow  
the power supply and processor to stabilize.  
Low-Voltage Oscillator Operation  
(1.3V min)  
Trickle-Charge Capability  
Underwriters Laboratory (UL) Recognized  
-40°C to +85°C Operating Temperature  
Range  
TYPICAL OPERATING CIRCUIT  
PIN CONFIGURATION  
TOP VIEW  
X1  
X2  
1
8
VCC  
DS16727  
2
RST  
SCL  
SDA  
VBACKUP  
GND  
3
4
6
5
DIP  
SO  
µSOP  
*Purchase of I2C components from Maxim Integrated Products,  
Inc., or one of its sublicensed Associated Companies, conveys a  
license under the Philips I2C Patent Rights to use these  
components in an I2C system, provided that the system conforms  
to the I2C Standard Specification defined by Philips.  
1 of 15  
REV: 031406  
DS1672  
ORDERING INFORMATION  
PART  
DS1672-2  
TEMP RANGE VOLTAGE (V) PIN-PACKAGE  
TOP MARK*  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
2.0  
3.0  
3.3  
2.0  
2.0  
3.0  
3.0  
3.3  
3.3  
8 DIP (300 mils)  
8 DIP (300 mils)  
8 DIP (300 mils)  
8 SO (150 mils)  
8 SO (150 mils)  
8 SO (150 mils)  
8 SO (150 mils)  
8 SO (150 mils)  
8 SO (150 mils)  
DS1672-2  
DS1672-3  
DS1672-3  
DS1672-33  
DS1672-2  
D1672-2  
DS1672-33  
DS1672S-2  
DS1672S-2+  
DS1672S-3  
DS1672S-3+  
DS1672S-33  
DS1672S-33+  
DS1672-3  
D1672-3  
DS167233  
D167233  
8 SO (150 mils)/Tape  
and Reel  
DS1672S-3/T&R  
DS1672S-3+T&R  
DS1672S-33/T&R  
DS1672S-33+T&R  
DS1672U-2  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
-40°C to +85°C  
3.0  
3.0  
3.3  
3.3  
2.0  
2.0  
3.0  
3.0  
3.3  
3.3  
3.3  
3.3  
DS1672-3  
D1672-3  
8 SO (150 mils)/Tape  
and Reel  
8 SO (150 mils)/Tape  
and Reel  
8 SO (150 mils)/Tape  
and Reel  
DS167233  
D167233  
1672  
rr -2  
1672  
rr -2  
8 µSOP (3mm)  
8 µSOP (3mm)  
8 µSOP (3mm)  
8 µSOP (3mm)  
8 µSOP (3mm)  
8 µSOP (3mm)  
DS1672U-2+  
1672  
rr -3  
1672  
rr -3  
1672  
rr -33  
1672  
rr -33  
1672  
rr -33  
1672  
rr -33  
DS1672U-3  
DS1672U-3+  
DS1672U-33  
DS1672U-33+  
DS1672U-33/T&R  
DS1672U-33+T&R  
8 µSOP (3mm)/Tape  
and Reel  
8 µSOP (3mm)/Tape  
and Reel  
+ Denotes a lead-free/RoHS-compliant device.  
* A “+” anywhere on the top mark denotes a lead-free device. rr = 2-digit alphanumeric revision code.  
2 of 15  
DS1672  
ABSOLUTE MAXIMUM RATINGS  
Voltage Range on Any Pin Relative to Ground……………………………………………..-0.5V to +6.0V  
Operating Temperature Range (noncondensing) ...…………………………………………-40°C to +85°C  
Storage Temperature Range……………………………………………………………….-55°C to +125°C  
Soldering Temperature………………………………………….See IPC/JEDEC J-STD-020 Specification  
This is a stress rating only and functional operation of the device at these or any other conditions beyond those indicated in the operation  
sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods of time can affect device  
reliability.  
RECOMMENDED DC OPERATING CONDITIONS  
(TA = -40°C to +85°C)  
PARAMETER  
SYMBOL  
MIN  
TYP  
MAX  
UNITS NOTES  
DS1672-2  
DS1672-3  
DS1672-33  
VCC  
1.8  
2.0  
3.0  
3.3  
2.2  
Supply  
V
1
VCC  
2.7  
3.3  
Voltage  
VCC  
2.97  
3.63  
Logic 1  
Logic 0  
VIH  
0.7 x VCC  
-0.5  
VCC + 0.5  
+0.3 x VCC  
3.63  
V
V
V
1
1
1
VIL  
Backup Supply Voltage  
VBACKUP  
1.3  
3.0  
DC ELECTRICAL CHARACTERISTICS  
(VCCMIN < VCC < VCCMAX, TA = -40°C to +85°C.)  
PARAMETER  
Active Supply Current  
Standby Current  
SYMBOL  
ICCA  
MIN  
TYP  
MAX  
UNITS  
µA  
µA  
NOTES  
600  
500  
2.97  
2.7  
2
3
ICCS  
2.70  
2.45  
1.58  
2.88  
2.6  
1.7  
Power-Fail Voltage  
VPF  
V
1.8  
VBACKUP Leakage Current  
IBACKUPLKG  
IOL  
25  
50  
3
nA  
Logic 0 Output (VOL = 0.4V)  
mA  
1, 4  
1, 4  
(VCC > 2V;  
3
Logic 0  
VOL = 0.4V)  
Output  
IOL  
mA  
(VCC < 2V;  
(DS1672-2)  
3
VOL = 0.2 x VCC)  
Note 1: All voltages referenced to ground.  
Note 2: ICCA specified with SCL clocking at max frequency (400kHz), trickle charger disabled.  
Note 3: ICCS specified with VCC = VCCTYP and SDA, SCL = VCCTYP, trickle charger disabled.  
Note 4: SDA and RST.  
3 of 15  
DS1672  
DC ELECTRICAL CHARACTERISTICS  
(VCC = 0V, TA = -40°C to +85°C.)  
PARAMETER  
SYMBOL  
MIN  
TYP  
MAX  
UNITS  
NOTES  
VBACKUP Current (Oscillator On)  
VBACKUP Current (Oscillator Off)  
IBACKUPOSC  
IBACKUP  
0.425  
1
200  
5
µA  
nA  
Note 5: Using the recommended crystal on X1 and X2.  
CRYSTAL SPECIFICATIONS*  
PARAMETER  
SYMBOL  
MIN  
TYP  
MAX  
UNITS  
NOTES  
Nominal Frequency  
Series Resistance  
Load Capacitance  
fO  
ESR  
CL  
32.768  
kHz  
k  
pF  
45  
6
*The crystal, traces, and crystal input pins should be isolated from RF generating signals. Refer to Application Note 58: Crystal  
Considerations for Dallas Real-Time Clocks for additional specifications  
4 of 15  
DS1672  
AC ELECTRICAL CHARACTERISTICS  
(VCC = 0V, TA = -40°C to +85°C.)  
PARAMETER  
SYMBOL CONDITIONS  
MIN  
TYP  
MAX UNITS NOTES  
Fast mode  
fSCL  
100  
400  
100  
SCL Clock  
kHz  
Frequency  
Standard mode  
Bus Free Time  
Between a STOP and  
START Condition  
Hold Time  
Fast mode  
tBUF  
1.3  
4.7  
0.6  
µs  
Standard mode  
Fast mode  
tHD:STA  
6
(Repeated) START  
Condition  
µs  
µs  
µs  
Standard mode  
4.0  
1.3  
4.7  
Fast mode  
Standard mode  
LOW Period of SCL  
tLOW  
Clock  
Fast mode  
tHIGH  
0.6  
4.0  
0.6  
4.7  
HIGH Period of SCL  
Clock  
Standard mode  
Setup Time for a  
Repeated START  
Condition  
Fast mode  
tSU:STA  
µs  
Standard mode  
Fast mode  
tHD:DAT  
0
0.9  
Data Hold Time  
7, 8  
9
µs  
ns  
ns  
ns  
Standard mode  
0
100  
250  
Fast mode  
Standard mode  
Data Setup Time  
tSU:DAT  
Rise Time of Both  
SDA and SCL  
Signals  
Fall Time of Both  
SDA and SCL  
Signals  
Fast mode  
20 + 0.1CB  
300  
1000  
300  
tR  
10  
10  
Standard mode  
Fast mode  
tF  
20 + 0.1CB  
Standard mode  
300  
Fast mode  
tSU:STO  
0.6  
4.0  
Setup Time for STOP  
Condition  
µs  
Standard mode  
Capacitive Load for  
Each Bus Line  
I/O Capacitance  
CB  
400  
pF  
pF  
10  
CI/O  
10  
Note 6: After this period, the first clock pulse is generated.  
Note 7: A device must internally provide a hold time of at least 300ns for the SDA signal (referenced to the VIHMIN of the SCL signal) in  
order to bridge the undefined region of the falling edge of SCL.  
Note 8:The maximum tHD:DAT has only to be met if the device does not stretch the LOW period (tLOW) of the SCL signal.  
Note 9: A fast-mode device can be used in a standard-mode system, but the requirement tSU:DAT to 250ns must then be met. This will  
automatically be the case if the device does not stretch the LOW period of the SCL signal. If such a device does stretch the LOW  
period of the SCL signal, it must output the next data bit to the SDA line tR max + tSU:DAT = 1000 + 250 = 1250ns before the SCL  
line is released.  
Note 10: CB–Total capacitance of one bus line in pF.  
5 of 15  
DS1672  
POWER-UP/POWER-DOWN CHARACTERISTICS  
(TA = -40°C to +85°C)  
PARAMETER  
SYMBOL  
MIN  
TYP  
MAX  
UNITS  
µs  
NOTES  
11  
VCC Detect to RST (VCC Falling)  
VCC Detect to RST (VCC Rising)  
VCC Fall Time; VPF(MAX) to VPF(MIN)  
VCC Rise Time; VPF(MIN) to VPF(MAX)  
tRPD  
tRPU  
tF  
10  
250  
ms  
300  
0
µs  
tR  
µs  
Note 11: If the EOSC bit in the control register is set to logic 1, tRPU is equal to 250ms plus the startup time of the crystal oscillator.  
Warning: Negative undershoots below –0.3V while the part is in battery-backed mode can cause  
loss of data.  
Figure 1. Timing Diagram  
SDA  
tBUF  
tLOW  
tF  
tHD:STA  
SCL  
tHD:STA  
tSU:STA  
tSU:STO  
tHIGH  
tSU:DAT  
tHD:DAT  
REPEATED  
START  
STOP  
START  
Figure 2. Power-Up/Power-Down Timing  
VCC  
VPF(max)  
VPF(min)  
tF  
tR  
tPD  
tRPU  
tRPD  
RST  
RECOGNIZED  
RECOGNIZED  
INPUTS  
DON'T CARE  
HIGH IMPEDANCE  
OUTPUTS  
VALID  
VALID  
6 of 15  
DS1672  
PIN DESCRIPTION  
PIN  
NAME  
FUNCTION  
Connections for Standard 32.768kHz Quartz Crystal. The internal oscillator  
circuitry is designed for operation with a crystal having a specified load  
capacitance (CL) of 6pF. For more information about crystal selection and  
crystal layout considerations, refer to Application Note 58: Crystal  
Considerations with Dallas Real-Time Clocks. The DS1672 can also be driven  
by an external 32.768kHz oscillator. In this configuration, the X1 pin is  
connected to the external oscillator signal and the X2 pin is floated.  
Battery Input for Any Standard 3V Lithium Cell or Other Energy Source.  
Battery voltage must be held between 1.3V and 3.63V for proper operation.  
Diodes placed in series between the power source and the VBACKUP may result  
1, 2  
X1, X2  
3
VBACKUP in improper operation. If a backup supply is not required, VBACKUP must be  
grounded. UL recognized to ensure against reverse charging current when used  
in conjunction with a lithium battery (charger disabled). See “Conditions of  
Acceptability” at www.maxim-ic.com/qa/info/ul.  
4
5
GND  
Ground. DC power is provided to the device on this pin.  
Serial-Data Input/Output. SDA is the input/output pin for the I2C serial  
interface. The SDA pin is open drain and requires an external pullup resistor.  
I2C Serial-Clock Input. SCL is used to synchronize data movement on the  
serial interface and requires an external pullup resistor.  
SDA  
6
7
SCL  
Active-Low Reset Output. It functions as a microprocessor reset signal. This  
pin is an open-drain output and requires an external pullup resistor.  
RST  
Power Pin for Primary Power Supply. When VCC is applied within normal  
8
VCC  
limits, the device is fully accessible and data can be written and read. When  
VCC is below VPF, reads and writes are inhibited.  
Figure 3. Recommended Layout for Crystal  
LOCAL GROUND PLANE (LAYER 2)  
X1  
CRYSTAL  
X2  
GND  
7 of 15  
DS1672  
DETAILED DESCRIPTION  
The DS1672 provides a 32-bit counter that increments once-per-second. The counter data is accessible  
via an I2C serial interface. A precision, temperature-compensated, voltage reference and comparator  
circuit monitors VCC. When VCC drops below VPF, RST becomes active and the interface is disabled to  
prevent data corruption. The device switches to the backup supply input, which maintains oscillator and  
counter operation while VCC is absent. When VCC rises above VPF, RST remains low for a period of time  
(tRPU) to allow VCC to stabilize.  
The block diagram in Figure 4 shows the main elements of the DS1672. As shown, communications to  
and from the DS1672 occur serially over a I2C, bidirectional bus. The DS1672 operates as a slave device  
on the I2C bus. Access is obtained by implementing a START condition and providing a device  
identification code followed by a register address. Subsequent registers can be accessed sequentially until  
a STOP condition is executed.  
Figure 4. Block Diagram  
X1  
X2  
1Hz  
CL  
CL  
OSCILLATOR  
AND  
DIVIDER  
32-BIT COUNTER  
(4 BYTES)  
CONTROL  
TRICKLE CHARGER  
VCC  
VBACKUP  
CONTROL LOGIC  
GND  
POWER CONTROL  
RST  
N
Dallas  
Semiconductor  
DS1672  
SCL  
SDA  
ADDRESS REGISTER  
I2C INTERFACE  
Oscillator Circuit  
The DS1672 uses an external 32.768kHz crystal. The oscillator circuit does not require any external  
resistors or capacitors to operate. Table 1 specifies several crystal parameters for the external crystal.  
Figure 4 shows a functional schematic of the oscillator circuit. If using a crystal with the specified  
characteristics, the startup time is usually less than one second.  
Table 1. Crystal Specifications*  
PARAMETER  
Nominal Frequency  
Series Resistance  
Load Capacitance  
SYMBOL  
MIN  
TYP  
MAX  
UNITS  
fO  
ESR  
CL  
32.768  
kHz  
45  
kΩ  
pF  
6
*The crystal, traces, and crystal input pins should be isolated from RF generating signals. Refer to Application Note 58:  
Crystal Considerations with Dallas Real-Time Clocks.  
8 of 15  
DS1672  
Clock Accuracy  
The accuracy of the clock is dependent upon the accuracy of the crystal and the accuracy of the match  
between the capacitive load of the oscillator circuit and the capacitive load for which the crystal was  
trimmed. Additional error will be added by crystal frequency drift caused by temperature shifts. External  
circuit noise coupled into the oscillator circuit may result in the clock running fast. Refer to Application  
Note 58: “Crystal Considerations with Dallas Real-Time Clocks” for detailed information.  
Address Map  
The counter is accessed by reading or writing the first 4 bytes of the DS1672 (00h–03h). The control  
register and trickle charger are accessed by reading or writing the appropriate register bytes as illustrated  
in Table 2. If the master continues to send or request more data after the address pointer has reached 05h,  
the address pointer will wrap around to location 00h.  
Table 2. Registers  
ADDRESS  
00h  
B7  
B6  
B5  
B4  
B3  
B2  
B1  
B0  
FUNCTION  
Counter Byte 1  
Counter Byte 2  
Counter Byte 3  
Counter Byte 4  
Control  
Trickle Charger  
LSB  
01h  
02h  
03h  
MSB  
EOSC  
TCS  
04h  
05h  
TCS  
TCS  
TCS  
DS  
DS  
RS  
RS  
Power Control  
The device is fully accessible and data can be written and ready only when VCC is greater than VPF.  
However, when VCC falls below VPF, (point at which write protection occurs) the internal clock registers  
are blocked from any access. If VPF is less than VBACKUP, the device power is switched from VCC to  
VBACKUP when VCC drops below VPF. If VPF is greater than VBACKUP, the device power is switched from  
VCC to VBACKUP when VCC drops below VBACKUP. Oscillator and counter operation are maintained from  
the VBACKUP source until VCC is returned to nominal levels (see Table 3).  
Table 3. Power Control  
READ/WRITE  
RST  
SUPPLY CONDITION  
POWERED BY  
ACCESS  
No  
VCC < VPF, VCC < VBACKUP  
VCC < VPF, VCC > VBACKUP  
VCC > VPF, VCC < VBACKUP  
VCC > VPF, VCC > VBACKUP  
Active  
Active  
Inactive  
Inactive  
VBACKUP  
VCC  
No  
Yes  
VCC  
Yes  
VCC  
Oscillator Control  
The EOSC bit (bit 7 of the control register) controls the oscillator when in back-up mode. 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  
DS1672 is placed into a low-power standby mode (IBACKUP) when in backup mode. When the DS1672 is  
powered by VCC, the oscillator is always on regardless of the status of the EOSC bit; however, the counter  
is incremented only when EOSC is a logic 0.  
9 of 15  
DS1672  
Microprocessor Monitor  
A temperature-compensated comparator circuit monitors the level of VCC. When VCC falls to the power-  
fail trip point, the RST signal (open drain) is pulled active and read/write access is inhibited. When VCC  
returns to nominal levels, the RST signal is kept in the active state for tRPU (typically) 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 write protection), the reset signal will be kept in an active state for tRPU plus the  
startup time of the oscillator.  
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 4–7) 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 VCC and VBACKUP. 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 VCC and VBACKUP 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
1
X
X
X
0
X
X
X
1
X
X
X
0
0
1
X
0
1
0
1
0
1
0
0
1
X
1
0
1
0
1
0
0
X
X
0
0
0
1
1
1
1
0
X
X
0
1
1
0
0
1
1
0
Disabled  
Disabled  
Disabled  
No diode, 250resistor  
One diode, 250resistor  
No diode, 2kresistor  
One diode, 2kresistor  
No diode, 4kresistor  
One diode, 4kresistor  
Initial default value—disabled  
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
0
0
0
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 VCC and a super cap is  
connected to VBACKUP. Also assume that the trickle charger has been enabled with a diode and resistor R2  
between VCC and VBACKUP. The maximum current IMAX would, therefore, be calculated as follows:  
I
MAX = (5.0V - diode drop) / R1 (5.0V - 0.7V) / 2kΩ ≈ 2.2mA  
As the super cap changes, the voltage drop between VCC and VBACKUP will decrease and, therefore, the  
charge current will decrease.  
10 of 15  
DS1672  
Figure 5. Programmable Trickle Charger  
R1  
VCC  
250Ω  
VBACKUP  
R2  
2kΩ  
R3  
4kΩ  
1 OF 16 SELECT  
1 OF 2  
1 OF 3  
NOTE: ONLY 1010 ENABLES  
SELECT  
SELECT  
TCS = TRICKLE CHARGER SELECT  
DS = DIODE SELECT  
RS = RESISTOR 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  
TRICKLE CHARGE REGISTER  
11 of 15  
DS1672  
I2C Serial Data Bus  
The DS1672 supports a bidirectional I2C 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 I2C 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.  
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 I2C 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.  
12 of 15  
DS1672  
Figures 7 and 8 detail how data transfer is accomplished on the I2C 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 acknowledge” is 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,  
with the DS1672 acknowledging each byte received. The register pointer will increment after each  
byte is transferred. The master will generate a stop condition to terminate the data write.  
2) Slave transmitter mode (DS1672 read mode): The first byte is received and handled as in the slave  
receiver mode. However, in this mode, the direction bit will indicate that the transfer direction is  
reversed. Serial data is transmitted on SDA by the DS1672 while the serial clock is input on SCL.  
START and STOP conditions are recognized as the beginning and end of a serial transfer (Figure 8).  
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 read is a 1. After receiving and decoding the slave address byte the  
DS1672 outputs an acknowledge on the SDA line. The DS1672 then begins to transmit data starting  
with the register address pointed to by the register pointer. If the register pointer is not written to  
before the initiation of a read mode the first address that is read is the last one stored in the register  
pointer. The DS1672 must receive a “not acknowledge” to end a read.  
13 of 15  
DS1672  
Figure 6. Data Transfer on I2C Serial Bus  
SDA  
MSB  
slave address  
R/W  
acknowledgement  
signal from receiver  
direction  
bit  
acknowledgement  
signal from receiver  
SCL  
1
2
6
7
8
9
1
2
3 - 8  
8
9
ACK  
ACK  
START  
STOP CONDITION  
OR  
CONDITION  
repeated if more bytes  
are transferred  
REPEATED  
START CONDITION  
Figure 7. Data Write: Slave Receiver Mode  
<Slave Address>  
<Word Address (n)>  
<Data(n)  
<Data(n+1)>  
<Data(n+X)>  
S
1101000  
0
A
XXXXXXXX  
A
XXXXXXXX  
A
XXXXXXXX  
A
XXXXXXXX  
A P  
S - START  
A - ACKNOWLEDGE  
P - STOP  
DATA TRANSFERRED  
(X+1 BYTES + ACKNOWLEDGE)  
R/W - READ/WRITE OR DIRECTION BIT ADDRESS = D0H  
Figure 8. Data Read: Slave Transmitter Mode  
<Slave Address>  
<Data(n)>  
<Data(n+1)  
<Data(n+2)>  
<Data(n+X)>  
S
1101000  
1
A
XXXXXXXX  
A
XXXXXXXX  
A
XXXXXXXX  
A
XXXXXXXX  
A P  
S - START  
A - ACKNOWLEDGE  
P - STOP  
DATA TRANSFERRED  
(X+1 BYTES + ACKNOWLEDGE); NOTE: LAST DATA BYTE IS  
FOLLOWED BY A NOT ACKNOWLEDGE (A) SIGNAL)  
A - NOT ACKNOWLEDGE  
R/W - READ/WRITE OR DIRECTION BIT ADDRESS = D1H  
14 of 15  
DS1672  
THERMAL INFORMATION  
PACKAGE  
8 DIP (300 mils)  
8 SO (150 mils)  
8 µSOP (3mm)  
THETA-JA  
THETA-JC  
40°C/W  
110°C/W  
170°C/W  
221°C/W  
40°C/W  
39°C/W  
PACKAGE INFORMATION  
For the latest package outline information, go to www.maxim-ic.com/DallasPackInfo.  
DOCUMENT  
PACKAGE TYPE  
NUMBER  
8 DIP (300 mils)  
8 SO (150 mils)  
8 µSOP (3mm)  
56-G5005-000  
56-G2008-001  
56-G2018-001  
15 of 15  
Maxim/Dallas Semiconductor cannot assume responsibility for use of any circuitry other than circuitry entirely embodied in a Maxim/Dallas Semiconductor product.  
No circuit patent licenses are implied. Maxim/Dallas Semiconductor reserves the right to change the circuitry and specifications without notice at any time.  
Maxim Integrated Products, 120 San Gabriel Drive, Sunnyvale, CA 94086 408-737-7600  
© 2006 Maxim Integrated Products Printed USA  
The Maxim logo is a registered trademark of Maxim Integrated Products, Inc. The Dallas logo is a registered trademark of Dallas Semiconductor Corporation.  

相关型号:

DS1672U-3

Low Voltage Serial Timekeeping Chip
DALLAS

DS1672U-3

I2C 32-Bit Binary Counter RTC
MAXIM

DS1672U-3+

I2C 32-Bit Binary Counter RTC
MAXIM

DS1672U-33

Low Voltage Serial Timekeeping Chip
DALLAS

DS1672U-33

I2C 32-Bit Binary Counter RTC
MAXIM

DS1672U-33+

I2C 32-Bit Binary Counter RTC
MAXIM

DS1672U-33+T&R

I2C 32-Bit Binary Counter RTC
MAXIM

DS1672U-33+TR

I2C 32-Bit Binary Counter RTC
MAXIM

DS1672U-33/T&R

Real Time Clock, Non-Volatile, 0 Timer(s), CMOS, PDSO8, 3 MM, MICRO, SOP-8
MAXIM

DS1672U-33/T&R

I2C 32-Bit Binary Counter RTC
MAXIM

DS1672U-33/TR

I2C 32-Bit Binary Counter RTC
MAXIM

DS1672_11

I2C 32-Bit Binary Counter RTC
MAXIM