Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hi Team C2000,
My customer has the following questions..
The application is fairly straightforward, it’s two phase staggered buck converters. They are operating 180° out of phase. Each one has its own analog control loop that feeds an error signal into the DSP on different ADC inputs. The error signals are converted and used to set the PWM values. The control scheme is to run two PWM’s in sync with 180° phase shift.
We are not using high resolution PWM. Each PWM uses the compare B to initiate the correct channel ADC conversion. The end of conversion triggers an interrupt that does some scaling math on the error signal and loads it into the appropriate PWM compare register for the next PWM cycle.
The questions are around how best to set up the PWM’s and the ADC interrupts.
Can the same ADC interrupt be triggered from multiple different ADC conversions?
I have PWM1 and PWM2 set up in sync with 180° phase shift. PWM1 uses one ADC input. PWM2 uses a different ADC input. Can the EOC of each be used to trigger the same ADC interrupt?
Would it be better to have two separate ADC interrupts each one triggered by the EOC of the appropriate ADC channel?
Thanks, Merril

