cancel
Showing results for 
Search instead for 
Did you mean: 

SPI with DMA on STM32H745I-Disco

Vineet_872
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Super User

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

 

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

View solution in original post

3 REPLIES 3
TDK
Super User

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

 

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

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

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".