AnsweredAssumed Answered

STM32f1xx SPI DMA reset

Question asked by curtis.allen on Jan 7, 2016
Latest reply on Jan 8, 2016 by Clive One
I am having difficulty recovering from failed SPI transfers when using DMA. It appears that the DMA controller maintains the state of the failed transfer and tries to complete the operation when the next transaction is started. The only way I have found to fix this problem is to reset the processor! The new DMA configuration is ignored. I do not see a DMA channel reset in the user manual. Disable/Enable the SPI interface does not clear the problem.

How do you recover from an interrupted SPI transfer when using DMA?