Andres Erni

Bidirectional SPI communication

Discussion created by Andres Erni on Jul 19, 2012
Latest reply on Jan 7, 2014 by George Fukutomi

The i.MX28 has a single DMA channel for SSP. So, only half-duplex transmission is possible in DMA mode. But "The SPI bus is inherently a full-duplex bidirectional interface" (17.5.1 in the reference manual).

How can I set up a single bidirectional transmission (Write data register -> start transmission -> read data register)?