I studied the best example I could find: LM3S9B96 example
My question is: is there demo code available for ADC using uDMA in ping-pong mode for the TM4C1294NCPDT (Tiva Connected Launchpad)?
Edit: See working example at the bottom of the page.
This should output "a" every time the uDMA completes the first 8 samples, then "b" for the next 8 samples, then "a" again...
It should output "?" if it gets an ADC_INT_SS0 but checks both uDMA descriptors and can't find UDMA_MODE_STOP.
It outputs "u" for the uDMAErrorHandler() interrupt.
So, if it worked correctly I would see "abababab" etc. in the serial console, but only "a" is sent. I can verify that UART0 is still working because the UART0 interrupt handler echos everything it receives. The LED pattern is also a nice check that the CPU is still running.
I figure it's something obvious I overlooked?
P.S. Hopefully it is possible to increase the sample rate to the full 1 MSps or even 2 MSps like the CPU datasheet suggests. Any insights into that would be welcome.