beautypg.com

3 dallas 1-wire transaction – Matrix Orbital PK162-12 User Manual

Page 38

background image

Description

This command will allow you to begin communicating with the devices
on the 1-wire bus by returning a packet containing device information
for each 1-wire device on the bus in the form of:

Search Return Packet

Offset
(Bytes)

Offset
(Bytes)

Description

0

2

0x232A

Preamble

2

1

0x8A

Packet is 10 bytes long, an-

other address will follow

0x0A

Packet is 10 bytes long, this

is the last address

3

1

0x31 - 1-Wire Packet Type

4

1

Error Code (0x00 for success)

5

8

1-Wire Address

13

1

CRC8

0x00 means the last address

was valid

Remembered

No

8.3 Dallas 1-Wire Transaction

Syntax

Hexadecimal

0xFE 0xC8 0x1 [flags] [SndBits] [RcvBits] [Data]

Decimal

254 200 1 [flags] [SndBits] [RcvBits] [Data]

Matrix Orbital

PK162-12

34