background image

TSI software configurations 

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

NXP Semiconductors

 

 

15

 

 

 

There’s an example of the clock generation configuration for the mutual mode. 

PRBS is enabled by setting SSC Mode = 00, then the SSC t2 is random. Setting SSCHighRandomWith 
as 6 means the t2 ranges from 1×MainClock to 6×MainClock. As a result, the average t2 is 
(1+6)/2=3.5×MainClock. 

According to the formula of clock generation, the SwitchingClock = MainClock/(t1+t2+t3) = 
16.65/(6+3.5+3) = 1.33MHz, as the parameter of prescale doesn’t take effect 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 around 100us, when the TSI acquisition time (switching clock) is 
configured as 1us. Similar to the self-mode configurations, the mutual mode also support multiple scan 
per channel, and the scan number is configured by TSI_SINC [DECIMATION], [ORDER], and 
[CUTOFF]. 

Please refer to the chapter of self-mode scan time for the detailed descriptions. 

Untouched Touched

Delta

Main 

Clock

(MHz)

Prescale

SSC

SSC High Width

ChargeNumber 

t1

SSC High 

Random 

Width

t2

SSC 

Low 

Width

t3

Switching 

Clock

(MHz)

5765

5920

155

16.65

16

ON

6

6

3

1.33

Counter

Clock  Generation

Содержание KE15Z

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: