Note the following details of the code protection feature on Microchip devices:
YSTEM
CERTIFIED BY DNV
== ISO/TS 16949==
•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, K
PICSTART, PIC
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.
All other trademarks mentioned herein are property of their
respective companies.
DS40001721A-page 2 2013 Microchip Technology Inc.
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
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.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
Object of Declaration: MGC3130 Hillstar Development Kit User’s Guide
D.4 Verify Communication .................................................................................. 48
Appendix E. Glossary
Worldwide Sales and Service .....................................................................................50
DS40001721A-page 6 2013 Microchip Technology Inc.
MGC3130 HILLSTAR DEVELOPMENT
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
Select the Help menu, and then Topics to open a list of available online help files.
INTRODUCTION
®
IDE online help.
This chapter contains general information that will be useful to know before using the
Hillstar Development Kit. Items discussed in this chapter include:
• Document Layout
• Conventions Used in this Guide
• Warranty Registration
• Recommended Reading
• The Microchip Web Site
• Development Systems Customer Change Notification Service
• Customer Support
• Revision History
DOCUMENT LAYOUT
This document describes the installation and use of the MGC3130 Hillstar
Development Kit. The document is organized as follows:
Choice of mutually exclusive
arguments; an OR selection
Represents code supplied by
user
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options]
errorlevel {0|1}
var_name...]
void main (void)
{ ...
}
®
IDE User’s Guide
DS40001721A-page 8 2013 Microchip Technology Inc.
WARRANTY REGISTRATION
Please complete the enclosed Warranty Registration Card and mail it promptly.
Sending in the Warranty Registration Card entitles users to receive new product
updates. Interim software releases are available at the Microchip web site.
RECOMMENDED READING
This user's guide describes how to use the Hillstar Development Kit. Other useful
documents are listed below. The following Microchip documents are available and
recommended as supplemental reference resources.
•“MGC3130 GestIC
(DS40001716). This document describes the MGC3130 system characteristic
parameters and the design process. It enables the user to generate a good
electrode design and to parameterize the full GestIC system.
• “MGC3130 GestIC
This document is the interface description of the MGC3130’s GestIC Library. It
outlines the function of the Library’s message interface, and contains the
complete message reference to control and operate the MGC3130 system.
• “MGC3130 Single-Zone 3D Gesture Controller Data Sheet” (DS40001667).
Consult this document for information regarding the MGC3130 3D Tracking and
Gesture Controller.
• “MGC3130 Aurea Graphical User Interface User’s Guide” (DS40001681). This
document describes how to use the MGC3130 Aurea Graphical User Interface.
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
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
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
PICkit 2 and 3.
®
IDE – The latest information on Microchip MPLAB IDE, the Windows®
®
C compilers; all MPLAB
®
Plus and
DS40001721A-page 10 2013 Microchip Technology Inc.
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:
DS40001721A-page 12 2013 Microchip Technology Inc.
MGC3130 HILLSTAR DEVELOPMENT
Chapter 1. Overview
1.1INTRODUCTION
The MGC3130 is the first product based on Microchip’s GestIC® technology. It is
developed as a mixed-signal controller. The MGC3130 has one transmit and five very
sensitive receive channels that are capable to detect changes of a transmitted electrical
field (E-field) corresponding to capacitive changes in the femtofarad (1 fF = 10
range.
In order to transmit and receive an electrical field, electrodes have to be connected to
the transmitting and receiving channels of the MGC3130 controller. The spatial
arrangement of the electrodes allows the chip to determine the center of gravity of the
electric field distortion, and thus position tracking and gesture recognition of a user’s
hand in the detection space.
1.2HILLSTAR CONCEPT AND DELIVERABLES
The Hillstar Development Kit is designed to support an easy integration of Microchip’s
MGC3130 3D Tracking and Gesture Controller into customer’s applications. It provides
MGC3130 system setup, related hardware and software references.
With the MGC3130 Software Package, including Aurea Graphical User Interface and
GestIC Library, the MGC3130 Software Development Kit (SDK) and PIC18 Host
Reference code, design-in is easy in five steps:
1. Feature Definition
2. Electrode Design
3. MGC3130 Parameterization
4. Host Application Programming
5. Verification
Hillstar hardware builds a complete MGC3130 reference system consisting of three
individual PCBs:
• MGC3130 Unit
2
•I
C™ to USB Bridge
• Reference Electrode with a 95x60 mm sensitive area
It can be plugged to a PC via USB cable and used for evaluation of MGC3130 chip and
GestIC technology. During the customer’s design-in process the individual boards can
be combined according to the customers need.
Three examples are given below:
• Combine MGC3130 Unit and I
electrodes
•Use I
• Combine MGC3130 Unit and Electrodes to develop gesture-driven applications
2
C to USB Bridge to parameterize and debug the MGC3130 application
The Hillstar Development Kit provides an artificial test hand, further called hand brick,
helping to stimulate the human hand operating the GestIC application. The hand brick
has to be used during the design-in process to parametrize and evaluate customer’s
applications. The hand brick’s surface is conductive and connected to GND via cable
in order to reproduce the grounding conditions of the human body.
1.3HILLSTAR DEVELOPMENT KIT PACKAGE CONTENT
The Hillstar Development Kit package content is listed below:
• MGC3130 Module
2C
•I
to USB Bridge Module
• 4-layer reference electrode (95x60 mm sensitive area)
• ‘Hand brick’ set (self-assembly, four foam blocks, one copper foil)
• USB Cable for PC connection
FIGURE 1-1:HILLSTAR DEVELOPMENT KIT
The ‘hand brick’ set is used during the design-in process for sensor calibration and
performance evaluation purposes. For usage and assembly information, refer to
Appendix C. “Parameterization Support”.
DS40001721A-page 14 2013 Microchip Technology Inc.
1.4HILLSTAR DEVELOPMENT KIT REFERENCE ELECTRODES
140x90
100x50
95x60
80x80
50x30
30x30
The Hillstar development kit includes a collection of layout references (Gerber files) for
electrode designs and ready-to-use sensor modules with MGC3130 backside
assembly.
The following electrode designs are included:
• 140x90 mm sensitive area – outline 168 x 119 mm
• 95x60 mm sensitive area – outline of 120 x 85 mm
• 80x80 mm sensitive area – outline 104 x 104 mm
• 100x50 mm sensitive area – outline 128 x 72 mm
• 50x30 mm sensitive area – outline 63 x 47 mm
• 30x30 mm sensitive area – outline 49 x 49 mm
Sensor Modules
• 95x60 mm sensitive area – outline of 120 x 85 mm
• 30x30 mm sensitive area – outline 49 x 52 mm
Overview
FIGURE 1-2:
HILLSTAR DEVELOPMENT KIT REFERENCE
ELECTRODES
Dimensions of the designs are given in Table 1-1 and Figure 1-3 below.
Note 1: These dimensions are also valid for 95x60 mm sensor module.
2: These dimensions are also valid for 30x30 mm sensor module except the B dimension which is equal to
52 and Tx electrode which is solid instead of cross-hatched.
3%3%5%5%5%5%
50 %
20 %
50%
20%
(1)
80x80 mm100x50 mm50x30 mm30x30 mm
50%
20%
50 %
20 %
50 %
20 %
50 %
20 %
(2)
DS40001721A-page 16 2013 Microchip Technology Inc.
FIGURE 1-3:ELECTRODE DIMENSIONS
D
C
B
A
E
F
G
H
F
Tx
Rx
Overview
The Gerber data of all electrode reference designs are included in the MGC3130
Hillstar Hardware Reference package and can be downloaded from Microchip’s web
site www.microchip.com/GestICGettingStarted.
1.5MGC3130 SOFTWARE PACKAGE – AUREA GUI AND GestIC LIBRARY
The MGC3130 Software Package contains all relevant system software and
documentation. Hillstar Development Kit is supported by MGC3130 Software Package
0.4 and following versions.
The package contains:
• Aurea PC software
• GestIC Library binary file
• GestIC Parameterization files
• Windows CDC driver
• Documentation
The latest MGC3130 software package can be downloaded from Microchip’s web site
www.microchip.com/GestICGettingStarted.
1.6MGC3130 SOFTWARE DEVELOPMENT KIT (SDK)
The MGC3130 Software Development Kit (SDK) supports the integration of MGC3130
into a software environment. Thus, it includes a C reference code for GestIC API, a
precompiled library for Windows operating systems and a demo application using the
GestIC API interface.
Hillstar Development Kit is supported by MGC3130 SDK 0.4 and the following versions.
The latest SDK can be downloaded from Microchip’s web site
DS40001721A-page 18 2013 Microchip Technology Inc.
Hillstar Development Kit can be used as a stand-alone GestIC system and evaluated
in conjunction with the Aurea PC software. This section describes how to get started.
2.1PREREQUISITES
The following prerequisites have to be fulfilled:
• PC with Windows
and minimum screen resolution of 1024x768
• Hillstar Development Kit (MGC3130 Unit, I
electrode)
• MGC3130 Software Package 0.4 and following versions
The MGC3130 Software Package is available as a .zip file. Unzip the file, run
setup.exe and install the package to your PC. The folder structure is as shown in
Figure 2-1.
FIGURE 2-1:FOLDER STRUCTURE
MGC3130 HILLSTAR DEVELOPMENT KIT
USER’S GUIDE
Chapter 2. Getting Started
®
XP, Windows 7 or Windows 8 operating system and USB port
2
C to USB Bridge, 95x60 mm frame
2.2STEP 1: BUILD-UP DEVELOPMENT KIT
Connect Electrodes, MGC3130 Unit and I2C to USB Bridge as shown in Figure 2-2.
Note:Make sure the MGC3130 Unit and the I2C USB Bridge are already con-
2.3STEP 2: CONNECTING HILLSTAR DEVELOPMENT KIT WITH YOUR PC
Use the supplied USB cable to connect the Hillstar Development Kit to your PC. The
Power LEDs on both, I
Furthermore, LED 1 on the I
1 is flashing slow (~1 Hz), the Windows CDC driver is already installed on your PC.
Please skip the next step and go to Section 2.5 “Step 4: Start Aurea”.
2
C to USB Bridge and MGC3130 Unit will illuminate.
2
C to USB Bridge will flash very fast (~10 Hz). In case LED
2.4STEP 3: INSTALL WINDOWS CDC DRIVER
The Windows CDC driver can be found in the MGC3130 Software Package in folder
04_Driver.
When the Hillstar Development Kit is connected to your PC for the first time, Windows
requests the appropriate device driver and guides you through the installation process.
Alternatively, you can install the driver manually, (e.g., using the device manager). An
example for Windows 7 is given in Appendix D. “Driver Installation Manual”.
2.5STEP 4: START AUREA
Aurea Graphical User Interface, shown in Figure 2-3, is included in the MGC3130
Software Package in the folder 02_Aurea.
Open Aurea.exe. Aurea detects the connected device automatically and is ready for
use.
DS40001721A-page 20 2013 Microchip Technology Inc.
The Gerber data of all Hillstar Development Kit components are included in the
MGC3130 Hillstar Hardware Reference package and can be downloaded from
Microchip’s web site www.microchio.com/GestICGettingStarting.
3.2MGC3130 UNIT
The key element of the MGC3130 Unit is Microchip’s MGC3130 3D Tracking and
Gesture Controller. The layout print of the unit is shown in Figure 3-2.
FIGURE 3-2:MGC3130 UNIT
The unit provides a 2 mm 7-pin board-to-board connector (socket) to connect the
electrode. The interface includes the following signals: GND, Rx4, Rx3, Tx, Rx2, Rx1,
and Rx0. Alternatively, the board-to-board connector can be replaced by a 1 mm
Flexible Printed Circuitry (FPC) connector which is prepared as a design option. The
five Rx channels of the MGC3130 (Rx0…Rx4) are connected to the receive electrodes
via 10 k resistors in order to suppress irradiated high-frequency signals (R11, R12,
R13, R14, and R15). The MGC3130 signal generator is connected via the Tx signal to
the transmit electrode.
The data connection to the Hillstar I
2
C to USB Bridge is realized by a 6-pin 2 mm
board-to-board connector (header). The interface includes the following signals: EIO0,
3.3V, GND, SDA0, SCL0, and MCLR
. Alternatively, it is possible to use a 1 mm FPC
connector which can be assembled to the bottom side.
The MGC3130 unit acts as an I
2
C slave device. Table 3-1 shows the configuration of
the MGC3130 interface selection pins (IS1, IS2) which can be pulled to V
via resistors (R3, R4, R5, and R6) to select the I
For Schematics, Layout and Bill of Material of the MGC3130 Unit please refer to
Appendix A.
DD or to GND
DS40001721A-page 24 2013 Microchip Technology Inc.
Hillstar Boards – Hardware Description
3.3HILLSTAR 95x60 mm REFERENCE ELECTRODE
The 95x60 mm Reference Electrode provided with the Hillstar Development Kit
consists of one Tx and a set of five Rx electrodes (north, east, south, west, center),
which are placed in two different layers. An additional ground layer is placed
underneath the Tx electrode and shields the electrode’s back from external influences.
FIGURE 3-3:HILLSTAR PCB ELECTRODE
The PCB is connected to the MGC3130 Unit by the 2 mm 7-pin board-to-board
connector. The interface includes the following signals: GND, Rx4, Rx3, Tx, Rx2, Rx1,
and Rx0.
The dimension of the board is 120 x 85 mm; the sensitive area is 95 x 60 mm.
The five Rx electrodes include four frame electrodes and one center electrode, as
shown in Figure 3-3. The frame electrodes are named according to their cardinal
directions: north, east, south and west. The dimensions of the four Rx frame electrodes
define the maximum sensing area. The center electrode is structured (cross-hatched)
to get a similar input signal level as the four frame electrodes.
The Tx electrode spans over the complete area underneath the Rx electrodes. It is
cross-hatched to reduce the capacitance between Rx and Tx (C
below the center electrode covers 50% of the copper plane, the area around only 20%.
The Rx feeding lines are embedded into the Tx electrode in the third layer (refer to
Figure 3-4 and Figure 3-5). This supports shielding of the feeding lines.
Center Electrode (Rx)85.7 mm50.5 mm3% cross-hatched
Tx Electrode (refer to Figure 3-4)
Part I (under center electrode)
Part II (outside Part I)
Ground Area120 mm85 mmsolid
120 mm
85.7 mm
120 mm
85 mm
50.5 mm
85 mm
50% cross-hatched
20% cross-hatched
The electrode PCB is based on a 4-layer PCB design using FR4 material. Three
functional layers are used:
• Layer 1 (Top): Rx electrodes
• Layer 3: Tx electrode and Rx feeding lines
• Layer 4 (Bottom): Ground
Layer 2 is not used.
DS40001721A-page 26 2013 Microchip Technology Inc.
Hillstar Boards – Hardware Description
Tx: 35 µm
Tx
Rx : 18 µm
GND: 18 µm
Not Used: 35 µm
0.25 mm
0.15 mm
935 µm
540 µm
1.546 mm
Top layer
Bottom
layer
2ndlayer
3
rd
layer
Rx feeding line
™
FIGURE 3-5:PCB LAYER STACK
In a target system design the GND layer is not required. It is added for the Hillstar sensing electrode as a shielding layer and shall simulate the presence of static components
which are placed in a target device underneath the sensing electrodes.
Note: Please refer to the “MGC3130 GestIC® Design Guide” for the electrodes
equivalent circuitry, capacitances (C
values.
RxTx
, C
RxG
, Tx
) and their typical
RxG
3.4I2C TO USB BRIDGE
Connecting the MGC3130 Unit to a PC requires an I2C to USB Bridge. The Hillstar
Bridge works as a Composite Device Class (CDC). It controls the USB transfer towards
the host PC and handles the I
provides 3.3V power supply and the MCLR
The bridge function is handled by Microchip’s PIC18F14K50 USB microcontroller.
The board is equipped with a mini USB connector (Type A) and a 2 mm 6-pin female
board-to-board connector for the I
includes the following signals: EIO0, 3.3V, GND, SDA0, SCL0, and MCLR
to Figure 3-6.
FIGURE 3-6:I
2
C™ TO USB BRIDGE
2
C communication with the MGC3130 Unit. Moreover, it
The I2C to USB Bridge is powered via the USB port. Microchip’s Low Dropout (LDO)
Voltage Regulator MCP1801 is used to transform the 5V USB power to 3.3V required
for the PIC18F14K50. By default, 3.3V are also routed to the MGC3130 Unit via the I
interface. The 3.3V power supply towards the MGC3130 Unit can be cut by removing
the 0 resistor R7.
The LEDs indicate the following:
• POWER – signals that the I
• LED1 – blinks fast (~10 Hz) to indicate that there is no USB connection
established
• LED1 – blinks slow (~1 Hz) to indicate that the USB connection is established
• LED 2 – is on when there is data on the I
• LED 2 – is off when there is no data on the I
The communication between Bridge and MGC3130 Unit is accomplished via a 2-wire
2
I
C compatible serial port. Please refer to Figure 3-7.
In addition, the Hillstar Development Kit integrates an open-drain transfer status line
(TS) and the MGC3130 MCLR
TS is connected to the RC0 pin of the PIC18F14K50 and MCLR
For a detailed description of the I
Gesture Controller Data Sheet” (DS40001667).
The default I
2
C address of the bridge is set to 0x42 but can also be switched to 0x43
by changing the firmware running on the PIC18F14K50.
2
C to USB Bridge is powered (3.3V)
2
C bus
2
C bus
signal, according to the MGC3130 reference circuitry.
to RC6.
2
C interface refer to the “MGC3130 Single-Zone 3D
2
C
FIGURE 3-7:I
Note:To update the PIC18F14K50 firmware, please refer to ‘MGC3130
PIC18F14K50 Host Reference Code’, available on
www.microchip.com/GestICGettingStarted.’
2
C™ AND USB DATA INTERFACE
2
For Schematics, Layout and Bill of Material of the I
C to USB Bridge please refer to
Appendix A.
DS40001721A-page 28 2013 Microchip Technology Inc.
Chapter 4. Design In: Hillstar In Target Application
4.1INTRODUCTION
The Hillstar Development Kit is designed to support an easy integration of Microchip’s
MGC3130 3D Tracking and Gesture Controller into customer’s applications.
The three Hillstar PCBs can be plugged to a PC via USB cable and used for
evaluation of MGC3130 chip and GestIC technology.
During the customer’s design-in process the individual boards can be combined
according to the customers need.
Three examples are given below:
• Combine MGC3130 Unit and I
electrodes
•Use I
circuitry in the customer’s design (in-circuit)
• Combine MGC3130 Unit and Electrodes to develop gesture-driven applications
for PC-based or embedded software environments
For in-circuit parameterization and debugging it is mandatory to control the MGC3130
via Aurea Control Software. For that purpose, the customer’s application should
provide an appropriate hardware or software interface.
MGC3130 HILLSTAR DEVELOPMENT
KIT USER’S GUIDE
2
C to USB Bridge to evaluate customized
2
C to USB Bridge to parameterize and debug the MGC3130 application
4.2INTEGRATION EXAMPLES
The following figures show typical hardware circuits for MGC3130 integration into a
customer’s application.
Figure 4-1 and Figure 4-2 show the control via I
to USB Bridge acts as an I
• Switched off (I
• Switched to Slave or Listen mode or
• Disconnected (through an external switch, refer to Figure 4-2)
As an alternative, it is also possible to establish an USB connection between the application processor and a PC without using an I
4-3.
2
C lines configured as high Z, refer to Figure 4-1)
2
2
C master, the application processor I2C should be:
DS40001721A-page 32 2013 Microchip Technology Inc.
MGC3130 HILLSTAR DEVELOPMENT
KIT USER’S GUIDE
Chapter 5. Troubleshooting
Troubleshooting Information
Power LED does not illuminate
In case the power LED does not illuminate it is likely that the board is not powered.
Possible Solutions:
• Check the board is connected to your PC’s USB port.
• Change the USB cable or use a different USB port on your PC.
• Check if the PC is switched on.
LED 1 blinks fast
When LED 1 blinks fast (~10 Hz) the USB connection is not established towards the PC.
Possible Solutions:
• Make sure the Windows CDC driver is installed (refer to Appendix D. “Driver Installation Man-ual”).
• Makes sure the MGC3130 Unit and the I
in the USB connection (refer to Section 2.2 “Step 1: Build-up Development Kit”).
• Reconnect the board by unplugging and plugging in again the USB connection.
Signal streaming stops
Signal stream in Aurea GUI stops when there is no approach towards the sensing area. This behavior is
intended. When using the Aurea GUI, the Wake-up on Approach feature is automatically enabled.
Possible Solutions:
Disable the Wake-up on Approach feature in the Real-Time Control bar of Aurea by unchecking the
Approach Detection/Power Saving check box for continuous signal streaming.
No Position data displayed, Electrode signals are zero
Signal matching parameters have been mismatched and accidentally stored into the Flash.
Possible Solutions:
• Perform “Autoparameterization” in the AFE Parameterization of Aurea Setup tab. Make sure there is
no hand approach towards the electrodes during autoparamterization process.
• Restore the default Signal Matching parameters by re-flashing the original MGC3130 GestIC
Library file.
LED 1 and 2 on I
When LED 1 and LED 2 on the I
is in Bootloader Update mode and therefore not operating code. The PIC18F14K50 will start in Bootloader
Update mode in case the MGC3130 Unit is not connected to the I
Possible Solutions:
• Please disconnect the I2C™ to USB Bridge from USB. Connect the MGC3130 Unit and the I2C™ to
USB Bridge first and then plug in the USB connection.
2
C™ to USB Bridge are off
2
C™ to USB Bridge are off but the power LED is on, the PIC18F14K50
2
C™ to USB Bridge are already connected before plugging
FIGURE B-2:SENSITIVITY PROFILE FROM NORTH TO SOUTH
B.3ELECTRODE CAPACITIES
The capacitances between the Rx electrodes and GND (C
pF input capacitance of the MGC3130 Rx input buffer (C
TABLE B-3:HILLSTAR ELECTRODE CAPACITIES
ChannelCRxGCRxTx
North9 pF20 pF
East9 pF18 pF
South9 pF20 pF
West8 pF18 pF
Center7 pF65 pF
C
TxG
= 590 pF
) does not include the 5
RxG
).
Buf
DS40001721A-page 42 2013 Microchip Technology Inc.
MGC3130 HILLSTAR DEVELOPMENT
Appendix C. Parameterization Support
C.1HOW TO BUILD A HAND BRICK
For parameterization and performance evaluation of the customer’s electrode design,
the Hillstar Development Kit contains a set of hand and spacer bricks. The hand brick
is a conductive block of 40x40x70 mm and represents a human hand. It must be
connected to ground via cable in order to simulate the grounding conditions of the
human body.
The Hillstar package contains an assembly set to build the hand brick consisting of a
Styrofoam block (40x40x70 mm) and an adhesive copper foil.
The following section explains how to assemble the hand brick.
1. Take the copper layer and the Styrofoam block with the dimensions of
(40x40x70 mm).
KIT USER’S GUIDE
2. Revert the copper layer and remove the glue foil.
3. Place the Styrofoam block on the copper layer exactly on the middle. Be
careful to be accurate! Fold the copper. Follow along the inside lines, and
fold the copper inward. Start with right, left sides and then with middle part.
Align the folds.
4. Finish up your box. Tape all of the sides together, and you’re done.
DS40001721A-page 44 2013 Microchip Technology Inc.
Parameterization Support
Thin wire for grounding (e.g.
0,15mm diameter, 50cm length)
5. Solder a thin wire (approx. 50 cm) on the top of the brick which will be con-
nected later to ground.
6. Finished.
C.2USAGE OF THE HAND BRICK AS ARTIFICIAL HAND
For parameterization and performance evaluation purposes of the customer’s
electrode design, the kit contains a set of hand and spacer bricks. This artificial hand
brick simulates Human Hand effect and is made of a Styrofoam block covered with light
copper and has a fixed size. Spacer bricks (Styrofoam block without copper layer) are
used to position the hand brick in different heights to the electrode. Because of a εr≈1of
Styrofoam, the spacer brick does not influence the measurement results.
For quick parameterization, the ground wire connected to the hand brick should be
maintained using your hand which emulates the ground connection. The wire should
be hold at 50 cm minimum and the line should also be straight to avoid any influence
to the system sensitivity as shown in Figure C-1.
For parameterization process, please refer to “MGC3130 GestIC
the appropriate wizards in Aurea PC software.
DS40001721A-page 46 2013 Microchip Technology Inc.
MGC3130 HILLSTAR DEVELOPMENT
Appendix D. Driver Installation Manual
Go through the following steps to manually install the Windows CDC Driver on your PC.
D.1OPEN DEVICE MANAGER
While the Hillstar Development Board is connected to your PC press Start, right-click
on Computers and select Manage. This will bring up the Computer Management
window shown in Figure D-1. On the left sidebar select Device Manager.
FIGURE D-1:COMPUTER MANAGEMENT
KIT USER’S GUIDE
D.2SELECT DEVICE
1. Right Click on GestIC Bridge and select Update Driver Software.
2. Select Search Method
3. The window shown in Figure D-2 will open. Choose Browse my Computer for
1. Click Browse and navigate to the driver files on your local drive (refer to
Figure D-3).
2. Press Next and the driver will be installed.
FIGURE D-3:Browse for Driver Software
D.4VERIFY COMMUNICATION
The driver is properly installed and the communication between the PC and the Hillstar
Development Board is successfully established when LED 1 and LED 2 blink
alternatively.
DS40001721A-page 48 2013 Microchip Technology Inc.
MGC3130 HILLSTAR DEVELOPMENT
KIT USER’S GUIDE
Appendix E. Glossary
TABLE E-1:GestIC® GLOSSARY
TermDefinition
AFEAnalog front end
Application HostPC or embedded controller which controls the MGC3130
AureaMGC3130 PC control software with graphical user interface
®
Colibri SuiteEmbedded DSP suite within the GestIC
Deep SleepMGC3130 Power-Saving mode
E-fieldElectrical field
Frame ElectrodesRectangular set of four electrodes for E-field sensing
®
GestIC
GestIC
Gesture RecognitionMicrochip’s stochastic HMM classifier to automatically detect and
Gesture SetA set of provided hand movement patterns
Hand BrickCopper coated test block (40x40x70 mm)
HMMHidden Markov Model
MGC3130Single-Zone 3D Gesture Sensing Controller
Position TrackingGestIC
SabrewingMGC3130 evaluation board
Self Wake-upMGC3130 Power-Saving mode
Sensing AreaArea enclosed by the four frame electrodes
Sensing SpaceSpace above sensing area
Signal DeviationTerm for the delta of the sensor signal on approach of the hand
Spacer BrickSpacer between the sensor layer and hand brick
SPUSignal Processing Unit
Approach DetectionGestIC
TechnologyMicrochip’s patented technology providing 3D free-space gesture
recognition utilizing the principles of electrical near-field sensing
®
LibraryIncludes the implementation of MGC3130 features and is delivered
as a binary file preprogrammed on the MGC3130
classify hand movement patterns
®
technology feature
versus non-approach
(Styrofoam block 40x40xh mm) with h= 1 / 2 / 3 / 5 / 8 / 12 cm
®
technology feature: Power-Saving mode of the MGC3130