Cypress Semiconductor CY3280-MBR3 User Guide

CY3280-MBR3 Evaluation Kit User Guide

Doc. #: 001-89905 Rev. *B
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): +1.800.858.1810
Phone (Intnl): +1.408.943.2600
http://www.cypress.com
Copyrights
Copyrights
© Cypress Semiconductor Corporation, 2014. The information contained here in is subject to ch ange wi thout noti ce. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or sa fety applica tions, unless pursu ant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life­support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom soft­ware and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as speci­fied in the applicable agreement. Any reproduction, modification, transla tion, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATE­RIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the applica tion or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems whe re a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support sys­tems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement. PSoC and CapSense are registered trademarks and EZ-Click and PSoC Creato r are trademarks of Cyp ress Semiconductor
Corp. All other trademarks or registered trademarks referenced herein are property of the respective corporations.
Flash Code Protection
Cypress products meet the specifications contained in their particular Cypress PSoC Data Sheets. Cypress believes that its family of PSoC products is one of the most secure families of its kind on the market today, regardless of how they are used. There may be methods, unknown to Cypress, that can breach the code protecti on features. Any of these methods, to our knowledge, would be dishonest and possibly illegal. Neither Cypress nor any other semiconductor manufacturer can guaran­tee the security of their code. Code protection does not mean that we are guaranteeing the product as ‘unbreakable’.
Cypress is willing to work with the customer who is concerned about the inte grity of their code. Co de prot ection i s constantly evolving. We at Cypress are committed to continuously improving the code protection features of our products.

Contents

Safety Information 5
1. Introduction 7
1.1 Kit Contents..................................... ... ... ....................................... ... ... ... .... ..................8
1.2 Getting Started.............................................................................................................8
1.3 Factory Default Configuration............................................................. ... .... ... ... ... .........9
1.4 Additional Learning Resources..................... ... ... ... ... .... ... ... .........................................9
1.5 Technical Support........................................................................................................9
1.6 Acronyms.....................................................................................................................9
1.7 Document Conventions .............................................................................................10
2. Kit Installation 11
2.1 Before You Begin.......................................................................................................11
2.2 CY3280-MBR3 EVK Software ...................................................................................11
2.3 Install the Software ....................................................................................................12
2.4 Uninstall the Software................................................................................................15
3. Kit Operation 16
3.1 Powering the Kit.................. ... ... ....................................... ... ... .... ... ... ... ... .... ... ... ... .... ...18
3.2 Communication Between PC Host and Kit ................................................................20
3.3 Configuring the CY8CMBR3116 Controller Using EZ-Click 2.0 ................................21
3.4 Kit Features ........ ... ... ....................................... ... ... ... .... ... ... ... ....................................28
3.4.1 SmartSense Auto-Tuning Feature............................................................... ...28
4. Hardware 32
4.1 Board Details ................................... ... ... ... .... ... ...................................... .... ... ... ... .... ...32
4.2 Theory of Operation..................... .... ... ... ... .... ... ... ... ....................................... ... ... .... ...33
4.3 Functional Description .................................. ......................................... .... ................34
4.3.1 CY8CMBR3116 CapSense Controller ...........................................................34
4.3.2 PSoC 5LP ......................................................................................................35
4.3.3 Power Supply System....................................................................................36
4.3.4 Button Sensors and Proximity Loop Sensor .................................................42
4.3.5 CY3280-MBR3 Kit LEDs ................................................................................43
4.3.6 Buzzer, Shield, and Host Interrupt Multiplexing Jumper ................................44
4.3.7 Capacitance Variation Demonstration............................................................46
4.3.8 Arduino-Compatible Headers..................... ... .... ... ... ... .... ... ... ... ... .... ... ... ..........47
4.3.9 Push Button to Reset CY8CMBR3116...........................................................50
4.3.10 I2C Selection Jumpers...................................................................................50
5. Configuration Files and Exampl e Projects 51
5.1 Running Configuration Files and Host Projects.........................................................51
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 3
Contents
5.2 Configuration Files.....................................................................................................51
5.2.1 LED Toggle.....................................................................................................52
5.2.2 Proximity Detection........................................................................................55
5.2.3 Water Tolerance.............................................................................................58
5.3 PSoC 4 Host Example Projects.................................................................................62
5.3.1 Host_LED_Toggle_Buzzer_PSoC4_Pioneer_Kit...........................................63
5.3.2 Host_Interrupt_LED_ON_Time_PSoC4_Pioneer_Kit....................................68
5.3.3 Configuring the MBR3 Device From the PSoC 4 Pioneer Kit . .......................72
6. Advanced Topics 74
6.1 Using PSoC 5LP as USB-I2C Bridge ........................................................................74
6.2 Restoring to Factory Default Slave Address from 0x00.............................................78
A. Appendix 79
A.1 Schematic..................................................................................................................79
A.2 Pin Assignment Table................................................................................................87
A.3 Bill of Materials ..........................................................................................................88
A.4 Regulatory Compliance Information ... ... ... .... ... ... ... ... .... ... ... ... .... ... ... ... ... .... ... ... ... .... ...89
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 4

