background image

TSI software configurations 

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

NXP Semiconductors

 

 

9

 

 

 

Divider setting 

Setting: Divider 

Register 

Value 

Divider 

TSI_SSC0.SSC_PRESCALE_NUM[7:0] 

0000001 

divide 2 

0000011 

divide 4 

… 

… 

11111111 

divide 512 

There is an example of the basic clock generation, configure the main clock as 16.65MHz, and the 
divider as 16, then the result of switching clock is 1.04Mhz. 

Example: Basic Clock Generation 

Main Clock(MHz) 

Divider 

Switching Clock (MHz) 

16.65 

16 

1.04 

3.1.1.2. Advanced clock generation, spread spectrum clocking 

The spread spectrum clocking (SSC) 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 divided main clock.  

To improve the noise immunity, the Switching Clock can also be generated as a pseudo random clock 
using the PRBS (Pseudo-Random Binary Sequence) method by setting TSI_SSC0[SSC_MODE] = 00, 
then the SSCHighRandomWidth(t2) is configured as the random width.  

Attached below is the formula of the advanced clock generation, with SSC enabled when 
TSI_SSC0[SSC_MODE] = 00/01: 

 

SwitchingClock =

𝑀𝑎𝑖𝑛𝐶𝑙𝑜𝑐𝑘

𝑆𝑆𝐶𝐻𝑖𝑔ℎ𝑊𝑖𝑑𝑡ℎ(𝑡1) + 𝑆𝑆𝐶𝐻𝑖𝑔ℎ𝑅𝑎𝑛𝑑𝑜𝑚𝑊𝑖𝑑𝑡ℎ(𝑡2) + 𝑆𝑆𝐶𝐿𝑜𝑤𝑊𝑖𝑑𝑡ℎ(𝑡3)

 

*When TSI_SSC0[SSC_MODE] = 00, the SSCHighRandomWidth can be random(PRBS). 

Figure below shows the timing of the switching clock generation.  

 

 

  Timing of the Advance Clock Generation with SSC enabled 

Содержание 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...

Отзывы: