cancel
Showing results for 
Search instead for 
Did you mean: 

SPI DMA Reception Error

Hemanth Sundaresh
Associate II
Posted on July 24, 2017 at 14:50

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

#dma #stm32f767zi-nucleo #spi
0 REPLIES 0