Protocol mode:
Settings:
1 = Slave Addr = 0
2 = Baudrate = 400000
3 = Data Control =
P
4 = Data Poll*10ms = 10
5 = Flow Control = N
Using this setting it will be possible to directly access the interface via TCP/IP and to directly address the
I2C-Slave by means of corresponding commands such as WRITE and READ.
WRITE: 0x02,0x00,0x0A,0x03,0x50,0x02,0x00,0x00,0x57,0x00,0x01,0xnn,0x03
0x02 STX
0x00,0x0A Len (10 Bytes) follows
always 2 Byte
0x03
function code (with all messages)
0x50 Slave Address
0x02 Count Internal Address
0x00,0x00 Internal Address 0x00,0x00
Count(0-4 Byte)
0x57 W = WRITE
0x00,0x01 write 1 byte
always 2 Byte
0xnn Byte to write
0x03 ETX
READ: 0x02,0x00,0x09,0x03,0x50,0x02,0x00,0x00,0x52,0x00,0x02,0x03
0x02 STX
0x00,0x09 Len (9 Bytes) follows
always 2 Byte
0x03
function code (with all messages)
0x50 Slave Address
0x02 Count Internal Address
0x00,0x00 Internal Address 0x00,0x00
Count(0-4 Byte)
0x52 R = READ
0x00,0x02 read 2 byte
always 2 Byte
0x03 ETX
MSG
: no ACK/NAK (function code = 0x00)
NAK only (function code = 0x01)
ACK only (function code = 0x02)
ACK and NAK (function code = 0x03)
Answers:
NAK 0x15,'S' NAK STX
0x15,'E' NAK ETX
0x15,'A' NAK Slave Address
0x15,'C' NAK Command
0x15,'L' NAK Len
0x15,'B' NAK Buffer
0x15,'R',.. NAK Read and Data we could read
0x15,'W',nn,nn NAK Write and nn,nn = Data we could write
ACK 0x06,'R'... ACK Read and Data
0x06,'W' ACK Write
Summary of Contents for XT-PICO-XXL
Page 1: ...XT PICO XXL DesignGuide V1 1...
Page 6: ...5 Dimensions 22 mm 2mm 2mm 32 mm 24 mm Bottom View...
Page 9: ...Connecting plan...
Page 10: ...7 Schematics RS232...
Page 11: ...RS485...
Page 12: ...SPI...
Page 13: ...I2C...
Page 14: ...SD CARD...
Page 15: ...LCD DISPLAY SPI...
Page 16: ...LCD DISPLAY 4BIT...
Page 17: ...Dataflash SPI...
Page 18: ...POE PowerOverEthernet Note The POE module is available at AK NORD Order number AK9050...