AnsweredAssumed Answered

SPI DMA Reception Error

Question asked by Hemanth Sundaresh on Jul 24, 2017

hello all,

 

I am using SPI in master mode with 10 MHz speed for ST767ZI board. I am doing SPI transmission and reception using dma.

I am using the HAL library using API HAL_SPI_Transmit_DMA HAL_SPI_Receive_DMA

 

The code works for sometime, but afterwards the reception stops. Are there any issue in usage of "HAL_SPI_Receive_DMA", the same code works fine when used in Blocking mode Read API (HAL_SPI_Receive).

 

Updated:

I am calling the receive API "HAL_SPI_Receive_DMA" from SPI DMA Rx Callback "HAL_SPI_RxCpltCallback"

 

regards,

Hemanth

Outcomes