Identity, schema, core0x0000 to 0x00FF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0001 | hw_name | Signal | Hardware name | ||||
| 0x0002 | hw_version | Signal | Hardware version (major.minor.patch encoded) | ||||
| 0x0003 | fw_version | Signal | Firmware version (major.minor.patch encoded) | ||||
| 0x0004 | Name | Parameter | User-defined name | ||||
| 0x0005 | schema_hash | Signal | Parameter schema fingerprint (host re-enumerates on mismatch) | ||||
| 0x0008 | serial_number | Signal | Unit serial number, based on UUID |
Motor and observer0x0100 to 0x02FF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0101 | par_p_max | Parameter | W | Max power | |||
| 0x0102 | par_ibat_max | Parameter | A | Max battery discharge current | |||
| 0x0103 | par_ibat_max_regen | Parameter | A | Max battery regen current | |||
| 0x0104 | par_dir | Parameter | Motor direction (0=normal, 1=reversed; set at standstill, then re-identify motor) | ||||
| 0x0105 | par_pp | Parameter | Motor pole pairs. Only used when motor_type = PMSM/BLDC or Stepper | ||||
| 0x0107 | par_flux | Parameter | Wb | Flux linkage | |||
| 0x0108 | par_Kt | Parameter | <Kt_unit> | Force constant at the motor | |||
| 0x0109 | flux_perc_up | Parameter | % | Flux observer max above nominal | |||
| 0x010A | flux_perc_dn | Parameter | % | Flux observer max below nominal | |||
| 0x010B | FOC_flux_gain | Parameter | Flux observer gain factor | ||||
| 0x010C | FOC_flux_nlin | Parameter | Flux centering gain | ||||
| 0x010D | FOC_ortega_gain | Parameter | Ortega gain, DTC needs ~1e9 | ||||
| 0x010E | obs_dc_k | Parameter | Observer gain that pulls the flux estimate back to centre, removing DC offset. 0 = off | ||||
| 0x010F | FOC_bemf_kp | Parameter | PLL observer proportional gain | ||||
| 0x0110 | FOC_bemf_ki | Parameter | PLL observer integral gain | ||||
| 0x0111 | FOC_obs_type | Parameter | Observer 0=None,1=MXLLambda,2=MXL,3=Ortega,4=PLL,5=MXLSal(IPM), 6=V3, 7=ActiveFlux(IPM) | ||||
| 0x0112 | FOC_interp_ang | Parameter | Predict FOCAngle forward into the PWM period | ||||
| 0x0113 | par_r | Parameter | Ohm | Phase resistance | |||
| 0x0114 | par_ld | Parameter | H | D-axis inductance | |||
| 0x0115 | par_lq | Parameter | H | Q-axis inductance | |||
| 0x0116 | FOC_curr_BW | Parameter | rad/s | Current controller bandwidth | |||
| 0x0117 | FOC_ff | Parameter | Voltage feedforward: 1=RI, 2=LdI/dt, 4=decoupling, 8=flux linkage | ||||
| 0x0118 | FOC_ff_delay | Parameter | samples | PI setpoint delay for feedforward compensation | |||
| 0x0119 | ff_sp_del_q | Signal | A | Delayed q-axis setpoint for PI | |||
| 0x011A | ff_sp_del_d | Signal | A | Delayed d-axis setpoint for PI | |||
| 0x011B | ff_Vq_R | Signal | V | FF q-axis R*Iq | |||
| 0x011C | ff_Vd_R | Signal | V | FF d-axis R*Id | |||
| 0x011D | ff_Vq_Ldidt | Signal | V | FF q-axis Lq*dIq/dt | |||
| 0x011E | ff_Vq_dec | Signal | V | FF q-axis omega*Ld*Id | |||
| 0x011F | ff_Vd_dec | Signal | V | FF d-axis -omega*Lq*Iq | |||
| 0x0120 | ff_Vq_flux | Signal | V | FF q-axis omega*flux_linkage | |||
| 0x0121 | FOC_psi_tot | Signal | Wb | Expected flux magnitude | |||
| 0x0122 | FOC_hfi_type | Parameter | HFI type [1=optimal, 2=standard, 3=test optimal, 4=test standard] | ||||
| 0x0123 | FOC_hfi_volt | Parameter | V | HFI voltage | |||
| 0x0124 | FOC_hfi_test_curr | Parameter | A | HFI ambiguity detection test current | |||
| 0x0125 | FOC_hfi_toggle_vel | Parameter | <speed_unit> | HFI toggle speed threshold | |||
| 0x0126 | par_fw_curr | Parameter | A | Max field weakening current | |||
| 0x0127 | fw_start_factor | Parameter | FW V2 start threshold as fraction of Vmag_max | ||||
| 0x0128 | fw_rampdown_start | Parameter | A | Iq at which field weakening starts to reduce | |||
| 0x0129 | fw_rampdown_end | Parameter | A | Iq above which field weakening is zero | |||
| 0x012A | motor_det_tests | Parameter | Motor detection tests to run (bitmask: 1=R, 2=L, 4=flux, 8=encoder, 16=hall) | ||||
| 0x012B | motor_det_curr | Signal | Motor detection current test running | ||||
| 0x012C | motor_det_start | Parameter | Write 1=detect only, 2=detect+write to memory, 3=detect+write to memory+flash | ||||
| 0x012D | motor_state | Signal | Current motor state (0=init, 6=tracking, 7=run, 10=error, 15=motor_detection, etc.) | ||||
| 0x012E | motor_det_r_curr | Parameter | A | Test current for resistance measurement | |||
| 0x012F | motor_det_r_u | Signal | Ohm | U phase resistance | |||
| 0x0130 | motor_det_r_v | Signal | Ohm | V phase resistance | |||
| 0x0131 | motor_det_r_w | Signal | Ohm | W phase resistance | |||
| 0x0132 | motor_det_r_calc | Signal | Ohm | Average resistance from detection test | |||
| 0x0133 | motor_det_r_result | Signal | Result (0=none, 1=running, 2=success, 3=invalid, 4=high_R, 7=discrepancy) | ||||
| 0x0134 | motor_det_r_ld | Signal | H | L_D estimated during R measurement (HFI rotation) | |||
| 0x0135 | motor_det_r_lq | Signal | H | L_Q estimated during R measurement (HFI rotation) | |||
| 0x0136 | motor_det_l_volt | Parameter | V | Test voltage amplitude for inductance measurement | |||
| 0x0137 | motor_det_l_freq | Parameter | Hz | Test frequency for inductance measurement | |||
| 0x0138 | motor_det_ld | Signal | H | D-axis inductance | |||
| 0x0139 | motor_det_lq | Signal | H | Q-axis inductance | |||
| 0x013A | motor_det_l_calc | Signal | H | Average inductance from detection test | |||
| 0x013B | motor_det_l_result | Signal | Result (0=none, 1=running, 2=success, 3=invalid, 6=high_L) | ||||
| 0x013C | motor_det_flux_current | Parameter | A | D-axis current for open-loop acceleration | |||
| 0x013D | motor_det_flux_rpm | Parameter | RPM | Target speed for flux linkage measurement | |||
| 0x013E | motor_det_flux_accel_time | Parameter | s | Time to accelerate to target speed | |||
| 0x013F | motor_det_flux | Signal | Wb | Measured flux linkage | |||
| 0x0140 | motor_det_flux_vmag | Signal | Wb | Flux from Vmag/eHz method | |||
| 0x0141 | motor_det_flux_result | Signal | Result (0=none, 1=running, 2=success, 4=invalid_value, 5=no_spinup) | ||||
| 0x0142 | motor_det_enc_current | Parameter | A | D-axis current for encoder measurement | |||
| 0x0143 | motor_det_enc_revs | Parameter | rev | Mech revs to rotate: 0=offset-only (no rotate, no pp/polarity check) | |||
| 0x0144 | motor_det_enc_offset | Signal | Calculated encoder offset | ||||
| 0x0145 | motor_det_enc_result | Signal | Result (0=none, 1=running, 2=success, 3=pp_mismatch, 4=error) | ||||
| 0x0146 | motor_det_hall_current | Parameter | A | D-axis current for hall table measurement | |||
| 0x0147 | motor_det_hall_result | Signal | Result (0=none, 1=running, 2=success, 3=not_connected, 4=short, 5=missing_sectors, 6=sweeps_inconsistent, 7=width_out_of_range) | ||||
| 0x0148 | motor_det_hall_states_seen | Signal | Bitmask of hall states observed during last sweep (bit N = state N). Used to diagnose stuck lines when result=5. | ||||
| 0x014A | par_i_max | Parameter | A | Max motor current | |||
| 0x014B | par_i_min | Parameter | A | Min motor current | |||
| 0x014C | FOC_fpwm | Parameter | Hz | PWM frequency | |||
| 0x014D | DTC_frequency | Parameter | Hz | DTC switching frequency (DTC mode only) | |||
| 0x014E | DTC_q | Parameter | A | DTC Torque Hysteresis | |||
| 0x014F | DTC_d | Parameter | A | DTC Flux Hysteresis | |||
| 0x0150 | DTC_startup_ol | Parameter | - | Open-loop flux rotation used to start DTC mode. 0 = off | |||
| 0x0151 | DTC_percent | Signal | DTC active vector duty fraction | ||||
| 0x0152 | DTC_fpwm_eff | Signal | Hz | DTC effective switching freq | |||
| 0x0153 | FOC_deadtime_ns | Parameter | ns | Hardware deadtime | |||
| 0x0153 | FOC_deadtime_ns | Parameter | ns | Hardware deadtime | |||
| 0x0154 | FOC_Max_Mod | Parameter | Max modulation index; typically 0.95, can over modulate to 1.15 | ||||
| 0x0155 | FOC_sense_pick | Parameter | Vbus fraction below which the full Clarke transform is used (duty-based sense picking) | ||||
| 0x0156 | FOC_enc_oset | Parameter | Encoder electrical alignment offset, 65536 per electrical revolution | ||||
| 0x0157 | FOC_angle | Command | FOC angle (writable in open loop; live elsewhere) | ||||
| 0x0158 | PLL_angle | Signal | PLL tracked angle, 65536 per electrical revolution | ||||
| 0x0159 | PLL_int | Signal | PLL integrator, the tracked angle step per fast loop tick | ||||
| 0x015A | PLL_error | Signal | PLL proportional term, from the angle tracking error | ||||
| 0x015B | PLL_track_err | Signal | LSB | PLL low-16 tracking error FOCAngle-PLL (65536=1 e-rev) | |||
| 0x015C | PLL_track_err_peak | Signal | LSB | Peak |PLL_track_err| since position seed (~32768 => rev slip) | |||
| 0x015D | PLL_freq | Parameter | Hz | PLL natural frequency | |||
| 0x015E | PLL_damping | Parameter | PLL damping ratio (1 = critically damped) | ||||
| 0x015F | FOC_enc_ang | Signal | Encoder angle now | ||||
| 0x0160 | FOC_enc_CPR | Parameter | Encoder counts per revolution (post-quadrature, i.e. 4x PPR) | ||||
| 0x0161 | FOC_enc_pol | Parameter | Encoder polarity | ||||
| 0x0162 | FOC_enc_idx_mode | Parameter | Index mode: 0=not used, 1=once, 2=always | ||||
| 0x0163 | FOC_enc_idxed | Signal | 1 if Z pulse has been seen since boot | ||||
| 0x0164 | FOC_rev_cnt | Command | Signed revolution counter (unwrapped) | ||||
| 0x0165 | FOC_pos_cnt | Signal | Unwrapped mechanical position in counts | ||||
| 0x0166 | FOC_pos_zero | Parameter | Position-control zero point (unwrapped counts) | ||||
| 0x0167 | FOC_pos_pol | Parameter | Position-control polarity (independent of commutation) | ||||
| 0x0168 | par_motor_sensor | Parameter | Motor sensor: 0=Sensorless, 1=Hall, 2=Open loop, 3=Absolute encoder, 4=Incremental encoder. Commutates motor on PMSM/stepper. | ||||
| 0x0169 | par_SL_sensor | Parameter | Sensorless startup sensor: 0=Open loop, 1=Hall, 2=PWM encoder, 3=HFI | ||||
| 0x016A | FOC_ol_step | Parameter | Angle per PWM period openloop (65535 per erev) | ||||
| 0x016B | FOC_fw_ehz | Parameter | eHz | Max eHz under field weakening | |||
| 0x016C | FOC_hall_iir | Parameter | Decay constant for hall preload (0-1.0) | ||||
| 0x016D | FOC_hall_Vt | Parameter | V | Hall transition voltage | |||
| 0x016E | FOC_hall_array_ok | Parameter | Hall array OK flag (set to 0 to restart live hall cal process) | ||||
| 0x016F | opt_fw | Parameter | Field weakening [0=OFF, 1=ON, 2=ON V2] | ||||
| 0x0170 | opt_pwm_type | Parameter | Modulator [0=SVM, 2=Bottom clamp, 3=SVM/bottom combo, 4=DTC] | ||||
| 0x0170 | opt_pwm_type | Parameter | Modulator [0=SVM, 2=Bottom clamp, 3=SVM/bottom combo] | ||||
| 0x0171 | opt_motor_type | Parameter | Motor type [0=PMSM/BLDC, 1=DC, 2=Stepper] | ||||
| 0x0171 | opt_motor_type | Parameter | Motor type [0=PMSM/BLDC, 1=DC] | ||||
| 0x0172 | opt_mtpa | Parameter | MTPA type = 0=none, 1=setpoint, 2=magnitude, 3=iq | ||||
| 0x0173 | opt_motor_temp | Parameter | Enable motor temperature reading and protection (temp_mot_*) | ||||
| 0x0174 | opt_phase_filt | Parameter | Enable phase filters | ||||
| 0x0175 | opt_app_type | Parameter | App type, 0=none, 1=Vehicle | ||||
| 0x0176 | opt_cont_type | Parameter | Control mode: 0=Current, 1=Speed, 2=Duty, 3=Position, 6=Voltage | ||||
| 0x0177 | opt_ramp_to_zero | Parameter | Ramp setpoint to zero before exiting RUN [bit0=speed bit1=duty] | ||||
| 0x0178 | FOC_Advance | Parameter | FOC advance, proportion of 1 PWM cycle | ||||
| 0x0179 | obs_flux_a | Signal | Wb | Observer flux alpha | |||
| 0x017A | obs_flux_b | Signal | Wb | Observer flux beta | |||
| 0x017B | obs_flux_amp | Signal | Wb | Observer flux amplitude | |||
| 0x017C | FOC_Id_Kp | Signal | V/A | D-axis current controller Kp (= bw * L_D) | |||
| 0x017D | FOC_Iq_Kp | Signal | V/A | Q-axis current controller Kp (= bw * L_Q) | |||
| 0x017E | FOC_Id_Ki | Signal | 1/sample | D-axis current controller Ki (series form, = Ts * R/L_D) | |||
| 0x017F | FOC_Iq_Ki | Signal | 1/sample | Q-axis current controller Ki (series form, = Ts * R/L_Q) | |||
| 0x0180 | FOC_AlsoUseV7 | Parameter | Also use v7. Enabled, the current loop will run twice the pwm frequency | ||||
| 0x0181 | mech_type | Parameter | MOTOR domain: 0=rotary (Nm/A, rad/s), 1=linear motor (N/A, m/s) | ||||
| 0x0182 | pole_pitch | Parameter | m | Travel per electrical revolution (linear motor only) | |||
| 0x0183 | enc_resolution | Parameter | m | Distance per encoder count on a linear scale. 0 = rotary encoder | |||
| 0x0184 | load_type | Parameter | LOAD domain: 0=rotary (rad), 1=linear (m). Sets position units | ||||
| 0x0186 | vehicle_state | Signal | Vehicle app state: 0=neutral, 1=drive, 2=locked | ||||
| 0x0187 | travel_per_rad | Parameter | m/rad | Load travel per motor radian. Wheel radius on a wheeled drive, screw lead / 6.2832 on a screw. 0 = direct drive | |||
| 0x018A | Kreluc | Signal | <Kt_unit/A> | Reluctance coefficient. Torque = (par_Kt + Kreluc x Id) x Iq | |||
| 0x018B | load_is_linear | Signal | Load really travels: a linear motor, a travel_per_rad, or a linear scale. 0 = distances are shaft turns |
Control loops0x0300 to 0x03FF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0301 | meas_curr | Parameter | A | Measuring current | |||
| 0x0302 | meas_cl_curr | Parameter | A | Measuring q closed loop current | |||
| 0x0303 | meas_volt | Parameter | V | Measuring voltage | |||
| 0x0304 | duty_actual | Signal | Actual duty cycle | ||||
| 0x0305 | duty_req | Signal | Duty request before ramp limiting | ||||
| 0x0306 | duty_setpoint | Signal | Ramp-limited duty setpoint | ||||
| 0x0307 | current_req_min | Parameter | A | Min current request (any input source) to enter/stay in RUN | |||
| 0x0308 | current_ramp | Parameter | A/s | Max Iq current ramp rate | |||
| 0x0309 | input_opt | Parameter | Inputs [1=ADC1 2=ADC2 4=PPM 8=UART 16=Killswitch 32=CANADC1 64=CANADC2 128=ADC12DIFF 256=CAN] | ||||
| 0x030A | speed_kp | Parameter | <force_unit/(mech_unit)> | Proportional gain | |||
| 0x030B | speed_ki | Parameter | rad/s | Speed PI integrator gain (series-PI zero as angular freq) | |||
| 0x030C | speed_inertia_ff | Parameter | <inertia_unit> | Inertia or mass AT THE MOTOR (force = J*accel). 0 = off. | |||
| 0x030D | speed_visc_ff | Parameter | <force_unit/(mech_unit)> | Viscous/velocity feedforward B (force = B*speed). 0 = off. | |||
| 0x030E | speed_ff_torque | Signal | <force_unit> | Combined feedforward torque currently applied | |||
| 0x030F | speed_unit | Parameter | Speed display unit. Rotary load: [0=rad/s, 1=RPM]. Linear load: [0=m/s, 1=mm/s, 2=km/h] | ||||
| 0x0310 | speed_ramp_up | Parameter | <speed_unit/s> | Acceleration ramp rate | |||
| 0x0311 | speed_ramp_down | Parameter | <speed_unit/s> | Deceleration ramp rate | |||
| 0x0312 | duty_ramp_up | Parameter | duty/s | Acceleration ramp rate (default 1000 = 0->full duty in 1 ms) | |||
| 0x0313 | duty_ramp_down | Parameter | duty/s | Deceleration ramp rate (default 1 = full duty->0 in 1000 ms) | |||
| 0x0314 | speed_req_min | Parameter | <speed_unit> | Minimum speed request | |||
| 0x0315 | speed_req_max_pos | Parameter | <speed_unit> | Maximum positive speed request | |||
| 0x0316 | speed_req_max_neg | Parameter | <speed_unit> | Maximum negative speed request | |||
| 0x0317 | speed_req | Signal | <speed_unit> | Speed request | |||
| 0x0318 | speed_actual | Signal | <speed_unit> | Actual speed | |||
| 0x0319 | speed_setpoint | Signal | <speed_unit> | Acceleration-limited speed setpoint | |||
| 0x031A | speed_error | Signal | <speed_unit> | Speed error | |||
| 0x031B | speed_error_int | Signal | <force_unit> | Speed error integral | |||
| 0x031C | speed_Kp_output | Signal | <force_unit> | Speed Kp output | |||
| 0x031D | pos_kp | Parameter | 1/s | Position loop gain (= bandwidth; velocity per unit of error) | |||
| 0x031E | pos_vel_max | Parameter | <pos_unit/s> | Max profile/commanded velocity | |||
| 0x031F | pos_acc_max | Parameter | <pos_unit/s^2> | Max profile acceleration (speeding up) | |||
| 0x0320 | pos_dec_max | Parameter | <pos_unit/s^2> | Max profile deceleration (braking); 0 = use pos_acc_max | |||
| 0x0321 | pos_jerk_time | Parameter | ms | Time to ramp acceleration 0 to pos_acc_max (S-curve corner). 0 = off, trapezoidal | |||
| 0x0322 | pos_req | Parameter | <pos_unit> | Target position command | |||
| 0x0323 | pos_enable | Parameter | Position hold enable: 1 arms/holds, 0 releases. STOP/E-stop clears it. (Selecting position mode alone does NOT engage.) | ||||
| 0x0324 | pos_zero_here | Command | Write 1 to set current shaft position as 0 (active sensor); auto-resets | ||||
| 0x0325 | pos_actual | Signal | <pos_unit> | Actual position (controlled frame) | |||
| 0x0326 | pos_setpoint | Signal | <pos_unit> | Profiled position setpoint | |||
| 0x0327 | pos_error | Signal | <pos_unit> | Position following error | |||
| 0x0328 | pos_vel_ff | Signal | <pos_unit/s> | Profile velocity feedforward | |||
| 0x0329 | pos_turns | Signal | turn | Actual position in revolutions. Rotary loads only | |||
| 0x032A | Iq_limit | Signal | A | Effective Iq limit after all limiters | |||
| 0x032B | speed_torque_out | Signal | <force_unit> | Speed PI output torque incl. FRF injection (plant input) | |||
| 0x032C | speed_error_si | Signal | <mech_unit> | Speed error (setpoint - actual) | |||
| 0x032D | id_actual | Signal | A | Id actual | |||
| 0x032E | iq_actual | Signal | A | Iq actual | |||
| 0x032F | speed_loop_freq | Signal | Hz | speed/slow loop rate | |||
| 0x0330 | id_req | Signal | A | Id request (pre-FW override) | |||
| 0x0331 | iq_req | Signal | A | Iq request (pre-ramp) | |||
| 0x0332 | id_setpoint | Signal | A | Id setpoint | |||
| 0x0333 | iq_setpoint | Signal | A | Iq setpoint (ramp-limited) | |||
| 0x0334 | id_error | Signal | A | Id error (setpoint - actual) | |||
| 0x0335 | iq_error | Signal | A | Iq error (setpoint - actual) | |||
| 0x0336 | id_smoothed | Signal | A | Id smoothed | |||
| 0x0337 | iq_smoothed | Signal | A | Iq smoothed | |||
| 0x0338 | outer_loop_fast | Parameter | Run speed/position loops in the fast loop instead of the slow loop | ||||
| 0x0339 | pos_remain_cnt | Signal | counts | Target - profiled setpoint (0 = profile done) | |||
| 0x033A | pos_follow_cnt | Signal | counts | Profiled setpoint - actual (exact, no float rounding) | |||
| 0x033B | pos_req_cnt | Parameter | counts | Target position in encoder counts, added to pos_req. Exact at any distance | |||
| 0x033C | pos_actual_cnt | Signal | counts | Actual position, exact (pos_actual rounds past 2^24 counts) | |||
| 0x033D | pos_target_cnt | Signal | counts | Resolved target, what the command actually became | |||
| 0x033E | pos_err_max | Parameter | <pos_unit> | Following-error trip level (0 = disabled) | |||
| 0x033F | pos_min | Parameter | <pos_unit> | Soft travel limit, low (max <= min disables) | |||
| 0x0340 | pos_max | Parameter | <pos_unit> | Soft travel limit, high (max <= min disables) | |||
| 0x0341 | pos_acc_ff | Signal | <pos_unit/s^2> | Profile acceleration feedforward | |||
| 0x0342 | speed_lim_max | Parameter | <speed_unit> | Top speed. Accelerating current fades out above this, braking is untouched. 0 = off | |||
| 0x0343 | speed_lim_delta | Parameter | <speed_unit> | Band above speed_lim_max over which current fades to zero |
CAN and communications0x0400 to 0x04FF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0401 | uart_req | Command | Main request over UART or CAN. Unit follows the control mode (A, speed_unit, duty or V). Not stored | ||||
| 0x0402 | uart_dreq | Command | D-axis request over UART or CAN: current [A], or voltage [V] in voltage mode. Not stored | ||||
| 0x0403 | uart_timeout | Parameter | ms | UART request timeout (0 = no timeout) | |||
| 0x0404 | can_protocol | Parameter | CAN protocol [0=Disabled, 1=J1939, 2=CANopen, 3=Cyphal, 4=DroneCAN, 5=Custom, 8=ARINC825, 9=VESC] | ||||
| 0x0405 | can_baudrate | Parameter | CAN baud rate [0=1M, 1=500k, 2=250k, 3=125k, 4=100k, 5=50k] | ||||
| 0x0406 | can_node_id | Parameter | CAN node ID (0 = pick one from the unit id at boot; 1-127 to pin it) | ||||
| 0x0407 | can_esc_index | Parameter | CAN ESC index (0-19, zero is first ESC, DroneCAN) | ||||
| 0x0408 | can_timeout | Parameter | ms | CAN command timeout (0 = no timeout) | |||
| 0x0409 | can_control_mode | Parameter | Control mode for CAN setpoints [0=Torque, 1=Speed, 2=Duty, 3=Position] | ||||
| 0x040A | can_status_hz | Parameter | Hz | CAN status message rate (0 = disabled) | |||
| 0x040A | can_status_hz | Parameter | Hz | CAN status message rate (0 = disabled) | |||
| 0x040B | can_scaled | Signal | CAN scaled setpoint (read-only) | ||||
| 0x040C | can_current | Signal | A | CAN current setpoint | |||
| 0x040D | can_speed | Signal | <mech_unit> | CAN speed setpoint | |||
| 0x040E | can_tcount | Signal | CAN timeout countdown (read-only) | ||||
| 0x040F | can_esr | Signal | CAN error status [6:4]=LEC [15:8]=REC [23:16]=TEC [2]=BOFF [1]=EPVF [0]=EWGF | ||||
| 0x0410 | can_tsr | Signal | CAN transmit status [26]=TME2 [25]=TME1 [24]=TME0 | ||||
| 0x0411 | can_rf0r | Signal | CAN RX FIFO0 [1:0]=FMP0 pending msgs | ||||
| 0x0412 | can_ecr | Signal | FDCAN error counter [7:0]=TEC [14:8]=REC [16]=RP [17]=CEL | ||||
| 0x0413 | can_psr | Signal | FDCAN protocol status [2:0]=LEC [5]=EP [6]=EW [7]=BO | ||||
| 0x0414 | can_node_event | Signal | Last CAN node change: bit8 seen/lost, bits7:0 node id (master only) | ||||
| 0x0415 | CAN_options | Parameter | DynaCAN 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
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0501 | ic_pulse_max | Parameter | µs | RCPWM pulse max | |||
| 0x0502 | ic_pulse_min | Parameter | µs | RCPWM pulse min | |||
| 0x0503 | ic_pulse_mid | Parameter | µs | RCPWM pulse mid | |||
| 0x0504 | ic_pulse_dead | Parameter | µs | RCPWM pulse deadzone | |||
| 0x0505 | ic_dur_max | Parameter | µs | RCPWM duration max | |||
| 0x0506 | ic_dur_min | Parameter | µs | RCPWM duration min | |||
| 0x0507 | sens_temp | Signal | degC | BME280 ambient temperature | |||
| 0x0508 | sens_hum | Signal | %RH | BME280 relative humidity | |||
| 0x0509 | sens_press | Signal | hPa | BME280 barometric pressure | |||
| 0x050A | sens_bme_ok | Signal | BME280 alive (init + last read OK) | ||||
| 0x050B | sens_bme_err | Signal | BME280 failed reads/inits (monotonic) | ||||
| 0x050C | sens_bme_lasterr | Signal | BME280 last failure: [31:28]=stage(5=run,7=probe) [27:8]=SR/value [7:0]=cause(B0=budget,B1=bad-id,B2=reset-tmo) | ||||
| 0x050D | imu_ax | Signal | g | Accelerometer X | |||
| 0x050E | imu_ay | Signal | g | Accelerometer Y | |||
| 0x050F | imu_az | Signal | g | Accelerometer Z | |||
| 0x0510 | imu_gx | Signal | dps | Gyroscope X | |||
| 0x0511 | imu_gy | Signal | dps | Gyroscope Y | |||
| 0x0512 | imu_gz | Signal | dps | Gyroscope Z | |||
| 0x0513 | imu_temp | Signal | degC | IMU die temperature | |||
| 0x0514 | sens_imu_ok | Signal | LSM6DS3 alive (init + last read OK) | ||||
| 0x0515 | sens_imu_err | Signal | LSM6DS3 failed reads/inits (monotonic) | ||||
| 0x0516 | sens_imu_lasterr | Signal | LSM6DS3 last failure: [31:28]=stage(4=run,6=probe) [27:8]=SR/value [7:0]=cause(B0=budget,B1=bad-id,B2=reset-tmo) | ||||
| 0x0517 | enc_mult | Signal | Encoder count to electrical angle scale | ||||
| 0x0518 | enc_cnt | Signal | Encoder timer counter (raw) | ||||
| 0x0519 | enc_ccr3 | Signal | Encoder index capture (raw) | ||||
| 0x051A | spienc_oset | Parameter | 16b | SPI encoder electrical alignment offset | |||
| 0x051B | spienc_pol | Parameter | SPI encoder commutation polarity | ||||
| 0x051C | spienc_pos_zero | Parameter | SPI encoder position-control zero (counts, 32768/rev) | ||||
| 0x051D | spienc_pos_pol | Parameter | SPI encoder position-control polarity | ||||
| 0x051E | spienc_angle | Signal | SPI encoder raw 15-bit angle (0..32767) | ||||
| 0x051F | spienc_elec | Signal | 16b | SPI encoder electrical angle (commutation) | |||
| 0x0520 | spienc_counts | Signal | SPI encoder unwrapped mech position (32768/rev) | ||||
| 0x0521 | spienc_turns | Signal | SPI encoder signed revolution count | ||||
| 0x0522 | spienc_ok | Signal | SPI encoder last frame OK (CRC + status) | ||||
| 0x0523 | spienc_crc_err | Signal | SPI encoder CRC error count | ||||
| 0x0524 | spienc_stat_err | Signal | SPI encoder status-fault frame count | ||||
| 0x0525 | spienc_late | Signal | SPI encoder transfer-not-ready count | ||||
| 0x0526 | spienc_spierr | Signal | SPI encoder SPI/DMA error + abort count | ||||
| 0x0528 | fbk_vel_src | Parameter | Speed loop feedback: 0=motor sensor (par_motor_sensor), 1=analog input | ||||
| 0x0529 | fbk_pos_src | Parameter | Position loop feedback: 0=motor sensor (par_motor_sensor), 1=analog input | ||||
| 0x052A | fbk_sens_caps | Signal | Motor sensor capability bits (1=comm,2=vel,4=posrel,8=posabs,16=mech) | ||||
| 0x052B | fbk_sens_ang_ok | Signal | Motor sensor electrical angle valid now | ||||
| 0x052C | fbk_sens_pos_ok | Signal | Motor sensor position valid now | ||||
| 0x052E | hall_ticks | Signal | Fast-loop ticks since last hall transition | ||||
| 0x052F | hall_period | Signal | Fast-loop ticks for the most recent hall sector | ||||
| 0x0530 | hall_glitches | Signal | Hall glitches: LUT-impossible transitions and recovered invalid-state (0/7) runs | ||||
| 0x0532 | fbk_an_adc | Parameter | Analog feedback ADC input (1-4) | ||||
| 0x0533 | fbk_an_kind | Parameter | Analog feedback measures: 0=position, 1=velocity | ||||
| 0x0534 | fbk_an_gain | Parameter | <pos_unit/V> | Analog scale per volt (vel_unit/V when fbk_an_kind=1) | |||
| 0x0535 | fbk_an_offset | Parameter | <pos_unit> | Analog value at 0 V (vel_unit when fbk_an_kind=1) | |||
| 0x0536 | fbk_an_fc | Parameter | Hz | Lowpass frequency for analog input feedback control (0 = off) | |||
| 0x0537 | fbk_an_value | Signal | Mapped analog reading, for checking gain and offset | ||||
| 0x0538 | fbk_an_caps | Signal | Analog input capability bits (1=comm,2=vel,4=posrel,8=posabs,16=mech) | ||||
| 0x0539 | fbk_an_pos_ok | Signal | Analog input position valid now |
SD card, audio, Lua0x0600 to 0x06FF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0601 | audio_div | Signal | Audio stream FOC-tick to stream-sample ratio (firmware-side) | ||||
| 0x0602 | audio_ticks | Signal | FOC ticks observed inside audio_stream_get_next_sample (monotonic) | ||||
| 0x0603 | audio_reads | Signal | Stream samples actually pulled from the ring buffer (monotonic) | ||||
| 0x0604 | sd_ok | Signal | SD card up and volume mounted | ||||
| 0x0605 | sd_capacity | Signal | MB | SD volume size | |||
| 0x0606 | sd_err | Signal | SD failed mounts/inits (monotonic) | ||||
| 0x0607 | sd_dbg | Signal | SD last checkpoint: 1 task 2 mount-in 3 blkinit-in 4 spi-ok 5 blkinit-fail 6 blkinit-ok 7 mount-out | ||||
| 0x0608 | sd_dumps | Signal | Error dumps written to SD this boot | ||||
| 0x0609 | sd_playing | Signal | SD WAV playback in progress | ||||
| 0x060A | sd_pos | Signal | % | SD playback position through the file | |||
| 0x060B | sd_volume | Parameter | 0-255 | SD WAV playback volume (0 = mute) | |||
| 0x060C | audio_buf_avail | Signal | samples | Audio stream ring-buffer fill |
Temperature and protection0x0700 to 0x07FF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0701 | iphase_trip | Signal | A | Overcurrent trip threshold (dynamic) | |||
| 0x0702 | vbus_trip_high | Signal | V | Overvoltage trip threshold (dynamic) | |||
| 0x0703 | vbus_trip_low | Parameter | V | Undervoltage trip threshold | |||
| 0x0704 | iphase_board_max | Signal | A | Board absolute max phase current | |||
| 0x0705 | vbus_board_max | Signal | V | Board absolute max bus voltage | |||
| 0x0706 | vbus_trip_headroom | Parameter | - | Dynamic OV margin as fraction of board max: vbus_trip_high tracks vbus + this x vbus_board_max | |||
| 0x0707 | TMOS | Signal | °C | MOSFET temperature (max) | |||
| 0x0708 | TMOT | Signal | °C | Motor temperature | |||
| 0x0709 | TMOSu | Signal | °C | MOSFET U temperature | |||
| 0x070A | TMOSv | Signal | °C | MOSFET V temperature | |||
| 0x070B | TMOSw | Signal | °C | MOSFET W temperature | |||
| 0x070C | TCAP | Signal | °C | Capacitor temperature | |||
| 0x070D | temp_mos_thot | Parameter | °C | MOS rollback start temperature | |||
| 0x070E | temp_mos_tmax | Parameter | °C | MOS error temperature | |||
| 0x0710 | temp_cap_thot | Parameter | °C | Cap rollback start temperature | |||
| 0x0711 | temp_cap_tmax | Parameter | °C | Cap error temperature | |||
| 0x0712 | temp_mot_thot | Parameter | °C | Motor rollback start temperature | |||
| 0x0713 | temp_mot_tmax | Parameter | °C | Motor error temperature | |||
| 0x0714 | temp_mot_method | Parameter | Motor temperature sensor type (0=NTC Beta, 1=KTY83, 2=KTY84, 3=NTC Steinhart-Hart, 4=PT100, 5=PT1000) | ||||
| 0x0715 | temp_mot_beta | Parameter | K | Motor temperature NTC Beta coefficient | |||
| 0x0716 | temp_mot_r0 | Parameter | Ohm | Motor temperature NTC resistance at 25 °C | |||
| 0x0717 | temp_mot_sh_a | Parameter | Motor temperature NTC Steinhart-Hart A | ||||
| 0x0718 | temp_mot_sh_b | Parameter | Motor temperature NTC Steinhart-Hart B | ||||
| 0x0719 | temp_mot_sh_c | Parameter | Motor temperature NTC Steinhart-Hart C |
Detection and identification0x0800 to 0x08FF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0801 | hall_s1_fwd | Parameter | Hall sector 1: forward-next state (1-6) | ||||
| 0x0802 | hall_s1_rev | Parameter | Hall sector 1: reverse-next state (1-6) | ||||
| 0x0803 | hall_s1_centre | Parameter | Hall sector 1: centre angle (u16 electrical; 65536=360°) | ||||
| 0x0804 | hall_s1_width | Parameter | Hall sector 1: angular width (u16 electrical; 65536/6≈10923 for ideal 60°) | ||||
| 0x0805 | hall_s2_fwd | Parameter | Hall sector 2: forward-next state (1-6) | ||||
| 0x0806 | hall_s2_rev | Parameter | Hall sector 2: reverse-next state (1-6) | ||||
| 0x0807 | hall_s2_centre | Parameter | Hall sector 2: centre angle (u16 electrical; 65536=360°) | ||||
| 0x0808 | hall_s2_width | Parameter | Hall sector 2: angular width (u16 electrical) | ||||
| 0x0809 | hall_s3_fwd | Parameter | Hall sector 3: forward-next state (1-6) | ||||
| 0x080A | hall_s3_rev | Parameter | Hall sector 3: reverse-next state (1-6) | ||||
| 0x080B | hall_s3_centre | Parameter | Hall sector 3: centre angle (u16 electrical; 65536=360°) | ||||
| 0x080C | hall_s3_width | Parameter | Hall sector 3: angular width (u16 electrical) | ||||
| 0x080D | hall_s4_fwd | Parameter | Hall sector 4: forward-next state (1-6) | ||||
| 0x080E | hall_s4_rev | Parameter | Hall sector 4: reverse-next state (1-6) | ||||
| 0x080F | hall_s4_centre | Parameter | Hall sector 4: centre angle (u16 electrical; 65536=360°) | ||||
| 0x0810 | hall_s4_width | Parameter | Hall sector 4: angular width (u16 electrical) | ||||
| 0x0811 | hall_s5_fwd | Parameter | Hall sector 5: forward-next state (1-6) | ||||
| 0x0812 | hall_s5_rev | Parameter | Hall sector 5: reverse-next state (1-6) | ||||
| 0x0813 | hall_s5_centre | Parameter | Hall sector 5: centre angle (u16 electrical; 65536=360°) | ||||
| 0x0814 | hall_s5_width | Parameter | Hall sector 5: angular width (u16 electrical) | ||||
| 0x0815 | hall_s6_fwd | Parameter | Hall sector 6: forward-next state (1-6) | ||||
| 0x0816 | hall_s6_rev | Parameter | Hall sector 6: reverse-next state (1-6) | ||||
| 0x0817 | hall_s6_centre | Parameter | Hall sector 6: centre angle (u16 electrical; 65536=360°) | ||||
| 0x0818 | hall_s6_width | Parameter | Hall sector 6: angular width (u16 electrical) | ||||
| 0x0819 | hall_state | Signal | Current hall state | ||||
| 0x081A | HFI_countdown | Signal | HFI ambiguity-detection countdown (runtime state) | ||||
| 0x081B | HFI_inject | Signal | HFI injection state: 0=off, 1/2=running (runtime state) | ||||
| 0x081C | hfi_error_erad | Signal | erad | HFI angle error | |||
| 0x081D | HFI_offset | Signal | A | HFI calibrated offset | |||
| 0x081E | HFI_Vd_inj | Signal | V | HFI d-axis injection voltage | |||
| 0x081F | HFI_Vq_inj | Signal | V | HFI q-axis injection voltage | |||
| 0x0820 | HFI_int_state | Signal | erad/s | HFI integrator state | |||
| 0x0821 | HFI_num_injects | Signal | HFI injection counter | ||||
| 0x0822 | HFI_didq_d | Signal | A | HFI delta Id | |||
| 0x0823 | HFI_didq_q | Signal | A | HFI delta Iq | |||
| 0x0824 | HFI_sweep_cos | Signal | HFI sweep DFT cos accumulator (saliency ripple) | ||||
| 0x0825 | HFI_sweep_sin | Signal | HFI sweep DFT sin accumulator (saliency ripple) | ||||
| 0x0826 | HFI_sweep_mag | Signal | HFI sweep saliency-signal magnitude sqrt(cos^2+sin^2) | ||||
| 0x0827 | HFI_sweep_ang | Signal | erad | HFI rotor angle estimate from sweep (mod pi, diagnostic) | |||
| 0x0828 | HFI_sweep_ang_u16 | Signal | HFI rotor angle estimate from sweep (u16, 0..32768 = 0..180 deg elec, diagnostic) | ||||
| 0x0829 | Hall_flux | Parameter | hall start table | ||||
| 0x082A | HFI_ambi_Ld_pos | Signal | H | HFI ambi-detect incremental Ld while +Id applied | |||
| 0x082B | HFI_ambi_Ld_neg | Signal | H | HFI ambi-detect incremental Ld while -Id applied |
Frequency response (FRF)0x0900 to 0x09FF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0901 | FRF_Vd_gain | Parameter | V | PRBS amplitude injected on Vd | |||
| 0x0902 | FRF_Vq_gain | Parameter | V | PRBS amplitude injected on Vq | |||
| 0x0903 | FRF_downsample | Parameter | - | PRBS chip held N PWM cycles (chip rate = pwm/N) | |||
| 0x0904 | FRF_enable | Parameter | - | PRBS injection enable (free-running) | |||
| 0x0905 | FRF_noise | Signal | - | Current PRBS chip value, +/-1 (host phase-lock reference) | |||
| 0x0906 | FRF_Tq_gain | Parameter | <force_unit> | PRBS amplitude injected on speed-loop torque | |||
| 0x0907 | FRF_Tq_downsample | Parameter | - | Torque PRBS chip held N speed-loop cycles | |||
| 0x0908 | FRF_Tq_enable | Parameter | - | Torque PRBS injection enable (speed-loop FRF) | |||
| 0x0909 | FRF_Tq_noise | Signal | - | Current torque PRBS chip, +/-1 (host phase-lock reference) |
Digital IO0x0A00 to 0x0AFF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0A01 | DOUT_1_NAME | Parameter | DOUT_1_DESC | ||||
| 0x0A02 | DOUT_2_NAME | Parameter | DOUT_2_DESC | ||||
| 0x0A03 | DOUT_3_NAME | Parameter | DOUT_3_DESC | ||||
| 0x0A04 | DOUT_4_NAME | Parameter | DOUT_4_DESC | ||||
| 0x0A05 | DOUT_5_NAME | Parameter | DOUT_5_DESC | ||||
| 0x0A06 | DOUT_6_NAME | Parameter | DOUT_6_DESC | ||||
| 0x0A07 | DOUT_7_NAME | Parameter | DOUT_7_DESC | ||||
| 0x0A08 | DOUT_8_NAME | Parameter | DOUT_8_DESC | ||||
| 0x0A09 | din_1 | Signal | Digital input 1 | ||||
| 0x0A0A | din_2 | Signal | Digital input 2 | ||||
| 0x0A0B | din_3 | Signal | Digital input 3 | ||||
| 0x0A0C | din_4 | Signal | Digital input 4 |
Error log0x0B00 to 0x0BFF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0B03 | errors_all | Signal | All errors latched since boot (cumulative) | ||||
| 0x0B04 | errlog0_code | Signal | Error log 0 code (1-based, 0=none) | ||||
| 0x0B05 | errlog0_ms | Signal | Error log 0 timestamp [ms] | ||||
| 0x0B06 | errlog1_code | Signal | Error log 1 code (1-based, 0=none) | ||||
| 0x0B07 | errlog1_ms | Signal | Error log 1 timestamp [ms] | ||||
| 0x0B08 | errlog2_code | Signal | Error log 2 code (1-based, 0=none) | ||||
| 0x0B09 | errlog2_ms | Signal | Error log 2 timestamp [ms] | ||||
| 0x0B0A | errlog3_code | Signal | Error log 3 code (1-based, 0=none) | ||||
| 0x0B0B | errlog3_ms | Signal | Error log 3 timestamp [ms] | ||||
| 0x0B0C | errlog4_code | Signal | Error log 4 code (1-based, 0=none) | ||||
| 0x0B0D | errlog4_ms | Signal | Error log 4 timestamp [ms] | ||||
| 0x0B0E | errlog5_code | Signal | Error log 5 code (1-based, 0=none) | ||||
| 0x0B0F | errlog5_ms | Signal | Error log 5 timestamp [ms] | ||||
| 0x0B10 | errlog6_code | Signal | Error log 6 code (1-based, 0=none) | ||||
| 0x0B11 | errlog6_ms | Signal | Error log 6 timestamp [ms] | ||||
| 0x0B12 | errlog7_code | Signal | Error log 7 code (1-based, 0=none) | ||||
| 0x0B13 | errlog7_ms | Signal | Error log 7 timestamp [ms] | ||||
| 0x0B14 | errlog8_code | Signal | Error log 8 code (1-based, 0=none) | ||||
| 0x0B15 | errlog8_ms | Signal | Error log 8 timestamp [ms] | ||||
| 0x0B16 | errlog9_code | Signal | Error log 9 code (1-based, 0=none) | ||||
| 0x0B17 | errlog9_ms | Signal | Error log 9 timestamp [ms] | ||||
| 0x0B18 | error_restart_delay | Parameter | ms | Used by auto_clear_error 2/3: wait this long after the error condition goes away before restarting | |||
| 0x0B19 | errors_latched | Signal | Stored errors, still set until cleared | ||||
| 0x0B1A | errors_active | Signal | Errors present right now | ||||
| 0x0B1B | errors_last | Signal | Code of most recent error (1-based, 0=none) |
Telemetry signals0x0C00 to 0x0DFF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0C01 | fastloop_cycles | Signal | CPU cycles | Time spent in last fastloop iteration | |||
| 0x0C02 | adc1_max | Parameter | - | ADC1 reading at full throttle, normalised 0 to 1 | |||
| 0x0C03 | adc1_min | Parameter | - | ADC1 reading at zero throttle, normalised 0 to 1 | |||
| 0x0C04 | adc1_pol | Parameter | ADC1 polarity | ||||
| 0x0C05 | adc2_max | Parameter | - | ADC2 reading at full throttle, normalised 0 to 1 | |||
| 0x0C06 | adc2_min | Parameter | - | ADC2 reading at zero throttle, normalised 0 to 1 | |||
| 0x0C07 | adc2_pol | Parameter | ADC2 polarity | ||||
| 0x0C08 | adc1_trip_low | Parameter | ADC1 low trip (wire-break); 0=off | ||||
| 0x0C09 | adc1_trip_high | Parameter | ADC1 high trip (wire-break); 1=off | ||||
| 0x0C0A | adc2_trip_low | Parameter | ADC2 low trip (wire-break); 0=off | ||||
| 0x0C0B | adc2_trip_high | Parameter | ADC2 high trip (wire-break); 1=off | ||||
| 0x0C0C | adc1_center | Parameter | ADC1 rest position (bidir only) | ||||
| 0x0C0D | adc2_center | Parameter | ADC2 rest position (bidir only) | ||||
| 0x0C0E | adc1_type | Parameter | ADC1 mapping: 0=unidir+, 1=unidir-, 2=bidirectional, 3=brake | ||||
| 0x0C0F | adc2_type | Parameter | ADC2 mapping: 0=unidir+, 1=unidir-, 2=bidirectional, 3=brake | ||||
| 0x0C10 | adc1_dead | Parameter | ADC1 deadband (normalised, bidir only) | ||||
| 0x0C11 | adc2_dead | Parameter | ADC2 deadband (normalised, bidir only) | ||||
| 0x0C12 | adc1_cx0 | Parameter | ADC1 curve point 0 x | ||||
| 0x0C13 | adc1_cx1 | Parameter | ADC1 curve point 1 x | ||||
| 0x0C14 | adc1_cx2 | Parameter | ADC1 curve point 2 x | ||||
| 0x0C15 | adc1_cx3 | Parameter | ADC1 curve point 3 x | ||||
| 0x0C16 | adc1_cx4 | Parameter | ADC1 curve point 4 x | ||||
| 0x0C17 | adc1_cy0 | Parameter | ADC1 curve point 0 y | ||||
| 0x0C18 | adc1_cy1 | Parameter | ADC1 curve point 1 y | ||||
| 0x0C19 | adc1_cy2 | Parameter | ADC1 curve point 2 y | ||||
| 0x0C1A | adc1_cy3 | Parameter | ADC1 curve point 3 y | ||||
| 0x0C1B | adc1_cy4 | Parameter | ADC1 curve point 4 y | ||||
| 0x0C1C | adc2_cx0 | Parameter | ADC2 curve point 0 x | ||||
| 0x0C1D | adc2_cx1 | Parameter | ADC2 curve point 1 x | ||||
| 0x0C1E | adc2_cx2 | Parameter | ADC2 curve point 2 x | ||||
| 0x0C1F | adc2_cx3 | Parameter | ADC2 curve point 3 x | ||||
| 0x0C20 | adc2_cx4 | Parameter | ADC2 curve point 4 x | ||||
| 0x0C21 | adc2_cy0 | Parameter | ADC2 curve point 0 y | ||||
| 0x0C22 | adc2_cy1 | Parameter | ADC2 curve point 1 y | ||||
| 0x0C23 | adc2_cy2 | Parameter | ADC2 curve point 2 y | ||||
| 0x0C24 | adc2_cy3 | Parameter | ADC2 curve point 3 y | ||||
| 0x0C25 | adc2_cy4 | Parameter | ADC2 curve point 4 y | ||||
| 0x0C26 | Vmag | Signal | V | Voltage vector magnitude | |||
| 0x0C27 | Ibus | Signal | A | Bus current | |||
| 0x0C28 | limit_status | Signal | Limiting 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 | ||||
| 0x0C29 | binary_sync_drops | Signal | RX bytes discarded during binary-parser resync while audio streaming | ||||
| 0x0C2A | trace_dropped | Signal | FOC trace samples dropped on ring overflow this stream (host too slow) | ||||
| 0x0C30 | key_bits | Signal | Key interlocks. 1=UNINITIALISED 2=KILLSWITCH 8=APP_KEY | ||||
| 0x0C31 | Iu | Signal | A | U phase current (discarded phase reconstructed) | |||
| 0x0C32 | Iv | Signal | A | V phase current (discarded phase reconstructed) | |||
| 0x0C33 | Iw | Signal | A | W phase current (discarded phase reconstructed) | |||
| 0x0C34 | Iu_raw | Signal | A | U phase current, direct sensor (debug) | |||
| 0x0C35 | Iv_raw | Signal | A | V phase current, direct sensor (debug) | |||
| 0x0C36 | Iw_raw | Signal | A | W phase current, direct sensor (debug) | |||
| 0x0C37 | Vu | Signal | V | U phase voltage | |||
| 0x0C38 | Vv | Signal | V | V phase voltage | |||
| 0x0C39 | Vw | Signal | V | W phase voltage | |||
| 0x0C3A | ccr1 | Signal | cnt | Applied TIM CCR1 duty | |||
| 0x0C3B | ccr2 | Signal | cnt | Applied TIM CCR2 duty | |||
| 0x0C3C | ccr3 | Signal | cnt | Applied TIM CCR3 duty | |||
| 0x0C3D | ccr4 | Signal | cnt | Applied TIM CCR4 duty (stepper B- leg; 0 on PMSM/DC) | |||
| 0x0C3E | Ix | Signal | A | 4th-leg current (B- leg) | |||
| 0x0C3F | Ix_raw | Signal | A | 4th-leg current, direct sensor (debug) | |||
| 0x0C40 | Vx | Signal | V | 4th-leg voltage (B- leg) | |||
| 0x0C45 | deadtime_comp | Parameter | cnt | Deadtime compensation added to the applied duty, in timer counts | |||
| 0x0C46 | pwm_clamp | Parameter | CCR clamp threshold: values within N counts of 0/ARR snap to 0/ARR | ||||
| 0x0C47 | auto_clear_error | Parameter | Auto-clear error once gone: 0=never (manual), 1=at idle setpoint, 2=after restart delay, 3=at idle or after delay | ||||
| 0x0C48 | clear_error | Command | Write 1 to clear the latched error (manual recovery); auto-resets to 0 | ||||
| 0x0C49 | stop | Command | Write 1: general stop, zero all requests, abort motor detection (config restored), drop to TRACKING, stop SD audio; auto-resets to 0 | ||||
| 0x0C4A | emergency_stop | Command | Emergency stop (latching): 1=raise ERROR_EMERGENCY_STOP and hold it (fast-loop trip), 0=release; clears via normal error recovery | ||||
| 0x0C69 | i_centering | Parameter | Current sensor offset auto-centering (0=off, 1=on) | ||||
| 0x0C6A | tim1_break_en | Parameter | TIM1 hardware break input enable (" TIM1_BREAK_PIN_DESC ") | ||||
| 0x0C6B | vbus | Signal | V | Input voltage | |||
| 0x0C6C | ehz | Signal | Hz | Rate the PLL tracks: electrical, or MECHANICAL on a DC motor | |||
| 0x0C6D | motor_vel | Signal | <mech_unit> | Velocity at the MOTOR (rad/s, or m/s on a linear motor) | |||
| 0x0C6E | rpm | Signal | RPM | Mechanical speed | |||
| 0x0C6F | control_freq | Signal | Hz | FOC/DTC control loop rate | |||
| 0x0C70 | torque_actual | Signal | <force_unit> | Estimated torque or force at the motor | |||
| 0x0C71 | r_det_iq_osc | Signal | A | Iq oscillation envelope (R detection settle signal) | |||
| 0x0C72 | adc1 | Signal | ADC1 input | ||||
| 0x0C73 | adc2 | Signal | ADC2 input | ||||
| 0x0C74 | Vq | Signal | V | FOC Vq | |||
| 0x0C75 | Vd | Signal | V | FOC Vd | |||
| 0x0C76 | Valpha | Signal | V | FOC Valpha (stationary frame) | |||
| 0x0C77 | Vbeta | Signal | V | FOC Vbeta (stationary frame) | |||
| 0x0C78 | idreq | Signal | A | Id request | |||
| 0x0C79 | iqreq | Signal | A | Iq request | |||
| 0x0C7A | fastloop_count | Signal | Fastloop tick counter (monotonic). Wraps at 2^32. Stall detector reads delta. | ||||
| 0x0C7B | adc3 | Signal | ADC3 input | ||||
| 0x0C7C | adc4 | Signal | ADC4 input | ||||
| 0x0C7D | adc3_max | Parameter | - | ADC3 reading at full throttle, normalised 0 to 1 | |||
| 0x0C7E | adc3_min | Parameter | - | ADC3 reading at zero throttle, normalised 0 to 1 | |||
| 0x0C7F | adc3_pol | Parameter | ADC3 polarity | ||||
| 0x0C80 | adc4_max | Parameter | - | ADC4 reading at full throttle, normalised 0 to 1 | |||
| 0x0C81 | adc4_min | Parameter | - | ADC4 reading at zero throttle, normalised 0 to 1 | |||
| 0x0C82 | adc4_pol | Parameter | ADC4 polarity | ||||
| 0x0C83 | adc3_trip_low | Parameter | ADC3 low trip (wire-break); 0=off | ||||
| 0x0C84 | adc3_trip_high | Parameter | ADC3 high trip (wire-break); 1=off | ||||
| 0x0C85 | adc4_trip_low | Parameter | ADC4 low trip (wire-break); 0=off | ||||
| 0x0C86 | adc4_trip_high | Parameter | ADC4 high trip (wire-break); 1=off | ||||
| 0x0C87 | adc3_center | Parameter | ADC3 rest position (bidir only) | ||||
| 0x0C88 | adc4_center | Parameter | ADC4 rest position (bidir only) | ||||
| 0x0C89 | adc3_type | Parameter | ADC3 mapping: 0=unidir+, 1=unidir-, 2=bidirectional, 3=brake | ||||
| 0x0C8A | adc4_type | Parameter | ADC4 mapping: 0=unidir+, 1=unidir-, 2=bidirectional, 3=brake | ||||
| 0x0C8B | adc3_dead | Parameter | ADC3 deadband (normalised, bidir only) | ||||
| 0x0C8C | adc4_dead | Parameter | ADC4 deadband (normalised, bidir only) | ||||
| 0x0C8D | adc3_cx0 | Parameter | ADC3 curve point 0 x | ||||
| 0x0C8E | adc3_cx1 | Parameter | ADC3 curve point 1 x | ||||
| 0x0C8F | adc3_cx2 | Parameter | ADC3 curve point 2 x | ||||
| 0x0C90 | adc3_cx3 | Parameter | ADC3 curve point 3 x | ||||
| 0x0C91 | adc3_cx4 | Parameter | ADC3 curve point 4 x | ||||
| 0x0C92 | adc3_cy0 | Parameter | ADC3 curve point 0 y | ||||
| 0x0C93 | adc3_cy1 | Parameter | ADC3 curve point 1 y | ||||
| 0x0C94 | adc3_cy2 | Parameter | ADC3 curve point 2 y | ||||
| 0x0C95 | adc3_cy3 | Parameter | ADC3 curve point 3 y | ||||
| 0x0C96 | adc3_cy4 | Parameter | ADC3 curve point 4 y | ||||
| 0x0C97 | adc4_cx0 | Parameter | ADC4 curve point 0 x | ||||
| 0x0C98 | adc4_cx1 | Parameter | ADC4 curve point 1 x | ||||
| 0x0C99 | adc4_cx2 | Parameter | ADC4 curve point 2 x | ||||
| 0x0C9A | adc4_cx3 | Parameter | ADC4 curve point 3 x | ||||
| 0x0C9B | adc4_cx4 | Parameter | ADC4 curve point 4 x | ||||
| 0x0C9C | adc4_cy0 | Parameter | ADC4 curve point 0 y | ||||
| 0x0C9D | adc4_cy1 | Parameter | ADC4 curve point 1 y | ||||
| 0x0C9E | adc4_cy2 | Parameter | ADC4 curve point 2 y | ||||
| 0x0C9F | adc4_cy3 | Parameter | ADC4 curve point 3 y | ||||
| 0x0CA0 | adc4_cy4 | Parameter | ADC4 curve point 4 y | ||||
| 0x0CA1 | adc1_range | Parameter | V | Input voltage at full scale on ADC1. Expert only: fixed by the board input resistor divider, normally never changed | |||
| 0x0CA2 | adc2_range | Parameter | V | Input voltage at full scale on ADC2. Expert only: fixed by the board input resistor divider, normally never changed | |||
| 0x0CA3 | adc3_range | Parameter | V | Input voltage at full scale on ADC3. Expert only: fixed by the board input resistor divider, normally never changed | |||
| 0x0CA4 | adc4_range | Parameter | V | Input voltage at full scale on ADC4. Expert only: fixed by the board input resistor divider, normally never changed | |||
| 0x0CA6 | Vu_oset | Parameter | cnt | U phase voltage offset | |||
| 0x0CA7 | Vv_oset | Parameter | cnt | V phase voltage offset | |||
| 0x0CA8 | Vw_oset | Parameter | cnt | W phase voltage offset | |||
| 0x0CA9 | Vx_oset | Parameter | cnt | 4th-leg voltage offset | |||
| 0x0CAA | V_offset_cal | Parameter | Phase V offset auto-cal, motor stationary (0=off, 1=on, 2=store the learned offsets once, then back to 1) | ||||
| 0x0CAB | brake_fade | Parameter | <speed_unit> | Brake fades to zero below this, so it cannot drive backwards | |||
| 0x0CAC | input_filter | Parameter | s | Low-pass time constant on the summed throttle and brake demand. Vehicle app only | |||
| 0x0CAD | brake_req | Signal | Brake demand, summed over the brake-type inputs | ||||
| 0x0CAE | input_sum | Signal | Combined throttle demand, raw. What the non-vehicle app drives on | ||||
| 0x0CAF | input_abs | Signal | Sum of |demand|, unfiltered. Zero is the released test | ||||
| 0x0CB0 | input_filt | Signal | Combined throttle demand after input_filter. What the vehicle app drives on |
Other0x0E00 to 0x0FFF
| ID | Name | Type | Unit | Default | Min | Max | Description |
|---|---|---|---|---|---|---|---|
| 0x0E01 | odo_total | Signal | <odo_unit> | Lifetime distance, or shaft turns with no linear scale | |||
| 0x0E02 | odo_trip | Signal | <odo_unit> | Same as odo_total, since the last trip reset | |||
| 0x0E03 | odo_trip_ah_used | Signal | 0.1 Ah | Charge drawn from the pack since the last trip reset | |||
| 0x0E04 | odo_trip_ah_regen | Signal | 0.1 Ah | Charge returned to the pack since the last trip reset | |||
| 0x0E05 | odo_powered | Signal | s | Time the controller has been powered | |||
| 0x0E06 | odo_run | Signal | s | Time the motor has been energised | |||
| 0x0E07 | odo_boots | Signal | Completed boots | ||||
| 0x0E08 | odo_trip_reset | Command | Write 1 to zero the trip counter; auto-resets. Lifetime total is never cleared | ||||
| 0x0E09 | odo_trip_wh | Signal | Wh | Net energy since the last trip reset |
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<force_unit> Nm on a rotary motor, N on a linear one<inertia_unit> kg*m^2 on a rotary motor, kg on a linear one<mech_unit> rad/s on a rotary motor, m/s on a linear one<odo_unit> m when the load really travels, shaft revolutions otherwise<pos_unit> rad on a rotary load, m on a linear one<speed_unit> rad/s or RPM when rotary, m/s, mm/s or km/h when linear, per the speed_unit setting