Datasheet

24Maxim Integrated
DS2483
Single-Channel 1-Wire Master
with Adjustable Timing and Sleep Mode
I
2
C Communication Examples (continued)
1-Wire Single Bit (To Generate a Single Time Slot on the 1-Wire Line)
Case A: 1-Wire Idle (1WB = 0), No Busy Polling
S AD,0 A 1WSB A A<byte> P (Idle)
S AD,1 A <byte> A\ P
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 Single Bit command.
Case B: 1-Wire Idle (1WB = 0), Busy Polling Until the 1-Wire Command is Completed
S AD,0 A 1WSB A A<byte>
Sr AD,1 AA<byte> <byte> A\ P
Repeat until the 1WB bit
has changed to 0.
When 1WB has changed from 1 to 0, the Status register holds the valid result of the 1-Wire Single Bit command.
Case C: 1-Wire Busy (1WB = 1)
S AD,0 A 1WSB A\ P
The master should stop and restart as soon as the DS2483 does not acknowledge the command code.
1-Wire Write Byte (To Send a Command Code or Data Byte to the 1-Wire Line)
Case A: 1-Wire Idle (1WB = 0), No Busy Polling
S AD,0 A 1WWB A 33h A P (Idle)
33h is the valid 1-Wire ROM function command for Read ROM. The idle time is needed for the 1-Wire function to
complete. There is no data read back from the 1-Wire line with this command.
Case B: 1-Wire Idle (1WB = 0), Busy Polling Until the 1-Wire Command is Completed.
S AD,0 A 1WWB A 33h A
AD,1A ASr <byte> <byte> A\ P
Repeat until the 1WB bit
has changed to 0.
When 1WB has changed from 1 to 0, the 1-Wire Write Byte command is completed.
Case C: 1-Wire Busy (1WB = 1)
S AD,0 A 1WWB A\ P
The master should stop and restart as soon as the DS2483 does not acknowledge the command code.