Dynamesys Parameter Reference Firmware 2.3.4

Identity, schema, core0x0000 to 0x00FF

IDNameTypeUnitDefaultMinMaxDescription
0x0001hw_nameSignalHardware name
0x0002hw_versionSignalHardware version (major.minor.patch encoded)
0x0003fw_versionSignalFirmware version (major.minor.patch encoded)
0x0004NameParameterUser-defined name
0x0005schema_hashSignalParameter schema fingerprint (host re-enumerates on mismatch)
0x0008serial_numberSignalUnit serial number, based on UUID

Motor and observer0x0100 to 0x02FF

IDNameTypeUnitDefaultMinMaxDescription
0x0101par_p_maxParameterWMax power
0x0102par_ibat_maxParameterAMax battery discharge current
0x0103par_ibat_max_regenParameterAMax battery regen current
0x0104par_dirParameterMotor direction (0=normal, 1=reversed; set at standstill, then re-identify motor)
0x0105par_ppParameterMotor pole pairs. Only used when motor_type = PMSM/BLDC or Stepper
0x0107par_fluxParameterWbFlux linkage
0x0108par_KtParameter<Kt_unit>Force constant at the motor
0x0109flux_perc_upParameter%Flux observer max above nominal
0x010Aflux_perc_dnParameter%Flux observer max below nominal
0x010BFOC_flux_gainParameterFlux observer gain factor
0x010CFOC_flux_nlinParameterFlux centering gain
0x010DFOC_ortega_gainParameterOrtega gain, DTC needs ~1e9
0x010Eobs_dc_kParameterObserver gain that pulls the flux estimate back to centre, removing DC offset. 0 = off
0x010FFOC_bemf_kpParameterPLL observer proportional gain
0x0110FOC_bemf_kiParameterPLL observer integral gain
0x0111FOC_obs_typeParameterObserver 0=None,1=MXLLambda,2=MXL,3=Ortega,4=PLL,5=MXLSal(IPM), 6=V3, 7=ActiveFlux(IPM)
0x0112FOC_interp_angParameterPredict FOCAngle forward into the PWM period
0x0113par_rParameterOhmPhase resistance
0x0114par_ldParameterHD-axis inductance
0x0115par_lqParameterHQ-axis inductance
0x0116FOC_curr_BWParameterrad/sCurrent controller bandwidth
0x0117FOC_ffParameterVoltage feedforward: 1=RI, 2=LdI/dt, 4=decoupling, 8=flux linkage
0x0118FOC_ff_delayParametersamplesPI setpoint delay for feedforward compensation
0x0119ff_sp_del_qSignalADelayed q-axis setpoint for PI
0x011Aff_sp_del_dSignalADelayed d-axis setpoint for PI
0x011Bff_Vq_RSignalVFF q-axis R*Iq
0x011Cff_Vd_RSignalVFF d-axis R*Id
0x011Dff_Vq_LdidtSignalVFF q-axis Lq*dIq/dt
0x011Eff_Vq_decSignalVFF q-axis omega*Ld*Id
0x011Fff_Vd_decSignalVFF d-axis -omega*Lq*Iq
0x0120ff_Vq_fluxSignalVFF q-axis omega*flux_linkage
0x0121FOC_psi_totSignalWbExpected flux magnitude
0x0122FOC_hfi_typeParameterHFI type [1=optimal, 2=standard, 3=test optimal, 4=test standard]
0x0123FOC_hfi_voltParameterVHFI voltage
0x0124FOC_hfi_test_currParameterAHFI ambiguity detection test current
0x0125FOC_hfi_toggle_velParameter<speed_unit>HFI toggle speed threshold
0x0126par_fw_currParameterAMax field weakening current
0x0127fw_start_factorParameterFW V2 start threshold as fraction of Vmag_max
0x0128fw_rampdown_startParameterAIq at which field weakening starts to reduce
0x0129fw_rampdown_endParameterAIq above which field weakening is zero
0x012Amotor_det_testsParameterMotor detection tests to run (bitmask: 1=R, 2=L, 4=flux, 8=encoder, 16=hall)
0x012Bmotor_det_currSignalMotor detection current test running
0x012Cmotor_det_startParameterWrite 1=detect only, 2=detect+write to memory, 3=detect+write to memory+flash
0x012Dmotor_stateSignalCurrent motor state (0=init, 6=tracking, 7=run, 10=error, 15=motor_detection, etc.)
0x012Emotor_det_r_currParameterATest current for resistance measurement
0x012Fmotor_det_r_uSignalOhmU phase resistance
0x0130motor_det_r_vSignalOhmV phase resistance
0x0131motor_det_r_wSignalOhmW phase resistance
0x0132motor_det_r_calcSignalOhmAverage resistance from detection test
0x0133motor_det_r_resultSignalResult (0=none, 1=running, 2=success, 3=invalid, 4=high_R, 7=discrepancy)
0x0134motor_det_r_ldSignalHL_D estimated during R measurement (HFI rotation)
0x0135motor_det_r_lqSignalHL_Q estimated during R measurement (HFI rotation)
0x0136motor_det_l_voltParameterVTest voltage amplitude for inductance measurement
0x0137motor_det_l_freqParameterHzTest frequency for inductance measurement
0x0138motor_det_ldSignalHD-axis inductance
0x0139motor_det_lqSignalHQ-axis inductance
0x013Amotor_det_l_calcSignalHAverage inductance from detection test
0x013Bmotor_det_l_resultSignalResult (0=none, 1=running, 2=success, 3=invalid, 6=high_L)
0x013Cmotor_det_flux_currentParameterAD-axis current for open-loop acceleration
0x013Dmotor_det_flux_rpmParameterRPMTarget speed for flux linkage measurement
0x013Emotor_det_flux_accel_timeParametersTime to accelerate to target speed
0x013Fmotor_det_fluxSignalWbMeasured flux linkage
0x0140motor_det_flux_vmagSignalWbFlux from Vmag/eHz method
0x0141motor_det_flux_resultSignalResult (0=none, 1=running, 2=success, 4=invalid_value, 5=no_spinup)
0x0142motor_det_enc_currentParameterAD-axis current for encoder measurement
0x0143motor_det_enc_revsParameterrevMech revs to rotate: 0=offset-only (no rotate, no pp/polarity check)
0x0144motor_det_enc_offsetSignalCalculated encoder offset
0x0145motor_det_enc_resultSignalResult (0=none, 1=running, 2=success, 3=pp_mismatch, 4=error)
0x0146motor_det_hall_currentParameterAD-axis current for hall table measurement
0x0147motor_det_hall_resultSignalResult (0=none, 1=running, 2=success, 3=not_connected, 4=short, 5=missing_sectors, 6=sweeps_inconsistent, 7=width_out_of_range)
0x0148motor_det_hall_states_seenSignalBitmask of hall states observed during last sweep (bit N = state N). Used to diagnose stuck lines when result=5.
0x014Apar_i_maxParameterAMax motor current
0x014Bpar_i_minParameterAMin motor current
0x014CFOC_fpwmParameterHzPWM frequency
0x014DDTC_frequencyParameterHzDTC switching frequency (DTC mode only)
0x014EDTC_qParameterADTC Torque Hysteresis
0x014FDTC_dParameterADTC Flux Hysteresis
0x0150DTC_startup_olParameter-Open-loop flux rotation used to start DTC mode. 0 = off
0x0151DTC_percentSignalDTC active vector duty fraction
0x0152DTC_fpwm_effSignalHzDTC effective switching freq
0x0153FOC_deadtime_nsParameternsHardware deadtime
0x0153FOC_deadtime_nsParameternsHardware deadtime
0x0154FOC_Max_ModParameterMax modulation index; typically 0.95, can over modulate to 1.15
0x0155FOC_sense_pickParameterVbus fraction below which the full Clarke transform is used (duty-based sense picking)
0x0156FOC_enc_osetParameterEncoder electrical alignment offset, 65536 per electrical revolution
0x0157FOC_angleCommandFOC angle (writable in open loop; live elsewhere)
0x0158PLL_angleSignalPLL tracked angle, 65536 per electrical revolution
0x0159PLL_intSignalPLL integrator, the tracked angle step per fast loop tick
0x015APLL_errorSignalPLL proportional term, from the angle tracking error
0x015BPLL_track_errSignalLSBPLL low-16 tracking error FOCAngle-PLL (65536=1 e-rev)
0x015CPLL_track_err_peakSignalLSBPeak |PLL_track_err| since position seed (~32768 => rev slip)
0x015DPLL_freqParameterHzPLL natural frequency
0x015EPLL_dampingParameterPLL damping ratio (1 = critically damped)
0x015FFOC_enc_angSignalEncoder angle now
0x0160FOC_enc_CPRParameterEncoder counts per revolution (post-quadrature, i.e. 4x PPR)
0x0161FOC_enc_polParameterEncoder polarity
0x0162FOC_enc_idx_modeParameterIndex mode: 0=not used, 1=once, 2=always
0x0163FOC_enc_idxedSignal1 if Z pulse has been seen since boot
0x0164FOC_rev_cntCommandSigned revolution counter (unwrapped)
0x0165FOC_pos_cntSignalUnwrapped mechanical position in counts
0x0166FOC_pos_zeroParameterPosition-control zero point (unwrapped counts)
0x0167FOC_pos_polParameterPosition-control polarity (independent of commutation)
0x0168par_motor_sensorParameterCommutation sensor: 0=Sensorless, 1=Hall, 2=Open loop, 3=Absolute encoder, 4=Incremental encoder
0x0169par_SL_sensorParameterSensorless startup sensor: 0=Open loop, 1=Hall, 2=PWM encoder, 3=HFI
0x016AFOC_ol_stepParameterAngle per PWM period openloop (65535 per erev)
0x016BFOC_fw_ehzParametereHzMax eHz under field weakening
0x016CFOC_hall_iirParameterDecay constant for hall preload (0-1.0)
0x016DFOC_hall_VtParameterVHall transition voltage
0x016EFOC_hall_array_okParameterHall array OK flag (set to 0 to restart live hall cal process)
0x016Fopt_fwParameterField weakening [0=OFF, 1=ON, 2=ON V2]
0x0170opt_pwm_typeParameterModulator [0=SVM, 2=Bottom clamp, 3=SVM/bottom combo, 4=DTC]
0x0170opt_pwm_typeParameterModulator [0=SVM, 2=Bottom clamp, 3=SVM/bottom combo]
0x0171opt_motor_typeParameterMotor type [0=PMSM/BLDC, 1=DC, 2=Stepper]
0x0171opt_motor_typeParameterMotor type [0=PMSM/BLDC, 1=DC]
0x0172opt_mtpaParameterMTPA type = 0=none, 1=setpoint, 2=magnitude, 3=iq
0x0173opt_motor_tempParameterMotor has temperature sensor
0x0174opt_phase_filtParameterEnable phase filters
0x0175opt_app_typeParameterApp type, 0=none, 1=Vehicle
0x0176opt_cont_typeParameterControl mode: 0=Current, 1=Speed, 2=Duty, 3=Position, 6=Voltage
0x0177opt_ramp_to_zeroParameterRamp setpoint to zero before exiting RUN [bit0=speed bit1=duty]
0x0178FOC_AdvanceParameterFOC advance, proportion of 1 PWM cycle
0x0179obs_flux_aSignalWbObserver flux alpha
0x017Aobs_flux_bSignalWbObserver flux beta
0x017Bobs_flux_ampSignalWbObserver flux amplitude
0x017CFOC_Id_KpSignalV/AD-axis current controller Kp (= bw * L_D)
0x017DFOC_Iq_KpSignalV/AQ-axis current controller Kp (= bw * L_Q)
0x017EFOC_Id_KiSignal1/sampleD-axis current controller Ki (series form, = Ts * R/L_D)
0x017FFOC_Iq_KiSignal1/sampleQ-axis current controller Ki (series form, = Ts * R/L_Q)
0x0180FOC_AlsoUseV7ParameterAlso use v7. Enabled, the current loop will run twice the pwm frequency
0x0181mech_typeParameterMOTOR domain: 0=rotary (Nm/A, rad/s), 1=linear motor (N/A, m/s)
0x0182pole_pitchParametermTravel per electrical revolution (linear motor only)
0x0183enc_resolutionParametermDistance per encoder count on a linear scale. 0 = rotary encoder
0x0184load_typeParameterLOAD domain: 0=rotary (rad), 1=linear (m). Sets position units
0x0186vehicle_stateSignalVehicle app state: 0=neutral, 1=drive, 2=locked
0x0187travel_per_radParameterm/radLoad travel per motor radian. Wheel radius on a wheeled drive, screw lead / 6.2832 on a screw. 0 = direct drive

