Advertisement

Quick Links

UG10111
MCX Nx4x TSI User Guide
Rev. 1 — 7 May 2024
Document information
Information
Keywords
Abstract
Content
MCX, MCX Nx4x, TSI, touch.
The Touch Sensing Interface (TSI) of the MCX Nx4x series is the upgraded IP with new features
to implement the baseline/threshold autotuning.
User guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MCX N 4 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for NXP Semiconductors MCX N 4 Series

  • Page 1 UG10111 MCX Nx4x TSI User Guide Rev. 1 — 7 May 2024 User guide Document information Information Content Keywords MCX, MCX Nx4x, TSI, touch. Abstract The Touch Sensing Interface (TSI) of the MCX Nx4x series is the upgraded IP with new features to implement the baseline/threshold autotuning.
  • Page 2: Introduction

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide 1 Introduction The MCX N series of the Industrial and IoT (IIoT) MCU feature dual Arm Cortex-M33 cores operates up to 150 MHz. The MCX N series are high-performance, low-power microcontrollers with intelligent peripherals and accelerators providing multitasking capabilities and performance efficiency.
  • Page 3: Mcx Nx4X Parts Supported Tsi

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide In mutual-capacitive mode, design options expand to up to 136 (8 x 17) touch electrodes. Several use cases such as a multiburner induction cooker with touch controls, touch keyboards, touchscreen, require a lot of touch key design. The MCX Nx4x TSI can support up to 136 touch electrodes when mutual-cap channels are used.
  • Page 4 UG10111 NXP Semiconductors MCX Nx4x TSI User Guide Table 2. TSI channel assignment for MCX Nx4x VFBGA and LQFP packages ...continued 100HLQFP 100HLQFP TSI channel 184BGA 184BGA ALL 100HLQFP N94X pin 100HLQFP N54X pin pin name N94X name N54X name P0_17...
  • Page 5: Mcx Nx4X Tsi Features

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide B16 B15 B14 B12 B11 B10 C15 C14 C13 C12 C10 C9 D16 D15 D14 D12 D11 E14 E13 E11 E10 F16 F15 F14 G14 G13 H16 H15 H13 H12 H10 H9...
  • Page 6: Mcx Nx4X Tsi New Features

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide Table 3. The difference between MCX Nx4x TSI and Kinetis E TSI (KE17Z256) ...continued MCX Nx4x series Kinetis E series Mutual-cap mode: Tx[0:7], Rx[8:24] Mutual-cap mode: Tx[0:5], Rx[6:12] Touch electrodes self-cap electrodes: up to 25...
  • Page 7: Mcx Nx4X Tsi Function Description

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide Table 5. MCX Nx4x TSI new features ...continued Debounce function Automatic trigger function Clock from chip system clock Test finger function 3.3 MCX Nx4x TSI function description Here is the description of these newly added features: 1.
  • Page 8 UG10111 NXP Semiconductors MCX Nx4x TSI User Guide 5. Automatic trigger function. There are three trigger sources of TSI, including the software trigger by writing the TSI0_GENCS[SWTS] bit, the hardware trigger through INPUTMUX, and the automatic trigger by TSI0_AUTO_TRIG[TRIG_EN]. Figure 4 shows the automatically trigger-generated progress.
  • Page 9: Example Use Case Of Mcx Nx4X Tsi New Function

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide The strength of the TSI test finger can be configured by TSI0_MISC[TEST_FINGER], the user can change the touch strength through it. There are 8 options for the finger capacitance: 148pF, 296pF, 444pF, 592pF, 740pF, 888pF, 1036pF, 1184pF. The test finger function is enabled by configuring TSI0_MISC[TEST_FINGER_EN] to 1.
  • Page 10: Mcx-N5Xx-Evk

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide Figure 6. X-MCX-N9XX-TSI, MCX N5/N9 dedicated TSI evaluation board 4.1.2 MCX-N5XX-EVK MCX-N5XX-EVK provides the touch slider on the board, and it is compatible with the FRDM-TOUCH board. NXP provides a touch library to realize the functions of keys, slider, and rotary touches.
  • Page 11: Frdm-Mcxn947

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide Figure 8. MCX-N9XX-EVK with touch 4.1.4 FRDM-MCXN947 FRDM-MCXN947 provides a one-touch key on the board and it is compatible with the FRDM-TOUCH board. NXP provides a touch library to realize the functions of keys, slider, and rotary touches.
  • Page 12: Nxp Touch Library Support For Mcx Nx4X Tsi

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide 4.2 NXP touch library support for MCX Nx4x TSI NXP offers a touch software library free of charge. It provides all the software required to detect touches and to implement more advanced controllers like sliders or keypads. TSI background algorithms are available for touch keypad and analog decoders, sensitivity auto calibration, low-power, proximity, water tolerance.
  • Page 13: Nxp Touch Library

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide Figure 12. Download SDK 4.2.2 NXP touch library The touch sensing code in the downloaded SDK folder …\boards\frdmmcxn947\demo_apps\touch_ sensing is developed using the NXP touch library. The NXP Touch Library Reference Manual can be found in the folder …/middleware/touch/freemaster/ html/index.html, it describes the NXP Touch software library for implementing touch-sensing applications...
  • Page 14: Mcx Nx4X Tsi Performance

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide Application NT setup Touch gui tool Callbacks Debugging NXP touch library Controls Slider Analog slider Rotary Analog rotary Keypad Proxi Matrix Electrodes Keydetectors Filters System Electrode 1 AFID Electrode 2 SAFA Butterworth...
  • Page 15 UG10111 NXP Semiconductors MCX Nx4x TSI User Guide 1. SNR test The SNR is calculated according to the raw data of the TSI counter value. In the case when no algorithm is used to process the sampled values, SNR values of 200:1 can be achieved in self-cap mode and mutual- cap mode.
  • Page 16: Conclusion

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide No air gap between touch electrode and overlay Overlay ∆Cs Ground hatch Electrode Ground hatch Ground hatch aaa-055220 Figure 15. Overlay thickness test base on the acrylic Figure 16. Overlay thickness test base on the acrylic 4.
  • Page 17: Revision History

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide 3. NXP Touch development guide ( document AN12709) 4. NXP Touch Library Reference Manual (document NT20RM) 8 Revision history Table 8. Revision history Document ID Release date Description UG10111 v.1 7 May 2024...
  • Page 18: Legal Information

    NXP Semiconductors. In the event that customer uses the product for design-in and use in In no event shall NXP Semiconductors be liable for any indirect, incidental, automotive applications to automotive specifications and standards, punitive, special or consequential damages (including - without limitation - customer (a) shall use the product without NXP Semiconductors’...
  • Page 19 UG10111 NXP Semiconductors MCX Nx4x TSI User Guide AMBA, Arm, Arm7, Arm7TDMI, Arm9, Arm11, Artisan, big.LITTLE, Kinetis — is a trademark of NXP B.V. Cordio, CoreLink, CoreSight, Cortex, DesignStart, DynamIQ, Jazelle, MCX — is a trademark of NXP B.V. Keil, Mali, Mbed, Mbed Enabled, NEON, POP, RealView, SecurCore, Microsoft, Azure, and ThreadX —...
  • Page 20: Table Of Contents

    UG10111 NXP Semiconductors MCX Nx4x TSI User Guide Contents Introduction ............2 MCX Nx4x TSI overview ........2 MCX Nx4x TSI block diagram ......2 MCX Nx4x parts supported TSI ......3 MCX Nx4x TSI channel assignment on different packages ..........3 MCX Nx4x TSI features ........

Table of Contents