Audio DSP with AEC, 4-in/4-out analog, 4-in/4-out Dante and USB
-29-
1. Parameter Control (0x21)
At this point, the formats of data section are as follows.
byte5
byte6
byte7
byte8
byte9~72
Input/Output
Start Channel
End Channel
Parameter Type
Parameter Value
byte5: It indicate control input or output channel, 0x2- input channels and 0x1-output channels byte6-7: They indicate
start and end channel numbers. Channel numbers start from 0. byte8: This kind of parameter is the same with V1
version. Please refer to Appendix B.
byte9-40: Fill in parameter values of start to end channels. It shall be filled in from the ninth byte. Each parameter value shall
take two bytes.
2. Parameter Acquisition (0x22)
Data section format is the same with parameter controls. Parameter values may not be filled in.
acquired parameters will be filled in this position.
3. Scenario Switch (0x13)
byte5: Fill in scenario numbers (0-15). byte6-8: Fill in 0.
4. Other Controls (0x74)
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.