How to properly stop a DMA transfer ?
User's Guide extract:
"9.2.5 Stopping DMA Transfers
There are two ways to stop DMA transfers in progress:
• A single, block, or burst-block transfer may be stopped with an NMI, if the ENNMI bit is set in register
DMACTL1.
• A burst-block transfer may be stopped by clearing the DMAEN bit"
In my case, I use the single transfer mode.So, I have to trigger an NMI ? How to do that ?
FYI, I use the DMA for UART sending. I need to stop the DMA transfer for handshaking consideration.