Control loops0x0300 to 0x03FF

IDNameTypeUnitDefaultMinMaxDescription
0x0301meas_currParameterAMeasuring current
0x0302meas_cl_currParameterAMeasuring q closed loop current
0x0303meas_voltParameterVMeasuring voltage
0x0304duty_actualSignalActual duty cycle
0x0305duty_reqSignalDuty request before ramp limiting
0x0306duty_setpointSignalRamp-limited duty setpoint
0x0307current_req_minParameterAMin current request (any input source) to enter/stay in RUN
0x0308current_rampParameterA/sMax Iq current ramp rate
0x0309input_optParameterInputs [1=ADC1 2=ADC2 4=PPM 8=UART 16=Killswitch 32=CANADC1 64=CANADC2 128=ADC12DIFF 256=CAN]
0x030Aspeed_kpParameter[force_unit/(vel_unit)] Proportional gain
0x030Bspeed_kiParameterrad/sSpeed PI integrator gain (series-PI zero as angular freq)
0x030Cspeed_inertia_ffParameter<inertia_unit>Inertia or mass at the LOAD (force = J*accel). 0 = off.
0x030Dspeed_visc_ffParameter[force_unit/(vel_unit)] Viscous/velocity feedforward B (force = B*speed). 0 = off.
0x030Espeed_ff_torqueSignal<force_unit>Combined feedforward torque currently applied
0x030Fspeed_unitParameterSpeed display unit. Rotary load: [0=rad/s, 1=RPM]. Linear load: [0=m/s, 1=mm/s, 2=km/h]
0x0310speed_ramp_upParameter<speed_unit/s>Acceleration ramp rate
0x0311speed_ramp_downParameter<speed_unit/s>Deceleration ramp rate
0x0312duty_ramp_upParameterduty/sAcceleration ramp rate (default 1000 = 0->full duty in 1 ms)
0x0313duty_ramp_downParameterduty/sDeceleration ramp rate (default 1 = full duty->0 in 1000 ms)
0x0314speed_req_minParameter<speed_unit>Minimum speed request
0x0315speed_req_max_posParameter<speed_unit>Maximum positive speed request
0x0316speed_req_max_negParameter<speed_unit>Maximum negative speed request
0x0317speed_reqSignal<speed_unit>Speed request
0x0318speed_actualSignal<speed_unit>Actual speed
0x0319speed_setpointSignal<speed_unit>Acceleration-limited speed setpoint
0x031Aspeed_errorSignal<speed_unit>Speed error
0x031Bspeed_error_intSignal<force_unit>Speed error integral
0x031Cspeed_Kp_outputSignal<force_unit>Speed Kp output
0x031Dpos_kpParameter1/sPosition loop gain (= bandwidth; velocity per unit of error)
0x031Epos_vel_maxParameter<vel_unit>Max profile/commanded velocity
0x031Fpos_acc_maxParameter<acc_unit>Max profile acceleration (speeding up)
0x0320pos_dec_maxParameter<acc_unit>Max profile deceleration (braking); 0 = use pos_acc_max
0x0321pos_jerk_timeParametermsTime to ramp acceleration 0 to pos_acc_max (S-curve corner). 0 = off, trapezoidal
0x0322pos_reqParameter<pos_unit>Target position command
0x0323pos_enableParameterPosition hold enable: 1 arms/holds, 0 releases. STOP/E-stop clears it. (Selecting position mode alone does NOT engage.)
0x0324pos_zero_hereCommandWrite 1 to set current shaft position as 0 (active sensor); auto-resets
0x0325pos_actualSignal<pos_unit>Actual position (controlled frame)
0x0326pos_setpointSignal<pos_unit>Profiled position setpoint
0x0327pos_errorSignal<pos_unit>Position following error
0x0328pos_vel_ffSignal<vel_unit>Profile velocity feedforward
0x0329pos_turnsSignalturnActual position in revolutions. Rotary loads only
0x032AIq_limitSignalAEffective Iq limit after all limiters
0x032Bspeed_torque_outSignal<force_unit>Speed PI output torque incl. FRF injection (plant input)
0x032Cspeed_error_radpsSignal<vel_unit>Speed error (setpoint - actual)
0x032Did_actualSignalAId actual
0x032Eiq_actualSignalAIq actual
0x032Fspeed_loop_freqSignalHzspeed/slow loop rate
0x0330id_reqSignalAId request (pre-FW override)
0x0331iq_reqSignalAIq request (pre-ramp)
0x0332id_setpointSignalAId setpoint
0x0333iq_setpointSignalAIq setpoint (ramp-limited)
0x0334id_errorSignalAId error (setpoint - actual)
0x0335iq_errorSignalAIq error (setpoint - actual)
0x0336id_smoothedSignalAId smoothed
0x0337iq_smoothedSignalAIq smoothed
0x0338outer_loop_fastParameterRun speed/position loops in the fast loop instead of the slow loop
0x0339pos_remain_cntSignalcountsTarget - profiled setpoint (0 = profile done)
0x033Apos_follow_cntSignalcountsProfiled setpoint - actual (exact, no float rounding)
0x033Bpos_req_cntParametercountsTarget position in encoder counts, added to pos_req. Exact at any distance
0x033Cpos_actual_cntSignalcountsActual position, exact (pos_actual rounds past 2^24 counts)
0x033Dpos_target_cntSignalcountsResolved target, what the command actually became
0x033Epos_err_maxParameter<pos_unit>Following-error trip level (0 = disabled)
0x033Fpos_minParameter<pos_unit>Soft travel limit, low (max <= min disables)
0x0340pos_maxParameter<pos_unit>Soft travel limit, high (max <= min disables)
0x0341pos_acc_ffSignal<acc_unit>Profile acceleration feedforward
0x0342speed_lim_maxParameter<speed_unit>Top speed. Accelerating current fades out above this, braking is untouched. 0 = off
0x0343speed_lim_deltaParameter<speed_unit>Band above speed_lim_max over which current reaches zero. 0 = off

