SLAU927C March 2024 – March 2025 MSPM0G3507
User Status Registers are set of consolidated variables available for user to read the Motor status and analyze the control performance.
Below are the set of Status Registers that can be imported in the CCS expression window using structure pointer pUserStatusRegs.

Table 5-36 lists the definitions of variables available for monitoring.
| Variables | Type | Reset Value | Description |
|---|---|---|---|
| SYSTEM_FAULT_STATUS | USER_FAULT_TYPES | NO_FAULT | Defines the status of motor faults. MOTOR_STALL : Indicates motor lock faults - abnormal BEMF, no motor, abnormal speed VOLTAGE_OUT_OF_BOUNDS:Indicates undervoltage or overvoltage. LOAD_STALL:Indicates IPD fault. HARDWARE_OVER_CURRENT:Indicates DC bus current limit fault HV_DIE: Indicates gate driver fault if applicable. |
| MOTOR_STATE | MOTOR_STATE_TYPE | MOTOR_IDLE | Defines the state of Current Motor Running Status MOTOR_IDLE : Motor Idle State MOTOR_ISD : Motor in Initial Speed Detection state MOTOR_TRISTATE : Motor in Tristate or Hi-Z mode. MOTOR_BRAKE_ON_START : Motor Brake during Start up. MOTOR_IPD : Motor in Initial position Detection MOTOR_SLOW_FIRST_CYCLE : Motor in Slow First Cycle Startup Method. MOTOR_ALIGN : Motor in Align Start State MOTOR_OPEN_LOOP : Motor in openloop ramp up state.MOTOR_CLOSE_LOOP_UNALIGNED : Motor in Closed loop run State with Angle unaligned MOTOR_CLOSE_LOOP_ALIGNED: Motor in closed loop run state aligned angle. MOTOR_SOFT_STOP : Motor in Stop state MOTOR_BRAKE_ON_STOP Motor in Brake stop state MOTOR_FAULT Motor in Motor Fault State |
| V_DQ_FILT | IQ GLOBAL 27 | IQ27(0) | Indicates the filtered Vd and Vq applied to the motor. Output of current PI controllers. |
| I_DQ_PI | IQ GLOBAL 27 | IQ27(0) | Indicates the Kp and Ki values of current PI controllers. |
| PI_SPEED | IQ GLOBAL 27 | IQ27(0) | Indicates the reference and feedback values of speed PI controller set by FOC algorithm in PU. |
| PI_POWER | IQ GLOBAL 27 | IQ27(0) | Indicates the reference and feedback values of Power PI controller set by FOC algorithm in PU. |
| PI_ID | IQ GLOBAL 27 | IQ27(0) | Indicates the reference and feedback values of direct current PI controller set by FOC algorithm in PU. |
| PI_IQ | IQ GLOBAL 27 | IQ27(0) | Indicates the reference and feedback values of quadrature current PI controller set by FOC algorithm in PU. |
| IPD_IDENTIFIED_SECTOR | COMMUTATION_STATE | 0b | Indicates the IPD identified nearest rotor state. |
| ESTIMATED_SPEED | IQ GLOBAL 27 | IQ27(0) | Indicates the motor speed in PU estimated by the FOC observer algorithm. |
| DC_BUS_VOLTAGE | IQ GLOBAL 27 | IQ27(0) | Indicates the DC bus voltage value in PU |
| TORQUE_LIMIT | IQ GLOBAL 27 | IQ27(0) | Indicates the quadrature current controller saturation limit set by FOC. This value is based on the limit set in ClosedLoop1 configuration. |
| GATE_DRIVER_FAULT_STATUS | Unsigned Int | 0x00000000h | Defines the Index of Gate Driver Specific faults as defined in gateDriverLib. |
| CONTROLLER_FAULT_STATUS | Unsigned Int | 0x00000000h | Defines the Index of FOC Control Algorithm Specific Faults as defined in main.h. |
| APP_VERSION | Unsigned hex | 0x00000000h | Defines the Version number of Application Firmware |