Datasheet

MPR121
Sensors
14 Freescale Semiconductor, Inc.
5.8 Filter and Global CDC CDT Configuration (0x5C, 0x5D)
Filter/Global CDC Configuration Register (0x5C)
Bit D7 D6 D5 D4 D3 D2 D1 D0
Read
FFI CDC
Write
Filter/Global CDT Configuration Register (0x5D)
Bit D7 D6 D5 D4 D3 D2 D1 D0
Read
CDT SFI ESI
Write
Table 8. Bit Descriptions
Field Description
FFI
First Filter Iterations - The first filter iterations field selects the number of samples taken as
input to the first level of filtering.
00 Encoding 0 - Sets samples taken to 6 (Default)
01 Encoding 1 - Sets samples taken to 10
10 Encoding 2 - Sets samples taken to 18
11 Encoding 3 - Sets samples taken to 34
CDC
Charge Discharge Current - Selects the global value of charge discharge current applied to
electrode. The maximum is 63 μA, 1 μA step.
000000 Encoding 0 - Disable Electrode Charging
000001 Encoding 1 - Sets the current to 1 μA
~
010000 Encoding 16 - Sets the current to 16 μA (Default)
~
111111 Encoding 63 - Sets the current to 63 μA
CDT
Charge Discharge Time - Selects the global value of charge time applied to electrode.
The maximum is 32 μs, programmable as 2 ^(n-2) μs.
000 Encoding 0 - Disables Electrode Charging
001 Encoding 1 - Time is set to 0.5 μs (Default)
010 Encoding 2 - Time is set to 1 μs
~
111 Encoding 7 - Time is set to 32 μs
SFI
Second Filter Iterations - Selects the number of samples taken for the second level filter
00 Encoding 0 - Number of samples is set to 4 (Default)
01 Encoding 1 - Number of samples is set to 6
10 Encoding 2 - Number of samples is set to 10
11 Encoding 3 - Number of samples is set to 18
ESI
Electrode Sample Interval - Selects the period between samples used for the second level
of filtering. The maximum is 128ms, Programmable to 2^n ms
000 Encoding 0 - Period set to 1 ms
001 Encoding 1 - Period set to 2 ms
~
100 Encoding 4 - Period set to 16 ms (Default)
~
111 Encoding 7 - Period set to 128 ms