QT7 Xplained Pro User's Guide Preface The Microchip QT7 Xplained Pro kit is an extension board that enables the evaluation of self-capacitance touch using the Peripheral Touch Controller (PTC) module. The kit shows the moisture performance of (R) capacitive touch using the PTC Driven shield. The kit includes one board with a QTouch technology selfcapacitance slider, and two QTouch technology self-capacitance buttons. It also has 8 LEDs, one each for corresponding buttons and slider positions. (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 1 Table of Contents Preface............................................................................................................................ 1 1. Introduction................................................................................................................3 1.1. 1.2. 1.3. Features....................................................................................................................................... 3 Kit Overview................................................................................................................................. 3 Kit Compatibility............................................................................................................................3 2. Getting Started.......................................................................................................... 5 2.1. 2.2. Xplained Pro Quick Start.............................................................................................................. 5 Design Document and Relevant Links......................................................................................... 5 3. Xplained Pro.............................................................................................................. 6 3.1. 3.2. Hardware Identification System....................................................................................................6 Xplained Pro Standard Connectors..............................................................................................6 4. Hardware Users Guide.............................................................................................. 8 4.1. 4.2. 4.3. Electrical Characteristics.............................................................................................................. 8 Headers and Connectors............................................................................................................. 8 Peripherals................................................................................................................................... 9 5. Hardware Revision History and Known Issues........................................................10 5.1. 5.2. Identifying Product ID and Revision........................................................................................... 10 Revision 3...................................................................................................................................10 6. Document Revision History......................................................................................11 The Microchip Web Site................................................................................................ 12 Customer Change Notification Service..........................................................................12 Customer Support......................................................................................................... 12 Microchip Devices Code Protection Feature................................................................. 12 Legal Notice...................................................................................................................13 Trademarks................................................................................................................... 13 Quality Management System Certified by DNV.............................................................14 Worldwide Sales and Service........................................................................................15 (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 2 Introduction 1. Introduction 1.1 Features * * * * 1.2 2 Self-Capacitance QTouch Technology Keypads 1 Self-Capacitance QTouch Technology Slider 8 LEDs: - One LED for each key - Six LEDs for the sliders Xplained Pro Hardware Identification System Kit Overview The QT7 Xplained Pro extension is designed specifically for Xplained Pro MCU boards featuring an MCU with a built-in peripheral touch controller. The extension board can be used to explore the touch functions on the PTC module in Self-Capacitance mode. Figure 1-1. QT7 Xplained Pro Extension Board 1.3 Kit Compatibility This kit is only supported by Xplained Pro MCU boards that have an MCU with a built-in PTC and a matching pinout that connects all sensors of the extension. There is no guarantee that every Xplained Pro (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 3 Introduction MCU board with a device that has PTC will manage to match the touch signal pinout to the extension headers. Currently supported MCU boards are: * * * * * * * * * * * SAM D11 Xplained Pro SAM D20 Xplained Pro SAM D21 Xplained Pro SAM DA1 Xplained Pro SAM C21 Xplained Pro SAM L21 Xplained Pro SAM L22 Xplained Pro SAM R21 Xplained Pro SAM E54 Xplained Pro ATmega324PB Xplained Pro ATtiny817 Xplained Pro Other future Xplained Pro MCU board designs may also support the QT7 Xplained Pro. (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 4 Getting Started 2. Getting Started 2.1 Xplained Pro Quick Start Steps to start exploring the Xplained Pro platform: 1. Download and install Atmel Studio. 2. Launch Atmel Studio. When the Xplained Pro MCU kit is connected to the computer for the first time, the operating system (R) installs the driver software automatically. This driver supports 32-bit and 64-bit versions of Microsoft (R) (R) Windows XP, Windows Vista , Windows 7, Windows 8, Windows 10, and Windows Server 2012. When the Xplained Pro MCU board is powered, the power LED (green) glows and the Atmel Studio automatically detects the specific Xplained Pro MCU and extension board(s) that are connected. The landing page of the kit in the Atmel Studio has an option to launch the Atmel Software Framework (ASF) and the Atmel START example application codes for the kit. The QT7 Xplained Pro device is programmed and debugged by the on-board embedded debugger and therefore no external programmer or debugger tool is required. 2.2 Design Document and Relevant Links * * * * * * * Xplained Products: Xplained evaluation kits are a series of easy-to-use evaluation kits for Microchip microcontrollers and other Microchip products. - Xplained Nano - used for low pin count devices and provides a minimalistic solution with access to all I/O pins of the target microcontroller. - Xplained Mini - used for medium pin count devices and adds an Arduino Uno compatible header footprint and a prototyping area. - Xplained Pro - used for medium to high pin count devices that feature advanced debugging and standardized extensions for peripheral functions. Note: All the above kits have on-board programmers/debuggers, which creates a set of low-cost boards for evaluation and demonstration of features and capabilities of different Microchip products. Atmel Start: This tool will help you select and configure software components and tailor your embedded application in a usable and optimized manner. Atmel Studio: Free Atmel IDE for development of C/C++ and assembler code for Atmel microcontrollers. Atmel Data Visualizer: Atmel Data Visualizer is a program used for processing and visualizing data. Data Visualizer can receive data from various sources such as the Embedded Debugger Data Gateway Interface found on Xplained Pro boards and COM ports. Design Documentation: Package containing CAD source, schematics, BOM, assembly drawings, 3D plots, layer plots, etc. Hardware User's Guide: PDF version of this user's guide. QT7 Xplained Pro on Microchip Page: Microchip website link. (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 5 Xplained Pro 3. Xplained Pro The Xplained Pro is an evaluation platform that contains a series of microcontroller boards (evaluation kits) and extension boards. Atmel Studio is used to program and debug the microcontrollers on these boards. Atmel Studio includes Advanced Software Framework (ASF) and Atmel START, which has drivers and demo code, and Data Visualizer, which supports data streaming and advanced debugging. Xplained Pro evaluation kits can be connected to a wide range of Xplained Pro extension boards through standardized headers and connectors. Xplained Pro extension boards have identification (ID) chips to uniquely identify which boards are connected to the Xplained Pro evaluation kits. 3.1 Hardware Identification System TM All Xplained Pro extension boards come with an identification chip (ATSHA204A CryptoAuthentication chip) to uniquely identify the boards that are connected to the Xplained Pro evaluation kit. This chip contains information that identifies the extension with its name and some extra data. When an Xplained Pro extension is connected to an Xplained Pro evaluation kit, the information is read and sent to Atmel Studio. The following table shows the data fields stored in the ID chip with example content. Table 3-1. Xplained Pro ID Chip Content Data Field Data Type Example Content Manufacturer ASCII string Microchip'\0' Product name ASCII string Segment LCD1 Xplained Pro'\0' Product revision ASCII string 02'\0' Product serial number ASCII string 1774020200000010'\0' Minimum voltage [mV] uint16_t 3000 Maximum voltage [mV] uint16_t 3600 Maximum current [mA] uint16_t 30 3.2 Xplained Pro Standard Connectors 3.2.1 Xplained Pro Standard Extension Headers All Xplained Pro kits have many dual row, 20-pin, 100-mil extension headers. The Xplained Pro MCU boards have male headers, while the Xplained Pro extensions have their female counterparts. The following table provides the pin description of all the connected pins. Info: Not all pins are always connected on all extension headers. The extension headers can be used to connect a variety of Xplained Pro extensions to Xplained Pro MCU boards or to access the pins of the target microcontroller on the Xplained Pro boards. (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 6 Xplained Pro Table 3-2. Xplained Pro Standard Extension Header Pin Number Pin Name Description 1 ID Pin to communicate with the ID chip on an extension board 2 GND Ground 3 ADC(+) Analog-to-Digital Converter; alternatively, a pin for the positive terminal of a differential ADC 4 ADC(-) Analog-to-Digital Converter; alternatively, a pin for the negative terminal of a differential ADC 5 GPIO1 General purpose I/O pin 6 GPIO2 General purpose I/O pin 7 PWM(+) Pulse width modulation; alternatively, a pin for the positive part of a differential PWM 8 PWM(-) Pulse width modulation; alternatively, a pin for the negative part of a differential PWM 9 IRQ/GPIO Interrupt request pin and/or general purpose I/O pin 10 SPI_SS_B/ GPIO Slave select pin for Serial Peripheral Interface (SPI) and/or general purpose I/O pin 11 I2C_SDA Data pin for I2C interface. Always connected, bus type 12 I2C_SCL Clock pin for I2C interface. Always connected, bus type 13 UART_RX Receiver pin of target device UART 14 UART_TX Transmitter pin of target device UART 15 SPI_SS_A Slave select for SPI. This pin should preferably not be connected to anything else 16 SPI_MOSI SPI master out, slave in pin. Always connected, bus type 17 SPI_MISO SPI master in, slave out pin. Always connected, bus type 18 SPI_SCK SPI clock pin. Always connected, bus type 19 GND Ground pin for extension boards 20 VCC Power pin for extension boards (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 7 Hardware Users Guide 4. Hardware Users Guide 4.1 Electrical Characteristics QT7 Xplained Pro can be connected to several Xplained Pro MCU boards and manually connected to other hardware. Xplained Pro MCU board(s) that does not have 3.3V as its primary target voltage will read all ID devices on connected extensions to check if they support the target voltage before enabling it to the extension headers. The table below shows the static content written in the ID chip. Table 4-1. QT7 Xplained Pro ID Chip Content Data field Content Product name QT7 Xplained Pro Minimum operation voltage 2.7V Maximum operation voltage 5.5V Maximum current 45mA See also Hardware Identification System. 4.2 Headers and Connectors 4.2.1 Extension Headers The QT7 Xplained Pro implements one Xplained Pro Standard Extension Header (see also section Xplained Pro Standard Extension Header) marked with EXT1 in silkscreen. This header make it possible to connect the board to an Xplained Pro MCU board with an MCU featuring a PTC module. The pinout definition for the extension header can be seen in the table below. Table 4-2. QT7 Xplained Pro Extension Header 1 Pin on EXT Function Description 1 ID Communication Line to ID Chip 2 GND Ground 3 Y-LINE-5 Y-line 5: Connected to Driven Shield 4 Y-LINE-1 Y-line 1: Connected to Button 1 5 LED0 Touch Status LED for Slider 6 LED6 Touch Status LED for Button 1 7 Y-LINE-2 Y-line 2: Connected to Slider 8 Y-LINE-3 Y-line 3: Connected to Slider 9 Y-LINE-4 Y-line 4: Connected to Slider 10 Y-LINE-0 Y-line 4: Connected to Button 2 11 LED7 Touch Status LED for Button 2 (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 8 Hardware Users Guide Pin on EXT Function Description 12 LED1 Touch Status LED for Slider 13 Not Connected 14 Not Connected 15 LED2 Touch Status LED for Slider 16 LED 3 Touch Status LED for Slider 17 LED 4 Touch Status LED for Slider 18 LED 5 Touch Status LED for Slider 19 GND Ground 20 VCC Target Supply Voltage 4.3 Peripherals 4.3.1 LEDs There are 8 LEDs, one LED for each key and 6 LEDs for sliders. All 8 LEDs are used to visualize touch on the QTouch technology slider and QTouch technology buttons. 4.3.2 Touch Sensors The QT7 Xplained Pro has one self-capacitance QTouch technology slider sensor and two selfcapacitance QTouch technology buttons. (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 9 Hardware Revision History and Known Issues 5. Hardware Revision History and Known Issues 5.1 Identifying Product ID and Revision The revision and product identifier of the Xplained Pro boards can be found in two ways: either through Atmel Studio or by looking at the sticker on the bottom side of the PCB. When an Xplained Pro MCU board is connected to a computer with Atmel Studio running, an information window with the serial number is shown. The first six digits of the serial number contain the product identifier and revision. Information about connected Xplained Pro extension boards is also shown in the window. The same information can be found on the sticker on the bottom side of the PCB. Most kits have stickers that have the identifier and revision printed in plain text as A09-nnnn/rr, where nnnn is the identifier and rr is the revision. Boards with limited space have a sticker with only a data matrix code, which contains a serial number string. The serial number string has the following format: "nnnnrrssssssssss" n = product identifier r = revision s = serial number The product identifier for the QT7 Xplained Pro is A09-3091. 5.2 Revision 3 Revision 3 of QT7 Xplained Pro (A09-3091/03) is the initial released version. There are no known issues. (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 10 Document Revision History 6. Document Revision History Doc. rev. Date Comment A 01/2018 Initial document release (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 11 The Microchip Web Site Microchip provides online support via our web site at http://www.microchip.com/. This web site is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the web site contains the following information: * * * Product Support - Data sheets and errata, application notes and sample programs, design resources, user's guides and hardware support documents, latest software releases and archived software General Technical Support - Frequently Asked Questions (FAQ), technical support requests, online discussion groups, Microchip consultant program member listing Business of Microchip - Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives Customer Change Notification Service Microchip's customer notification service helps keep customers current on Microchip products. Subscribers will receive e-mail notification whenever there are changes, updates, revisions or errata related to a specified product family or development tool of interest. To register, access the Microchip web site at http://www.microchip.com/. Under "Support", click on "Customer Change Notification" and follow the registration instructions. Customer Support Users of Microchip products can receive assistance through several channels: * * * * Distributor or Representative Local Sales Office Field Application Engineer (FAE) Technical Support Customers should contact their distributor, representative or Field Application Engineer (FAE) for support. Local sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document. Technical support is available through the web site at: http://www.microchip.com/support Microchip Devices Code Protection Feature Note the following details of the code protection feature on Microchip devices: * * * * Microchip products meet the specification contained in their particular Microchip Data Sheet. Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip's Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. Microchip is willing to work with the customer who is concerned about the integrity of their code. (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 12 * Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as "unbreakable." Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break Microchip's code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. Legal Notice Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer's risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless otherwise stated. Trademarks The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings, BitCloud, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, Heldo, JukeBlox, KeeLoq, KeeLoq logo, Kleer, LANCheck, LINK MD, maXStylus, maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, RightTouch, SAM-BA, SpyNIC, SST, SST Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLight Load, IntelliMOS, mTouch, Precision Edge, and Quiet-Wire are registered trademarks of Microchip Technology Incorporated in the U.S.A. Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BodyCom, chipKIT, chipKIT logo, CodeGuard, CryptoAuthentication, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, Mindi, MiWi, motorBench, MPASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PureSilicon, QMatrix, RightTouch logo, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense, ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries. All other trademarks mentioned herein are property of their respective companies. (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 13 (c) 2017, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. ISBN: 978-1-5224-2619-6 Quality Management System Certified by DNV ISO/TS 16949 Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California (R) (R) and India. The Company's quality system processes and procedures are for its PIC MCUs and dsPIC (R) DSCs, KEELOQ code hopping devices, Serial EEPROMs, microperipherals, nonvolatile memory and analog products. In addition, Microchip's quality system for the design and manufacture of development systems is ISO 9001:2000 certified. (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 14 Worldwide Sales and Service AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://www.microchip.com/ support Web Address: www.microchip.com Atlanta Duluth, GA Tel: 678-957-9614 Fax: 678-957-1455 Austin, TX Tel: 512-257-3370 Boston Westborough, MA Tel: 774-760-0087 Fax: 774-760-0088 Chicago Itasca, IL Tel: 630-285-0071 Fax: 630-285-0075 Dallas Addison, TX Tel: 972-818-7423 Fax: 972-818-2924 Detroit Novi, MI Tel: 248-848-4000 Houston, TX Tel: 281-894-5983 Indianapolis Noblesville, IN Tel: 317-773-8323 Fax: 317-773-5453 Tel: 317-536-2380 Los Angeles Mission Viejo, CA Tel: 949-462-9523 Fax: 949-462-9608 Tel: 951-273-7800 Raleigh, NC Tel: 919-844-7510 New York, NY Tel: 631-435-6000 San Jose, CA Tel: 408-735-9110 Tel: 408-436-4270 Canada - Toronto Tel: 905-695-1980 Fax: 905-695-2078 Australia - Sydney Tel: 61-2-9868-6733 China - Beijing Tel: 86-10-8569-7000 China - Chengdu Tel: 86-28-8665-5511 China - Chongqing Tel: 86-23-8980-9588 China - Dongguan Tel: 86-769-8702-9880 China - Guangzhou Tel: 86-20-8755-8029 China - Hangzhou Tel: 86-571-8792-8115 China - Hong Kong SAR Tel: 852-2943-5100 China - Nanjing Tel: 86-25-8473-2460 China - Qingdao Tel: 86-532-8502-7355 China - Shanghai Tel: 86-21-3326-8000 China - Shenyang Tel: 86-24-2334-2829 China - Shenzhen Tel: 86-755-8864-2200 China - Suzhou Tel: 86-186-6233-1526 China - Wuhan Tel: 86-27-5980-5300 China - Xian Tel: 86-29-8833-7252 China - Xiamen Tel: 86-592-2388138 China - Zhuhai Tel: 86-756-3210040 India - Bangalore Tel: 91-80-3090-4444 India - New Delhi Tel: 91-11-4160-8631 India - Pune Tel: 91-20-4121-0141 Japan - Osaka Tel: 81-6-6152-7160 Japan - Tokyo Tel: 81-3-6880- 3770 Korea - Daegu Tel: 82-53-744-4301 Korea - Seoul Tel: 82-2-554-7200 Malaysia - Kuala Lumpur Tel: 60-3-7651-7906 Malaysia - Penang Tel: 60-4-227-8870 Philippines - Manila Tel: 63-2-634-9065 Singapore Tel: 65-6334-8870 Taiwan - Hsin Chu Tel: 886-3-577-8366 Taiwan - Kaohsiung Tel: 886-7-213-7830 Taiwan - Taipei Tel: 886-2-2508-8600 Thailand - Bangkok Tel: 66-2-694-1351 Vietnam - Ho Chi Minh Tel: 84-28-5448-2100 Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 Finland - Espoo Tel: 358-9-4520-820 France - Paris Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79 Germany - Garching Tel: 49-8931-9700 Germany - Haan Tel: 49-2129-3766400 Germany - Heilbronn Tel: 49-7131-67-3636 Germany - Karlsruhe Tel: 49-721-625370 Germany - Munich Tel: 49-89-627-144-0 Fax: 49-89-627-144-44 Germany - Rosenheim Tel: 49-8031-354-560 Israel - Ra'anana Tel: 972-9-744-7705 Italy - Milan Tel: 39-0331-742611 Fax: 39-0331-466781 Italy - Padova Tel: 39-049-7625286 Netherlands - Drunen Tel: 31-416-690399 Fax: 31-416-690340 Norway - Trondheim Tel: 47-7289-7561 Poland - Warsaw Tel: 48-22-3325737 Romania - Bucharest Tel: 40-21-407-87-50 Spain - Madrid Tel: 34-91-708-08-90 Fax: 34-91-708-08-91 Sweden - Gothenberg Tel: 46-31-704-60-40 Sweden - Stockholm Tel: 46-8-5090-4654 UK - Wokingham Tel: 44-118-921-5800 Fax: 44-118-921-5820 (c) 2018 Microchip Technology Inc. User Guide DS50002725A-page 15