DS2450
16 of 24
USAGE EXAMPLE (set-up section)
There is a single VCC powered DS2450 on the 1-Wire bus. Set-up channel D for 12 bits, 5.12V range and
alarm thresholds of 2.0V (64h) and 3.0V (96h) (increment 20 mV) and convert the input voltage; turn on
the channel A output if low alarm occurs and the channel B output if high alarm occurs, respectively.
MASTER MODE
DATA (LSB FIRST) COMMENTS
TX
Reset
Reset Pulse (480 - 960 μs)
RX
Presence
Presence Pulse
TX
CCh
Issue “Skip ROM” Command
TX
55h
Issue “Write Memory” Command
TX
08h
TA1, beginning address
TX
00h
TA2, address = 0008h
TX
C0h
data byte (address 0008)
CH-A
RX
<CRC16>
CRC of command, address, data byte
RX
C0h
read-back for simple verification
TX
00h
next data byte (address 0009h)
RX
<CRC16>
CRC of address, data byte
RX
00h
read-back for simple verification
TX
C0h
data byte (address 000A)
CH-B
RX
<CRC16>
CRC of address, data byte
RX
C0h
read-back for simple verification
TX
00h
next data byte (address 000Bh)
RX
<CRC16>
CRC of address, data byte
RX
00h
read-back for simple verification
TX
C0h
data byte (address 000C)
CH-C*
RX
<CRC16>
CRC of address, data byte
RX
C0h
read-back for simple verification
TX
00h
next data byte (address 000Dh)
RX
<CRC16>
CRC of address, data byte
RX
00h
read-back for simple verification
TX
0Ch
data byte (address 000E)
CH-D
RX
<CRC16>
CRC of address, data byte
RX
0Ch
read-back for simple verification
TX
0Dh
next data byte (address 000Fh)
RX
<CRC16>
CRC of address, data byte
RX
0Dh
read-back for simple verification
Continued on the next page.
*In a multi-drop environment it takes less time to set-up an unused channel rather than skipping it.