AN LPC82x Touch Solution Quick Start Guide. Document information. Keywords

Similar documents
OM13071 LPCXpresso824-MAX Development board

UM NVT2008PW and NVT2010PW demo boards. Document information

UM NXP USB PD shield board user manual COMPANY PUBLIC. Document information

UM NVT2001GM and NVT2002DP demo boards. Document information

UM PCAL6524 demonstration board OM Document information

UM LPC General Purpose Shield (OM13082) Rev November Document information. Keywords

QPP Proprietary Profile Guide

UM EEPROM Management of PN746X and PN736X. User manual COMPANY PUBLIC. Rev February Document information

Using LPC11Axx EEPROM (with IAP)

UM LPC54114 Audio and Voice Recognition Kit. Rev February Document information. Keywords

AN10955 Full-duplex software UART for LPC111x and LPC13xx

UM PR533 - PCSC Tool. User manual COMPANY PUBLIC. Rev November Document information

AN NTAG I²C plus memory configuration options. Application note COMPANY PUBLIC. Rev June Document information

AN BGA GHz 18 db gain wideband amplifier MMIC. Document information. Keywords. BGA3018, Evaluation board, CATV, Drop amplifier.

STB-CE v Overview. 2 Features. Release notes for STB-CE v What's new in STB-CE v2.5

OM bit GPIO Daughter Card User Manual

How to use the NTAG I²C plus for bidirectional communication. Rev June

AN10942 MFRX852 Evaluation Board- Quick start up Guide

UM OM bit GPIO Daughter Card User Manual. Document information. Keywords Abstract

AN BGA301x Wideband Variable Gain Amplifier Application. Document information. Keywords

LPC-Link2 Debug Probe Firmware Programming. Rev June, 2017 User Guide

UM NXP USB Type-C Shield 2 Demo Kit User Manual COMPANY PUBLIC. Document information

UM10766 User manual for the I2C-bus RTC PCF85263A demo board OM13510

UM User Manual for LPC54018 IoT Module. Rev November Document information

UM LPC54018 IoT module. Document information. LPC54018, OM40007, Amazon FreeRTOS, AWS, GT1216 LPC54018 IoT module user manual

QN908x. DK User s Guide. Document information. QN9080-DK, QN9080, QN9083, BLE, USB Dongle This document is an introduction to the QN908x DK V1.

AN CBTL08GP053 Programmer's Guide. Document information. Keywords Abstract

UM LPCXpresso Rev th November Document information. LPCXpresso54102, LPC54100 LPCXpresso54102 User Manual

UM User manual for the BGU MHz LNA evaluation board. Document information

IoT Sensing SDK. Getting started with IoT Sensing SDK (ISSDK) v1.7 middleware. Document information. IoT Sensing SDK, ISSDK, MCUXpresso, middleware

UM OM11057 quick start guide. Document information

UM10889 LPCXpresso4337/43S37/18S37

AN Over-the-Air top-up with MIFARE DESFire EV2 and MIFARE Plus EV1. Document information

ES_LPC81xM. Errata sheet LPC81xM. Document information

AN MIFARE Type Identification Procedure. Application note COMPANY PUBLIC. Rev August Document information

NXP AN11528 sensor Application note

AN12119 A71CH Quick start guide for OM3710A71CHARD and i.mx6ultralite

Release notes for ISSDK v1.7

UM LPCXpresso845MAX. Document information. LPCXpresso845MAX, OM13097, LPC845, LPC844 LPCXpresso845MAX User Manual

QPP Programming Guide

ES_LPC5410x. Errata sheet LPC5410x. Document information

UM OM13500 & OM13500A, PCA9620 & PCx8537 demo board. Document information. Keywords

UM Gaming suitcase demo system. Document information

UM NTAG I²C plus Explorer Kit Peek and Poke. Rev September User manual COMPANY PUBLIC. Document information

Broadband system applications i.e. WCDMA, CATV, etc. General purpose Voltage Controlled Attenuators for high linearity applications

CAUTION This device is sensitive to ElectroStatic Discharge (ESD). Therefore care should be taken during transport and handling.

UM10760 User manual for the I²C-bus RTC PCF8523 demo board OM13511

UM LPCXpresso51U68. Document information. LPCXpresso51U68, LPC51U68, OM40005 LPCXpresso51U68 User Manual

AN12120 A71CH for electronic anticounterfeit protection

QSG DAC1x08D+ECP3 DB

PNP 500 ma, 50 V resistor-equipped transistor; R1 = 2.2 kω, R2 = open

AN10917 Memory to DAC data transfers using the LPC1700's DMA

