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.

start of ADC based on Event manager in both underflow and period

Hi:

I am using F2812, I am writing a code for a three phase inverter.  my current  program state  machine is the ADC starts conversion with the event of  under flow of the T1, and then ADC activates an interrupt (my control algorithm) with the End of Conversion. I noticed that using the event manager I can start the  ADC using either  an underflow eventt/ period event  or compare interrupt. Can I set to start ADC on both events underflow and period interrupts. Hence I would like to call this interrupt twice per one switching cycle.

 

Could you give me a hand??

Best regards