22
840Hxl - Serial Protocol
9.3
Commands
The commands listed below are supported by the
840Hxl
.
Note
: The checksum is required at the end of the send/receive command as
shown in
Section 9.1
. If a checksum is not included in a sent command, the device
will not respond.
9.3.1
Get Device Address and Software Version
Command Send/Receive
Data
0x00
0xEB, 0x00, 0x00, 0x01, 0xXX, checksum
0xEB, [address], 0x00, 0x02, [version], 0x00,
checksum
0xXX can be any data except 0xEB
9.3.2
Set Output Encryption or Decryption
Command Send/Receive
Data
0xE3
0xEB, 0x00, 0xE3, 0x01, data 1, checksum
0xEB, address, 0xE3, 0x01, 0xFA, checksum
data1:
•
0 = encryption
•
1 = decryption
9.3.3
Get Device Status
Command Send/Receive
Data
0xE4
0xEB, address, 0xE4, 0x01, 0x00, checksum
0xEB, address, 0xE4, 0x08, data1, ....., data8,
checksum
data1: reserved
data2: reserved
data3: output encryption status:
•
0 = encryption
•
1 = decryption
data4: reserved
data5: reserved
data6: reserved
data7: reserved
data8: reserved
9.3.4
Set Output Status
Command Send/Receive
Data
0xE6
0xEB, address, 0xE6, 0x02, data1, data2,
checksum
0xEB, address, 0xE6, 0x01, 0xFA,
checksum
data 1:
•
0x00: reserved
•
0x01: RESOLUTION_INDEX
•
0x02: PATTERN_INDEX
•
0x03: DEEPCOLOR_MODE
•
0x04: COLORSPACE_MODE
•
0x05:HDMIDVI_INDEX
•
0x06: AUDSAMPLE_INDEX
•
0x07: AUDBIT_INDEX
data 2:
•
0x00 reserved
•
from 0x00 to 0x17 (24 resolutions)
•
from 0x00 to 0x1f (32 patterns)
•
0 = auto, 0x18 = 24bit, 0x1e = 30bit, 0x24 = 36bit
•
0 = auto, 1 = RGB444, 2 = YUV444, 3 = YUV422
•
0 = auto, 1 = HDMI, 2 = DVI
•
0 = auto, 1 = 44k, 2 = 48k 3 = 88k, 4 = 96k, 5 = 176k, 6 =
192k
•
0 = auto, 0x10 = 16bit, 0x14 = 20bit, 0x18 = 24bit