Advertisement

Quick Links

®
CY3280-SmartSense™ CapSense
Auto-Tuning Kit Guide
Doc. # 001-64672 Rev. *B
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intnl): 408.943.2600
http://www.cypress.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CapSense CY3280-SmartSense and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Cypress CapSense CY3280-SmartSense

  • Page 1 ® CY3280-SmartSense™ CapSense Auto-Tuning Kit Guide Doc. # 001-64672 Rev. *B Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone (USA): 800.858.1810 Phone (Intnl): 408.943.2600 http://www.cypress.com...
  • Page 2 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.
  • Page 3: Table Of Contents

    Contents 1. Introduction Overview........................5 Kit Contents .........................5 Installation........................5 1.3.1 Before You Begin .....................5 1.3.2 Prerequisites ....................5 1.3.3 PSoC Designer Installation Procedure.............6 1.3.4 Factory Default Configuration ................6 Reference Documents ....................6 1.4.1 Application Notes .....................6 1.4.2 Example Projects .....................6 1.4.3 Data Sheets .....................6 1.4.4 Technical Reference Manual................6 Document Revision History ..................7 Documentation Conventions ..................7...
  • Page 4 Contents A. Appendix Schematics ........................ 25 Board Layouts ......................27 Bill of Materials ......................29 CY3280-SmartSense CapSense Auto-Tuning Kit Guide, Doc. # 001-64672 Rev. *B...
  • Page 5: Introduction

    Everything you need to use the CY3280-SmartSense kit is included; install the software to load and run the example projects on the board. 1.3.1 Before You Begin All Cypress software installations require administrator privileges, but this is not required to run the installed software. Close any Cypress software that is currently running. ■...
  • Page 6: Psoc Designer Installation Procedure

    Note Create the software CD by burning the downloaded CD ISO. After installation, user guides and key documents are available in the \Documentation subdirectory of the PSoC Designer installation directory. The default location is: C:\Program Files\Cypress\CY3280-SmartSense\1.0\CY3280- SmartSense\Documentation. 1.3.4 Factory Default Configuration When shipped, the CY3280-SmartSense kit is loaded to run the SmartSense example project.
  • Page 7: Document Revision History

    Introduction Document Revision History Table 1-1. Revision History Origin Revision Creation Description of Change Date Change 11/25/2010 KPOL New kit guide. Fixed hyperlink in section 2.1.4. Modified the installation location in sec- 01/04/2011 tion 1.3.3 Updated web links for related documents. 11/13/2012 DCHE Replaced MiniProg3 references with MiniProg1.
  • Page 8 Introduction CY3280-SmartSense CapSense Auto-Tuning Kit Guide, Doc. # 001-64672 Rev. *B...
  • Page 9: Kit Operation

    Kit Operation The CY3280-SmartSense kit is designed to demonstrate four CapSense buttons and a CapSense- based power button. Figure 2-1 illustrates these buttons: demonstration buttons (BTN0 to BTN3) and a CapSense power button (POWER BUTTON). In its default configuration, the kit is powered from two AAA on-board batteries, which are placed below the kit in the battery holder.
  • Page 10: Cy3280-Smartsense Kit Board

    Kit Operation CY3280-SmartSense Kit Board 2.1.1 Board Features Four CapSense buttons of different dimensions ■ ■ Four LEDs connected to general purpose output pins CapSense based power button and power LED ■ Operates from external power supply and battery ■ Expansion slots, allowing I/O to expand to external boards ■...
  • Page 11: Power Sources

    Kit Operation 2.1.3 Power Sources The board supports three power sources: Internal supply (supplied AAA batteries to be placed in the battery holder) ■ External supply (pin#41, Header J2) ■ External supply (pin#1, Header J5) ■ Note To power the kit, at least one of the above sources should be active. The first two sources are gated to capacitive touch controller by the Power button.
  • Page 12: Connector Details

    Kit Operation 2.1.5 Connector Details Table 2-1. CY3280-SmartSense Kit Connector Details ISSP Header Connector J5 (ISSP Header) J5 - 1 VDD (External) J5 - 2 J5 - 3 XRES J5 - 4 P1[1] (ISSP SCL) J5 - 5 P1[0] (ISSP SDA) Expansion Connector J1 J1 - 1 P0[4]...
  • Page 13: Load Capsense Example Projects

    2. Connect the MiniProg1 into your PC using mini USB connector. You can purchase the programmer from http://www.cypress.com/?rID=37459. 3. Insert the MiniProg1 to ISSP header J5 of the kit as shown in the following figure. 4. Close any open PSoC Designer applications and projects.
  • Page 14: Capsense Project: Csd + Manual Tuning

    Load CapSense Example Projects Figure 3-1. MiniProg1 Connected to Kit CapSense Project: CSD + Manual Tuning This section outlines the conventional method of tuning a project - CSD with manual tuning. The example project demonstrates four CapSense buttons controlled by the CSD user module to detect the button press.
  • Page 15: Load Project

    Load CapSense Example Projects Figure 3-2. Conventional Method Flowchart Boot Intialize CapSense, LED modules Turn Off all LEDs Scan all sensors Update the baseline count for all sensors Is any sensor active? Decode the active sensor number and toggle corresponding LED 3.1.1 Load Project 1.
  • Page 16: Build Project

    Load CapSense Example Projects Figure 3-3. Chip Editor View 3.1.2 Build Project To build a project, select Build > Generate/Build. PSoC Designer builds the project and displays comments in the Output window. When you see the message that the project is built with 0 errors and 0 warnings, you are ready to program the device. Figure 3-4.
  • Page 17: Program Project

    Load CapSense Example Projects Figure 3-5. Output Window 3.1.3 Program Project 1. Open Program Part in PSoC Designer by selecting Program > Program Part 2. In the Program Part window a. Select MiniProg1 in the PortSelection box b. Set Acquire Mode to Power Cycle. If the board is already powered from AAA batteries or from external supply through J2, set Acquire Mode to Reset c.
  • Page 18: Run Project

    Load CapSense Example Projects 3.1.4 Run Project Power the board using any one of the sources listed in 2.1.3 Power Sources on page 11. Touch a CapSense button on the board to see the corresponding LEDs toggle, as shown in . Figure 3-6.
  • Page 19 Load CapSense Example Projects Figure 3-7. Connect Axial Capacitor to Connector J5 (picture to be updated) Figure 3-8. Broken Link in BTN2-LED2 2. Release BTN2; LED2 1. Touch BTN2; LED2 3. Touch BTN2 again; LED2 continues to remain off remains off remains off CY3280-SmartSense CapSense Auto-Tuning Kit Guide, Doc.
  • Page 20: Capsense Project: Smartsense + Auto Tuning

    Load CapSense Example Projects CapSense Project: SmartSense + Auto Tuning This section outlines the SmartSense method of tuning a project - SmartSense with auto tuning. The example project demonstrates four CapSense buttons controlled by SmartSense user module to detect the button press. Any button press detected is indicated by toggling the corresponding LED. Figure 3-9 illustrates the code flow.
  • Page 21: Build Project

    Load CapSense Example Projects Figure 3-10. Chip Editor View 3.2.2 Build Project To build a project, select Build > Generate/Build. PSoC Designer builds the project and displays comments in the Output window. When you see the message that the project built with 0 errors and 0 warnings, you are ready to program the device. Figure 3-11.
  • Page 22: Program Project

    Load CapSense Example Projects Figure 3-12. Output Window 3.2.3 Program Project 1. Open Program Part in PSoC Designer by selecting Program > Program Part 2. In the Program Part window a. Select MiniProg1 in the PortSelection box b. Set Acquire Mode to Power Cycle. If the board is already powered from AAA batteries or from external supply through J2, set Acquire Mode to Reset c.
  • Page 23: Tuning For Overlay

    Load CapSense Example Projects 3.2.6 Tuning For Overlay 1. Stick overlay of required thickness on top of CapSense buttons 2. Follow steps in 3.2.1 Load Project on page 20 to load the SmartSense example project 3. Decide the required SmartSense 'Sensor Sensitivity' parameter value Sensor sensitivity sets the capacitance signal change (sensor response) in pF needed to activate a button sensor.
  • Page 24 Load CapSense Example Projects Figure 3-14. SmartSense Property Window 5. Follow steps in 3.2.2 Build Project, 3.2.3 Program Project, and 3.2.4 Run Project to build, pro- gram, and run the modified example project. CY3280-SmartSense CapSense Auto-Tuning Kit Guide, Doc. # 001-64672 Rev. *B...
  • Page 25 Appendix Schematics A.1.1 CapSense Controller, Buttons, I/O Interfaces Do Not Populate VD D _D ev R 21 2 2 Oh m s P 1 [ 5] P OT1 XR ES R 22 ZE R O SC L I2C_SCL SD A I2C_SDA C ON _P0 [ 4] R 23 ZE R O...
  • Page 26 The recommended value for the external modulation capacitor is 2.2 nF. A ceramic capacitor must be used. The temperature capacitance coefficient is not important. Cypress strongly recommends using a 560-Ω series resistor on all CapSense sensor traces to ■...
  • Page 27 Board Layouts A.2.1 PDC-09587 Top CY3280-SmartSense CapSense Auto-Tuning Kit Guide, Doc. # 001-64672 Rev. *B...
  • Page 28 A.2.2 PDC-09587 Bottom CY3280-SmartSense CapSense Auto-Tuning Kit Guide, Doc. # 001-64672 Rev. *B...
  • Page 29 Bill of Materials Item Reference Value Description Manufacturer Mfr Part Number Cypress PDC-09587 Rev04 CAP CER 2200PF 50V 5% GRM2165C1H222JA0 C1,C4 2200 pFd Murata Electronics C0G 0805 CAP .10UF 10V CERAMIC C2,C5,C8,C9 0.1 uFd Kemet C0603C104K8RACTU X7R 0603 CAP CERAMIC 10.0UF 16V...
  • Page 30 Item Reference Value Description Manufacturer Mfr Part Number SWITCH SLIDE SP4T LOW SP4T Copal Electronics Inc CUS-14TB PROF SMD SWITCH SLIDE SPDT .3A SPDT E-Switches EG1270 RT ANGLE RES 0.0 OHM 1/10W 5% ZERO Panasonic-ECG ERJ-6GEY0R00V 0805 SMD DIODE SCHOTTKY 0.5A Fairchild Semiconduc- DIODE SCHOTTKY MBR0520L...

Table of Contents