cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H5: recent example of SPI slave with DMA for both RX/TX please

Ping1
Associate II

Dear all

I am relatively new to STM32, using STM32H563 as an SPI slave to receive data and send some feedback data as same time, The SPI master is a Tiva MCU form Ti,  as data is relatively long, I need to use DMA, I tried to find an example for it, but there is none with DMA, could some one please provide some starting point for me? 

Thanks in advance.

Ping

 

1 REPLY 1
TDK
Super User

Here is an example of using an SPI slave for transmit and receive on the STM32H5 using DMA:

https://github.com/STMicroelectronics/STM32CubeH5/tree/e6985112c824fce355638ef4e7113b1bc671f999/Projects/NUCLEO-H503RB/Examples/SPI/SPI_FullDuplex_ComDMA_Slave

 

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