74ABT General description. 2. Features and benefits. 3. Ordering information. Quad 2-input AND gate

AN QN902x Quick Start Guide. Document information

300 V, 100 ma PNP high-voltage transistor

SOD Package summary

Bidirectional ESD protection diode

LPC81x, LPC82x, LPC83x Errata Sheet and Datasheet Update for Vdd.1 Errata

PESD18VV1BBSF. Very symmetrical bidirectional ESD protection diode

SiGe:C Low Noise High Linearity Amplifier

UM QN908x Quick Start. Document information. QN908x, Quick Start, Development Kit, QN9080 DK, QN9080 Development Kit

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

General-purpose Zener diodes in a SOD323F (SC-90) very small and flat lead Surface-Mounted Device (SMD) plastic package.

NCR402T. 1. General description. 2. Features and benefits. 3. Applications. 4. Quick reference data

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

AN PN5180 Secure firmware update. Application note COMPANY PUBLIC. Rev December Document information

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

AN Application Note for the BGA7130 EVB MHz. Document information

PESD18VF1BL. 1. General description. 2. Features and benefits. 3. Applications. 4. Quick reference data. 5. Pinning information

MMBZ16VAL. 1. General description. 2. Features and benefits. 3. Applications. 4. Quick reference data

NWP2081T. 1. General description. 2. Features and benefits. 3. Applications. 4. Ordering information. Half-bridge driver IC

End User License Agreement

PESD24VF1BSF. Table 1. Quick reference data Symbol Parameter Conditions Min Typ Max Unit C d diode capacitance f = 1 MHz; V R = 0 V

PESD5V0C1USF. in portable electronics, communication, consumer and computing devices.

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

AN How to design in and program the PCA9641 I 2 C arbiter. Document information

AN12121 How to start a development with A71CH

ESD protection for ultra high-speed interfaces

AN LPC1700 secondary USB bootloader. Document information. LPC1700, Secondary USB Bootloader, ISP, IAP

D (double) Package type descriptive code. SOD2 Package type industry code. DSN Package style descriptive code

General-purpose Zener diodes in an SOD523 (SC-79) ultra small and flat lead Surface-Mounted Device (SMD) plastic package.

D (double) Package type descriptive code. TSSOP8 Package type industry code. TSSOP8 Package style descriptive code

PESD5V0X2UM. 1. General description. 2. Features and benefits. 3. Applications. 4. Quick reference data

plastic surface-mounted package; 5 leads D (double) Package type descriptive code TSOP5 Package type industry code

Installation Manual Installation Manual for the MicroWave Office design kit version v1.0

S (single) Package type descriptive code. DPAK Package type industry code. DPAK Package style descriptive code

D (double) Package type descriptive code. SMT3; MPAK Package type industry code. SMT3; MPAK Package style descriptive code

SOT404-REFLOW REL Major version date Minor version date Security status

B (bottom) Package type descriptive code. BGA658 Package type industry code. BGA658 Package style descriptive code

Unidirectional ESD protection diode

S (surface mount) Issue date

KTPF4210EPEVBUG. KITPF4210EPEVB evaluation board Rev February 2018 KITPF4210EPEVB

GreenChip synchronous rectifier controller. The TEA1792TS is fabricated in a Silicon-On-Insulator (SOI) process.

SOD123W. 1. Package summary. plastic, surface mounted package; 2 terminals; 2.6 mm x 1.7 mm x 1 mm body 9 April 2018 Package information

Installation Manual. Installation Manual for the ADS design kit version v2.1. ADS Design kit Windows Linux Unix Instruction Manual RF small signal

AN10913 DSP library for LPC1700 and LPC1300

PTVSxS1UR series. 1. Product profile. 400 W Transient Voltage Suppressor. 1.1 General description. 1.2 Features and benefits. 1.

Installation Manual Installation Manual for the Ansoft Designer v5.0 design kit version v1.0

PESD12VV1BL. 1. General description. 2. Features and benefits. 3. Applications. 4. Quick reference data

In data sheets and application notes which still contain NXP or Philips Semiconductors references, use the references to Nexperia, as shown below.

Transcription:

Rev. 1.0 22 December 2014 Application Note Document information Info Keywords Abstract Content Capacitive Touch, Touchpad, Sensor, Electrode, Drive/Sensing lines, Dielectric, Overlay panel, Sensitivity, Touch, False Touch. This application note describes the overall hardware design aspect of NXP s Capacitive Touch solution, shows the schematic design, materials, and PCB design including the most critical Touch sensor design.

