background image

CAP1xxx Evaluation Board User’s Guide

 2013 Microchip Technology Inc.

DS50002221A-page 45

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, implic-
itly or otherwise, under any Microchip intellectual property rights.

Trademarks

The Microchip name and logo, the Microchip logo, dsPIC, FlashFlex, K

EE

L

OQ

, K

EE

L

OQ

 logo, MPLAB, PIC, PICmicro, PICSTART, PIC

32

 

logo, rfPIC, SST, SST Logo, SuperFlash and UNI/O are registered trademarks of Microchip Technology Incorporated in the U.S.A. and 
other countries.

FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor, MTP, SEEVAL and The Embedded Control Solutions Company are 
registered trademarks of Microchip Technology Incorporated in the U.S.A.

Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.

Analog-for-the-Digital Age, Application Maestro, BodyCom, chipKIT, chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net, 
dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP, Mindi, MiWi, MPASM, 
MPF, MPLAB Certified logo, MPLIB, MPLINK, mTouch, Omniscient Code Generation, PICC, PICC-18, PICDEM, PICDEM.net, PICkit, 
PICtail, REAL ICE, rfLAB, Select Mode, SQI, Serial Quad I/O, Total Endurance, TSHARC, UniWinDriver, WiperLock, ZENA and Z-
Scale 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.

GestIC and ULPP are registered trademarks of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip 
Technology Inc., in other countries. 

A more complete list of registered trademarks and common law trademarks owned by Standard Microsystems Corporation (“SMSC”) 
is available at: www.smsc.com. The absence of a trademark (name, logo, etc.) from the list does not constitute a waiver of any 
intellectual property rights that SMSC has established in any of its trademarks.

All other trademarks mentioned herein are property of their respective companies.

© 2013, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

ISBN: 9781620776230

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, K

EE

L

OQ

®

 

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.

QUALITY MANAGEMENT  SYSTEM 

CERTIFIED BY DNV 

== 

ISO/TS 16949

 

==

 

Summary of Contents for CAP1 Series

Page 1: ...2013 Microchip Technology Inc DS50002221A page 1 CAP1xxx Evaluation Board User s Guide...

Page 2: ...l featured version of the CAP12xx family The other devices in this family are the CAP1296 CAP1293 CAP1208 CAP1206 and CAP1203 1 1 References Readers should be familiar with or have access to the datas...

Page 3: ...002221A page 3 Figure 1 1 CAP1xxx Evaluation System CAP1188 Device Capacitive Sensors LED Drivers PIC16F1454 CAP11xx Evaluation Board I2C PC with CAP1xxx GUI USB CAP1298 Device Capacitive Sensors LED...

Page 4: ...ED drivers contain additional features such as slider support which will be highlighted in their own evaluation board The CAP1298 device was chosen for the evaluation board because it is the superset...

Page 5: ...e 1 2 1 2 2 Major Components on the Evaluation Board Figure 1 3 shows the component side of the CAP1188 evaluation board and highlights some of the important components Table 1 1 CAP11xx Device Differ...

Page 6: ...013 Microchip Technology Inc Figure 1 3 Evaluation Board Component Side View PIC16F1455 USB 5V to 3 3V Regulator PIC16F1455 Programming Header CAP1188 8 pin Communication Header PIC16F1459 USB PIC16F1...

Page 7: ...he CAP device the CAP1xxx GUI must be installed on a Windows based computer with a USB port 2 1 GUI Software Installation Begin by inserting the CD provided with the evaluation board into the computer...

Page 8: ...s must be installed in the default locations The default location for the software files is C Program Files Microchip Microchip CAP1xxx GUI and for the LabVIEWTM software is C Program Files National I...

Page 9: ...ons to complete the installation During installation shortcuts will be created on the Windows Start Menu and on the desktop When installation is complete the program will automatically run and begin l...

Page 10: ...the USB Bridge driver has not previously been installed on the selected USB port the Find New Hardware wizard will pop up on the PC s screen Follow the on screen instructions to complete the installat...

Page 11: ...CAP1xxx Evaluation Board User s Guide 2013 Microchip Technology Inc DS50002221A page 11 Figure 2 6 USB Bridge Driver Installation Step 2 Figure 2 7 USB Bridge Driver Installation Step 3...

Page 12: ...CAP1xxx Evaluation Board User s Guide DS50002221A page 12 2013 Microchip Technology Inc Figure 2 8 USB Bridge Driver Installation Step 4...

Page 13: ...Quick Start Window and how to use them refer to the CAP1xxx Quick Start Guide provided with the CAP1xxx CD 4 Advanced Tab 4 1 Default Conditions Communications begin as soon as the CAP1xxx GUI softwar...

Page 14: ...ndicator to the left of the value in the cell shown circled in Figure 4 2 4 2 2 Keyboard Shortcuts Some GUI controls have keyboard shortcuts as shown in Table 4 1 4 3 Device Information and Datasheet...

Page 15: ...Register FDh and Revision Register FFh on the device Clicking the Datasheet button opens a browser window that will display a PDF file of the datasheet of the connected device 4 4 Save Load Tab The S...

Page 16: ...data is saved in two columns separated by tabs The first column is the register s address and the second column is the register s value 2 If a file with the same name already exists the file will be...

Page 17: ...ommunications Status and Control Panel Along the right side of the GUI is the control panel shown in Figure 4 5 This is the Communications Status and Control Panel which controls and displays the stat...

Page 18: ...e INT indicator on the Status and Control Panel or the Auto Clear INT button This is shown in Figure 4 5 at the top of the red highlighted box 4 5 3 Deep Sleep Indicator The Deep Sleep indicator locat...

