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.

MSPM0G3507: MSPM0G3507

Part Number: MSPM0G3507

Tool/software:

When using DMA, is it needed to use an interrupt? For instance when usiing a UART.

I would launch a DMA for the UART RX each 1 ms and then the following ms, I would empty the DMA destination table and then launch DMA again for the next 1 ms? 

Possible?

Thank you and best regards,

John

  • Hi John,

    You do not need to use an interrupt to do the DMA interaction, in our example the uart_rx_multibyte_fifo_dma_interrupts.c we are using a DMA finished interrupt to know when the transaction has finished. I would say this is a typical scenario if you wanted to do some processing on the data you had just received.

    The example itself will have the UART RX trigger the DMA so no CPU interaction or software is needed to make the DMA transfer data from the UART to a buffer. I think your use case is possible and valid.

    Regards,
    Luke

  • Thank you for clear help!