AnsweredAssumed Answered

SPI with DMA - little problem

Question asked by Grzegorz Kania on Feb 8, 2018
Latest reply on Feb 9, 2018 by gbm

Is there any posisibilities to clear SPI FIFO before calling to HAL_SPI_Receive_DMA ? If We don't do it than we get old data in read buffer. I found  that only way to do it, is reading RX so many times, as the fifo is deep.

What are you thinking about that: clearing of the contents of fifo should be a first part of HAL_SPI_Receive_DMA function ?

 

Regards

Grzegorz Kania

Outcomes