CAN and communications0x0400 to 0x04FF

IDNameTypeUnitDefaultMinMaxDescription
0x0401uart_reqCommandMain request over UART or CAN. Unit follows the control mode (A, speed_unit, duty or V). Not stored
0x0402uart_dreqCommandD-axis request over UART or CAN: current [A], or voltage [V] in voltage mode. Not stored
0x0403uart_timeoutParametermsUART request timeout (0 = no timeout)
0x0404can_protocolParameterCAN protocol [0=Disabled, 1=J1939, 2=CANopen, 3=Cyphal, 4=DroneCAN, 5=Custom, 8=ARINC825, 9=VESC]
0x0405can_baudrateParameterCAN baud rate [0=1M, 1=500k, 2=250k, 3=125k, 4=100k, 5=50k]
0x0406can_node_idParameterCAN node ID (0 = pick one from the unit id at boot; 1-127 to pin it)
0x0407can_esc_indexParameterCAN ESC index (0-19, zero is first ESC, DroneCAN)
0x0408can_timeoutParametermsCAN command timeout (0 = no timeout)
0x0409can_control_modeParameterControl mode for CAN setpoints [0=Torque, 1=Speed, 2=Duty, 3=Position]
0x040Acan_status_hzParameterHzCAN status message rate (0 = disabled)
0x040Acan_status_hzParameterHzCAN status message rate (0 = disabled)
0x040Bcan_scaledSignalCAN scaled setpoint (read-only)
0x040Ccan_currentSignalACAN current setpoint
0x040Dcan_speedSignal<vel_unit>CAN speed setpoint
0x040Ecan_tcountSignalCAN timeout countdown (read-only)
0x040Fcan_esrSignalCAN error status [6:4]=LEC [15:8]=REC [23:16]=TEC [2]=BOFF [1]=EPVF [0]=EWGF
0x0410can_tsrSignalCAN transmit status [26]=TME2 [25]=TME1 [24]=TME0
0x0411can_rf0rSignalCAN RX FIFO0 [1:0]=FMP0 pending msgs
0x0412can_ecrSignalFDCAN error counter [7:0]=TEC [14:8]=REC [16]=RP [17]=CEL
0x0413can_psrSignalFDCAN protocol status [2:0]=LEC [5]=EP [6]=EW [7]=BO
0x0414can_node_eventSignalLast CAN node change: bit8 seen/lost, bits7:0 node id (master only)
0x0415CAN_optionsParameterDynaCAN features [0=Off, this board puts no DynaCAN frame on the bus and is not discoverable, 1=Tunnel and presence, 2=Tunnel and presence, and move our node ID off a collision]

Sensors and feedback0x0500 to 0x05FF

IDNameTypeUnitDefaultMinMaxDescription
0x0501ic_pulse_maxParameterµsRCPWM pulse max
0x0502ic_pulse_minParameterµsRCPWM pulse min
0x0503ic_pulse_midParameterµsRCPWM pulse mid
0x0504ic_pulse_deadParameterµsRCPWM pulse deadzone
0x0505ic_dur_maxParameterµsRCPWM duration max
0x0506ic_dur_minParameterµsRCPWM duration min
0x0507sens_tempSignaldegCBME280 ambient temperature
0x0508sens_humSignal%RHBME280 relative humidity
0x0509sens_pressSignalhPaBME280 barometric pressure
0x050Asens_bme_okSignalBME280 alive (init + last read OK)
0x050Bsens_bme_errSignalBME280 failed reads/inits (monotonic)
0x050Csens_bme_lasterrSignalBME280 last failure: [31:28]=stage(5=run,7=probe) [27:8]=SR/value [7:0]=cause(B0=budget,B1=bad-id,B2=reset-tmo)
0x050Dimu_axSignalgAccelerometer X
0x050Eimu_aySignalgAccelerometer Y
0x050Fimu_azSignalgAccelerometer Z
0x0510imu_gxSignaldpsGyroscope X
0x0511imu_gySignaldpsGyroscope Y
0x0512imu_gzSignaldpsGyroscope Z
0x0513imu_tempSignaldegCIMU die temperature
0x0514sens_imu_okSignalLSM6DS3 alive (init + last read OK)
0x0515sens_imu_errSignalLSM6DS3 failed reads/inits (monotonic)
0x0516sens_imu_lasterrSignalLSM6DS3 last failure: [31:28]=stage(4=run,6=probe) [27:8]=SR/value [7:0]=cause(B0=budget,B1=bad-id,B2=reset-tmo)
0x0517enc_multSignalEncoder multiplier (pole_pairs*65536/enc_counts)
0x0518enc_cntSignalEncoder timer counter (raw)
0x0519enc_ccr3SignalEncoder index capture (raw)
0x051Aspienc_osetParameter16bSPI encoder electrical alignment offset
0x051Bspienc_polParameterSPI encoder commutation polarity
0x051Cspienc_pos_zeroParameterSPI encoder position-control zero (counts, 32768/rev)
0x051Dspienc_pos_polParameterSPI encoder position-control polarity
0x051Espienc_angleSignalSPI encoder raw 15-bit angle (0..32767)
0x051Fspienc_elecSignal16bSPI encoder electrical angle (commutation)
0x0520spienc_countsSignalSPI encoder unwrapped mech position (32768/rev)
0x0521spienc_turnsSignalSPI encoder signed revolution count
0x0522spienc_okSignalSPI encoder last frame OK (CRC + status)
0x0523spienc_crc_errSignalSPI encoder CRC error count
0x0524spienc_stat_errSignalSPI encoder status-fault frame count
0x0525spienc_lateSignalSPI encoder transfer-not-ready count
0x0526spienc_spierrSignalSPI encoder SPI/DMA error + abort count
0x0527fbk_comm_srcParameterreservedFeedback slot for commutation (0=motor,1=load)
0x0528fbk_vel_srcParameterFeedback slot for speed loop (0=motor,1=load)
0x0529fbk_pos_srcParameterFeedback slot for position loop (0=motor,1=load)
0x052Afbk0_capsSignalSlot 0 capability bits (1=comm,2=vel,4=posrel,8=posabs,16=mech)
0x052Bfbk0_ang_okSignalSlot 0 electrical angle valid now
0x052Cfbk0_pos_okSignalSlot 0 position valid now
0x052Ehall_ticksSignalFast-loop ticks since last hall transition
0x052Fhall_periodSignalFast-loop ticks for the most recent hall sector
0x0530hall_glitchesSignalHall glitches: LUT-impossible transitions and recovered invalid-state (0/7) runs
0x0531fbk1_typeParameterSlot 1 source: 0=none, 1=analog sensor
0x0532fbk_an_adcParameterAnalog feedback ADC input (1-4)
0x0533fbk_an_kindParameterAnalog feedback measures: 0=position, 1=velocity
0x0534fbk_an_gainParameterpos_unit/VAnalog scale per volt (vel_unit/V when fbk_an_kind=1)
0x0535fbk_an_offsetParameter<pos_unit>Analog value at 0 V (vel_unit when fbk_an_kind=1)
0x0536fbk_an_fcParameterHzLowpass frequency for analog input feedback control (0 = off)
0x0537fbk_an_valueSignalMapped analog reading, for checking gain and offset
0x0538fbk1_capsSignalSlot 1 capability bits (1=comm,2=vel,4=posrel,8=posabs,16=mech)
0x0539fbk1_pos_okSignalSlot 1 position valid now

