HAL_SPI_TransmitReceive_DMA() can lead to non-functional DMA when the following happens:
The result is that RX DMA will become busy and never recovers due to the logic in lines 2413 to 2470 in stm32h7xx_hal_spi.c.
A fix would be to insert a
into the the if-condition in lines 2458 to 2470 to abort the previously started RX DMA
Thank you for bringing these issues to our attention.
I confirm and I reported internally.
Related issue tracked under the number 149580
These are internal tracking numbers and are not accessible or usable by customers.
When your question is answered, please close this topic by choosing Select as Best.
This will help other users find that answer faster.