MTCH101 Evaluation Kit User's Guide

MTCH101 Evaluation Kit
User’s Guide
 2014 Microchip Technology Inc.
DS40001774A
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.
•
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.
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.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
FlashFlex, flexPWR, JukeBlox, KEELOQ, KEELOQ logo, Kleer,
LANCheck, MediaLB, MOST, MOST logo, MPLAB,
OptoLyzer, PIC, PICSTART, PIC32 logo, RightTouch, SpyNIC,
SST, SST Logo, SuperFlash and UNI/O are registered
trademarks of Microchip Technology Incorporated in the
U.S.A. and other countries.
The Embedded Control Solutions Company and mTouch are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
Analog-for-the-Digital Age, BodyCom, chipKIT, chipKIT logo,
CodeGuard, dsPICDEM, dsPICDEM.net, ECAN, In-Circuit
Serial Programming, ICSP, Inter-Chip Connectivity, KleerNet,
KleerNet logo, MiWi, MPASM, MPF, MPLAB Certified logo,
MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code
Generation, PICDEM, PICDEM.net, PICkit, PICtail,
RightTouch logo, REAL ICE, SQI, Serial Quad I/O, 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 trademarks 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.
© 2014, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
ISBN: 978-1-63276-732-5
QUALITY MANAGEMENT SYSTEM
CERTIFIED BY DNV
== ISO/TS 16949 ==
DS40001774A-page 2
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
and India. The Company’s quality system processes and procedures
are for its PIC® MCUs and dsPIC® 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.
 2014 Microchip Technology Inc.
MTCH101 EVALUATION KIT USER’S GUIDE
Table of Contents
Preface ........................................................................................................................... 4
Introduction............................................................................................................ 4
Document Layout .................................................................................................. 4
Conventions Used in this Guide ............................................................................ 5
Recommended Reading........................................................................................ 6
The Microchip Web Site ........................................................................................ 7
Development Systems Customer Change Notification Service ............................ 7
Customer Support ................................................................................................. 8
Revision History .................................................................................................... 8
Chapter 1. MTCH101 Evaluation Kit Overview
1.1 Introduction ..................................................................................................... 9
1.1.1 Kit Contents ................................................................................................. 9
1.2 Hardware Setup ............................................................................................. 9
1.2.1 MTCH101 Proximity Sensor Board ........................................................... 10
1.2.2 MTCH101 Controller Board ....................................................................... 10
1.2.2.1 Power-up ................................................................................... 10
1.2.2.2 Touch Sensitivity Adjustment .................................................... 11
1.2.2.3 Power Consumption Management ............................................ 11
1.2.2.4 Input Interface ............................................................................ 11
1.2.2.5 Event Output Interface ............................................................... 11
Appendix A. MTCH101 Controller Board Schematic ................................................ 12
Appendix B. MTCH101 Controller Board Layout ..................................................... 13
Appendix C. MTCH101 Sensor Board Layout .......................................................... 14
Worldwide Sales and Service .................................................................................... 15
 2014 Microchip Technology Inc.
DS40001774A-page 3
MTCH101 EVALUATION KIT USER’S GUIDE
Preface
NOTICE TO CUSTOMERS
All documentation becomes dated, and this manual is no exception. Microchip tools and
documentation are constantly evolving to meet customer needs, so some actual dialogs
and/or tool descriptions may differ from those in this document. Please refer to our web site
(www.microchip.com) to obtain the latest documentation available.
Documents are identified with a “DS” number. This number is located on the bottom of each
page, in front of the page number. The numbering convention for the DS number is
“DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the
document.
For the most up-to-date information on development tools, see the MPLAB® IDE online help.
Select the Help menu, and then Topics to open a list of available online help files.
INTRODUCTION
This chapter contains general information that will be useful to know before using the
MTCH101 Evaluation Kit User’s Guide. Items discussed in this chapter include:
•
•
•
•
•
•
•
Document Layout
Conventions Used in this Guide
Recommended Reading
The Microchip Web Site
Development Systems Customer Change Notification Service
Customer Support
Revision History
DOCUMENT LAYOUT
This document describes how to use the MTCH101 Evaluation Kit User’s Guide. The
document is organized as follows:
•
•
•
•
DS40001774A-page 4
Chapter 1. “MTCH101 Evaluation Kit Overview”
Appendix A. “MTCH101 Controller Board Schematic”
Appendix B. “MTCH101 Controller Board Layout ”
Appendix C. “MTCH101 Sensor Board Layout ”
 2014 Microchip Technology Inc.
