Tool/software:
I have a system using a f2838x DSP where we need to switch a mux 4 times per PWM cycle and take ADC samples per mux switch. First ASDC SOC is triggered by a PWM. When an ADC ISR is invoked, the mux is switched, results are latched and a 2us delay loop is done (for mux settling time) before a software trigger is initiated at the end of the ISR. This is done a total of 3 times. The next PWM cycle starts it all over again.
I would like to eliminate the 2us loop and the software trigger so that other ISRs/Tasks can run. I was thinking of replacing it with an external ADC SOC one-shot 2us trigger. What I need is either a one-shot CPU Timer or a one-shot PWM trigger. From my investigation in the TRM, it doesn't look like any of the 3 CPU Timers can be configured as a one-shot. Either can the PWM as far as I can see.
Any suggestions?
Thanks