Skip to main content
Senior
September 13, 2017
Question

SPI + DMA receive only on STM32F4

  • September 13, 2017
  • 0 replies
  • 535 views
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
This topic has been closed for replies.