Operating Manual for Digital Sound Processor (DSP) V3.0
WWW.INTREND-AV.RU
66
Other controls include but not limited to GPIO, RS232, RS485 and central control replies. The protocol
formats are as follows.
GPIO:
byte5 byte6 byte7 byte8 byte9 byte10 byte11 byte12
Control
Type
Data
Length
Reserved Reserved GPIO
Direction
Start GPIO End GPIO Value
The controlling type for byte5 is 1.
The data length of byte6 is fixed as four bytes.
Byte9 GPIO direction, set input or output. Value 0 indicates input, and value 1 indicates output.
Byte10-11 start GPIO and end GPIO. DSP devices totally have eight GPIOs, which are indicated with
number 0-7.
Byte12 is determined according to byte9GPIO direction. The field shall be filled in high (1) /low (0)
level for output settings. The field is a return field to read GPIO level value on devices for input
settings.
RS232/RS485:
byte5 byte6 byte7 byte8 byte9-132
Control Type Data
Length
Reserved Reserved Data
Byte5 is 2 when controlling type RS232, and 3 for RS485.
The data length of byte6 refers to data length that shall be sent via RS232/485 currently.
Byte9-132 shall be filled in data sent by RS232/485.
Central control replies:
byte5 byte6 byte7 byte8 byte9
Control Type Data
Length
Reserved Reserved Reply Switch
Byte5 controlling type is 4.
The data length of byte6 is 1.