Sampling = Fhrtim, N = 4) - ST STM32G4 Series Reference Manual

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

Advertisement

RM0440
The EEVx_muxout event mentioned in
input multiplexer controlled by the EExSRC[1:0]bits. Refer to
The polarity of the signal can be selected to define the active level, using the FLTxP polarity
bit in HRTIM_FLTINRx registers. If FLTxP = 0, the signal is active at low level; if FLTxP = 1,
it is active when high.
The fault information can be filtered after the polarity setting. If FLTxF[3:0] bitfield is set to
0000, the signal is not filtered and acts asynchronously, independently from the
For all other FLTxF[3:0] bitfield values, the signal is digitally filtered. The digital filter is made
of a counter in which a number N of valid samples is needed to validate a transition on the
output. If the input value changes before the counter has reached the value N, the counter is
reset and the transition is discarded (considered as a spurious event). If the counter reaches
N, the transition is considered as valid and transmitted as a correct external event.
Consequently, the digital filter adds a latency to the external events being filtered,
depending on the sampling clock and on the filter length (number of valid samples
expected).
Figure 242. Fault signal filtering (FLTxF[3:0]= 0010: f
Fault input
Filter counter
Filtered signal
Fault input
Filter counter
Filtered signal
The filtering period ranges from 2 cycles of the f
divided by 32. f
Table 227
period must be subtracted from the filter length to take into account the uncertainty due to
the sampling and have the effective filtering.
Figure 242
shows how a spurious fault signal is filtered.
f
HRTIM
0
0
0
0
is defined using FLTSD[1:0] bits in the HRTIM_FLTINR2 register.
FLTS
summarizes the sampling rate and the filter length. A jitter of 1 sampling clock
Table 226
above is taken after the hrtim_eevx[4:1]
1
2
3
1
2
0
clock up to 8 cycles of the f
HRTIM
RM0440 Rev 1
High-resolution timer (HRTIM)
Figure 213
for details.
= f
SAMPLING
HRTIM
4
0
0
1
2
3
clock.
f
HRTIM
, N = 4)
0
0
4
0
MS32289V1
clock
FLTS
885/2083
1040

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