Hi, I'm using PLECS with the C2000 block's family. I want to drive an SPM motor by using an inverter built in PLECS. I want to detect the three currents by using three ADCs. The LaunchPad target is LAUNCHXLF28069.
first, I used three different ADCs to detect the currents and I imposed the SOC by one ePWM block. I used ADCA3 ADCA4 ADCA11.
But If I use this solution PLECS pops up an error window saying that I cannot use the same ADC register for more inputs.
So I use only one ADC block but with a vectorized output made by the three ADC I want to use. My question is how does PLECS menage the SOC for the ADC? In simulink the ADC block allows the user to select the SOC input but in PLECS not. Does It use only SOC0 for every ADC?