EasyManuals Logo
Home>ST>Microcontrollers>STM32G431

ST STM32G431 User Manual

ST STM32G431
2126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #896 background imageLoading...
Page #896 background image
High-resolution timer (HRTIM) RM0440
896/2126 RM0440 Rev 4
Windowing mode
In event windowing mode, the event is taken into account only if it occurs within a given time
window, otherwise it is ignored. This mode is active for EExFLTR[3:0] ranging from 1101 to
1111.
Figure 223. Event windowing mode
EExLTCH bit in EEFxR1 and EEFxR2 registers allows to latch the signal, if set to 1: in this
case, an event is accepted if it occurs during the window but is delayed at the end of it.
If EExLTCH bit is reset and the signal occurs during the window, it is passed through
directly.
If EExLTCH bit is reset and no signal occurs, a timeout event is generated at the end of
the window.
A use case of the windowing mode is to filter synchronization signals. The timeout
generation allows to force a default synchronization event, when the expected
synchronization event is lacking (for instance during a converter start-up).
There are 3 sources for each external event windowing, coded as follows:
1101 and 1110: the windowing lasts from the counter reset to the compare match
(respectively compare 2 and compare 3). In up/down mode (UDM bit set to 1), the
counter reset event is defined as per the ROM[1:0] bit setting.
1111: the windowing is related to another timing unit and lasts from its counter reset to
its compare 2 match. The source is described as TIMWIN in the bit description and is
given in Table 225. As an example, the external events in timer B can be filtered by a
window starting from timer A counter reset to timer A compare 2.
Note: The timeout event generation is not supported if the external event is programmed in fast
mode.
Figure 224 and Figure 225 present how the events are generated for the various edge and
level sensitivities, as well as depending on EExLTCH bit setting. Timeout events are
specifically mentioned for clarity reasons.
MS32298V1
Ext./int. event
Windowing
Output
External event
Blanking source
Resulting event
Table 225. Windowing signals mapping per timer (EEFLTR[3:0] = 1111)
Destination Timer A Timer B Timer C Timer D Timer E Timer F
TIMWIN (source)
Timer B
CMP2
Timer A
CMP2
Timer D
CMP2
Timer C
CMP2
Timer F
CMP2
Timer E
CMP2

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32G431 and is the answer not in the manual?

ST STM32G431 Specifications

General IconGeneral
BrandST
ModelSTM32G431
CategoryMicrocontrollers
LanguageEnglish

Related product manuals