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.

Can DMA Channels have Multiple Directions?

This is probably a newbie question, but I wanted to make sure it was or wasn't possible.

Can a single DMA channel be configured to both send and receive DMA transfers? (configured via multiple triggers)

For example, could I configure a DMA channel that connects into an external peripheral using a SPI interface USCI module that transfers data from and to an MSP430?

The reason I ask is that some MSP430s have only 3 channels. If they are "one-way", then to read and write to a single external peripheral would take up two of the three channels. I suppose the solution in that case would be to get a different MSP430?

  • DMA channel is unidirectional unless you reconfigure it on the fly. Unfortunately for most applications this will break DMA concept as such because reconfiguration overhead will trash all the gain of DMA :) Possibly you can use reconfiguration of DMA for CPU-controlled half duplex transfer of (big) data blocks

**Attention** This is a public forum