Ambiguity in RM0492 for MMS=0000 (Reset): TRGO timing vs. reset/UEV/UG path
Affected doc / section
RM0492 (STM32H503) → General-purpose timers → Master mode selection (MMS) (TIMx_CR2.MMS = 0000 “Reset”)
Current wording (verbatim)
“MMS = 0000 – Reset: the UG bit from the TIMx_EGR register is used as trigger output (tim_trgo). If the reset is generated by the trigger input (slave mode controller configured in reset mode) then the signal on tim_trgo is delayed compared to the actual reset.”
Why this is confusing / misleading
The sentence suggests TRGO is tied to the EGR.UG bit. In reality, EGR.UG is software-only; hardware reset does not set EGR.UG. TRGO is driven by the update-generation path (UEV/UG-equivalent internal signal), not by the literal EGR bit.
It does not state that with URS=1 (CR1.UPDATE REQUEST SOURCE), a reset from TRGI/ETR does not generate a UEV. Therefore, with MMS=Reset, TRGO is not emitted at the moment of reset; it only appears on a later UEV (e.g., overflow) — or never if the counter is reset before reaching ARR.
The phrase “delayed compared to the actual reset” lacks magnitude or conditions, while after days of searching one can leanr it is a 1-cycle delay, and cycle is accoring to TIM clk.
Minimal reproducible setup (H503 example)
HCLK: 210MHz
TIM1: PSC=20 (10 MHz), ARR=9999, SMCR.SMS=100 (Slave Reset), SMCR.TS=ETRF, CR1.URS=1, CR2.MMS=0000 (Reset), MSM=1, TIM1_ETR connected to GPS 1PPS.
TIM2: PSC=0, ARR=210021000, SMCR.SMS=100 (Slave Reset), SMCR.TS=0 (TIM1_TRGO), CR2.MMS=0000 (Reset), MSM=1.
DMA CH triggered by TIM2_TRGO sends datagram over USART every second.
Observation: The falling edge of the first start bit on the USART TX broadcast is delayed by several microseconds relative to the rising edge of the 1PPS signal (used to trigger the DMA transfer and timer reset).

CH1 is 1PPS from GPS
CH2 is USART TX pin
Delay is 56us
