ds2482-101 Maxim Integrated Products, Inc., ds2482-101 Datasheet - Page 21

no-image

ds2482-101

Manufacturer Part Number
ds2482-101
Description
Single-channel 1-wire Master With Sleep Mode
Manufacturer
Maxim Integrated Products, Inc.
Datasheet
1-Wire Read Byte (To Read a Byte from the 1-Wire Line)
Case A: 1-Wire Idle (1WB = 0), No Busy Polling, Set Read Pointer After Idle Time
The idle time is needed for the 1-Wire function to complete. Then set the read pointer to the Read Data Register
(code E1h) and access the device again to read the data byte that was obtained from the 1-Wire line.
Case B: 1-Wire Idle (1WB = 0), No Busy Polling, Set Read Pointer Before Idle Time
The read pointer is set to the Read Data Register (code E1h) while the 1-Wire Read Byte command is still in
progress. Then, after the 1-Wire function is completed, the device is accessed to read the data byte that was
obtained from the 1-Wire line.
Case C: 1-Wire Idle (1WB = 0), Busy Polling Until the 1-Wire Command is Completed
Poll the Status Register until the 1WB bit has changed from 1 to 0. Then set the read pointer to the Read Data
Register (code E1h) and access the device again to read the data byte that was obtained from the 1-Wire line.
Case D: 1-Wire Busy (1WB = 1)
The master should stop and restart as soon as the DS2482-101 does not acknowledge the command code.
1-Wire Triplet (To Perform a Search ROM Function on the 1-Wire Line)
Case A: 1-Wire Idle (1WB = 0), No Busy Polling
The idle time is needed for the 1-Wire function to complete. Then access the device in read mode to get the
result from the 1-Wire Triplet command.
Single-Channel 1-Wire Master with Sleep Mode
S
S
S
S
S
AD,0
AD,0
AD,0
AD,0
AD,0
______________________________________________________________________________________
Sr
A
S
A
A
A
A
1WRB
1WRB
1WRB
1WRB
AD,0
AD,0
1WT
A\
A
A
A
A
A
A
<byte>
(Idle)
SRP
SRP
Sr
Sr
P
P
(Idle)
AD,0
AD,1
A
A
A
S
S
I 2 C Communication Examples (continued)
AD,1
AD,1
E1h
E1h
A
A
P
REPEAT UNTIL THE 1WB BIT
HAS CHANGED TO 0.
<byte>
(Idle)
SRP
A
A
A
A
<byte>
<byte>
Sr
Sr
A
A
<byte>
AD,1
AD,1
E1h
A\
A\
A\
A
A
P
A
P
<byte>
<byte>
P
A\
A\
P
P
21

Related parts for ds2482-101