Revision history Rev Date Description 1.0 20141222 Initial version Contact information For more information, please visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.0 22 December 2014 2 of 15

1. Introduction NXP s Capacitive Touch solution is based on the innovative Switched Capacitor Integration technology. This variant of the solution is centered around the LPC82x MCU family. It consists of hardware and software platform for enabling the Touch user interface designs. This quick start guide briefly outlines different elements involved in this Touch solution and help in getting started with the set up. Main Features: LPC824 centric capacitive Touch Modes supported o Touchpad (8-bit resolution) o 9 Keys GUI to visualize/analyze the Touch data On-board LCD to display Touch positions Arduino UNO compatible Touch Shield Mbed/LPCXpresso and Pmod options USB Drag and drop programming CMSIS-DAP debug interface USB powered The LPC82x Touch solution kit can be ordered from NXP s authorized distributors using the order number OM13081. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 3 of 15

2. Hardware Setup The LPC82x Touch solution has been realized using two boards, LPCXpresso824-MAX (LPC82x Xpresso v2/mbed) board and LPC82x Touch shield board. 2.1 LPCXpresso824-MAX (LPC82x Xpresso v2/mbed) The LPCXpresso824-MAX is a standard Xpresso/mbed board with LPC824 on it, well supported in the overall ecosystem. This board combines the overall features of the LPCXpresso, mbed, and Arduino environments. See the LPCXpresso824-MAX board user manual for more details: http://www.nxp.com/documents/user_manual/um10830.pdf LPC824 in HVQFN33 package On-board CMSIS-DAP debug interface o Supports LPCXpresso IDE o Supports mbed and other third party tools Expansion options o Arduino UNO R3-compatible connectors o Mbed/LPCXpresso and Pmod options o Prototyping area RGB LED for test/debug 10-pin SWD connector for external debug probe UART ISP capable USB powered Debug LPC11U35 Target - LPC824 Arduino Expansion RGB LED SW2-ISP mbed/xpresso Expansion PMOD USB Prototyping Reset SW External Debug mbed/xpresso Expansion Arduino Expansion Fig 1. LPCXpresso824 MAX board All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 4 of 15

