Table 220. Master Timer Update Event Propagation; Table 221. Timx Update Event Propagation - ST STM32G4 Series Reference Manual

Advanced arm-based 32-bit mcus
Hide thumbs Also See for STM32G4 Series:
Table of Contents

Advertisement

High-resolution timer (HRTIM)
TIMx update triggered by the master timer update
The sources listed in
the source event can be used to trigger a simultaneous update in any of TIMx timing units.
Operating condition: MSTU bit is set in HRTIM_TIMxCR register.
Source
Burst DMA end
Roll-over event following
a burst DMA end
Repetition event caused
by a counter roll-over
Repetition event caused
by a counter reset (from
HRTIM_SCIN or
software)
Software update
TIMx update triggered by the TIMy update
The sources listed in
given event can be used to trigger a simultaneous update in another or multiple TIMx timers.
Operating condition: TyU bit set in HRTIM_TIMxCR register (source = TIMy and
destination = TIMx).
Source
Burst DMA end
Update caused by the
update enable inputs
hrtim_upd_en[3:1]
Master update
Another TIMx update
(TIMz>TIMy>TIMx)
Repetition event caused
by a counter roll-over
Repetition event caused
by a counter reset
Counter roll-over
868/2083
Table 220
are generating a master timer update. The table indicates if

Table 220. Master timer update event propagation

Condition
Propagation
BRSTDMA[1:0] = 01
BRSTDMA[1:0] = 10
MREPU = 1
MSWU = 1
Table 221
are generating a TIMy update. The table indicates if the

Table 221. TIMx update event propagation

Condition
Propagation
UPDGAT[3:0] = 0001
UPDGAT[3:0] = 0011,
0100, 0101
MSTU = 1 in
HRTIM_TIMyCR
TzU=1 in
HRTIM_TIMyCR
TyU=1 in TIMxCR
TyREPU = 1
TyREPU = 1
TyRSTU = 1
RM0440 Rev 1
No
Must be done in TIMxCR (UPDGAT[3:0] = 0001)
Yes
-
Yes
-
No
-
All software update bits (TxSWU) are grouped in
No
the HRTIM_CR2 register and can be used for a
simultaneous update
Must be done directly in HRTIM_TIMxCR
No
(UPDGAT[3:0] = 0001)
Must be done directly in HRTIM_TIMxCR
No
(UPDGAT[3:0] = 0011, 0100, 0101
Must be done with MSTU = 1 in HRTIM_TIMxCR
No
Must be done with TzU=1 in HRTIM_TIMxCR
No
TzU=1 in HRTIM_TIMyCR
Yes
-
-
Refer to counter reset cases below
Yes
-
RM0440
Comment
Comment

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G4 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF