Skip to main content
Associate II
October 13, 2025
Solved

How to trigger SPI DMA transfer using TIM12 TRGO on STM32H7

  • October 13, 2025
  • 1 reply
  • 280 views

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!

 

Best answer by Saket_Om

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

1 reply

Saket_OmBest answer
Technical Moderator
October 14, 2025

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"