SD card, audio, Lua0x0600 to 0x06FF

IDNameTypeUnitDefaultMinMaxDescription
0x0601audio_divSignalAudio stream FOC-tick to stream-sample ratio (firmware-side)
0x0602audio_ticksSignalFOC ticks observed inside audio_stream_get_next_sample (monotonic)
0x0603audio_readsSignalStream samples actually pulled from the ring buffer (monotonic)
0x0604sd_okSignalSD card up and volume mounted
0x0605sd_capacitySignalMBSD volume size
0x0606sd_errSignalSD failed mounts/inits (monotonic)
0x0607sd_dbgSignalSD last checkpoint: 1 task 2 mount-in 3 blkinit-in 4 spi-ok 5 blkinit-fail 6 blkinit-ok 7 mount-out
0x0608sd_dumpsSignalError dumps written to SD this boot
0x0609sd_playingSignalSD WAV playback in progress
0x060Asd_posSignal%SD playback position through the file
0x060Bsd_volumeParameter0-255SD WAV playback volume (0 = mute)
0x060Caudio_buf_availSignalsamplesAudio stream ring-buffer fill

Temperature and protection0x0700 to 0x07FF

IDNameTypeUnitDefaultMinMaxDescription
0x0701iphase_tripSignalAOvercurrent trip threshold (dynamic)
0x0702vbus_trip_highSignalVOvervoltage trip threshold (dynamic)
0x0703vbus_trip_lowParameterVUndervoltage trip threshold
0x0704iphase_board_maxSignalABoard absolute max phase current
0x0705vbus_board_maxSignalVBoard absolute max bus voltage
0x0706vbus_trip_headroomParameter-Dynamic OV margin as fraction of board max: vbus_trip_high tracks vbus + this x vbus_board_max
0x0707TMOSSignal°CMOSFET temperature (max)
0x0708TMOTSignal°CMotor temperature
0x0709TMOSuSignal°CMOSFET U temperature
0x070ATMOSvSignal°CMOSFET V temperature
0x070BTMOSwSignal°CMOSFET W temperature
0x070CTCAPSignal°CCapacitor temperature
0x070Dtemp_mos_thotParameter°CMOS rollback start temperature
0x070Etemp_mos_tmaxParameter°CMOS error temperature
0x0710temp_cap_thotParameter°CCap rollback start temperature
0x0711temp_cap_tmaxParameter°CCap error temperature
0x0712temp_mot_thotParameter°CMotor rollback start temperature
0x0713temp_mot_tmaxParameter°CMotor error temperature
0x0714temp_mot_methodParameterSensor type (0=NTC_SH, 1=KTY83, 2=KTY84)
0x0715temp_mot_betaParameterKNTC Beta coefficient
0x0716temp_mot_r0ParameterOhmNTC resistance at 25C

Detection and identification0x0800 to 0x08FF

