This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28069: ePWM interrupt with ADC interrupt to generate compensated SPWM

Part Number: TMS320F28069
Other Parts Discussed in Thread: CONTROLSUITE

Hi,

I'm using the TMS320F28069 DSP to implement a SPWM control to my inverter. So far, I have the SPWM being generated by updating of CMPA and CMPB with a sine table every ePWM interrupt. Now, I would like to implement an ADC to read a voltage value and multiply the sine table by this value.

Acordding to what I've read, the ADC triggers his own interruption, correct? I would like to have these two function in the same interruption, something like:

interruption{

adc = starts adc
CMPA = adc*sine[x]

}


Is it possible?