Hi,
I have been trying to get EDMA to work with the SPI1 peripheral of OMAPL138 on the DSP side. So far, I have a ping-pong type EDMA transfer working with SPI0 as a slave.
However, with SPI1 in 4-pin with Chip-Select Master mode, I get very strange behavior. The transfers do occur, but after a delay of several minutes!
The transfers work fine if I write directly to SPIDAT1 without the EDMA but take forever with EDMA. I've tried several ideas with no luck so far.
Most of the relevant code is here: http://pastebin.com/hsq0Lf9E
The SPI1 Master Tx/Rx is being done in the sendRecvSPI1 function. Any ideas on what's going wrong?
Cheers,
Akhil