Preface
CONVENTIONS USED IN THIS GUIDE
This manual uses the following documentation conventions:
DOCUMENTATION CONVENTIONS
Description
Arial font:
Italic characters
Initial caps
Quotes
Underlined, italic text with
right angle bracket
Bold characters
N‘Rnnnn
Text in angle brackets < >
Courier New font:
Plain Courier New
Represents
Referenced books
Emphasized text
A window
A dialog
A menu selection
A field name in a window or
dialog
A menu path
MPLAB® IDE User’s Guide
...is the only compiler...
the Output window
the Settings dialog
select Enable Programmer
“Save project before build”
A dialog button
A tab
A number in verilog format,
where N is the total number of
digits, R is the radix and n is a
digit.
A key on the keyboard
Click OK
Click the Power tab
4‘b0010, 2‘hF1
Italic Courier New
Sample source code
Filenames
File paths
Keywords
Command-line options
Bit values
Constants
A variable argument
Square brackets [ ]
Optional arguments
Curly brackets and pipe
character: { | }
Ellipses...
Choice of mutually exclusive
arguments; an OR selection
Replaces repeated text
Represents code supplied by
user
 2014 Microchip Technology Inc.
Examples
File>Save
Press <Enter>, <F1>
#define START
autoexec.bat
c:\mcc18\h
_asm, _endasm, static
-Opa+, -Opa0, 1
0xFF, ‘A’
file.o, where file can be
any valid filename
mcc18 [options] file
[options]
errorlevel {0|1}
var_name [,
var_name...]
void main (void)
{ ...
}
DS40001774A-page 5
MTCH101 Evaluation Kit User’s Guide
RECOMMENDED READING
This user’s guide describes how to use Microchip’s MTCH101 Evaluation Kit. Other
useful documents are listed below. The following Microchip documents are available
and recommended as supplemental reference resources.
http://www.microchip.com
“MTCH101 Single-Channel Proximity Detector” Data Sheet (DS40001664)
This data sheet provides detailed information regarding the MTCH101.
DS40001774A-page 6
 2014 Microchip Technology Inc.
Preface
THE MICROCHIP WEB SITE
Microchip provides online support via our web site at 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 (FAQs), 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
DEVELOPMENT SYSTEMS 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 www.microchip.com, click on Customer
Change Notification and follow the registration instructions.
The Development Systems product group categories are:
• Compilers – The latest information on Microchip C compilers, assemblers, linkers
and other language tools. These include all MPLAB C compilers; all MPLAB
assemblers (including MPASM™ assembler); all MPLAB linkers (including
MPLINK™ object linker); and all MPLAB librarians (including MPLIB™ object
librarian).
• Emulators – The latest information on Microchip in-circuit emulators.This
includes the MPLAB REAL ICE™ and MPLAB ICE 2000 in-circuit emulators.
• In-Circuit Debuggers – The latest information on the Microchip in-circuit
debuggers. This includes MPLAB ICD 3 in-circuit debuggers and PICkit™ 3
debug express.
• MPLAB® IDE – The latest information on Microchip MPLAB IDE, the Windows®
Integrated Development Environment for development systems tools. This list is
focused on the MPLAB IDE, MPLAB IDE Project Manager, MPLAB Editor and
MPLAB SIM simulator, as well as general editing and debugging features.
• Programmers – The latest information on Microchip programmers. These include
production programmers such as MPLAB REAL ICE in-circuit emulator, MPLAB
ICD 3 in-circuit debugger and MPLAB PM3 device programmers. Also included
are nonproduction development programmers such as PICSTART® Plus and
PICkit 2 and 3.
 2014 Microchip Technology Inc.
DS40001774A-page 7
MTCH101 Evaluation Kit User’s Guide
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.
REVISION HISTORY
Revision A (October 2014)
Initial release of this document.
DS40001774A-page 8
 2014 Microchip Technology Inc.
MTCH101 EVALUATION KIT USER’S GUIDE
Chapter 1. MTCH101 Evaluation Kit Overview
1.1
INTRODUCTION
The MTCH101 Evaluation Kit is one of the quickest ways to implement and start
evaluating Microchip’s mTouch™ technology with minimum effort. The MTCH101
controller and the evaluation board feature a single-channel input which handles one
Capacitive Touch Input sensor. The controller and the board can be used as a
companion chip reporting back to a host system, although the evaluation board
functions in complete autonomy and provides Touch feedback using an LED.
1.1.1
Kit Contents
• MTCH101 Controller Board
• MTCH101 Proximity Sensor Board
• Mini to USB-B Cable
1.2
HARDWARE SETUP
The MTCH101 Evaluation Kit includes the controller board onto which the MTCH101
chip is implemented, as well as a Proximity Sensor daughter board. The kit can also
handle sensors to be used as buttons.
FIGURE 1-1:
 2014 Microchip Technology Inc.
