Download Print this page

ST STM32L4+ Series Reference Manual page 1481

Hide thumbs Also See for STM32L4+ Series:

Advertisement

RM0432
The digital filters are divided into two groups:
The first group of digital filters protects the LPTIM external inputs. The digital filters
sensitivity is controlled by the CKFLT bits
The second group of digital filters protects the LPTIM internal trigger inputs. The digital
filters sensitivity is controlled by the TRGFLT bits.
Note:
The digital filters sensitivity is controlled by groups. It is not possible to configure each digital
filter sensitivity separately inside the same group.
The filter sensitivity acts on the number of consecutive equal samples that should be
detected on one of the LPTIM inputs to consider a signal level change as a valid transition.
Figure 438
programmed.
CLKMUX
Input
Filter out
Note:
In case no internal clock signal is provided, the digital filter must be deactivated by setting
the CKFLT and TRGFLT bits to '0'. In that case, an external analog filter may be used to
protect the LPTIM external inputs against glitches.
41.4.6
Prescaler
The LPTIM 16-bit counter is preceded by a configurable power-of-2 prescaler. The prescaler
division ratio is controlled by the PRESC[2:0] 3-bit field. The table below lists all the possible
division ratios:
Low-power timer (LPTIM) applied to STM32L4Rxxx and STM32L4Sxxx only
shows an example of glitch filter behavior in case of a 2 consecutive samples
Figure 438. Glitch filter timing diagram
2 consecutive samples
Table 295. Prescaler division ratios
programming
000
001
010
011
100
101
110
111
RM0432 Rev 6
2 consecutive samples
dividing factor
Filtered
MS32490V1
/1
/2
/4
/8
/16
/32
/64
/128
1481/2301
1502

Advertisement

loading
Need help?

Need help?

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