
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
Содержание K32 L2A Series
Страница 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Страница 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Страница 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Страница 146: ...Module operation in low power modes K32 L2A Reference Manual Rev 2 01 2020 146 NXP Semiconductors...
Страница 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Страница 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Страница 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Страница 322: ...Kinetis Bootloader Status Error Codes K32 L2A Reference Manual Rev 2 01 2020 322 NXP Semiconductors...
Страница 344: ...Application initialization information K32 L2A Reference Manual Rev 2 01 2020 344 NXP Semiconductors...
Страница 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Страница 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Страница 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Страница 602: ...Initialization and application information K32 L2A Reference Manual Rev 2 01 2020 602 NXP Semiconductors...
Страница 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Страница 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Страница 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Страница 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Страница 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Страница 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Страница 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Страница 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Страница 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Страница 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Страница 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Страница 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...
Страница 1344: ...USB Voltage Regulator Module Signal Descriptions K32 L2A Reference Manual Rev 2 01 2020 1344 NXP Semiconductors...
Страница 1356: ...Initialization Application Information K32 L2A Reference Manual Rev 2 01 2020 1356 NXP Semiconductors...