SLUUDM5 March 2026 MSPM0G1507 , MSPM0G1519 , MSPM0G3507 , MSPM0G3519
For single shunt configuration, FOC application converts phase currents two times in one PWM period and triggers the interrupt at the second time. The ADC instance used for phase current sampling must set and only set the first and last ADC memory Index with Valid Trigger mode. So that in every PWM period cycle, PWM module generates two events to ADC module according to space vector state, and events trigger ADC to sample and convert bus current in sequence. The following figure shows the SysConfig setting of sensorless-foc_DRV8329 project.
If using the ISD function, the two phase voltage channels should be configured to an ADC instance that does not sample the bus current; otherwise, it will not be possible to sample all three phase voltages simultaneously.