Safety Information

The CY3280-MBR3 Evaluation Kit contains electrostatic discharge (ESD) sensitive devices. Electrostatic charges readily accumulate on the human body and any equipment, and can discharge without detection. Permanent damage may occur on devices subjected to high-energy discharges. Proper ESD precautions are recommende d to avoid performance degradation or loss of functionality. Store unused CY3280-MBR3 boards in the protective shipping package.
End-of-Life/Product Recycling This kit has an end-of life five years from the date of manufacture
mentioned on the back of the box. Contact your nearest recycler for disposing the kit.

Regulatory Compliance

The CY3280-MBR3 Evaluation Kit is intended for use as a development platform for hardware or software in a laboratory environment. Th e board is an open system design, which do es not inclu de a shielded enclosure. This may cause interference to other electrical or electronic devices in close proximity.
In a domestic environment, this product may cause radio interference. The user may then be required to take adequate prevention measures. Also, the board should not be used near any medical equipment or RF devices.
Attaching additional wiring to this product or modifying the product ope ration from the factory default may affect its performance and cause interference with other apparatus in the immediate vicinity. If such interference is detected, suitable mitigating measures should be taken.
The CY3280-MBR3 Evaluation Kit as shipped from the factory has been verified to meet the requirements of CE as a Class A product.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 5
Safety Information

General Safety Instructions

ESD Protection
ESD can damage boards and associated components. Cypress recommends that you perform procedures only at an ESD workstation. If an ESD workstation is not available, use appropriate ESD protection by wearing an antistatic wrist strap attached to chassis ground (any unpainted metal surface) on your board when handling parts.
Handling Boards
CY3280-MBR3 boards are sensitive to ESD. Hold the board only by its edges. After removing the board from its box, place it on a grounded, static-free surface. Use a conductive foam pad if available. Do not slide board over any surface.
6 CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B

1. Introduction

