I need to sample 6 ADC input signals. At least 2 of them need to be sampled at high frequencies (200 ksp per second). Furthermore, these two need to be simultaneous.
The two high simultaneous triggered ADC inputs are set to ADCA and ADCB (for simultaneous sampling).
At least 5 signals need to be triggered by an EPWM, one signal can be triggered by Software only.
My problem: The UC is not able to sample all my signals, the resulting load is too high (it is alreay to high when I try to sample one input signal with 200 ksp/s). So I need to reduce load. But how can I achieve equidistant sampling for 5 signals when using continuous or burst mode. The best option maybe using continuous mode and let the DMA shift at least the high frequency inputs.
The sampling rate of the other signals is 12.800 and 25.600 samples per second.
But if I set ADCA and ADCB into burst mode, I cannot guarantee the 5 Signals triggered by EPWM to be triggered equidistant...
Do you have any suggestion what to do? Something like SOC0-7 of ADCA/ADCB are used for adca0, adcb0 (the two simultaneous signals) and the other SOC for the 3 remaining signals which need to be triggered by epwm and the 6 signal I could simply trigger from software only at ADCC. It is important that my samples are equidistant, I don’t want to oversample…
Furthermore, I tried to use burst mode and set it to 16 SOCs, and I measure the time by using the count event option, it results in about 1077 cycles when configured the EPWM to trigger every 500 CPU cycles.
I expect an event every 16*500 cycles....
Setting the Burst mode to 8, same EPWM, I still receive an interrupt after 2000 CPU cycles. I am using the driverlib.
Thanks in advance.