
C
ref
: Internal reference capacitor
I
ref
: Reference oscillator current source
∆V : Hysteresis delta voltage
Considering C
ref
= 1.0 pF, I
ref
= 12 µA and ∆V = 600 mV, follows
F
ref_osc
12µA
2 *1.0pF
*
600mV
10.0MHz
49.4.2 TSI measurement result
The capacitance measurement result is defined by the number of TSI reference oscillator
periods during the sample time and is stored in the TSICHnCNT register.
TSICHnCNT = T
cap_samp
* F
ref_osc
Using Equation 2 and Equation 1 follows:
TSICHnCNT
I
ref
* PS *NSCN
C
ref
*
I
elec
*
C
elec
Equation 8. Capacitance result value
In the example where F
ref_osc
= 10.0 MHz and T
cap_samp
= 48 µs, TSICHnCNT = 480
49.4.3 Enable TSI module
The TSI module can be fully functional in run, wait and low power modes. The
TSI_GENCS[TSIEN] bit must be set to enable the TSI module in run and wait mode.
When TSI_GENCS[STPE] bit is set, it allows the TSI module to work in low power
mode.
49.4.4 Software and hardware trigger
The TSI module allows a software or hardware trigger to start a scan. When a software
trigger is applied ( TSI_GENCS[STM] bit clear), the TSI_GENCS[SWTS] bit must be
written "1" to start the scan electrode channel that is identified by TSI_DATA[TSICH].
When a hardware trigger is applied ( TSI_GENCS[STM] bit set), the TSI will not start
scanning until the hardware trigger arrives. The hardware trigger is different depending
on the MCU configuration. Generally, it could be an event that RTC overflows. See chip
configuration section for details.
Chapter 49 Touch Sensing Input (TSI)
K32 L2A Reference Manual, Rev. 2, 01/2020
NXP Semiconductors
1277
Summary of Contents for K32 L2A Series
Page 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Page 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Page 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Page 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Page 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Page 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Page 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Page 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Page 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Page 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Page 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Page 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Page 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Page 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Page 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Page 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Page 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Page 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Page 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Page 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Page 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...