AnsweredAssumed Answered

STM32F405RGT SPI Slave DMA Over-run

Question asked by MADHUSUDAN G on Nov 3, 2017
Latest reply on Nov 3, 2017 by KIC8462852 EPIC204278916

We have STM32F405RGT SPI-3 configured as a slave to receive the data from the master using HAL drivers. The DMA is configured to receive 128 bytes of data from the master in Normal mode and the NSS is managed by the master. The slave is able to receive the configured number of bytes the first time and invoke DMA Rx complete callback function. However in the subsequent Rx, it is causing a over-run. 


Also when the DMA mode is set to Circular, it doesn't seem to over-run.


Could you kindly help us in understanding what is causing this behaviour ?