Skip to main content
Explorer
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!

 

    This topic has been closed for replies.
    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_OmAnswer
    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