Tool/software: Code Composer Studio
Hi,
I want to read three different signals in three different moments. I have 3 PWM shifted 120 degrees (3 phase). In each PWM I have defined a CMPB to start one ADC conversion. When it finish, it should fire a interruption. However:
-The ADC conversion triggers all the interruptions, I can not assign each ADC with each interruption. I should have three interruptions (one per phase) in one cycle: One from ADC conversion A, other from ADC conversion B and the last one from ADC conversion C, but I am having many more per cycle.
-Maybe, I am firing all the ADC with one phase when they should work in pairs: ADC conversion A and phase A, ADC conversion B and phase B, ADC conversion C and phase C.
How can I solve this?
Very thank for your attention and your time.
Best regards,
Álvaro