cancel
Showing results for 
Search instead for 
Did you mean: 

DMAMUX Synchronization events (stm32h747)

HTess.1
Associate III

The DMAMUX1 can trigger DMA requests through synchronization and within the tab of synchronization possibilities there is TIM12_TRGO (input 7). So here is my question do the bits MMS[2:0] in register TIM12_CR2 configure this TRGO (it is written that it is for slave timers, for timer1 there is a separate MMS register for the ADC)?

1 ACCEPTED SOLUTION

Accepted Solutions

> do the bits MMS[2:0] in register TIM12_CR2 configure this TRGO

Most probably yes.

ST notoriously cannot describe the interconnections between internal modules properly. There are many more modules triggered by various TIMx_TRGO and TIMx_TRGO2, e.g. HRTIM, DFSDM; OTOH, ADC can be triggered by both TIM1_TRGO and TIM1_TRGO2 - so giving a "target" for TRGO/TRGO2 at the description of MSM is nonsense (and that it's given historically is no excuse).

JW

View solution in original post

2 REPLIES 2

> do the bits MMS[2:0] in register TIM12_CR2 configure this TRGO

Most probably yes.

ST notoriously cannot describe the interconnections between internal modules properly. There are many more modules triggered by various TIMx_TRGO and TIMx_TRGO2, e.g. HRTIM, DFSDM; OTOH, ADC can be triggered by both TIM1_TRGO and TIM1_TRGO2 - so giving a "target" for TRGO/TRGO2 at the description of MSM is nonsense (and that it's given historically is no excuse).

JW

HTess.1
Associate III

Thank you for explaining, some parts of the RM0399 are not very beginner-friendly.

I tried and it works.