Part Number: TMS320F280039C
Hi Experts:
I am successfully reading 2 ADC channels in a continuous way using DMA with 2 alternate buffers at a sample rate of 960Ks/s. Also, I have 4 PWMs channels running at 48Khz that will drive two bridges
So, I have 20 samples of the ADC channels per PWM cycle. The thing is that I need to synchronize the DMA transfers to the buffers of 20 samples with one of the PWMs channels. The ADC channels are triggered by another EPWM channel. The EPWM channels for the PWMs are in UP mode. To sum up, I need that the first sample of each buffer is taken at the start of the PWM cycle
Unfortunately, I didn't find how to configure the DMA, the ADC, and the PWM in order to have all of them synchronized. I have tried using the Syncro signals of the PWM modules and the way I start these modules, but It didn't work.
Regards,
Fernando