AnsweredAssumed Answered

SPI + DMA receive only on STM32F4

Question asked by diverger on Sep 13, 2017

In my situation, I need to do SPI receiving with DMA (master side), and not care about Tx. I have three choices in the STM32Cube:

  1. Full-duplex master
  2. Half-duplex master
  3. Receive only master

 

And I have two choices for HAL with DMA support:

  1. HAL_SPI_Receive_DMA()
  2. HAL_SPI_TransmitReceive_DMA()

 

Anyone can confirm me which combination can send dummy bytes for me to clock the data in?

Outcomes