cancel
Showing results for 
Search instead for 
Did you mean: 

SPI + DMA receive only on STM32F4

diverger
Senior
Posted on September 13, 2017 at 16:56

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?

#spi
0 REPLIES 0