AnsweredAssumed Answered

STM32F042 SPI DMA jammed

Question asked by Laurence Blaxter on Oct 19, 2017
Latest reply on Oct 19, 2017 by Laurence Blaxter

Hi,

 I'm trying to create a project using CubeMX which will use SPI1 with DMA. Unfortunately the SPI HAL driver seems to lock up after a few milliseconds of transactions (about 40 slave transactions). I see

Lock = HAL_UNLOCKED, State = HAL_SPI_STATE_BUSY_TX_RX, ErrorCode = 0

and the state never clears.

 

Can anyone offer any advice on what could cause this sort of lock up?

Outcomes