DS2781
28 of 31
Figure 25. Net Address Command Flowchart
MASTER TX
RESET PULSE
DS2781 Tx
PRESENCE PULSE
MASTER Tx NET
ADDRESS
COMMAND
55h
MATCH
33h / 39h
READ
F0h
SEARCH
CCh
SKIP
DS2781 Tx
FAMILY CODE
1 BYTE
DS2781 Tx
SERIAL NUMBER
6 BYTES
DS2781 Tx
CRC
1 BYTE
MASTER TX
BIT 0
BIT 0
MATCH ?
MASTER TX
BIT 1
DS2781 Tx BIT 0
DS2781 Tx BIT 0
MASTER Tx BIT 0
BIT 0
MATCH ?
DS2781 Tx BIT 1
DS2781 Tx BIT 1
MASTER Tx BIT 1
BIT 1
MATCH ?
BIT 1
MATCH ?
MASTER TX
FUNCTION
COMMAND
MASTER TX
BIT 63
DS2781 Tx BIT 63
DS2781 Tx BIT 63
MASTER Tx BIT 63
BIT 63
MATCH ?
MASTER TX
FUNCTION
COMMAND
YES
N
O
N
O
N
O
N
O
YESYES YES
N
O
N
O
N
O
N
O
YESYES
YESYES
N
O
YES
A5h
RESUME
YES
N
O
RESUME
FLAG SET ?
MASTER TX
FUNCTION
COMMAND
YES
N
O
SET
RESUME
FLAG
CLEAR RESUME
CLEAR RESUME
CLEAR RESUME
DS2781
29 of 31
1-Wire SIGNALING
The 1-Wire bus requires strict signaling protocols to ensure data integrity. The four protocols used by the DS2781
are as follows: the initialization sequence (reset pulse followed by presence pulse), write 0, write 1, and read data.
All of these types of signaling except the presence pulse are initiated by the bus master.
The initialization sequence required to begin any communication with the DS2781 is shown in Figure 26. A
presence pulse following a reset pulse indicates that the DS2781 is ready to accept a net address command. The
bus master transmits (Tx) a reset pulse for t
RSTL
. The bus master then releases the line and goes into receive mode
(Rx). The 1-Wire bus line is then pulled high by the pullup resistor. After detecting the rising edge on the DQ pin,
the DS2781 waits for t
PDH
and then transmits the presence pulse for t
PDL
.
Figure 26. 1-Wire Initialization Sequence
WRITE-TIME SLOTS
A write-time slot is initiated when the bus master pulls the 1-Wire bus from a logic-high (inactive) level to a logic-low
level. There are two types of write-time slots: write 1 and write 0. All write-time slots must be t
SLOT
in duration with a
1μs minimum recovery time, t
REC
, between cycles. The DS2781 samples the 1-Wire bus line between 15μs and
60μs (between 2μs and 6μs for overdrive speed) after the line falls. If the line is high when sampled, a write 1
occurs. If the line is low when sampled, a write 0 occurs (see Figure 27). For the bus master to generate a write 1
time slot, the bus line must be pulled low and then released, allowing the line to be pulled high within 15μs (2μs for
overdrive speed) after the start of the write-time slot. For the host to generate a write 0 time slot, the bus line must
be pulled low and held low for the duration of the write-time slot.
READ-TIME SLOTS
A read-time slot is initiated when the bus master pulls the 1-Wire bus line from a logic-high level to a logic-low level.
The bus master must keep the bus line low for at least 1μs and then release it to allow the DS2781 to present valid
data. The bus master can then sample the data t
RDV
from the start of the read-time slot. By the end of the read-time
slot, the DS2781 releases the bus line and allows it to be pulled high by the external pullup resistor. All read-time
slots must be t
SLOT
in duration with a 1μs minimum recovery time, t
REC
, between cycles. See Figure 27 for more
information.
t
RSTL
t
PDL
t
RSTH
t
PDH
PACK+
PACK-
LINE TYPE LEGEND:
BUS MASTER ACTIVE LOW
DS2781 ACTIVE LOW
RESISTOR PULLUP
BOTH BUS MASTER AND
DS2781 ACTIVE LOW
DQ
DS2781
30 of 31
Figure 27. 1-Wire Write- and Read-Time Slots
PACKAGE INFORMATION
For the latest package outline information and land patterns, go to www.maxim-ic.com/packages.
PACKAGE TYPE PACKAGE CODE DOCUMENT NO.
8 TSSOP
56-G2021-000
10 TDFN-EP
56-G0012-001
LINE TYPE LEGEND:
Bus master active low
DS2781 active low
Resistor pullup
Both bus master and
DS2781 active low
t
SLOT
V
PULLUP
GND
READ 0 SLOT
READ 1 SLOT
t
SLOT
t
REC
>1
μ
s
t
RDV
Master Sample Window
Master Sample Window
t
RDV
V
PULLUP
GND
t
SLOT
Standard
t
LOW1
t
SLOT
WRITE 0 SLOT WRITE 1 SLOT
t
LOW0
t
REC
>1
μ
s
DS2781 Sample Window
MIN TYP MAX
15μs
15μs
30μs
DS2781 Sample Window
MIN TYP MAX
15
μ
s15
μ
s 30μs
2μs
Overdrive
Mode
1μs
3μs
1
μ
s
2
μ
s
3μs

DS2781E+

Mfr. #:
Manufacturer:
Maxim Integrated
Description:
Battery Management 1-2 Cell Stand-Alone Fuel Gauge
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet