AMC DSP8X8 User Manual page 14

Digital signal processor
Table of Contents

Advertisement

Software interface
Value1 byte: Sets to reads DSP input or output.
Value2 byte: input/output channel number. To get value convert to decimal
channel number to HEX.
Feedback
Device
Control
Data
Start
Function
Value 1
Value 2
ID
byte
length
01
00 (= all channels)
(= input)
01 (= 1 channel)
A5 C3 3C 5A
FF
63
03
03
...
02
08 (= 8 channel)
(=output)
Value1 byte: Describe data is about DSP input or output.
Value2 byte: Channel number. To get value convert to received HEX to decimal
number.
Value3 byte: Channel status, muted or unmuted.
24
USER MANUAL
DSP8X8 Digital Signal Processor
Example
Command
HEX code
Feedback
Read input 6
Input 6
A5 C3 3C 5A FF 63 03 02 01 06 EE
mute status
unmuted
Read output 1
Output 1
A5 C3 3C 5A FF 63 03 02 02 01 EE
mute status
muted
Value 3
End
01
MASTER VOLUME
(= mute)
Note: Master volume level range is from 0dB to -60dB.
EE
02
(= unmute)
Device
Control
Data
Start
Function
Value 1
Value 2
ID
byte
length
A5 C3 3C 5A
FF
36
04
04
00
01
Value1 byte: 00 all the time for master volume
Value2 byte: 01 all the time for master volume
Software interface
Value low and high bytes: volume level must be calculated by using formulas
below:
HEX code
Low byte expression: =RIGHT(DEC2HEX(A2*10;2);2)
A5 C3 3C 5A FF 63 03 03 01 06 00 EE
High byte expression: =MID(DEC2HEX(A2*10;4);LEN(DEC2HEX(A2*10;4))-3;2)
A5 C3 3C 5A FF 63 03 03 02 01 01 EE
In order to calculate values, copy these formulas to excel sheet. The volume
data should be written to the same excel A2 cell.
Example below: Low byte formula copied to C2 cell. High byte formula copied
to D2 cell. Volume level for conversion must be typed to A2 cell.
Value
Value
End
low byte
high byte
XX
XX
EE
Example
Command
Set master volume to 0 dB
A5 C3 3C 5A FF 36 04 04 00 01 00 00 EE
Set master volume to -10 dB
A5 C3 3C 5A FF 36 04 04 00 01 9C FF EE
Set master volume to - 60 dB
A5 C3 3C 5A FF 36 04 04 00 01 A8 FD EE
INPUT/OUTPUT VOLUME CONTROL
Note: Volume level range is from +15dB to -60dB.
Only analog input/output can be controlled by using serial or IP/TCP
commands. USB input/output volume can't be controlled.
Device
Control
Start
ID
byte
A5 C3 3C 5A
FF
36
Value1 byte: selects DSP input or output will be affected.
Value2 byte: Set input/output channel. Value byte calculation: Channel decimal
number convert to HEX.
Value low and high bytes: volume level must be calculated by using formulas.
HEX code
Feedback
HEX code
Check the Low and high byte expression in master volume manual (page No:
Sending successful
00
25).
Sending failed
01
Value
Value
Data
Function
Value 1
Value 2
low
high
End
length
byte
byte
01
(= input)
01 (= 1 channel)
04
04
...
XX
XX
EE
02
08 (= 8 channel)
(= output)
USER MANUAL DSP8X8 Digital Signal Processor
25

Advertisement

Table of Contents
loading

Table of Contents