SLAU927B June 2024 – November 2024 MSPM0G3507
Table 5-28 shows the register to configure close loop settings1.
Bit | Field | Type | Reset | Description |
---|---|---|---|---|
31-30 | RESERVED | R/W | 0h | Reserved |
29-28 | CONTROL_MODE | R/W | 0h |
FOC Closed loop Mode of operation 0h = Closed Loop Speed Control 1h = Closed Loop Power Control 2h = Closed Loop Torque Control 3h = Voltage Control mode. |
27 | HIGH_FREQ_FOC_EN | R/W | 0b |
Enable /Disable High FOC Sampling rate. Higher the Sampling rate, lower the CPU bandwidth available for other tasks. 0h = High Frequency FOC Enable.(Max FOC Frequency 10Khz)1h = High Frequency FOC Disable(Max FOC Frequency 5Khz) |
26-22 | ILIMIT | R/W | 0h | Current limit in Closed loop Torque Mode and Closed
loop Speed control in % of CURRENT_BASE 0h = 7.5% 1h = 8.0% 2h = 8.5% 3h = 9.0% 4h = 9.5% 5h = 10% 6h = 11% 7h = 12% 8h = 13% 9h = 14% Ah = 15% Bh = 16% Ch = 17% Dh = 18% Eh = 20% Fh = 22.5% 10h = 25% 11h = 27.5% 12h = 30% 13h = 35% 14h = 40% 15h = 45% 16h = 50% 17h = 55% 18h = 60% 19h = 70% 1Ah = 75% 1Bh = 80% 1Ch = 85% 1Dh = 90% 1Eh = 95% 1Fh = 100% |
21-20 | MTR_STOP | R/W | 00b | Motor stop method 0h = Hi-z 1h = Active spin down 2h = Braking 3h = Reserved |
19 | OVERMODULATION_ ENABLE |
R/W | 0b |
Overmodulation enable 0h = Disable Over Modulation 1h = Enable Over Modulation |
18-14 | CL_ACC | R/W | 0h | Closed loop acceleration 0h = 0.5Hz/s 1h = 1Hz/s 2h = 2.5Hz/s 3h = 5Hz/s 4h = 7.5Hz/s 5h = 10Hz/s 6h = 20Hz/s 7h = 40Hz/s 8h = 60Hz/s 9h = 80Hz/s Ah = 100Hz/s Bh = 200Hz/s Ch = 300Hz/s Dh = 400Hz/s Eh = 500Hz/s Fh = 600Hz/s 10h = 700Hz/s 11h = 800Hz/s 12h = 900Hz/s 13h = 1000Hz/s 14h = 2000Hz/s 15h = 4000Hz/s 16h = 6000Hz/s 17h = 8000Hz/s 18h = 10000Hz/s 19h = 20000Hz/s 1Ah = 30000Hz/s 1Bh = 40000Hz/s 1Ch = 50000Hz/s 1Dh = 60000Hz/s 1Eh = 70000Hz/s 1Fh = No limit |
13 | CL_DEC_CONFIG | R/W | 0h | Closed loop deceleration configuration 0h = Closed loop deceleration defined by CL_DEC 1h = Closed loop deceleration defined by CL_ACC |
12-8 | CL_DEC | R/W | 0h | Closed loop deceleration. This register is used only
if AVS is disabled and CL_DEC_CONFIG is set to '0' 0h = 0.5Hz/s 1h = 1Hz/s 2h = 2.5Hz/s 3h = 5Hz/s 4h = 7.5Hz/s 5h = 10Hz/s 6h = 20Hz/s 7h = 40Hz/s 8h = 60Hz/s 9h = 80Hz/s Ah = 100Hz/s Bh = 200Hz/s Ch = 300Hz/s Dh = 400Hz/s Eh = 500Hz/s Fh = 600Hz/s 10h = 700Hz/s 11h = 800Hz/s 12h = 900Hz/s 13h = 1000Hz/s 14h = 2000Hz/s 15h = 4000Hz/s 16h = 6000Hz/s 17h = 8000Hz/s 18h = 10000Hz/s 19h = 20000Hz/s 1Ah = 30000Hz/s 1Bh = 40000Hz/s 1Ch = 50000Hz/s 1Dh = 60000Hz/s 1Eh = 70000Hz/s 1Fh = No limit |
7-8 | PWM_FREQ_OUT | R/W | 0h | Output PWM switching frequency 0h = 10kHz 1h = 15kHz 2h = 20kHz 3h = 25kHz 4h = 30kHz 5h = 35kHz 6h = 40kHz 7h = 45kHz 8h = 50kHz 9h = 55kHz Ah = 60kHz Bh = 65kHz Ch = 70kHz Dh = 75kHz Eh = N/A Fh = N/A |
14 | PWM_MODE | R/W | 0b | PWM modulation 0h = Continuous Space Vector Modulation 1h = Discontinuous Space Vector Modulation |
3 | AVS_EN | R/W | 0b | AVS enable 0h = Disable 1h = Enable |
2 | DEADTIME_COMP_EN | R/W | 0b | Dead-time compensation enable 0h = Disable 1h = Enable |
1 | SPEED_LOOP_DIS | R/W | 0b | Speed loop disable 0h = Enable 1h = Disable |