Skip to main content
Graduate
November 18, 2025
Question

Trigger SPI using Timer

  • November 18, 2025
  • 2 replies
  • 182 views

I'm using STM32H723ZG

 

I want to know if a Timer's update event can trigger SPI transfer without any software interrupts.

This is the problem

    This topic has been closed for replies.

    2 replies

    Super User
    November 18, 2025

    Yes, you can set up a DMA channel to transfer data to/from the SPI on a timer event, such as TRGO.

    sreyas40Author
    Graduate
    November 27, 2025

    @TDK  Can you tell me how to do it step-by-step.

    Is this done by DMA Request Synchronization settings?

    If it is, for SPI_RX  i can see TIM12 TRGO only, and there is no option for setting TRGO event for that timer in MX

    Super User
    November 27, 2025

    I don't think this is clickable in STM32CubeMX.

    sreyas40Author
    Graduate
    November 28, 2025

    then can you show me the other way