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?