DS2788 MAXIM [Maxim Integrated Products], DS2788 Datasheet - Page 24

no-image

DS2788

Manufacturer Part Number
DS2788
Description
Stand-Alone Fuel-Gauge IC with LED Display Drivers
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DS2788E+
Manufacturer:
MAXIM/美信
Quantity:
20 000
Part Number:
DS2788E+T&R
Manufacturer:
MAXIM
Quantity:
5 000
separate output and input pins can be connected
together.
The 1-Wire bus must have a pullup resistor at the bus-
master end of the bus. For short line lengths, the value
of this resistor should be approximately 5kΩ. The idle
state for the 1-Wire bus is high. If, for any reason, a bus
transaction must be suspended, the bus must be left in
the idle state to properly resume the transaction later. If
the bus is left low for more than 120μs (16μs for over-
drive speed), slave devices on the bus begin to inter-
pret the low period as a reset pulse, effectively
terminating the transaction.
The DS2788 can operate in two communication speed
modes, standard and overdrive. The speed mode is
determined by the input logic level of the OVD pin with
a logic 0 selecting standard speed and a logic 1
selecting overdrive speed. The OVD pin must be at a
stable logic level of 0 or 1 before initializing a transac-
tion with a reset pulse. All 1-Wire devices on a multin-
ode bus must operate at the same communication
speed for proper operation. 1-Wire timing for both stan-
dard and overdrive speeds are listed in the Electrical
Characteristics: 1-Wire Interface tables.
The protocol for accessing the DS2788 through the
1-Wire port is as follows:
Stand-Alone Fuel-Gauge IC with
LED Display Drivers
Figure 20. 1-Wire Bus Interface Circuitry
24
• Initialization
• Net Address Command
______________________________________________________________________________________
Transaction Sequence
Rx
Tx
BUS MASTER
Tx = TRANSMIT
(2.0V TO 5.5V)
Rx = RECEIVE
V
PULLUP
4.7kΩ
The sections that follow describe each of these steps in
detail.
All transactions of the 1-Wire bus begin with an initial-
ization sequence consisting of a reset pulse transmitted
by the bus master, followed by a presence pulse simul-
taneously transmitted by the DS2788 and any other
slaves on the bus. The presence pulse tells the bus
master that one or more devices are on the bus and
ready to operate. For more details, see the 1-Wire
Signaling section.
Once the bus master has detected the presence of one
or more slaves, it can issue one of the net address com-
mands described in the following paragraphs. The name
of each ROM command is followed by the 8-bit op code
for that command in square brackets. Figure 21 presents
a transaction flowchart of the net address commands.
Read Net Address [33h or 39h]. This command allows
the bus master to read the DS2788’s 1-Wire net
address. This command can only be used if there is a
single slave on the bus. If more than one slave is pre-
sent, a data collision occurs when all slaves try to trans-
mit at the same time (open drain produces a
wired-AND result). The RNAOP bit in the Status register
selects the op code for this command, with RNAOP = 0
indicating 33h and RNAOP = 1 indicating 39h.
• Function Command
• Transaction/Data
0.2μA
(TYP)
DS2788 1-Wire PORT
100Ω MOSFET
Net Address Commands
Tx
Rx

Related parts for DS2788