Question
SPI DMA data corruption
Posted on November 21, 2013 at 17:52
Hi,
I am using SPI2 with DMA1 on STM32F427 to communicate with an external processor. The problem is that when the data on MISO and MOSI pins (PB14 and PB15) are somehow corrupted i.e. the data comes out as shifted versions of the data sent and the amount of the shift always changes and same thing goes for also the receive part; received data is the shifted version of the data in the input pin. What might be the cause of this problem? Could some other functions of the pins be interfering my application?