cancel
Showing results for 
Search instead for 
Did you mean: 

How to trigger SPI DMA transfer using TIM12 TRGO on STM32H7

sumeyyekaragul
Associate

Hi everyone,

I'm currently working with the DMA concept on an STM32H7. I'm reading data from an FIFO via SPI. My goal is to trigger the SPI DMA transfer using TIM12 TRGO, but I’m not sure where to start or how to properly configure this connection.

I’m relatively new to this topic, so any guidance, examples, or tips on how to set up the timer trigger and link it to the SPI DMA would be greatly appreciated.

Thanks in advance for your help!

 

1 ACCEPTED SOLUTION

Accepted Solutions
Saket_Om
ST Employee

Hello @sumeyyekaragul 

Please see the draft code shared by Francois VILMAIN in the following post:

Timer events as DMA triggers - Improving the curre... - Page 2 - STMicroelectronics Community

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om

View solution in original post

1 REPLY 1
Saket_Om
ST Employee

Hello @sumeyyekaragul 

Please see the draft code shared by Francois VILMAIN in the following post:

Timer events as DMA triggers - Improving the curre... - Page 2 - STMicroelectronics Community

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
Saket_Om