2023-03-09 01:18 AM
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
HAL_DMA_Abort_IT(hspi->hdmarx);
into the the if-condition in lines 2458 to 2470 to abort the previously started RX DMA
Greetings
Solved! Go to Solution.
2023-04-12 06:15 AM
Hello @FSAT
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.
Julien.
2023-04-12 06:15 AM
Hello @FSAT
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.
Julien.