2025-09-11 5:18 AM
Hello!
Can I use 'TRGO2' event signals from Advanced Timers (1,8,20) as event sources for Slave Timers? The Reference Manual (RM0440 Rev 9, p. 381), the Internet, CubeMX and Google - all say "Yes", but in practice I could not use them for Slave Timers. I only found in one document that it is not allowed and now I do not understand whether it is true or not. Thank you.
2025-09-11 5:55 AM - edited 2025-09-11 6:03 AM
Look at the slave timer's TIMx_SMCR description, there's a table which lists which timer can be used as master to that given slave timer.
[EDIT] OK so this is one of those new-fangled RMs, where this information is not there, where it used to be in older families' RM, but hidden at the beginning of TIM chapters and in the interconnect chapter (the page you've given is in that chapter, but you want to look at the table aptly named Interconnect 1). So the answer is no, regardless of what the internets say. TRGO2 appears to be usable only to trigger ADC in 'G4.
Show how does CubeMX say this (I don't have/use it).
JW
2025-09-11 5:55 AM
The ITRx signals are hooked up to TRGO, not TRGO2, so it can't be used to trigger slave timers.
Search "TRGO2" in the reference manual and you'll see it's mostly used for triggering the ADCs.