IDNameTypeUnitDefaultMinMaxDescription
0x0801hall_s1_fwdParameterHall sector 1: forward-next state (1-6)
0x0802hall_s1_revParameterHall sector 1: reverse-next state (1-6)
0x0803hall_s1_centreParameterHall sector 1: centre angle (u16 electrical; 65536=360°)
0x0804hall_s1_widthParameterHall sector 1: angular width (u16 electrical; 65536/6≈10923 for ideal 60°)
0x0805hall_s2_fwdParameterHall sector 2: forward-next state (1-6)
0x0806hall_s2_revParameterHall sector 2: reverse-next state (1-6)
0x0807hall_s2_centreParameterHall sector 2: centre angle (u16 electrical; 65536=360°)
0x0808hall_s2_widthParameterHall sector 2: angular width (u16 electrical)
0x0809hall_s3_fwdParameterHall sector 3: forward-next state (1-6)
0x080Ahall_s3_revParameterHall sector 3: reverse-next state (1-6)
0x080Bhall_s3_centreParameterHall sector 3: centre angle (u16 electrical; 65536=360°)
0x080Chall_s3_widthParameterHall sector 3: angular width (u16 electrical)
0x080Dhall_s4_fwdParameterHall sector 4: forward-next state (1-6)
0x080Ehall_s4_revParameterHall sector 4: reverse-next state (1-6)
0x080Fhall_s4_centreParameterHall sector 4: centre angle (u16 electrical; 65536=360°)
0x0810hall_s4_widthParameterHall sector 4: angular width (u16 electrical)
0x0811hall_s5_fwdParameterHall sector 5: forward-next state (1-6)
0x0812hall_s5_revParameterHall sector 5: reverse-next state (1-6)
0x0813hall_s5_centreParameterHall sector 5: centre angle (u16 electrical; 65536=360°)
0x0814hall_s5_widthParameterHall sector 5: angular width (u16 electrical)
0x0815hall_s6_fwdParameterHall sector 6: forward-next state (1-6)
0x0816hall_s6_revParameterHall sector 6: reverse-next state (1-6)
0x0817hall_s6_centreParameterHall sector 6: centre angle (u16 electrical; 65536=360°)
0x0818hall_s6_widthParameterHall sector 6: angular width (u16 electrical)
0x0819hall_stateSignalCurrent hall state
0x081AHFI_countdownSignalHFI ambiguity-detection countdown (runtime state)
0x081BHFI_injectSignalHFI injection state: 0=off, 1/2=running (runtime state)
0x081Chfi_error_eradSignaleradHFI angle error
0x081DHFI_offsetSignalAHFI calibrated offset
0x081EHFI_Vd_injSignalVHFI d-axis injection voltage
0x081FHFI_Vq_injSignalVHFI q-axis injection voltage
0x0820HFI_int_stateSignalerad/sHFI integrator state
0x0821HFI_num_injectsSignalHFI injection counter
0x0822HFI_didq_dSignalAHFI delta Id
0x0823HFI_didq_qSignalAHFI delta Iq
0x0824HFI_sweep_cosSignalHFI sweep DFT cos accumulator (saliency ripple)
0x0825HFI_sweep_sinSignalHFI sweep DFT sin accumulator (saliency ripple)
0x0826HFI_sweep_magSignalHFI sweep saliency-signal magnitude sqrt(cos^2+sin^2)
0x0827HFI_sweep_angSignaleradHFI rotor angle estimate from sweep (mod pi, diagnostic)
0x0828HFI_sweep_ang_u16SignalHFI rotor angle estimate from sweep (u16, 0..32768 = 0..180 deg elec, diagnostic)
0x0829Hall_fluxParameterhall start table
0x082AHFI_ambi_Ld_posSignalHHFI ambi-detect incremental Ld while +Id applied
0x082BHFI_ambi_Ld_negSignalHHFI ambi-detect incremental Ld while -Id applied

Frequency response (FRF)0x0900 to 0x09FF

IDNameTypeUnitDefaultMinMaxDescription
0x0901FRF_Vd_gainParameterVPRBS amplitude injected on Vd
0x0902FRF_Vq_gainParameterVPRBS amplitude injected on Vq
0x0903FRF_downsampleParameter-PRBS chip held N PWM cycles (chip rate = pwm/N)
0x0904FRF_enableParameter-PRBS injection enable (free-running)
0x0905FRF_noiseSignal-Current PRBS chip value, +/-1 (host phase-lock reference)
0x0906FRF_Tq_gainParameter<force_unit>PRBS amplitude injected on speed-loop torque
0x0907FRF_Tq_downsampleParameter-Torque PRBS chip held N speed-loop cycles
0x0908FRF_Tq_enableParameter-Torque PRBS injection enable (speed-loop FRF)
0x0909FRF_Tq_noiseSignal-Current torque PRBS chip, +/-1 (host phase-lock reference)

Digital IO0x0A00 to 0x0AFF

IDNameTypeUnitDefaultMinMaxDescription
0x0A01DOUT_1_NAMEParameterDOUT_1_DESC
0x0A02DOUT_2_NAMEParameterDOUT_2_DESC
0x0A03DOUT_3_NAMEParameterDOUT_3_DESC
0x0A04DOUT_4_NAMEParameterDOUT_4_DESC
0x0A05DOUT_5_NAMEParameterDOUT_5_DESC
0x0A06DOUT_6_NAMEParameterDOUT_6_DESC
0x0A07DOUT_7_NAMEParameterDOUT_7_DESC
0x0A08DOUT_8_NAMEParameterDOUT_8_DESC
0x0A09din_1SignalDigital input 1
0x0A0Adin_2SignalDigital input 2
0x0A0Bdin_3SignalDigital input 3
0x0A0Cdin_4SignalDigital input 4

Error log0x0B00 to 0x0BFF

IDNameTypeUnitDefaultMinMaxDescription
0x0B03errors_allSignalAll errors latched since boot (cumulative)
0x0B04errlog0_codeSignalError log 0 code (1-based, 0=none)
0x0B05errlog0_msSignalError log 0 timestamp [ms]
0x0B06errlog1_codeSignalError log 1 code (1-based, 0=none)
0x0B07errlog1_msSignalError log 1 timestamp [ms]
0x0B08errlog2_codeSignalError log 2 code (1-based, 0=none)
0x0B09errlog2_msSignalError log 2 timestamp [ms]
0x0B0Aerrlog3_codeSignalError log 3 code (1-based, 0=none)
0x0B0Berrlog3_msSignalError log 3 timestamp [ms]
0x0B0Cerrlog4_codeSignalError log 4 code (1-based, 0=none)
0x0B0Derrlog4_msSignalError log 4 timestamp [ms]
0x0B0Eerrlog5_codeSignalError log 5 code (1-based, 0=none)
0x0B0Ferrlog5_msSignalError log 5 timestamp [ms]
0x0B10errlog6_codeSignalError log 6 code (1-based, 0=none)
0x0B11errlog6_msSignalError log 6 timestamp [ms]
0x0B12errlog7_codeSignalError log 7 code (1-based, 0=none)
0x0B13errlog7_msSignalError log 7 timestamp [ms]
0x0B14errlog8_codeSignalError log 8 code (1-based, 0=none)
0x0B15errlog8_msSignalError log 8 timestamp [ms]
0x0B16errlog9_codeSignalError log 9 code (1-based, 0=none)
0x0B17errlog9_msSignalError log 9 timestamp [ms]
0x0B18error_restart_delayParametermsUsed by auto_clear_error 2/3: wait this long after the error condition goes away before restarting
0x0B19errors_latchedSignalStored errors, still set until cleared
0x0B1Aerrors_activeSignalErrors present right now
0x0B1Berrors_lastSignalCode of most recent error (1-based, 0=none)

Telemetry signals0x0C00 to 0x0DFF

