ARM Communication Protocol

This is the basic structure of the message:

{START BYTE, FUNCTION BYTE, PARAMETER BYTE, VALUE BYTE}

This UART command below sets control parameter N to value V:

{0xff (START), 0xfe (SEND TO PARAMETER), parameter N (PARAMETER INDEX), value V (INTEGER VALUE)}

{0xff, 0xfc, parameter N} — Return the current value of parameter N via UART or Nuvoton Bridge connection.

{0xff, 0xf9} — bypasses DPS

{0xff, 0xf8} — enables DPS

{0xff, 0xf7} — bypasses stereo widening

{0xff, 0xf6} — enables stereo widening

{0xff, 0xfa, preset #N} — loads preset (DPS Profile) #N (N = 0, 1, 2, 3, 4…} from indices.c embedded in the ARM firmware.

Pull All Parameter Data

{0xff, 0xfb} — Returns the value of every parameter, in order, terminated by 0xff.  

This is sent during the initial connection with the DPS Profile Creator.  If a proper series of bytes is received, the serial connection is considered successful.  If the proper bytes are not received a connection error is reported.  The connection must then be re-established in the DPS Profile Creator.

Value Indexes

An index is sent for functions that take a value (for example gain, frequency, and Q for an EQ band). Use the link below to reference all value indexes:

Indexes and Ranges

The parameter list below represents the values in the indices.c preset arrays. Only User Controls are not included in the presets.

Parameter List

PARAMETERINDEXHEXValues
General DPS Parameters
ParamIdxInputHpf,0020-255Hz
ParamIdxInputGain,11Cal Gain
ParamIdxShelf1Gain,22EQ Gain
ParamIdxShelf2Gain,33EQ Gain
ParamIdxAgc1Thresh,44Threshold
ParamIdxAgc1Ratio,55Ratio
ParamIdxAgc1Attack,66Other
ParamIdxAgc1Release,77Other
ParamIdxAgc1Makeup,88Cal Gain
ParamIdxShelf3Gain,99EQ Gain
ParamIdxShelf4Gain,10AEQ Gain
ParamIdxBellF1Gain,11BEQ Gain
ParamIdxBellF1Q,12CEQ Table
ParamIdxBellF1Freq,13DEQ Table
ParamIdxBellF2Gain,14EEQ Table
ParamIdxBellF2Q,15FEQ Table
ParamIdxBellF2Freq,1610EQ Table
ParamIdxBellF3Gain,1711EQ Table
ParamIdxBellF3Q,1812EQ Table
ParamIdxBellF3Freq,1913EQ Table
ParamIdxBellF4Gain,2014EQ Table
ParamIdxBellF4Q,2115EQ Table
ParamIdxBellF4Freq,2216EQ Table
ParamIdxBellF5Gain,2317EQ Table
ParamIdxBellF5Q,2418EQ Table
ParamIdxBellF5Freq,2519EQ Table
ParamIdxBellF6Gain,261AEQ Table
ParamIdxBellF6Q,271BEQ Table
ParamIdxBellF6Freq,281CEQ Table
ParamIdxBellF7Gain,291DEQ Table
ParamIdxBellF7Q,301EEQ Table
ParamIdxBellF7Freq,311FEQ Table
ParamIdxBellF8Gain,3220EQ Table
ParamIdxBellF8Q,3321EQ Table
ParamIdxBellF8Freq,3422EQ Table
ParamIdxBellF9Gain,3523EQ Table
ParamIdxBellF9Q,3624EQ Table
ParamIdxBellF9Freq,3725EQ Table
ParamIdxBellF10Gain,3826EQ Table
ParamIdxBellF10Q,3927EQ Table
ParamIdxBellF10Freq,4028EQ Table
ParamIdxAgcXoverFreq,4129EQ Table
ParamIdxAgc2Thresh,422AOther
ParamIdxAgc2Ratio,432BRatio
ParamIdxAgc2Attack,442COther
ParamIdxAgc2Release,452DOther
ParamIdxAgc2Makeup,462ECal Gain
ParamIdxAgc3Thresh,472FOther
ParamIdxAgc3Ratio,4830Ratio
ParamIdxAgc3Attack,4931Other
ParamIdxAgc3Release,5032Other
ParamIdxAgc3Makeup,5133Cal Gain
ParamIdxOutputGain,5234Cal Gain
ParamIdxInputHpfBypass,5335BOOL
ParamIdxBellF1Bypass,5436BOOL
ParamIdxBellF2Bypass,5537BOOL
ParamIdxBellF3Bypass,5638BOOL
ParamIdxBellF4Bypass,5739BOOL
ParamIdxBellF5Bypass,583ABOOL
ParamIdxBellF6Bypass,593BBOOL
ParamIdxBellF7Bypass,603CBOOL
ParamIdxBellF8Bypass,613DBOOL
ParamIdxBellF9Bypass,623EBOOL
ParamIdxBellF10Bypass,633FBOOL
ParamIdxAgcMultibandBypass,6440BOOL
ParamIdxAgcMidbandBypass,6541BOOL
ParamIdxAgcHighbandBypass,6642BOOL
ParamIdxUserEqPosition,6743BOOL
ParamIdxSwXoverFreq,6844EQ Table
ParamIdxSwLowShelfFreq,6945EQ Table
ParamIdxSwHighShelfFreq,7046EQ Table
ParamIdxSwAgcThresh,7147Other
ParamIdxSwAgcRatio,7248Ratio
ParamIdxSwAgcAttack,7349Other
ParamIdxSwAgcRelease,744AOther
ParamIdxSwAgcMakeup,754BCal Gain
ParamIdxSwMGain,764CEQ Gain
ParamIdxSwSGain,774DEQ Gain
ParamIdxSwLowGain,784EEQ Gain
ParamIdxSwHighGain,794FEQ Gain
ParamIdxNoisegateRelease,8050Other
ParamIdxNoisegateHysteresis,8151Other
ParamIdxNoisegateFloor,8252Other
ParamIdxNoisegateHold,8353Other
ParamIdxNoisegateThresh,8454Other
Virtual Subwoofer
ParamIdxVirtualBassBypass8555BOOL
ParamIdxVirtualBassRecLevel8656Other
ParamIdxVirtualBassThreshold8757Other
ParamIdxVirtualBassLevelTarget8858Other
ParamIdxVirtualBassMaxBoost8959Other
ParamIdxVirtualBassResponseTime905A0-100
ParamIdxZFiltQ915BEQ Table
ParamIdxZFiltFreq925CEQ Table
Signal Flow
ParamIdxSignalFlowMode935D0-3
ParamIdxBongioviAgcMode945EBOOL
ParamIdxAgcXoverMidFreq955FEQ Table
ParamIdxHighAgcMode9660BOOL
AGC Parameters
ParamIdxAgc1ReleaseMode9761NA
ParamIdxAgc1LogScale9862NA
ParamIdxAgc1LookAhead9963NA
ParamIdxAgc2ReleaseMode10064NA
ParamIdxAgc2LogScale10165NA
ParamIdxAgc2LookAhead10266NA
ParamIdxAgc3ReleaseMode10367NA
ParamIdxAgc3LogScale10468NA
ParamIdxAgc3LookAhead10569NA
ParamIdxAgcSwReleaseMode1066ANA
ParamIdxAgcSwLogScale1076BNA
ParamIdxAgcSwLookAhead1086CNA
ParamIdxStereoEnhancementBypass1096DBOOL
ParamIdxNoiseGateBypass1106EBOOL
ParamIdxLimiterBypass1116FBOOL
ParamIdxLimiterInputGain11270Other
ParamIdxLimiterThreshold11371Other
ParamIdxLimiterCeiling11472Other
ParamIdxLimiterRelease11573Other
User Control – not included in indices.c
ParamIdxUserGain,15096UserGain
ParamIdxUserEqBassGain,15197EQ Table
ParamIdxUserEqBassQ,15298EQ Table
ParamIdxUserEqBassFc,15399EQ Table
ParamIdxUserEqTrebleGain,1549AEQ Table
ParamIdxUserEqTrebleQ,1559BEQ Table
ParamIdxUserEqTrebleFc,1569CEQ Table
ParamIdxUserEqBypass,1579DBOOL
V3D Headphone Effect
ParamIdxV3DMode1599F0-6
ParamIdxV3DBypass16074BOOL

Audio Meters

Meter data for AGC gain change and input/output levels is returned as a series of 13 bytes.

IndexMeterRange
0BAGC Gain Modulation Left-40dB to 0dB Calibration Gain Index
1BAGC Gain Modulation Right -40dB to 0dB Calibration Gain Index
2Low AGC Gain Modulation Left -40dB to 0dB Calibration Gain Index
3Low AGC Gain Modulation Right -40dB to 0dB Calibration Gain Index
4High AGC Gain Modulation Left -40dB to 0dB Calibration Gain Index
5High AGC Gain Modulation Right -40dB to 0dB Calibration Gain Index
6Output Level Left -40dB to +25dBdB Calibration Gain Index
7Output Level Right -40dB to +25dBdB Calibration Gain Index
8Input Level Left -40dB to +25dBdB Calibration Gain Index
9Input Level Right -40dB to +25dBdB Calibration Gain Index
10Dynamic Stereo Widening Gain Modulation -40dB to 0dB Calibration Gain Index
11Virtual Subwoofer Boost Level 0dB to +25dBdB Calibration Gain Index
12Subwoofer Output Level -40dB to +25dB Calibration Gain Index