2022-05-05 05:04 AM
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)?
Solved! Go to Solution.
2022-05-05 08:34 AM
> 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
2022-05-05 08:34 AM
> 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
2022-05-05 12:13 PM
Thank you for explaining, some parts of the RM0399 are not very beginner-friendly.
I tried and it works.