Hrtim = 170 Mhz - 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)
f
:
DTG
f
:
CHPFRQ
f
:
1STPW
f
:
BRST
f
SAMPLING
f
:
FLTS
f
:
EEVS
Timer clock and prescaler
Each timer in the HRTIM has its own individual clock prescaler, which allows you to adjust
the timer resolution (see
Table 213. Timer resolution and min. PWM frequency
CKPSC[2:0]
000
001
010
011
100
101
110
111
The high-resolution is available for edge positioning, PWM period adjustment and externally
triggered pulse duration.
The high-resolution is not available for the following features
Timer counter read and write accesses
Capture unit
For clock prescaling ratios below 32 (CKPSC[2:0] < 5), the least significant bits of the
counter and capture registers are not significant. The least significant bits cannot be written
(counter register only) and return 0 when read.
For instance, if CKPSC[2:0] = 2 (prescaling by 4), writing 0xFFFF into the counter register
yields an effective value of 0xFFF8. Conversely, any counter value between 0xFFFF and
0xFFF8 is read as 0xFFF8.
852/2126
deadtime generator clock. For convenience, only the t
1/f
) is used in this document.
DTG
chopper stage clock source.
clock source defining the length of the initial pulse in chopper mode. For
convenience, only the t
document.
burst mode controller counter clock.
: clock needed to sample the fault or the external events inputs.
clock derived from f
f
SAMPLING to filter fault events.
clock derived from f
f
SAMPLING to filter external events.
Table
213).
f
Prescal-
ing ratio
equivalent frequency
1
170 x 32 MHz = 5.44 GHz
2
170 x 16 MHz = 2.72 GHz
4
170 x 8 MHz = 1.36 GHz
8
170 x 4 MHz = 680 MHz
16
170 x 2 MHz = 340 MHz
32
170 MHz
64
170/2 MHz = 85 MHz
128
170/4 MHz = 42.5 MHz
period (t
1STPW
1STPW
which is used as a source for
HRTIM
which is used as a source for
HRTIM
HRCK
Resolution
184 ps
368 ps
735 ps
1.47 ns
2.94 ns
5.88 ns
11.76 ns
23.53 ns
RM0440 Rev 4
period (t
DTG
= 1/f
) is used in this
1STPW
f
= 170 MHz
for
HRTIM
Min PWM frequency
83.0 kHz
41.5 kHz
20.8 kHz
10.4 kHz
5.19 kHz
2.59 kHz
1.30 kHz
0.65 kHz
RM0440
=
DTG

Hide quick links:

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?

Table of Contents

Save PDF