Thank you for your interest in the CY3280-MBR3 Evaluation Kit (EVK). This kit is designed to show­case the abilities of the CY8CMBR3116 register-configurable CapSense
®
controller. It is also designed as an Arduino™-compatible shie ld that supports various Arduino baseboards as well as other stackable shields available in the market. The CY3280-MBR3 EVK features four CapSense buttons, one proximity sensor loop, LEDs, a buzzer, and an onboard USB-I
2
C bridge to communi-
cate with the EZ-Click™ 2.0 customizer tool, which configures the CY8CMBR3xxx controller. The CY8CMBR3xxx series is the latest addition to the register-configurable CapSense Mechanical
Button Replacement (MBR) family of solutions. The CY8CMBR3xxx family of controllers enables you to quickly and easily add capacitive touch sensin g to your user interface. See Configuring the
CY8CMBR3116 Controller Using EZ-Click 2.0 on page 21 for information on how to configure a
CY8CMBR3116 controller. CY3280-MBR3 offers the best feat ures of Cypr ess’ CapSen se in a small package that is easy to implement and configure. Coupled with the Capacitive Sigma Delta PLUS (CSD PLUS) sensing algorithm and the patented SmartSense™ Auto-Tuning feature, the CY8CMBR3xxx controller provides a robust capacitive sensing solution, with up to 16 CapSense inputs.
SmartSense Auto-Tuning has the following advantages:
Reduces design effort by eliminating manual tuning
Adapts to variations in PCB, overlay, paint, and manufactu ring that degrade touch-sensing per-
formance
Eliminates manual tuning in production
Adapts to changes in the system environment due to noise
Allows a platform design approach with different overlays, button shapes, and trace lengths
The MBR3 solution delivers a high signal-to-noise ratio (SNR) even in extremely noisy environments and maintains optimal sensor performance at run time. The driven shield capability offers robust proximity sensing and water tolerance, enabling its use in a wide range of applications. The MBR3 solution supports register configurability and SmartSense Auto-Tuning features, which allow custom­ers to gain a faster time-to-market for their end product.
The CY8CMBR3xxx family of controllers is designed with multiple low-power operational states to meet the low-power requirements of battery-powered applications. These controllers have the fol­lowing operational states: Boot, Active, Look-for-Touch, Look-for-Proximity, Deep Sleep, and Config­uration. The CY8CMBR3xxx controllers automatically manage transitions between the four states. The Look-for-Proximity state allows ultra-low power consumption whe n a hu man bod y is not in close proximity. This state is entered only if the wake-on-approach feature is enabled (and toggle is dis­abled) in the MBR3 register configuration, which can be done using the EZ-Click 2.0 customizer tool. Refer to the MBR3 device datasheet for more details on the CY8CMBR3xxx family of CapSense controllers.
The kit package includes the EZ-Click 2.0 customizer tool, which is required to co nfigur e the kit. For more information and to download the tool, visit the EZ-Click Customizer page.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 7

1.1 Kit Contents

The CY3280-MBR3 EVK includes the following components (see Figure 1-1):
CY3280-MBR3 EVK with a 2-mm overlay
One additional overlay of 1-mm thickness
A to Mini-B USB cable
Water dropper
Figure 1-1. Kit Contents
Introduction
Inspect the contents of the kit. If you find any part missing, contact your ne ares t Cypre ss sales office for help: www.cypress.com/go/support.

1.2 Getting Started

This kit guide helps to familiarize you with the CY3280-MBR3 EVK. The Kit Installation chapter on
page 11 describes the installation of the EVK software. The Kit Operation chapter on page 16
explains how to configure the CY8CMBR3116 controller on the kit to test different features using the EZ-Click 2.0 customizer tool. The hardware details, and configuration files and example projects are explained in their respective chapters. The configuration files and example projects require EZ-Click and PSoC Creator™, respectively. The Advanced Topics chapter on page 74 describes how to use the Bridge Control Panel (BCP) to configure the MBR3 device. The Appendix on page 79 pr ovides the schematics, board layout, pin assignment, and the bill of materials (BOM).
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 8

1.3 Factory Default Configuration

The kit installation folder includes three configuration files that demonstrate several features of the CY8CMBR3116 CapSense controller. The section, Configuration Files on page 51, provides more details. The CY3280-MBR3 EVK is configured with the Water Toleranc e configuration by default. In this configuration, water tolerance, flanking sensor suppression (FSS), and auto-reset features are enabled for four CapSense buttons. The LEDs are also enabled to provide visual feedback for CapSense button touch. For mor e details on configurin g the MBR3 device, refe r to the EZ- Click 2.0 Customizer Tool User Guide, available at <Install_Directory>\EZ-Click\<version>\Doc- umentation.

1.4 Additional Learning Resources

Visit the CY8CMBR3116 CapSense Controller page for additional learning resources.

1.5 Technical Support

For assistance, go to our support web page, or contact our customer support at +1(800) 541-4736 extension 2 (in the USA), or +1 (408) 943-2600 extension 2 (International).
Introduction

1.6 Acronyms

Table 1-1. Acronyms Used in the Document
Acronyms Definition
BCP Bridge Control Panel BOM bill of materials CS capacitive sensor CSD CapSense sigma delta ESD electrostatic discharge EVK evaluation kit FSS flanking sensor suppression GPO general-purpose output GUI graphical user interface
2
C
IIC/I LED light-emitting diode MBR mechanical button replacement NC not connected PC personal computer PCB printed circuit board
®
PSoC SNR signal-to-noise ratio UART universal asynchronous receiver/transmitter USB universal serial bus
inter-integrated circuit
Programmable System-On-Chip
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 9

1.7 Document Conventions

Table 1-2. Document Conventions for Guides
Convention Usage
Courier New Displays file locations, user entered text, and source code:
C:\...cd\icc\
Italics Displays file names and reference documentation:
Read about the sourcefile.hex file in the PSoC Designer User Guide.
[Bracketed, Bold] Displays keyboard commands in procedures:
[Enter] or [Ctrl] [C]
File > Open Represents menu paths:
File > Open > New Project
Bold Displays commands, menu paths, and icon names in procedures:
Click the File icon and then click Open.
Times New Roman Displays an equation:
2 + 2 = 4
Text in gray boxes Describes Cautions or unique functionality of the product.
Introduction
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 10

2. Kit Installation

This chapter describes the CY3280-MBR3 EVK software installation and the prerequisites.

2.1 Before You Begin

All Cypress software installations require administrator privileges, but these are not required to run the software after it is installed. Close any other Cypress software that is curre ntly running before installing the kit software.
Note: The kit contents are installed in the C:\Program Files\Cypress folder by default. If the EZ-Click configuration files or PSoC 4 host projects are being run from the default install location, administrator privileges are required. If you do not have administrator privileges, copy the Firmware folder from the default install location to any other location on your PC and access the files.

2.2 CY3280-MBR3 EVK Software

The kit requires Cypress' proprietary sof tware, such as PSoC Programmer and the EZ-Click custom­izer tool, and generic software such as .NET Framework, Windows Installer, and Internet Explorer. The CY3280-MBR3 software is available on the kit web page in three formats:
Table 2-1. Kit Software Formats
Install Package File Format Usage
This package can be used if the PC does not have any Cypress or non-
CY3280-MBR3_Kit ISO ISO
CY3280-MBR3_Kit Setup EXE
CY3280-MBR3_Kit Only EXE
Cypress prerequisite software installed. It first installs the prerequisites and then the kit content (firmware, hardware, and docu mentation files) in the specified location.
This package can be used if the PC does not have any Cypress p rerequi ­site software installed. If any non-Cypress prerequisites are found to be missing during installation, the installer provides links to download and install them and then installs the kit content (firmware, hardware, and documentation files) in the specified location.
This package can be used if the PC has all the Cypress and non-Cypress prerequisites installed. It install s only the kit conten t (firmware, hardware, and documentation files) in the specified location. If any of the prerequi­sites are found missing during the installation process, the installer prompts you to install a ll the require d software b efore att empting to inst all the kit. The installer redirects to the kit web page to download and install any missing Cypress software. Similarly, it provides links to download and install the missing non-Cypress prerequisites.
Notes:
Adobe Reader is required to view kit document s. If Adobe Reade r is not inst alled on your PC, the
installer provides the link to download and install it.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 11
PSoC Creator is required to execute the PSoC 4 host example projects shipped with the kit.
However, it is not a mandatory prerequisite and is not installed along with the kit contents. You can download and install PSoC Creator from www.cypress.com/go/psoccreator.

2.3 Install the Software

