cancel
Showing results for 
Search instead for 
Did you mean: 

Concurrent DMA controlled SPIs failing (STM32H7)

MS.9
Associate III

All,

I'm finding that concurrent DMA driven SPI transfers are failing.

its STM32H743, Latest HAL, latest Cube and followed all rules with cache configuration etc etc.

I’m running this in different FreeRTOS threaads and if I put a mutex around the HAL DMA calls then everything works well. Without the mutex it’ll fail after a few calls.

I read one comment in an article somewhere that says that this is an undocumented ‘feature’, if this is true then so be it, I’ll retain my mutexes. – but at least I’ll know it’s not something I’m doing.

Of course, if there are no known issues then I’ll need to go a check my code again, but this is why I guess I’m asking as I’ve spent ages checking it so far.

Thanks

1 REPLY 1
TDK
Guru

Show your code and provide details on how exactly it is failing.

STM32H7 is perfectly capable of multiple SPI in use with DMA.

If you feel a post has answered your question, please click "Accept as Solution".