English
Language : 

K60P100M100SF2RM Datasheet, PDF (1783/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
First Active
Electrode
Second Active
Electrode
Chapter 55 Touch sense input (TSI)
Last Active
Electrode
Scan
...
States
...
...
1st Scan
Last Scan 1st Scan
Last Scan
...
1st Scan
Last Scan
Result
Counter
...
Count from...0 to result
...
Count from...0 to result
...
End-of-Scan
Signal
Figure 55-71. Scan sequence
...
Count from...0 to result
55.7.3.4.2 Low power mode scan
In low power periodic scan, the scan period is define by the 4-bit binary
GENCS[LPSCNITV]. The TSI module is enabled in low power modes only if the bit
GENCS[STPE] is 1.
Only one electrode pin is functional in the low power mode scan and its defined by the
bit-field PEN[LPSP].
55.7.3.4.3 End-of-scan interrupt
Once all the active electrodes are scanned, TSI scan unit will assert the end-of-scan flag.
Upon the end-of-scan event, each electrode conversion result will be loaded to the
corresponding counter register, compared with each threshold to determine if its value is
out of range specified by the threshold registers, and if the counter value is stuck at
extreme values(0x0000 or 0xFFFF), the corresponding error flag will also assert.
The electrode scan unit sets the EOSF flag in the GENCS registers once all the active
electrode scan finishes. The EOSF flag generates an end-of-scan interrupt request if it is
enabled.. The interrupt is asserted if enabled by GENCS[TSIIE] and GENCS[ESOR] bits.
The GENCS[EOSF] indicates that all active electrode scans are finished and the
respective capacitance results are in the TSICHnCNT registers. The GENCS[EOSF] is
cleared by writing one to it.
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
1783