1. Run cyautorun.exe in the kit ISO to start the installation process.
2. Click Install CY3280-MBR3 EVK to start the kit installation; see Figure 2-1. Figure 2-1. Kit Installer Startup Screen
Kit Installation
3. Select the folder to install the CY3280-MBR3 EVK files. Choose the directory and click Next, as
shown in Figure 2-2. The installation directory is referred to as <Install_Directory> in this document.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 12
Figure 2-2. Default Path for EVK Installation
Kit Installation
4. When you click Next, the CY3280-MBR3_Kit ISO installer automatically installs the required soft-
ware, if it is not present on your computer.
5. Select the installation type (see Figure 2-3). The drop-down menu contains three options:
Typical (installs all the required features), Custom (lets you choose the feature s to be installed), and Complete (installs all the contents). Click Next after you select the installation type.
Note: It is recommended that you choose the Complete installation type.
Figure 2-3. Installation Type Options
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 13
Kit Installation
6. Accept the End-User License Agreement and click Next to proceed with the installation.
7. When the installation begins, a list of packag es appears on the installation page. A green check
mark appears adjacent to every package after successful installation, as Figure 2-4 shows.
Figure 2-4. Installation Page
8. Click Finish to complete the CY3280-MBR3 EVK installation, as illustrated in Figure 2-5. Figure 2-5. CY3280-MBR3 EVK Installation Complete
After the installation is complete, the kit contents are available at the following location:
<Install_Directory>\CY3280-MBR3 EVK\<version>
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 14

2.4 Uninstall the Software

You can uninstall the CY3280-MBR3 EVK software using one of the following methods:
Go to Start > All Programs > Cypress > Cypress Update Manager > Cypress Update Man-
ager; select the Uninstall button corresponding to the kit software.
Go to Start > Control Panel > Programs and Features; select the Uninstall/Change button
corresponding to the kit software.
Kit Installation
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 15

3. Kit Operation

USB connector
Kit current measurement jumper on the reverse of the board
Slide switch to increase capacitanceonBTN2
Reset switch
Status LED
Power LED
CapSense buttons with 10-mm
diameter and LED at the center
Proximity LED
Proximity loop
CapSense buttons with 11-mm diameter and LED at the center
The CY8CMBR3116 CapSense controller is a register-configurable device that supports multiple features, as listed in Kit Features on page 28. The CY3280-MBR3 EVK hardware includes four CapSense buttons, a proximity sensor loop, a buzzer, and LEDs; it can be used to demonstr ate all the features of the MBR3 device.
The CY3280-MBR3 EVK enables you to develop applications using the CY8CMBR3116 controller.
Figure 3-1 and Figure 3-2 illustrate the onboard components of the CY3280-MBR3 EVK.
Figure 3-1. CY3280-MBR3 EVK Top View
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 16
Figure 3-2. CY3280-MBR3 EVK Bottom View
Arduino headers
Slide switch SW1 (capacitance selector switch for BTN2)
Slide switch SW3 (trace selection switch for BTN4)
Buzzer
I2C selection jumpers
Buzzer, Shield, and Host
Interrupt selection jumpers
PSoC 5LP USB-I2C
bridge
CY8CMBR3116 CapSense
Express controller
MBR3 current
measurement jumper
Reset switch
USB connector
Kit current
measurement jumper
Kit Operation
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 17

3.1 Powering the Kit

