background image

TSI software configurations 

KE15Z Touch Sensing Interface, User's Guide, Rev. 0, 12/2016 

NXP Semiconductors

 

 

7

 

 

the parastic capacitance. 

 

Rs: Configurable, parameter of analog front end which can be configured by 
M_SEN_RES<3:0>. 

 

𝑀_𝑃𝑀𝐼𝑅𝑅𝑂𝑅𝐿

𝑀_𝑃𝑀𝐼𝑅𝑅𝑂𝑅𝑅

: Configurable, the current multiplier 

 

T3: Configurable, SSC output low period 

 

The basic formula of the scan time is listed below, Tnstep is the time costed of TSI single scan: 

Tnstep =

𝐶𝑖  × (𝑉𝑝 − 𝑉𝑚) × 𝑅𝑠

∆𝑉

 ×

𝑀_𝑃𝑀𝐼𝑅𝑅𝑂𝑅𝐿

𝑀_𝑃𝑀𝐼𝑅𝑅𝑂𝑅𝑅

 × 

1

𝑇3

 × 

1

𝐹𝑠𝑤

 

 

 

Fsw: Configurable, the switching clock frequency. 

For example, Ci=90pF, vp-vm=1v, Rs=10k, dV=100mV, M_L/M_R=4, Tsw/T3=4, so it will cost 160us 
single scan time for TSI mutual mode. 

2.2.2.  Sensitivity boost 

If the mutual touch sensor intrinsic sensitivity is limited due to parasitic, sensitivity boost feature can be 
activated by setting M_SEN_BOOST<4:0>. The basis average charge current will be subtracted by 
boost current which enlarge the signal current. 

In one typical case, ΔV=100mV, Rs=10k, Vp-Vm=1V, Fsw=1MHz, Ci=90pF, 

M_PMIRRORL=16, M_PMIRRORR= M_NMIRROR= 2; Dec=8, Order=2. 

NSTEP=72; TSICNT=4608; 

Note: Keep M_PMIRRORR and M_NMIRROR the same. 

3. TSI software configurations 

3.1.  Self-capacitive mode configurations 

The software configurations for the self-capacitive mode include:  

 

clock generation 

 

scan time 

 

comparator  

 

sensitivity boost 

Attached below is an example of the configurations for the self-capacitive mode. 
 

Summary of Contents for KE15Z

Page 1: ...kinds of touch sensing methods the self capacitive mode and the mutual capacitive mode as showing in the figure below Figure 1 shows the self capacitive mode and Figure 2 shows the mutual capacitive m...

Page 2: ...2 1 Self capacitive mode 2 1 1 Basic measurement The self capacitive mode requires single pin for each touch sensor and measures the capacitance on an electrode connected to a single TSI channel It th...

Page 3: ...s usual Sensitivity of sensor Cs Cs 1 10 as usual Inside the TSI IP module the charge transfer is operated by non overlapping clock ph1 ph2 and trans conductance amplifier The averaging current icx ge...

Page 4: ...log front end Fsw Configurable the switching clock frequency 2 1 2 Sensitivity boost The low sensitivity is caused by the big parasitic capacitance and result in difficulty to recognize the touch even...

Page 5: ...sic capacitance become 15pF As the intrinsic sensitivity of the touch key is given by Cs Cs The less intrinsic capacitance would result in more sensitive touch response With this sensitivity boost ena...

Page 6: ...canning is accumulated to give final count TSICNT for each trigger Block diagram of TSI mutual capacitive mode There is no Cs in the formula below since for mutual cap the effect of parasitic cap has...

Page 7: ...can time for TSI mutual mode 2 2 2 Sensitivity boost If the mutual touch sensor intrinsic sensitivity is limited due to parasitic sensitivity boost feature can be activated by setting M_SEN_BOOST 4 0...

Page 8: ...k which is used to control the ph1 ph2 switching speed SwitchingClock and finally determines the whole scan time as showing in the figure below Block Diagram of Clock Generation When SSC_MODE 10b then...

Page 9: ...SC increases the noise immunity to RF interference and spreads the emissions With the SSC enabled TSI_SSC0 SSC_MODE 00 01 the switching clock is generated by the SSC module other than the direct divid...

Page 10: ...ion on the single scan TSI supports multiple scan per channel which means TSI performs scan operation for many times The final scan result will be accumulated in TSI_DATA TSICNT as the NSTEP of the si...

Page 11: ...a of the scan result and the scan time ScanResult ScanTime There re examples for the scan time configurations as attached below Given the NSTEP is 161 and Tnstep is 179us by the measurement of single...

Page 12: ...result means longer scan time as showing in the figure below Decimation Order Cutoff NSTEP Multiple Scan Result Scan Number TSI IP Performs Scan Time us 161 179 1 1 1 1 161 1 179 161 179 2 1 1 2 321 2...

Page 13: ...TSI_MODE S_SEN Enable sensitivity boost S_CTRIM TSI_MODE S_CTRIM Remove the parasitic capacitance virtually TSI_MODE S_XDN Sensitivity adjust TSI_MODE S_XCH Charge discharge multiple Setting Sensitiv...

Page 14: ...low is an example of the configurations for mutual mode 3 2 1 Clock generation The mutual mode shares the same clock generation of the self mode please refer to self mode clock generation for detailed...

Page 15: ...here SwitchingClock 16 65 6 6 1 2 3 1 33MHz 3 2 2 Scan time The scan time determines how long the TSI finishes the scan and get conversion result The typical single scan time of the mutual mode is ar...

Page 16: ...ensitivity boost Different to self capacitive mode mutual capacitive mode implement sensitivity boost by changing the current which is configurable in register TSI_MUL0 M_SEN_BOOST The current value r...

Page 17: ...Tx pins can t be used as GPIO or other functions The root cause is when scanning one Tx channel TSI IP pulls down all other Tx channels not in scan All Rx channels don t have such limitation as Rx ch...

Page 18: ...esult and the scan time as well For cost efficiency setting decimation 8 order 2 cutoff 0 is recommended 4 Hardware design guide 4 1 Electrode shapes 4 1 1 Electrode shapes for self mode To maximize t...

Page 19: ...ize signal strength Clearance To ensure signal integrity leave a minimum clearance of 10 mils for the lines that run parallel to each other in the same layer and route perpendicularly the ones running...

Page 20: ...ct the sensor s sensitivity Following are a few recommendations and best practices for ground planes usage Use X hatch pattern on the top layer 25 ground fill 7mil line 45mil spacing Use X hatch patte...

Page 21: ...to the chip is always better Components underneath electrodes It is not recommended to place any component underneath the touch sensing electrode s area especially in two layer boards Keep electrodes...

Page 22: ...dicular Make sure to fill in ground between groups of traces analog digital and touch if possible fill in ground between touch sensing traces Traces as thin as the PCB or film technology will allow Sh...

Page 23: ...without limitation consequential or incidental damages Typical parameters that may be provided in NXP data sheets and or specifications can and do vary in different applications and actual performance...

Reviews: