datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

DS2482X-101-U View Datasheet(PDF) - Maxim Integrated

Part Name
Description
View to exact match
DS2482X-101-U
MaximIC
Maxim Integrated MaximIC
DS2482X-101-U Datasheet PDF : 24 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
Single-Channel 1-Wire Master with Sleep Mode
I2C 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 <byte> A
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 <byte> A
REPEAT UNTIL THE 1WB BIT
HAS CHANGED TO 0.
Sr AD,1 A <byte> A <byte> A\
P
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 DS2482-101 does not acknowledge the command code.
1-Wire Write Byte (To Send a Command Code 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
REPEAT UNTIL THE 1WB BIT
HAS CHANGED TO 0.
Sr AD,1 A <byte> A <byte> A\
P
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 DS2482-101 does not acknowledge the command code.
______________________________________________________________________________________ 19
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]