DS2482-100_12 MAXIM [Maxim Integrated Products], DS2482-100_12 Datasheet - Page 20

no-image

DS2482-100_12

Manufacturer Part Number
DS2482-100_12
Description
Single-Channel 1-Wire Master
Manufacturer
MAXIM [Maxim Integrated Products]
Datasheet
Single-Channel 1-Wire Master
20
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-100 does not acknowledge the command code.
S
S
S
S
______________________________________________________________________________________
AD,0
AD,0
AD,0
AD,0
Sr
A
S
A
A
A
1WRB
1WRB
1WRB
1WRB
AD,0
AD,0
A\
A
A
A
A
A
(Idle)
SRP
SRP
Sr
Sr
P
P
(Idle)
AD,0
AD,1
A
A
S
I 2 C Communication Examples (continued)
AD,1
E1h
E1h
A
A
REPEAT UNTIL THE 1WB BIT
HAS CHANGED TO 0.
<byte>
SRP
A
A
A
<byte>
Sr
Sr
A
A
<byte>
AD,1
AD,1
E1h
A\
A\
A
A
P
A
<byte>
<byte>
P
A\
A\
P
P

Related parts for DS2482-100_12