MTCH101 EVALUATION KIT BOARDS
DS40001774A-page 9
MTCH101 Evaluation Kit User’s Guide
1.2.1
MTCH101 Proximity Sensor Board
The Proximity Sensor board needs to be connected to the main controller board in
order to get a fully functional Touch Input system.
FIGURE 1-2:
MTCH101 PROXIMITY SENSOR BOARD
Users can connect their own sensor to the main board by using pin 2 of the header
connector located to the right of the MTCH101 chip, labeled U1 on the board. The
header connector also provides an optional Ground output on pin 4.
1.2.2
MTCH101 Controller Board
FIGURE 1-3:
MTCH101 CONTROLLER BOARD
Figure 1-3 shows the Controller board with the MTCH101 chip (U1 Chip on board). It
is responsible for the touch event detection, its processing, and its output by lighting
the red LED (D1). It expects a capacitive touch sensor on the female 12-pin header
connector to the right of the chip. The Proximity sensor board included in the package
can be connected or the user can connect one sensor to pin 2 of the 12-pin header
connector.
1.2.2.1
POWER-UP
To the left of the U1 chip is the mini-USB connector (J1) used to power the controller
board. This connector only provides voltage (5V) to the board. It is not used for any
communications.
DS40001774A-page 10
 2014 Microchip Technology Inc.
MTCH101 Evaluation Kit Overview
1.2.2.2
TOUCH SENSITIVITY ADJUSTMENT
At the top of the controller board, a potentiometer (MTSA Label) allows alteration to the
sensitivity of the Touch or Proximity sensor. This directly affects the voltage of MTSA
input of the MTCH101 controller. For further information on Sensitivity Adjustment,
please refer to the MTCH101 data sheet (DS40001664).
1.2.2.3
POWER CONSUMPTION MANAGEMENT
The MTCH101 controller provides a way to manage two working modes with different
power consumption options for the system. These modes are called Normal and
Low-Power. They are selected by input pin MTPM of the MTCH101 controller.
When powered, by default the board sets the controller to work in Normal mode by
applying a high level to the MTPM pin. The user can select the Low-Power mode by
shorting the two headers labeled ‘MTPM Low’ at the bottom-right part of the controller
board. Disconnecting the headers returns the board to a ‘Normal’ working mode and
consumption.
1.2.2.4
INPUT INTERFACE
The MTCH101 controller board uses pin 2 of the 12-pin header connector to detect
Touch or Proximity events from a sensor. This input is connected to the MTI pin of the
MTCH101 controller through a 4.7K resistor. This allows a sensor to be directly
connected to the board.
1.2.2.5
EVENT OUTPUT INTERFACE
The MTCH101 controller uses its MTO pin to transmit a Touch or Proximity event to a
host. The MTCH101 Controller board uses this output to light up the red LED,
whenever a Touch or Proximity event is detected.
 2014 Microchip Technology Inc.
DS40001774A-page 11
DS40001774A-page 12
D
C
1
GND
VDD
GND
MTI
GND
5
1
2
3
4
C1
Cap
0.1uF
VDD
440247-2
SHLD
VBUS
DD+
GND
J1
7
8
9
10
11
12
Header 6X2A
1
2
3
4
5
6
P1
C2
Cap
1uF
2
2
GND
VDD
2
5
MTCH101
VSS
VDD
U1
MTI
MTSA
MTO
MTPM
1
3
4
6
2
1
3
4.7K
R4
4.7K
R3
MTCH101 Eval Board
3
SW-SPDT
S1
270
R5
10K
R2
4.7K
R1
Engineer
Xiang Gao
Date:
11-26-2013
File: 03-10219r1.SchDoc
Size
A
Title:
3
LED1
D1
Number
Revision
4
Sheet 1 of 1
Drawn By Xiang Gao
03-10219
GND
VDD
GND
R6
Res Tap
500K
VDD
MTI
4
1
D
C
B
A
FIGURE A-1:
B
A
1
MTCH101 EVALUATION KIT USER’S GUIDE
Appendix A. MTCH101 Controller Board Schematic
MTCH101 CONTROLLER BOARD SCHEMATIC
 2014 Microchip Technology Inc.
