Other Parts Discussed in Thread: HALCOGEN
I am seeing some issues using DMA with ADC2 configured for continuous mode. I believe this is due to some DMA channel delays/collisions. I am seeing the exact behavior described in this post:
[https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/119037?TMS570-ADC-DMA]
The DMA channel 0 is configured to read from the ADC2 group fifo. ADC2 has only one group configured to trigger the DMA after 16 conversions. The DMA destination address sometimes gets conversions with the ADC result empty flag set. which implies that the DMA is reading 'too many' ADC conversion results, but this seems to be a result of the ADC conversion counter crossing the +1 to 0 threshold.
Is there any way to configure the DMA or ADC to avoid the timing issue described in the link above?