Page 19: ...to the button The Buttons QuickLoad option will set up the CAP1xxx evaluation board for each sensor to behave as normal touch buttons Due to the thin front cover of the evaluation boards this means t...

Page 20: ...f the red highlighted panel shown in Figure 4 5 indicates the 2C address of the device 4 6 Delta Counts Tab The Delta Counts tab on the Main window and in the Quick Start window shown in Figure 4 8 di...

Page 21: ...lay of thin blue bars that indicate the maximum delta count for each channel These bars display the maximum delta count until the Max Enable switch is set to the lower Clear position Settings that con...

Page 22: ...ify this number The Sensitivity drop down list allows update of the sensitivity multiplier which controls sensitivity of a touch detection This value can also be updated using the Sensitivity bar in t...

Page 23: ...Numbering Systems Views 4 9 Sensitivity Control Panel The Sensitivity Control Panel provides controls for capacitive sensor input sensitivity and on demand calibration as shown in Figure 4 11 The Sen...

Page 24: ...vice is in the Fully Active state To quickly set all Active tab sensor input thresholds to the same value ensure the Sensor 1 Updates All switch is in the up position enter the desired value into the...

Page 25: ...page 25 The Standby Threshold defines the delta count threshold level for all sensor inputs when the device is in the Standby state There is also a Standby Sensitivity bar that affects the Standby Sen...

Page 26: ...Inc 4 10 3 Noise Tab The Noise tab of the Main window s Thresholds section shown in Figure 4 14 contains the threshold used to detect noise The Sensor Noise Thresholds are a percentage of the Sensor T...

Page 27: ...ion shown in Figure 4 15 The Calibration samples time drop down menu allows selection of the update time and number of samples related to the recalibration routine Negative delta count allows selectio...

Page 28: ...indicators in the General Status section may turn blue or a lighter color depending on the PC settings when the criteria for the indicator is met If the Auto Clear INT button on the Panel see Section...

Page 29: ...k anywhere on the GUI to display the message shown in Figure 4 17 There is also a timeout that will display the message shown in Figure 4 18 4 12 2 Configuration and Configuration 2 The Configuration...

Page 30: ...ate The Standby Tab controls affect the Standby Configuration Register 41h which controls averaging and cycle time for sensor inputs that are active in the Standby state Controls in the Sensor Configu...

Page 31: ...mine how simultaneous touches to multiple buttons are handled Remember to check the Multiple Block Enable box to enable this feature In the actual device the enable bit must also be set in the registe...

Page 32: ...2 sections individual sensor inputs see Section 4 1 and all sensor inputs see Section 5 1 5 1 All Sensor Input Settings The All Sensor Settings display shown in Figure 5 2 has the controls for all th...

Page 33: ...ors are scanned in Standby mode For the CAP12xx devices this also determines which sensors will be scanned using the Combo Gain settings when in Combo mode The Signal Guard Enable column is only avail...

Page 34: ...sor Thresholds on the Active tab 5 3 Extended Calibration Ranges When using a CAP129x device the Sensor Control window will display an Extended Calibration section shown in Figure 5 1 for choosing the...

Page 35: ...n shown in Figure 5 1 for enabling a sensor to have a delay before registering a press This allows systems to force the user to press for an extended period to verify that a critical action was meant...

Page 36: ...n by the PIC16F145x microcontroller an EVB using the CAP1188 device The LED Control Panel has 3 sections individual see Section 6 1 all see Section 6 3 LED behavior configuration see Section 6 4 and g...

Page 37: ...ED is disabled when the LED is linked to a sensor If the Auto Clear INT button on the Panel see Section 4 5 Communications Status and Control Panel is enabled dark gray the LED Status indicators are c...

Page 38: ...c 6 3 All LED Settings The All LED Settings display shown in Figure 6 3 displays a view of the LED controls for all the LEDs A check mark represents a 1 in logic Note This control panel does not inclu...

Page 39: ...DS50002221A page 39 6 4 LED Behavior Configuration Control Panel The LED Behavior Configuration Control Panel shown in Figure 6 4 provides controls for the 4 different types of behaviors available to...

Page 40: ...isters 84h 86h Controls in the LED Behavior Configuration section affect the LED Configuration Register 88h The LED Pulse1 Response Graph reflects the settings selected for the Pulse 1 behavior Maximu...

Page 41: ...nsor History Data Path box To change this Manually type in a path or select the folder icon to browse to the desired folder and file The file should be named with the extension csv Once a file name ha...

Page 42: ...CAP1xxx Evaluation Board User s Guide DS50002221A page 42 2013 Microchip Technology Inc The data is saved in a csv format as shown in Figure 7 2 Figure 7 2 Sample Sensor_History csv File...

Page 43: ...I Control Panels Don t Match Registers It s possible that the GUI control panels can get out of sync with the actual register values when disconnecting and reconnecting the CAP1xxx evaluation board If...

Page 44: ...Microchip Technology Inc 9 Revision History Table 9 1 Revision History REVISION LEVEL DATE SECTION FIGURE ENTRY CORRECTION CAP1xxx Evaluation Board User s Guide Revision A replaces the previous SMSC d...

Page 45: ...s are conveyed implic itly or otherwise under any Microchip intellectual property rights Trademarks The Microchip name and logo the Microchip logo dsPIC FlashFlex KEELOQ KEELOQ logo MPLAB PIC PICmicro...

Page 46: ...ax 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 China Xiamen Tel 86 5...

Reviews: