This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1290NCPDT: wrap around for uDMA

Part Number: TM4C1290NCPDT

Hello Champs,

Would you please kindly suggest whether TM4C1290 uDMA supports wrap around function or not? Thanks!

Best Regards,

Linda

  • Hello Linda,

    The uDMA does not, you would need to handle that in the application side.

    One method could be to use uDMA Ping-Pong mode and circular buffers. In this case, you would need to configure both the primary and the secondary channels to each point to starting address for the buffer.

    Another, better way to handle it would be to use Ping-Pong mode and have the primary channel fill up the front half of a buffer and the secondary channel fill up the back half of a buffer.

    The uDMA interrupts should be used to handle switching between the two transfer structures.

  • Hello Ralph,

    It's clear. Thank you for your kind help.

    Best Regards,

    Linda