Skip to main content
Associate II
August 19, 2025
Solved

SPI with DMA on STM32H745I-Disco

  • August 19, 2025
  • 2 replies
  • 326 views

I am working with STM32H745I-Discovery board. I trying to do Data transfer through SPI with DMA. But unable to transfer the data. 

Could any help me with example code for STM32H745I-Disco board.

Best answer by TDK

Here is an example project which uses HAL_SPI_TransmitReceive_DMA correctly that you can use as a guide:

https://github.com/STMicroelectronics/STM32CubeH7/blob/fc00ae225a6bbc4f0838a45765c64bf8c4b20bee/Projects/NUCLEO-H745ZI-Q/Examples/SPI/SPI_FullDuplex_ComDMA/readme.txt

 

2 replies

TDK
TDKBest answer
Super User
August 19, 2025
"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate II
August 20, 2025

Hi,

 

Thanks for reply.

But I am facing issue STM32H745I-Disco board. I have already tried above code which is not working for my Discovery board. I User manual also not mention related to SPI pin is connected to another purpose. Could you please check once and help me for STM32H745I-Disco board.

Thanks and Regards

TDK
Super User
August 20, 2025

The discovery board has fewer pins available. You'll need to ensure the pins you are using are free and not being used by other devices on the board.

"If you feel a post has answered your question, please click ""Accept as Solution""."