
Rev1.4 April 2014
12
4.2.9 ResetBuffers
deletes UART and I2C temporary RAM data.
SaveInitSlvAdr command (0x66)
Byte
Content
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0
Slave Address
A7
A6
A5
A4
A3
A2
A1
0
1
ResetBuffers
0
1
1
0
0
1
1
0
4.2.10 ReadVersion
reads the version of the adapter.
ReadVersion command (0x76)
Byte
Content
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0
Slave Address (W)
A7
A6
A5
A4
A3
A2
A1
0
1
ReadVersion
0
1
1
1
0
1
1
0
ReadVersion Response
Byte
Content
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0
Slave address (R)
A7
A6
A5
A4
A3
A2
A1
1
1
Slave address
Slave address of the selected device
2
FM_Version HIGH
version HIGH Byte
3
FM_Version LOW
version LOW Byte
e.g. 0x0102 => HiByte = 0x01 ; LoByte = 0x02
The version is read as a BCD code:
=> Version 01.02
4.2.11 SetUARTMode
sets the UART mode.
SetUARTMode command (0x46)
Byte
content
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0
Slave Address
A7
A6
A5
A4
A3
A2
A1
0
1
SetUARTMode
0
1
0
0
0
1
1
0
2
UART Mode
x
x
x
x
x
x
x
M
UART Mode
0
TimeOut
Data received from the UART is forwarded to the I2C Output after a defined
time (milliseconds) is elapsed.
M
1
ETX Character
Data received from the UART is forwarded to the I2C Output after the ETX
character is detected.
Содержание I2C-RS232-Adapter
Страница 6: ...Rev1 4 April 2014 6 4 Dimension mm...