To power the kit, connect the A to Mini-B USB cable, provided with the kit, to yo ur PC or lap to p . T h e kit enumerates as a composite device (see Table 3-1), and three separate devices appear under the Device Manager (Start > Control Panel > Device Manager) option of the Windows operating sys­tem, as shown in Figure 3-5.
Table 3-1. CY3280-MBR3 Evaluation Kit in Device Manager after Enumeration
Port Description
USB input device KitProg programmer Programmer and debugger
KitProg USB-UART USB-UART bridge appears as COM# port
Note: Although the kit supports a programmer and a UAR T bridge , these functionalities are no t used with this kit. Do not use PSoC Programmer to communicate with the PSoC 5LP on the kit, as it may corrupt the kit firmware.
Figure 3-3. KitProg Driver Installation
USB-I
2
C bridge
Kit Operation
Figure 3-4. KitProg Driver Installation Complete
After the driver installation is complete, all the above devices are listed in the Device Manager, as shown in Figure 3-5.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 18
Figure 3-5. Device Manager View after KitProg is Installed
Kit Operation
Note: The Device Manager may have more than one instance of ‘USB Input De vice' and ' USB Com­posite Device', based on the number of USB devices connected to your PC. The USB Input Device and USB Composite Device installed with KitProg can be identified by the hardware IDs (VID and PID); these devices will have hardware IDs 0x4B4 and 0xF139. To find the hardware ID, right-click on the device and select Properties. In the Details tab, select Hardware IDs from the Property field drop-down menu.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 19
Wait until the USB enumeration completes successfully and the board is powered. When the USB
PC Host
I2C Commands
through U SB
EZ-Click 2.0
Customizer
Tool
B1
B2
B3
B4
LED1
Prox
Loop
Buzz
Shield
P5LP as USB-I2C
Bridge
MBR3
I2C Commands
LED2
LED3 LED4LED5
enumeration is successful, both the power LED and status LED light up. The kit is programmed with the Water Tolerance configuration by default. See Wate r Toler anc e o n
page 58 for more information.

3.2 Communication Between PC Host and Kit

The kit includes PSoC 5LP, an ARM-based PSoC that functions as a USB-I2C bridge between the CY8CMBR3116 controller and the PC host (see Figure 3-6). The CY8CMBR3116 controller commu­nicates with PSoC 5LP using an I PC and EZ-Click 2.0 customizer tool.
Figure 3-6. Block Diagram - Communication Between PC Host and Kit
2
C interface, and the PSoC 5LP transfers the data over USB to the
Kit Operation
Cypress provides two USB-I CY3280-MBR3 EVK uses the EZ-Click 2.0 customizer tool for register configuration. BCP is the soft­ware provided by Cypress that allows yo u t o co mmu n ica te ove r I
2
C software utilities: EZ-Click 2.0 and Bridge Control Panel (BCP). The
2
C, SPI, or RX8 using your PC and USB. This application currently supports CY3240, MiniProg3, FirstTouch, FirstTouchRF, TrueTouch­Bridge, DVKProg1, and KitProg bridges. See Using PSoC 5LP as USB-I2C Bridge on page 74 for more details on using the BCP.
You should install the EZ-Click 2.0 customizer tool on the PC to evaluate the kit features. This soft­ware is part of the kit installer, but it can also be downloaded from www.cypress.com/go/CY3280-
MBR3. You can use EZ-Click 2.0 to configure the CapSense controllers using I
over the USB-I
2
C bridge. You can also use it to monitor raw count, baseline, SNR, and other
2
C communication
CapSense sensor-related information directly.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 20
Figure 3-7. EZ-Click 2.0 Customizer Tool – Start Page
Kit Operation

3.3 Configuring the CY8CMBR3116 Controller Using EZ-Click 2.0

