SLAU927B June 2024 – November 2024 MSPM0G3507
The SDK FOC example can be configured for various shunt configuration options such as Single Shunt, Dual Shunt and Three Shunt. Based on the HW design the appropriate shunt configuration has to be selected for proper operation of algorithm.
FOC Application supports simultaneously sampling the two phases at a given instance to optimize the current sampling time. By default in all shunt configurations, both the ADC instances are used to utilize the simultaneous sampling feature. User needed to route at least one current sense onto each of the two ADC instance channels and appropriate shunt configuration has to be defined in the main.h configuration as below.