![NXP Semiconductors MKW01Z128 Скачать руководство пользователя страница 836](http://html1.mh-extra.com/html/nxp-semiconductors/mkw01z128/mkw01z128_reference-manual_1722224836.webp)
Rs (Bits)
(kΩ)
DVOLT
(Bits)
(V)
111
110
101
100
011
5.5
14
32
77
184
11
0.29
10
0.43
01
0.73
00
1.03
The TSI noise detection algorithm shall be done by application software (assume
software poll method is used to check TSI scan status) as described below, note the
values in below steps are just used to illustrated the algorithm flow, the actual value
should be consistent with the valid combinations as shown in the table above.
1. Enable TSI by setting TSI_CS0[TSIEN] bit and select a channel by writing a channel
number to TSI_CS3[TSICH] just as does for normal function mode;
2. Enable noise detection mode by writing 11b to TSI_CS3[STAT_STUP[3:2]]
(STAT_STUP bit 3 and 2 with 11);
3. Initialize the noise RF amplitude and noise detection mode sense duration (T) as
below:
a. Initialize Rs to the max value by writing 011b to TSI_CS2[EXTCHRG] and
DVOLT to the minimum value by writing 11b to TSI_CS2[DVOLT];
b. Set up TSI_CS2[REFCHRG], TSI_CS1[PS] and TSI_CS1[NSCN] bits to set the
noise detection mode sense duration (T). T= (2 x (2
PS
) x NSCN x Cref x ∆V)/
Iref .
NOTE
NOTE: This time needs to be enough to detect the
number of WINDOW bits for the minimum noise
frequency. The minimum value of T (Tmin) is
calculated as below: Tmin = (1)/F
noise_min
;
Where F
noise_min
is the minimum noise frequency (0.15
MHz) and WINDOW is 2. This results in Tmin = 20
µs. Also this algorithm needs to be consistent with the
valid Rs/Dvold combinations in above table.
4. Start TSI scan with software trigger or hardware trigger just as does for normal
function mode
5. Wait until TSI scan is complete (TSI_CS0[EOSF] = 1);
6. Read TSI counter value in TSI_CNTH:TSI_CNTL and then clear TSI_CS0[EOSF]
flag;
Chapter 35 Touch Sensing Input (TSI)
MKW01Z128 MCU Reference Manual, Rev. 3, 04/2016
Freescale Semiconductor, Inc.
705
Содержание MKW01Z128
Страница 7: ...MKW01xxRM Reference Manual Rev 3 04 2016 viii Freescale Semiconductor Inc...
Страница 11: ...MKW01xxRM Reference Manual Rev 3 04 2016 xii Freescale Semiconductor Inc...
Страница 31: ...MKW01Z128 Pins and Connections MKW01xxRM Reference Manual Rev 3 04 2016 2 8 Freescale Semiconductor Inc...
Страница 129: ...MKW01Z128 Transceiver MCU SPI Interface MKW01xxRM Reference Manual Rev 3 04 2016 8 6 Freescale Semiconductor Inc...
Страница 130: ...MKW01xxRM Reference Manual Rev 3 04 2016 Freescale Semiconductor Inc A 1 Appendix A MKW01Z128 MCU Reference Manual...
Страница 131: ...MKW01Z128 MCU Reference Manual MKW01xxRM Reference Manual Rev 3 04 2016 A 2 Freescale Semiconductor Inc...
Страница 133: ...MKW01Z128 MCU Reference Manual Rev 3 04 2016 2 Freescale Semiconductor Inc...
Страница 221: ...Private Peripheral Bus PPB memory map MKW01Z128 MCU Reference Manual Rev 3 04 2016 90 Freescale Semiconductor Inc...
Страница 233: ...Module clocks MKW01Z128 MCU Reference Manual Rev 3 04 2016 102 Freescale Semiconductor Inc...
Страница 255: ...Module operation in low power modes MKW01Z128 MCU Reference Manual Rev 3 04 2016 124 Freescale Semiconductor Inc...
Страница 279: ...Functional description MKW01Z128 MCU Reference Manual Rev 3 04 2016 148 Freescale Semiconductor Inc...
Страница 305: ...Functional description MKW01Z128 MCU Reference Manual Rev 3 04 2016 174 Freescale Semiconductor Inc...
Страница 325: ...Functional description MKW01Z128 MCU Reference Manual Rev 3 04 2016 194 Freescale Semiconductor Inc...
Страница 379: ...Application information MKW01Z128 MCU Reference Manual Rev 3 04 2016 248 Freescale Semiconductor Inc...
Страница 387: ...Memory map register descriptions MKW01Z128 MCU Reference Manual Rev 3 04 2016 256 Freescale Semiconductor Inc...
Страница 465: ...Functional Description MKW01Z128 MCU Reference Manual Rev 3 04 2016 334 Freescale Semiconductor Inc...
Страница 501: ...Initialization Application information MKW01Z128 MCU Reference Manual Rev 3 04 2016 370 Freescale Semiconductor Inc...
Страница 513: ...Interrupts MKW01Z128 MCU Reference Manual Rev 3 04 2016 382 Freescale Semiconductor Inc...
Страница 517: ...Functional description MKW01Z128 MCU Reference Manual Rev 3 04 2016 386 Freescale Semiconductor Inc...
Страница 611: ...Application information MKW01Z128 MCU Reference Manual Rev 3 04 2016 480 Freescale Semiconductor Inc...
Страница 633: ...CMP Trigger Mode MKW01Z128 MCU Reference Manual Rev 3 04 2016 502 Freescale Semiconductor Inc...
Страница 643: ...Functional description MKW01Z128 MCU Reference Manual Rev 3 04 2016 512 Freescale Semiconductor Inc...
Страница 671: ...Functional description MKW01Z128 MCU Reference Manual Rev 3 04 2016 540 Freescale Semiconductor Inc...
Страница 803: ...Functional description MKW01Z128 MCU Reference Manual Rev 3 04 2016 672 Freescale Semiconductor Inc...
Страница 843: ...Functional description MKW01Z128 MCU Reference Manual Rev 3 04 2016 712 Freescale Semiconductor Inc...
Страница 877: ...Initialization application information MKW01Z128 MCU Reference Manual Rev 3 04 2016 746 Freescale Semiconductor Inc...