Follow these steps to configure the CY8CMBR3116 controller:
1. Connect the CY3280-MBR3 EVK to the PC via the USB port using the USB cable.
2. Open the EZ-Click 2.0 customizer tool from the default location: Start > All Programs > Cypress
> EZ-Click 2.0 > EZ-Click 2.0.
3. Create a new project in EZ-Click 2.0 by clicking New Project… in the File menu, as shown in
Figure 3-8.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 21
Kit Operation
Figure 3-8. Creating a New Project in EZ-Click 2.0
4. Enter an appropriate name for the project and choose a location to save your project. Select Tar-
get Device as ‘CY8CMBR3116’ from the Product Selector. To launch the Product Selector, click the Device Selector button, as shown in the following figure.
Figure 3-9. New Project Details
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 22
Figure 3-10. Choosing Part Number in Product Selector Guide
Kit Operation
2
5. Ensure that the I
communication with the onboard PSoC 5LP USB-I
C selection jumpers J13 and J14 are shorted between pins 1 and 2 to allow
2
C bridge.
6. Connect the kit to the EZ-Click customizer tool by clicking the Select Target Device button ( )
on the EZ-Click tool bar. This opens a Select I2C Target window (Figure 3-11); select the follow- ing:
a. KitProg/<kit number> in the Ports window. b. The I
2
C slave device in the Devices window. Note: The CY8CMBR3116 has a slave address of 0x37 by default. If multiple slave devices are connected, you can disconnect from one slave and connect to another by using the Con- nect/Disconnect button in the Select I2C Target window. See Figure3-11.
c. Select the speed of the I
2
C communication as 400 kHz.
d. Choose the target device voltage by selecting the 3.3 V radio button.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 23
Figure 3-11. Connecting the Kit Using the EZ-Click 2.0 Customizer Tool
Kit Operation
7. Click OK. The I
2
C slave address of the connected device appears on the status bar at the bottom
of the EZ-Click window, as shown in Figure 3-12.
Figure 3-12. I
2
C Slave Address Display
8. Enable the button sensors in the CapSense sensor configuration tab, as sh own in Figure 3-13. See Pin Mapping Between CY8CMBR3116 and CY3280-MBR3 EVK on page 35 to learn about the available button sensors and how they are connected to the CY8CMBR3116 device. In this example, all four available button sensors on the kit are enabled.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 24
Kit Operation
Figure 3-13. Enabling Button Sensors Using EZ-Click 2.0
Note: The CapSense buttons BTN1/CS3, BTN2/CS4, BTN3/CS5, and BTN4/CS6 on the CY3280­MBR3 EVK correspond to Button4, Button5, Button6, and Button7 in the EZ-Click 2.0 customizer tool, which map to pins CS3, CS4, CS5, and CS6 respectively on the MBR3 device. Figure 3-15 shows the corresponding four buttons for reference.
9. The sensor names can be modified if desired, as shown in Figure 3-14.
Figure 3-14. Changing Sensor Names
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 25
Figure 3-15. Kit Buttons Corresponding to CapSense Sensor Pins
Kit Operation
10.Enable the corresponding LEDs in the Global configuration tab, as shown in Figure 3-16, to view the LED output for each button touch. Ensure that the GPO logic level is Active Low because the LEDs on the CY3280-MBR3 EVK are active low.
Note: LED1/GPO3, LED2/GPO4, LED3/GPO5, and LED4/GPO6 on the CY3280-MBR3 EVK correspond to LED4, LED5, LED6, and LED7 in the EZ-Click 2.0 customizer tool, which map to the general-purpose output (GPO) pins CS11/GPO3, CS12/GPO4, CS13/GPO5, and CS14/ GPO6 respectively on the MBR3 device.
Figure 3-16. Global Configuration Tab
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 26
Kit Operation
11.The LEDs can also be renamed, as shown in Figure 3-17.
Figure 3-17. Rename LEDs
12.Generate the configuration file by clicking the Generate Configuration File icon on the tool bar or by pressing [Ctrl] + [G]. The status of configuration file generation is shown in the status
bar at the bottom of the EZ-Click window (see Figure 3-18).
Figure 3-18. EZ-Click Status Bar Showing Configuration Generation Status
13.Click the Apply Current Configuration icon on the tool bar in the EZ-Click 2.0 customizer tool or press [Ctrl] + [L] to download the generated configuration to the MBR3 device.
14.Wait for the message “Device configuration completed successfully” to be displayed on the status bar, as illustrated in Figure 3-19.
Figure 3-19. EZ-Click Status Bar Showing Successful Device Configuration
15.Touch the buttons on the kit to observe the features as enabled in the configuration.
Note: The Water Tolerance configuration file is preloaded into the kit. The kit supports the features mentioned in Water Tolerance on page 58 by default. To learn more about the configurations, see
Configuration Files on page 51.
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B 27
Loading...
+ 63 hidden pages