CapSense Design Tools
CY8C20xx7/S CapSense
®
Design Guide
Doc. No. 001-78329 Rev. *E
29
3.4.2.2 Compensation I
DAC
Value
The Compensation I
DAC
parameter sets the offset of the raw count versus C
X
graph. Compensation I
DAC
may be used
to achieve a high sensitivity for high-C
P
shows a plot of raw count versus sensor capacitance
when I
COMP
is non-zero.
Figure 3-11. Raw Count versus C
X
When I
COMP
is Non-zero
raw count
C
X
C
P
C
P
+C
F
C
F
maximum raw count = 2
N
85 % of maximum
raw count
Signal when
I
COMP
≠
0
0
G
C
I
COMP
/ V
REF
F
SW
I
COMP
= 0
I
COMP
≠
0
Signal when
I
COMP
= 0
Increasing the value of the compensation I
DAC
increases the C
X
axis intercept to:
I
COMP
V
REF
F
SW
This also increases the slope of the line when the raw count is again tuned to 85 percent of the maximum value.
Therefore, the signal increases when the compensation I
DAC
value increases.
Note that this increase in signal may not proportionally increase the SNR because of the variations in noise counts
when the compensation I
DAC
is used.
The dual I
DAC
mode complicates the tuning process because of the additional variable (I
COMP
) involved. However, you
can use this mode to increase the signal. The details are explained in
Tuning the CSD/CSDPLUS User Module
This parameter can also be changed at runtime using the corresponding API function.
Possible values are 1 to 127.
3.4.2.3 Resolution
This parameter determines the scanning resolution in bits. The maximum raw count for scanning resolution of N bits
is 2
N
–1. Increasing the resolution improves sensitivity, but increases scan time and hence reduces response rate.
Possible values are 9 to 16 bits.
Table 3-1. Resolution and Scan Speed
Resolution
Scan Speed for Individual Buttons (µs)
Ultra Fast
Fast
Normal
Slow
9
57
78
125
205
10
78
125
205
380
11
125
205
380
720
12
205
380
720
1400
13
380
720
1400
2800
14
720
1400
2800
5600
15
1400
2800
5600
11000
16
2800
5600
11000
22000