SLUUDM5 March 2026 MSPM0G1507 , MSPM0G1519 , MSPM0G3507 , MSPM0G3519
Users can also route one of the Phases say 'B' to both the ADC0 and ADC1 instance and the other two phases to two different ADC instances.
For example, Phase A is routed to ADC0, and Phase C is routed to ADC1. Phase B is routed to both ADC0 and ADC1 instances. Then algorithm can dynamically switch to the two samples which gives the best current sampling time based on the given sector if enabled simultaneously sampling. Refer to Section 9.3 if users want to reduce 1x ADC pin for simultaneously sampling function.
Under simultaneously sampling mode, FOC application supports shifting the current sensing estimation dynamically to the two phases for maximizing the modulation index. As in a balanced three phase Motor, any one of the three-phase currents can be estimated with the other two-phase currents in Equation 46.
Based on the operational sector the two phases with lowest modulation index are selected for current measurement and third phase with highest modulation index is estimated using the other two-phase currents. This method helps in extending the modulation index to higher limits with continuous SVM operation.
The following table shows the example to enable simultaneously sampling.
| File | Macro Definition | Description |
|---|---|---|
| main.h | __CURRENT_THREE_SHUNT_DYNAMIC | Add macro to the file. |
| DYNAMIC_CURRENT_SHUNT_CONFIG_EN | Add macro to the file and set it to TRUE. |