SLAU927B June 2024 – November 2024 MSPM0G3507
Table 5-4 shows the register to control Algorithm debug functions.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31 | CLEAR_FAULT | W | 0b | Bit to clear set controller and Gate Driver Faults.
Bit is automatically reset. 1h = Clear Fault Command |
30-22 | FORCED_ALIGN_ANGLE | W | 000000000b |
9-bit value (in °) used during forced align state ( FORCE_ALIGN_EN = 1) Angle applied (°) = FORCED_ALIGN_ANGLE % 360° |
21-16 | RESERVED | R | 0h | |
15 | CLOSED_LOOP_DIS | W | 0b |
Use to disable closed loop 0h = Enable closed loop 1h = Disable closed loop, motor commutation in open loop |
14 | FORCE_ALIGN_EN | W | 0b | Force align state enable 0h = Disable force align state, device comes out of align state if MTR_STARTUP is selected as ALIGN or DOUBLE ALIGN 1h = Enable force align state, device stays in align state if MTR_STARTUP is selected as ALIGN or DOUBLE ALIGN |
13 |
FORCE_SLOW_FIRST_C YCLE_EN |
W | 0b | Force slow first cycle enable 0h = Disable force slow first cycle state, device comes out of slow first cycle state if MTR_STARTUP is selected as SLOW FIRST CYCLE 1h = Enable force slow first cycle state, device stays in slow first cycle state if MTR_STARTUP is selected as SLOW FIRST CYCLE |
12 | FORCE_IPD_EN | W | 0b | Force IPD enable 0h = Disable Force IPD state, device comes out of IPD state if MTR_STARTUP is selected as IPD 1h = Enable Force IPD state, device stays in IPD state if MTR_STARTUP is selected as IPD |
11 | FORCE_ISD_EN | W | 0b | Force ISD enable 0h = Disable Force ISD state, device comes out of ISD state if ISD_EN is set 1h = Enable Force ISD state, device stays in ISD state if ISD_EN is set |
10 | FORCE_ALIGN_ANGLE_SRC_SEL | W | 0b | Force align angle state source select 0h = Force Align Angle defined by ALIGN_ANGLE 1h = Force Align Angle defined by FORCED_ALIGN_ANGLE |
9-0 | FORCE_IQ_REF_SPEED_LOOP_DIS | W-IQ(9) | 0000000000b | Sets Iq_ref in PU IQ(9)when speed loop is disabled If SPEED_LOOP_DIS = 1b, then Iq_ref is set using IQ_REF_SPEED_LOOP_DIS Iq_ref = (FORCE_IQ_REF_SPEED_LOOP_DIS / 511) × 10, if FORCE_IQ_REF_SPEED_LOOP_DIS < 512 -(FORCE_IQ_REF_SPEED_LOOP_DIS - 512) / 511 × 10 if FORCE_IQ_REF_SPEED_LOOP_DIS > 512 Valid values are 0 to 511 and 512 to 1000 |