Datasheet
23Maxim Integrated
DS2483
Single-Channel 1-Wire Master
with Adjustable Timing and Sleep Mode
I
2
C Communication Examples (continued)
Verifying the 1-Wire port configuration
The Adjust 1-Wire Port command sets the read pointer to the Port Configuration register. If other commands were
issued to the DS2483 since then, use the Set Read Pointer command first to position the read pointer to the Port
Configuration register.
Condition: 1-Wire Idle (1WB = 0), Read Pointer at Port Configuration Register
Repeat to read additional port parameters
S AD,1 A <byte> P
AA A\<byte> <byte>
1-Wire Reset (To Begin or End 1-Wire Communication)
Case A: 1-Wire Idle (1WB = 0), No Busy Polling to Read the Result
S AD,0 AA A\1WRS S AD,1 A <byte>P P(Idle)
In the first cycle, the master sends the command. Then the master waits (Idle) for the 1-Wire reset to complete. In
the second cycle, the DS2483 is accessed to read the result of the 1-Wire reset from the Status register.
Case B: 1-Wire Idle (1WB = 0), Busy Polling Until the 1-Wire Command is Completed, then Read the Result
S AD,0 A 1WRS A <byte> A
Repeat until the 1WB bit has changed to 0.
<byte> \AA Sr PAD,1
Case C: 1-Wire Busy (1WB = 1)
S AD,0 A P1WRS A\
The master should stop and restart as soon as the DS2483 does not acknowledge the command code.