IDNameTypeUnitDefaultMinMaxDescription
0x0C01fastloop_cyclesSignalCPU cyclesTime spent in last fastloop iteration
0x0C02adc1_maxParameter-ADC1 reading at full throttle, normalised 0 to 1
0x0C03adc1_minParameter-ADC1 reading at zero throttle, normalised 0 to 1
0x0C04adc1_polParameterADC1 polarity
0x0C05adc2_maxParameter-ADC2 reading at full throttle, normalised 0 to 1
0x0C06adc2_minParameter-ADC2 reading at zero throttle, normalised 0 to 1
0x0C07adc2_polParameterADC2 polarity
0x0C08adc1_trip_lowParameterADC1 low trip (wire-break); 0=off
0x0C09adc1_trip_highParameterADC1 high trip (wire-break); 1=off
0x0C0Aadc2_trip_lowParameterADC2 low trip (wire-break); 0=off
0x0C0Badc2_trip_highParameterADC2 high trip (wire-break); 1=off
0x0C0Cadc1_centerParameterADC1 rest position (bidir only)
0x0C0Dadc2_centerParameterADC2 rest position (bidir only)
0x0C0Eadc1_typeParameterADC1 mapping: 0=unidir+, 1=unidir-, 2=bidirectional, 3=brake
0x0C0Fadc2_typeParameterADC2 mapping: 0=unidir+, 1=unidir-, 2=bidirectional, 3=brake
0x0C10adc1_deadParameterADC1 deadband (normalised, bidir only)
0x0C11adc2_deadParameterADC2 deadband (normalised, bidir only)
0x0C12adc1_cx0ParameterADC1 curve point 0 x
0x0C13adc1_cx1ParameterADC1 curve point 1 x
0x0C14adc1_cx2ParameterADC1 curve point 2 x
0x0C15adc1_cx3ParameterADC1 curve point 3 x
0x0C16adc1_cx4ParameterADC1 curve point 4 x
0x0C17adc1_cy0ParameterADC1 curve point 0 y
0x0C18adc1_cy1ParameterADC1 curve point 1 y
0x0C19adc1_cy2ParameterADC1 curve point 2 y
0x0C1Aadc1_cy3ParameterADC1 curve point 3 y
0x0C1Badc1_cy4ParameterADC1 curve point 4 y
0x0C1Cadc2_cx0ParameterADC2 curve point 0 x
0x0C1Dadc2_cx1ParameterADC2 curve point 1 x
0x0C1Eadc2_cx2ParameterADC2 curve point 2 x
0x0C1Fadc2_cx3ParameterADC2 curve point 3 x
0x0C20adc2_cx4ParameterADC2 curve point 4 x
0x0C21adc2_cy0ParameterADC2 curve point 0 y
0x0C22adc2_cy1ParameterADC2 curve point 1 y
0x0C23adc2_cy2ParameterADC2 curve point 2 y
0x0C24adc2_cy3ParameterADC2 curve point 3 y
0x0C25adc2_cy4ParameterADC2 curve point 4 y
0x0C26VmagSignalVVoltage vector magnitude
0x0C27IbusSignalABus current
0x0C28limit_statusSignalLimiting flags: 1=Tu 2=Tv 4=Tw 8=Tcap 16=Tmot 32=FW 64=Pwr 128=Ibat 256=Spd 512=Ramp 1024=V 2048=Iq 4096=Regen 8192=Id 16384=Speed limit
0x0C29binary_sync_dropsSignalRX bytes discarded during binary-parser resync while audio streaming
0x0C2Atrace_droppedSignalFOC trace samples dropped on ring overflow this stream (host too slow)
0x0C30key_bitsSignalKey interlocks. 1=UNINITIALISED 2=KILLSWITCH 8=APP_KEY
0x0C31IuSignalAU phase current (discarded phase reconstructed)
0x0C32IvSignalAV phase current (discarded phase reconstructed)
0x0C33IwSignalAW phase current (discarded phase reconstructed)
0x0C34Iu_rawSignalAU phase current, direct sensor (debug)
0x0C35Iv_rawSignalAV phase current, direct sensor (debug)
0x0C36Iw_rawSignalAW phase current, direct sensor (debug)
0x0C37VuSignalVU phase voltage
0x0C38VvSignalVV phase voltage
0x0C39VwSignalVW phase voltage
0x0C3Accr1SignalcntApplied TIM CCR1 duty
0x0C3Bccr2SignalcntApplied TIM CCR2 duty
0x0C3Cccr3SignalcntApplied TIM CCR3 duty
0x0C3Dccr4SignalcntApplied TIM CCR4 duty (stepper B- leg; 0 on PMSM/DC)
0x0C3EIxSignalA4th-leg current (B- leg)
0x0C3FIx_rawSignalA4th-leg current, direct sensor (debug)
0x0C40VxSignalV4th-leg voltage (B- leg)
0x0C45deadtime_compParametercntDeadtime compensation added to the applied duty, in timer counts
0x0C46pwm_clampParameterCCR clamp threshold: values within N counts of 0/ARR snap to 0/ARR
0x0C47auto_clear_errorParameterAuto-clear error once gone: 0=never (manual), 1=at idle setpoint, 2=after restart delay, 3=at idle or after delay
0x0C48clear_errorCommandWrite 1 to clear the latched error (manual recovery); auto-resets to 0
0x0C49stopCommandWrite 1: general stop — zero all requests, abort motor detection (config restored), drop to TRACKING, stop SD audio; auto-resets to 0
0x0C4Aemergency_stopCommandEmergency stop (latching): 1=raise ERROR_EMERGENCY_STOP and hold it (fast-loop trip), 0=release; clears via normal error recovery
0x0C69i_centeringParameterCurrent sensor offset auto-centering (0=off, 1=on)
0x0C6Atim1_break_enParameterTIM1 hardware break input enable (" TIM1_BREAK_PIN_DESC ")
0x0C6BvbusSignalVInput voltage
0x0C6CehzSignaleHzMotor electrical Hz
0x0C6Dload_velSignal<vel_unit>Velocity at the load
0x0C6ErpmSignalRPMMechanical speed
0x0C6Fcontrol_freqSignalHzFOC/DTC control loop rate
0x0C70torque_actualSignal<force_unit>Estimated motor torque
0x0C71r_det_iq_oscSignalAIq oscillation envelope (R detection settle signal)
0x0C72adc1SignalADC1 input
0x0C73adc2SignalADC2 input
0x0C74VqSignalVFOC Vq
0x0C75VdSignalVFOC Vd
0x0C76ValphaSignalVFOC Valpha (stationary frame)
0x0C77VbetaSignalVFOC Vbeta (stationary frame)
0x0C78idreqSignalAId request
0x0C79iqreqSignalAIq request
0x0C7Afastloop_countSignalFastloop tick counter (monotonic). Wraps at 2^32. Stall detector reads delta.
0x0C7Badc3SignalADC3 input
0x0C7Cadc4SignalADC4 input
0x0C7Dadc3_maxParameter-ADC3 reading at full throttle, normalised 0 to 1
0x0C7Eadc3_minParameter-ADC3 reading at zero throttle, normalised 0 to 1
0x0C7Fadc3_polParameterADC3 polarity
0x0C80adc4_maxParameter-ADC4 reading at full throttle, normalised 0 to 1
0x0C81adc4_minParameter-ADC4 reading at zero throttle, normalised 0 to 1
0x0C82adc4_polParameterADC4 polarity
0x0C83adc3_trip_lowParameterADC3 low trip (wire-break); 0=off
0x0C84adc3_trip_highParameterADC3 high trip (wire-break); 1=off
0x0C85adc4_trip_lowParameterADC4 low trip (wire-break); 0=off
0x0C86adc4_trip_highParameterADC4 high trip (wire-break); 1=off
0x0C87adc3_centerParameterADC3 rest position (bidir only)
0x0C88adc4_centerParameterADC4 rest position (bidir only)
0x0C89adc3_typeParameterADC3 mapping: 0=unidir+, 1=unidir-, 2=bidirectional, 3=brake
0x0C8Aadc4_typeParameterADC4 mapping: 0=unidir+, 1=unidir-, 2=bidirectional, 3=brake
0x0C8Badc3_deadParameterADC3 deadband (normalised, bidir only)
0x0C8Cadc4_deadParameterADC4 deadband (normalised, bidir only)
0x0C8Dadc3_cx0ParameterADC3 curve point 0 x
0x0C8Eadc3_cx1ParameterADC3 curve point 1 x
0x0C8Fadc3_cx2ParameterADC3 curve point 2 x
0x0C90adc3_cx3ParameterADC3 curve point 3 x
0x0C91adc3_cx4ParameterADC3 curve point 4 x
0x0C92adc3_cy0ParameterADC3 curve point 0 y
0x0C93adc3_cy1ParameterADC3 curve point 1 y
0x0C94adc3_cy2ParameterADC3 curve point 2 y
0x0C95adc3_cy3ParameterADC3 curve point 3 y
0x0C96adc3_cy4ParameterADC3 curve point 4 y
0x0C97adc4_cx0ParameterADC4 curve point 0 x
0x0C98adc4_cx1ParameterADC4 curve point 1 x
0x0C99adc4_cx2ParameterADC4 curve point 2 x
0x0C9Aadc4_cx3ParameterADC4 curve point 3 x
0x0C9Badc4_cx4ParameterADC4 curve point 4 x
0x0C9Cadc4_cy0ParameterADC4 curve point 0 y
0x0C9Dadc4_cy1ParameterADC4 curve point 1 y
0x0C9Eadc4_cy2ParameterADC4 curve point 2 y
0x0C9Fadc4_cy3ParameterADC4 curve point 3 y
0x0CA0adc4_cy4ParameterADC4 curve point 4 y
0x0CA1adc1_rangeParameterVInput voltage at full scale on ADC1. Expert only: fixed by the board input resistor divider, normally never changed
0x0CA2adc2_rangeParameterVInput voltage at full scale on ADC2. Expert only: fixed by the board input resistor divider, normally never changed
0x0CA3adc3_rangeParameterVInput voltage at full scale on ADC3. Expert only: fixed by the board input resistor divider, normally never changed
0x0CA4adc4_rangeParameterVInput voltage at full scale on ADC4. Expert only: fixed by the board input resistor divider, normally never changed
0x0CA6Vu_osetParametercntU phase voltage offset
0x0CA7Vv_osetParametercntV phase voltage offset
0x0CA8Vw_osetParametercntW phase voltage offset
0x0CA9Vx_osetParametercnt4th-leg voltage offset
0x0CAAV_offset_calParameterPhase V offset auto-cal, motor stationary (0=off, 1=on, 2=store the learned offsets once, then back to 1)
0x0CABbrake_fadeParameter<speed_unit>Brake fades to zero below this, so it cannot drive backwards
0x0CACinput_filterParametersLow-pass time constant on the summed throttle and brake demand. Vehicle app only
0x0CADbrake_reqSignalBrake demand, summed over the brake-type inputs
0x0CAEinput_sumSignalCombined throttle demand, raw. What the non-vehicle app drives on
0x0CAFinput_absSignalSum of |demand|, unfiltered. Zero is the released test
0x0CB0input_filtSignalCombined throttle demand after input_filter. What the vehicle app drives on

Other0x0E00 to 0x0FFF

IDNameTypeUnitDefaultMinMaxDescription
0x0E01odo_total_mSignalmLifetime distance
0x0E02odo_trip_mSignalmDistance since the last trip reset
0x0E03odo_ah_usedSignal0.1 AhCharge drawn from the pack
0x0E04odo_ah_regenSignal0.1 AhCharge returned to the pack
0x0E05odo_powered_sSignalsTime the controller has been powered
0x0E06odo_run_sSignalsTime the motor has been energised
0x0E07odo_bootsSignalCompleted boots
0x0E08odo_trip_resetCommandWrite 1 to zero the trip counter; auto-resets. Lifetime total is never cleared
A unit in angle brackets depends on how the axis is configured:
<Kt_unit> Nm/A on a rotary motor, N/A on a linear one
<acc_unit> rad/s^2 on a rotary load, m/s^2 on a linear one
<force_unit> Nm on a rotary load, N on a linear one
<inertia_unit> kg*m^2 on a rotary load, kg on a linear one
<pos_unit> rad on a rotary load, m on a linear one
<speed_unit> rad/s or RPM when rotary, m/s or mm/s when linear, per the speed_unit setting
<vel_unit> rad/s on a rotary load, m/s on a linear one