Part Number: EK-TM4C1294XL
Hi Team,
I am posting on behalf of the customer.
From the datasheet about pingpong mode 9.2.6.3:
"When the transfer using the primary control structure is complete, the μDMA controller reads the alternate control structure for that channel to continue the transfer. Each time this happens, an interrupt is generated, and the processor can reload the control structure
for the just-completed transfer."
How is this interrupt enabled? In the pingpong example code, the ADC sequencer interrupt is called for each sample and used to poll whether the DMA transfer is done and setting up the new control structure.
I'm not able to figure out how to configure it from the datasheet either, as the uDMA module interrupts seems to be for error or only the SW channel, and the ADC DMA interrupts seems to only be for the ADC FIFO half full (table 9-2), and none of those seems to be useful for the ping pong setup?
To get more time to process the ADC samples and to get the most out of the DMA, I would like to only get an interrupt when the ADC_SAMPLE_BUF_SIZE number has been transferred to the buffer.
I am hoping you can help.
Regards,
Marvin
