Skip to main content
Associate III
November 18, 2025
Question

Trigger SPI using Timer

  • November 18, 2025
  • 2 replies
  • 185 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

2 replies

TDK
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.

"If you feel a post has answered your question, please click ""Accept as Solution""."
sreyas40Author
Associate III
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

TDK
Super User
November 27, 2025

I don't think this is clickable in STM32CubeMX.

"If you feel a post has answered your question, please click ""Accept as Solution""."
sreyas40Author
Associate III
November 28, 2025

then can you show me the other way