2.2 LPC82x Touch Shield The LPC82x Touch Shield is an add-on board with capacitive Touch sensors (3x3 Matrix touchpad) and a character LCD to display the Touch position data. LCD Touch Sensors (3x3 Matrix Fig 2. LPC82x Touch Shield 2.3 LPC82x Touch Setup The LPCXpresso824-MAX board and LPC82x Touch shield are connected via Arduino UNO expansion connectors. LPCXpresso824-MAX LPC82x Touch Shield LPC82x Touch Setup + = Fig 3. LPC82x Touch Setup All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 5 of 15

3. Software 3.1 Touch Firmware The LPC82x Touch solution kit is pre-programmed with the Touch demo firmware and it can be operated in standalone mode (without GUI) or with the windows GUI. 3.2 Touch GUI The LPC82x Touch Solution provides a Windows based GUI to visualize and analyze the Touch status/position data. To use the Touch GUI, download and install the mbed windows serial port driver from: www.nxp.com/redirect/mbed/handbook/windows-serial-configuration Touch position Touch position Drawing field Touch position Debug Messages X-Y Coordinates Status Messages Fig 4. Touch GUI All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 6 of 15

4. Getting Started 4.1 Programming and Setting it up Though the kit is pre-programmed with the touch demo firmware, one can always reprogram it very easily with the latest firmware available. Connect the LPCXpresso824-MAX board and LPC82x Touch Shield using Arduino UNO expansion connectors. See Fig 3. On powering-up the kit with micro USB cable, it will appear as an MBED mass storage device on the PC/Notebook. To program the kit with latest firmware, copy and paste or drag and drop the latest binary to this MBED mass storage device. Power cycle or reset the board using reset switch (SW3) to get started. 4.2 Standalone Demo (without GUI) The standalone demo works in two different modes, Two dimensional Mode (Touchpad) and One dimensional Mode (Keys/Button). By default, the kit powers up in two dimensional Mode (position data). LCD will display NXP Firmware Version Touch in a sequence. And Touch display would remain until the touchpad is touched, as shown in Fig 5. Touching the touchpad area, the LCD will display X-Y coordinates of the Touch position. The actual Touch position is reported in an 8-bit resolution (0 to 255) but it is divided by a factor of 4 just to display on the LCD (00 to 63). Touch status is indicated by a segment right to the Y-coordinate, and it stays on as long as the finger ouches the touchpad. X- Coordinate Y- Coordinate Touch Status Fig 5. Standalone Demo (Touchpad Mode) All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 7 of 15

One can switch to the One dimensional Mode (Keys/Button) by pressing SW2 (ISP) switch, see Fig 1 on the LPCXpresso824-MAX board. Change of mode is indicated by displaying --1D-- which stays until the touchpad is touched, as shown in Fig 6. On touching the sensor/sensors, the LCD will display hexadecimal (16 bit) value of the respective sensor/sensors status (bit0:sensor0, bit1:sensor1). Touch status is indicated by a segment right to the Y-coordinate and stays on as long as the finger touches the touchpad. S1 Touched Touch Status Fig 6. Standalone Demo (Key Mode) Press SW2 (ISP) switch to switch back to the Two dimensional Mode (Touchpad). Change of mode is indicated on the LCD by displaying --2D-- which stays until the touchpad is touched. Now the touchpad starts reporting X-Y coordinates of the touchpad. 4.3 Touch GUI Demo Touch GUI provides many more features to visualize, test, and validate the LPC82x Touch Solution. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 8 of 15

Powering-up the LPCXpresso824-MAX board using Micro USB cable, the USB port should be recognized as a mbed Serial Port by PC/Notebook. If not, download and install the mbed windows serial port driver from: www.nxp.com/redirect/mbed/handbook/windows-serial-configuration Launch the LPC82x Touch solution GUI, see Fig 7. Select proper COM port (check the device manager to make sure, if needed). Set the baud rate as 9600 and Open the Com port. Analysis window will display the communication errors, if there s any problem with the COM port or Baud rate selection. Successful Com port opening is indicated by a small radio button (next to Baud rate) turning Green from Red. By default, the kit starts up in Two dimensional mode (Touch Position Mode). Com Port status Fig 7. Connect to Com port All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 9 of 15

On touching the touchpad the Touch positions get reflected in the Drawing field of the GUI. See Fig 8. One can draw any pattern or the character and the Touch position is indicated accordingly. X and Y fields to the right show the X and Y touch field movements separately. Serial Messages window displays the Touch data packets with their IDs (ID:X:Y ) as being received by the GUI, limited to first 192 Touch positions only. One can tick/un-tick the Debug Enable to enable/disable the display of touch data packets (ID:X:Y ) in Serial Messages window. Fig 8. Visualize Touch Data Click on Parameter settings shown in Fig 9 to see and alter the Touch configuration parameters. Default parameters set is shown on the entry. One can read the parameters from target hardware or write the altered parameters to the target hardware using the radio buttons in the Target section. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 10 of 15

One can also save the current parameters to the host or load the pre-set set of parameters from the host to write to the target. See radio buttons in the Host section. While changing the parameters (value) settings, the range shown on the right is the guideline. Even if out of range values are set, it will be truncated to the maximum value. One can always fall back and load the default set of parameters to cross verify the settings at any time. Host Target Fig 9. Touch Parameter Handling See the LPC82x Touch Solution Application Note or LPC82x Touch Solution Library User Guide for more details on all of the Touch configuration parameters. One can change the mode to One dimensional mode (Keys/Button Mode) by selecting One dimensional in the drop down for Touch operating mode. See Fig 10. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 11 of 15

After changing the mode, click on Write parameters to target and the status window displays: Parameters successfully written to target. The on board LCD also displays PARAM. Fig 10. Switching to One Dimensional Mode Close the Touch Parameter Handling window after the altered parameters are successfully written to the target. The individual Sensor (S1-S9) status can be seen in the Drawing field. See Fig 11. On touching any sensor on the board, the corresponding change ( ) is reflected in the sensor status of that sensor. The on board LCD also displays the hexadecimal (16 bit) value representing each sensor status. The ( ) disappears or the respective sensor status is updated as soon as the finger is removed from the sensor. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 12 of 15

Fig 11. One Dimensional Mode All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.00 22 December 2014 13 of 15

5. Legal information 5.1 Definitions Draft The document is a draft version only. The content is still under internal review and subject to formal approval, which may result in modifications or additions. NXP Semiconductors does not give any representations or warranties as to the accuracy or completeness of information included herein and shall have no liability for the consequences of use of such information. 5.2 Disclaimers Limited warranty and liability Information in this document is believed to be accurate and reliable. However, NXP Semiconductors does not give any representations or warranties, expressed or implied, as to the accuracy or completeness of such information and shall have no liability for the consequences of use of such information. In no event shall NXP Semiconductors be liable for any indirect, incidental, punitive, special or consequential damages (including - without limitation - lost profits, lost savings, business interruption, costs related to the removal or replacement of any products or rework charges) whether or not such damages are based on tort (including negligence), warranty, breach of contract or any other legal theory. Notwithstanding any damages that customer might incur for any reason whatsoever, NXP Semiconductors aggregate and cumulative liability towards customer for the products described herein shall be limited in accordance with the Terms and conditions of commercial sale of NXP Semiconductors. Right to make changes NXP Semiconductors reserves the right to make changes to information published in this document, including without limitation specifications and product descriptions, at any time and without notice. This document supersedes and replaces all information supplied prior to the publication hereof. Suitability for use NXP Semiconductors products are not designed, authorized or warranted to be suitable for use in life support, life-critical or safety-critical systems or equipment, nor in applications where failure or malfunction of an NXP Semiconductors product can reasonably be expected to result in personal injury, death or severe property or environmental damage. NXP Semiconductors accepts no liability for inclusion and/or use of NXP Semiconductors products in such equipment or applications and therefore such inclusion and/or use is at the customer s own risk. Applications Applications that are described herein for any of these products are for illustrative purposes only. NXP Semiconductors makes no representation or warranty that such applications will be suitable for the specified use without further testing or modification. Customers are responsible for the design and operation of their applications and products using NXP Semiconductors products, and NXP Semiconductors accepts no liability for any assistance with applications or customer product design. It is customer s sole responsibility to determine whether the NXP Semiconductors product is suitable and fit for the customer s applications and products planned, as well as for the planned application and use of customer s third party customer(s). Customers should provide appropriate design and operating safeguards to minimize the risks associated with their applications and products. NXP Semiconductors does not accept any liability related to any default, damage, costs or problem which is based on any weakness or default in the customer s applications or products, or the application or use by customer s third party customer(s). Customer is responsible for doing all necessary testing for the customer s applications and products using NXP Semiconductors products in order to avoid a default of the applications and the products or of the application or use by customer s third party customer(s). NXP does not accept any liability in this respect. Export control This document as well as the item(s) described herein may be subject to export control regulations. Export might require a prior authorization from competent authorities. Evaluation products This product is provided on an as is and with all faults basis for evaluation purposes only. NXP Semiconductors, its affiliates and their suppliers expressly disclaim all warranties, whether express, implied or statutory, including but not limited to the implied warranties of noninfringement, merchantability and fitness for a particular purpose. The entire risk as to the quality, or arising out of the use or performance, of this product remains with customer. In no event shall NXP Semiconductors, its affiliates or their suppliers be liable to customer for any special, indirect, consequential, punitive or incidental damages (including without limitation damages for loss of business, business interruption, loss of use, loss of data or information, and the like) arising out the use of or inability to use the product, whether or not based on tort (including negligence), strict liability, breach of contract, breach of warranty or any other theory, even if advised of the possibility of such damages. Notwithstanding any damages that customer might incur for any reason whatsoever (including without limitation, all damages referenced above and all direct or general damages), the entire liability of NXP Semiconductors, its affiliates and their suppliers and customer s exclusive remedy for all of the foregoing shall be limited to actual damages incurred by customer based on reasonable reliance up to the greater of the amount actually paid by customer for the product or five dollars (US$5.00). The foregoing limitations, exclusions and disclaimers shall apply to the maximum extent permitted by applicable law, even if any remedy fails of its essential purpose. 5.3 Trademarks Notice: All referenced brands, product names, service names and trademarks are property of their respective owners. All information provided in this document is subject to legal disclaimers. NXP B.V. 2014. All rights reserved. Application Note Rev. 1.0 22 December 2014 14 of 15

6. Contents 1. Introduction... 3 2. Hardware Setup... 4 2.1 LPCXpresso824-MAX (LPC82x Xpresso v2/mbed)... 4 2.2 2.3 LPC82x Touch Shield... 5 LPC82x Touch Setup... 5 3. Software... 6 3.1 3.2 Touch Firmware... 6 Touch GUI... 6 4. Getting Started... 7 4.1 4.2 Programming and Setting it up... 7 Standalone Demo (without GUI)... 7 4.3 Touch GUI Demo... 8 5. Legal information... 14 5.1 Definitions... 14 5.2 Disclaimers... 14 5.3 Trademarks... 14 6. Contents... 15 Please be aware that important notices concerning this document and the product(s) described herein, have been included in the section 'Legal information'. NXP B.V. 2014. All rights reserved. For more information, visit: http://www.nxp.com For sales office addresses, please send an email to: salesaddresses@nxp.com Date of release: 22 December 2014 Document identifier: