2017-07-24 05:50 AM
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