Inter-integrated circuit (I
Bits 15:6 Reserved, must be kept at reset value
Bits 5:0 TRISE[5:0]: Maximum rise time in Fm/Sm mode (Master mode)
Note: TRISE[5:0] must be configured only when the I2C is disabled (PE = 0).
2
24.6.10
I
C FLTR register (I2C_FLTR)
Address offset: 0x24
Reset value: 0x0000
15
14
13
Res.
Res.
Res.
Res.
Bits 15:5 Reserved, must be kept at reset value
Bit 4 ANOFF: Analog noise filter OFF
Note: ANOFF must be configured only when the I2C is disabled (PE = 0).
Bits 3:0 DNF[3:0]: Digital noise filter
These bits are used to configure the digital noise filter on SDA and SCL inputs. The digital filter
suppresses the spikes with a length of up to DNF[3:0] * TPCLK1.
Note: DNF[3:0] must be configured only when the I2C is disabled (PE = 0). If the analog filter
756/1163
2
C) interface
These bits should provide the maximum duration of the SCL feedback loop in master mode.
The purpose is to keep a stable SCL frequency whatever the SCL rising edge duration.
These bits must be programmed with the maximum SCL rise time given in the I
specification, incremented by 1.
For instance: in Sm mode, the maximum allowed SCL rise time is 1000 ns.
If, in the I2C_CR2 register, the value of FREQ[5:0] bits is equal to 0x08 and T
therefore the TRISE[5:0] bits must be programmed with 09h.
(1000 ns / 125 ns = 8 + 1)
The filter value can also be added to TRISE[5:0].
If the result is not an integer, TRISE[5:0] must be programmed with the integer part, in order
to respect the t
parameter.
HIGH
12
11
10
9
Res.
Res.
Res.
0: Analog noise filter enable
1: Analog noise filter disable
0000: Digital noise filter disable
0001: Digital noise filter enabled and filtering capability up to 1* TPCLK1.
...
1111: Digital noise filter enabled and filtering capability up to 15* TPCLK1.
is also enabled, the digital filter is added to the analog filter.
8
7
6
Res.
Res.
Res.
RM0402 Rev 6
5
4
3
2
Res.
ANOFF
DNF[3:0]
rw
rw
rw
RM0402
2
C bus
= 125 ns
PCLK1
1
0
rw
rw
Need help?
Do you have a question about the STM32F412 and is the answer not in the manual?
Questions and answers