Table 225. Comparison Of Analog Vs. Digital Filters - STMicroelectronics STM32WL5 Series Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

Inter-integrated circuit (I2C) interface
user can disable this analog filter by setting the ANFOFF bit, and/or select a digital filter by
configuring the DNF[3:0] bit in the I2C_CR1 register.
When the digital filter is enabled, the level of the SCL or the SDA line is internally changed
only if it remains stable for more than DNF x I2CCLK periods. This allows spikes with a
programmable length of 1 to 15 I2CCLK periods to be suppressed.
Pulse width of
suppressed spikes
Benefits
Drawbacks
Caution:
The filter configuration cannot be changed when the I2C is enabled.
I2C timings
The timings must be configured to guarantee correct data hold and setup times, in master
and slave modes. This is done by programming the PRESC[3:0], SCLDEL[3:0] and
SDADEL[3:0] bits in the I2C_TIMINGR register.
The STM32CubeMX tool calculates and provides the I2C_TIMINGR content in the I2C
configuration window.
1054/1450

Table 225. Comparison of analog vs. digital filters

-
Analog filter
≥ 50 ns
Available in Stop mode
Variation vs. temperature,
voltage, process
Programmable length, from one to fifteen I2C
peripheral clocks
– Programmable length: extra filtering capability
versus standard requirements
– Stable length
Wake-up from Stop mode on address match is not
available when digital filter is enabled
RM0453 Rev 5
RM0453
Digital filter

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Stm32wl55 seriesStm32wl54 series

Table of Contents