Question
STM32H7 SPI + DMA not working with simplex DMA transmission.
SPI works fine if we use HAL_SPI_Receive_IT, but we are getting all 0's if we call HAL_SPI_Receive_DMA.
We are using below 2 apis
1) HAL_SPI_Transmit_DMA
2) HAL_SPI_Receive_DMA
call to HAL_SPI_Receive_DMA always read 0's. We handled D-cache as per Example.
There is errata for SPI simplex transmission, work around suggested was to hardware reset SPI peripheral before call to receive DMA.
We used macro __SPI1_FORCE_RESET(); but did not work.
Any help is appreciated.
Thanks in Advance.