MTCH101 EVALUATION KIT USER’S GUIDE
Appendix B. MTCH101 Controller Board Layout
FIGURE B-1:
 2014 Microchip Technology Inc.
MTCH101 CONTROLLER BOARD LAYOUT
DS40001774A-page 13
MTCH101 EVALUATION KIT USER’S GUIDE
Appendix C. MTCH101 Sensor Board Layout
FIGURE C-1:
DS40001774A-page 14
MTCH101 SENSOR BOARD LAYOUT
 2014 Microchip Technology Inc.
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
Asia Pacific Office
Suites 3707-14, 37th Floor
Tower 6, The Gateway
Harbour City, Kowloon
Hong Kong
Tel: 852-2943-5100
Fax: 852-2401-3431
India - Bangalore
Tel: 91-80-3090-4444
Fax: 91-80-3090-4123
Austria - Wels
Tel: 43-7242-2244-39
Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828
Fax: 45-4485-2829
Australia - Sydney
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
Atlanta
Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455
China - Beijing
Tel: 86-10-8569-7000
Fax: 86-10-8528-2104
Austin, TX
Tel: 512-257-3370
China - Chengdu
Tel: 86-28-8665-5511
Fax: 86-28-8665-7889
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075
Cleveland
Independence, OH
Tel: 216-447-0464
Fax: 216-447-0643
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
Los Angeles
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
New York, NY
Tel: 631-435-6000
San Jose, CA
Tel: 408-735-9110
Canada - Toronto
Tel: 905-673-0699
Fax: 905-673-6509
 2014 Microchip Technology Inc.
China - Chongqing
Tel: 86-23-8980-9588
Fax: 86-23-8980-9500
China - Hangzhou
Tel: 86-571-8792-8115
Fax: 86-571-8792-8116
China - Hong Kong SAR
Tel: 852-2943-5100
Fax: 852-2401-3431
China - Nanjing
Tel: 86-25-8473-2460
Fax: 86-25-8473-2470
China - Qingdao
Tel: 86-532-8502-7355
Fax: 86-532-8502-7205
China - Shanghai
Tel: 86-21-5407-5533
Fax: 86-21-5407-5066
China - Shenyang
Tel: 86-24-2334-2829
Fax: 86-24-2334-2393
China - Shenzhen
Tel: 86-755-8864-2200
Fax: 86-755-8203-1760
China - Wuhan
Tel: 86-27-5980-5300
Fax: 86-27-5980-5118
China - Xian
Tel: 86-29-8833-7252
Fax: 86-29-8833-7256
India - New Delhi
Tel: 91-11-4160-8631
Fax: 91-11-4160-8632
India - Pune
Tel: 91-20-3019-1500
Japan - Osaka
Tel: 81-6-6152-7160
Fax: 81-6-6152-9310
Japan - Tokyo
Tel: 81-3-6880- 3770
Fax: 81-3-6880-3771
Korea - Daegu
Tel: 82-53-744-4301
Fax: 82-53-744-4302
Korea - Seoul
Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934
France - Paris
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Germany - Dusseldorf
Tel: 49-2129-3766400
Germany - Munich
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Germany - Pforzheim
Tel: 49-7231-424750
Italy - Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Italy - Venice
Tel: 39-049-7625286
Malaysia - Kuala Lumpur
Tel: 60-3-6201-9857
Fax: 60-3-6201-9859
Netherlands - Drunen
Tel: 31-416-690399
Fax: 31-416-690340
Malaysia - Penang
Tel: 60-4-227-8870
Fax: 60-4-227-4068
Poland - Warsaw
Tel: 48-22-3325737
Philippines - Manila
Tel: 63-2-634-9065
Fax: 63-2-634-9069
Singapore
Tel: 65-6334-8870
Fax: 65-6334-8850
Taiwan - Hsin Chu
Tel: 886-3-5778-366
Fax: 886-3-5770-955
Spain - Madrid
Tel: 34-91-708-08-90
Fax: 34-91-708-08-91
Sweden - Stockholm
Tel: 46-8-5090-4654
UK - Wokingham
Tel: 44-118-921-5800
Fax: 44-118-921-5820
Taiwan - Kaohsiung
Tel: 886-7-213-7830
Taiwan - Taipei
Tel: 886-2-2508-8600
Fax: 886-2-2508-0102
Thailand - Bangkok
Tel: 66-2-694-1351
Fax: 66-2-694-1350
China - Xiamen
Tel: 86-592-2388138
Fax: 86-592-2388130
China - Zhuhai
Tel: 86-756-3210040
Fax: 86-756-3210049
03/25/14
DS40001774A-page 15