Download Print this page

Cypress CY3218-CAPEXP1 Quick Start Manual

Capsense express evaluation kit
Hide thumbs Also See for CY3218-CAPEXP1:

Advertisement

Quick Links

CY3218-CAPEXP1 CapSense Express
Evaluation Kit Quick Start
Doc. # 001-44769 Rev. *A
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

loading
Need help?

Need help?

Do you have a question about the CY3218-CAPEXP1 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress CY3218-CAPEXP1

  • Page 1 CY3218-CAPEXP1 CapSense Express Evaluation Kit Quick Start Doc. # 001-44769 Rev. *A 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: Getting Started

    1. Review Kit Contents 2. Explore the Board 3. Install Software 4. CY3218-CAPEXP1 Board Features 5. Tune the CY3218-CAPEXP1 CapSense Express Board 6. Create a CY3218-CAPEXP1 CapSense Express Project 7. Additional CapSense Resources 1. Review Kit Contents Each CY3218-CAPEXP1 CapSense Express Evaluation Kit contains: CY3218-CAPEXP1 CapSense Express Evaluation Board ■...
  • Page 3: Install Software

    CapSense Buttons with Backlight LEDs Mechanical Button Use the CY3218-CAPEXP1 Evaluation Kit to evaluate the CapSense buttons, LED drive, digital input, and I C features of the CapSense Express device. Via the CapSense Express Configura- tion Tool in PSoC Express, the three backlighting LEDs and three status LEDs can be controlled by the CapSense buttons and the mechanical button.
  • Page 4 5. Tune the CY3218-CAPEXP1 CapSense Express Board Functional Description When any of the three capacitive sensing buttons are pressed, the corresponding status and backlight LEDs are lit. Additionally, pressing the pushbutton causes all of the status LEDs to be lit.
  • Page 5 5.3. From the Express Design Catalog, open the CY3218 CAPEXP1 CapSense Express Kit folder. 5.4. Double-click 3 CapSense Buttons to open the design. 5.5. Name the design ThreeCapSenseButtons and save the design in the location of your choice. 5.6. Click Monitor to open the Monitor view. 5.7.
  • Page 6 5.10. Test the board by touching the CapSense buttons. The LEDs above each button turn on each time the corresponding button is touched. Notice how the Pin Status and Latched Value indicators change from OFF to ON when a button is touched. 5.11.
  • Page 7 5.13. Touch button C0 (leftmost CapSense button). Anytime the Difference variable (repre- sented as a red, vertical bar) is higher than the Finger Threshold (represented as a dark blue, horizontal bar, set to 100 by default), the touch registers as a Hit. Finger Threshold 5.14.
  • Page 8 5.15. Change the Finger Threshold for C0 from 100 to 50, and click Apply to board. 5.16. Cover the button with the paper again, and touch the button. Adjust the Finger Threshold until it is low enough to register a hit with the paper over the button. 5.17.
  • Page 9 6. Create a CY3218-CAPEXP1 CapSense Express Project Start the Project 6.1. Connect your computer to the CapSense test board I C Connector (J5) using the CY3240-I2USB Bridge Board and a USB cable. When connected correctly, the USB con- nector on the CY3240-I2USB Bridge Board is visible when viewing the front of the CY3218-CAPEXP1 board.
  • Page 10 6.6. Open the CapSense Express directory, right-click the 10 GPIO/CS Button Set driver, and select Add to Design. The Add Input Driver window opens. Page 10...
  • Page 11 6.7. Name the driver ThreeButtons and click OK. The CapSense Express 10GPIO / CS BUT- TON SET window opens. In PSoC Express, each CapSense button, LED, and mechanical button requires a sepa- rate driver. The 10 GPIO/CS Button Set driver is a special driver that allows you to config- ure all the buttons, LEDs, and the mechanical button in one interface.
  • Page 12 Configure the Drivers 6.8. By default, all driver types in the Configure Local Parameters pane are set to CapSense Input. To setup the LEDs, set the Pin Type for drivers C3 through C8 to GPOutput and the Drive Mode for each of those drivers to Strong Drive. To setup the mechanical button, set the Pin Type for driver C9 to GPInput.
  • Page 13 6.10. To assign an LED to a CapSense button, simply click on the yellow box of the CapSense button you want to assign to LED G3. For LED driver G3, select the CapSense button C0. A small line will then connect C0 to the purple OR box. To have the LED turn on when the button is pressed, click the little box to the right of the purple OR box.
  • Page 14 6.11. To have the mechanical button turn the LED on, click the yellow G9 box. Mechanical Button Connecting Line 6.12. Repeat Step 6.10. Step 6.11. for drivers G4 through G8 according to the following table: Control Control C0 & G9 C1 &...
  • Page 15 6.15. Assign each CapSense button, LED, and mechanical button on the board to the pin anno- tated on the board. For example, the leftmost CapSense button is labeled GP0[3]. GP0[3] GP0[4] GP1[4] Drag each driver from the Unassigned list to the appropriate pin (listed on page 16 for con- vinience).
  • Page 16 Driver Driver Button1 (C0) GP0[2] Output3 (G5) GP0[1] Button2 (C1) GP1[4] Output4 (G6) GP0[0] Button3 (C2) GP1[3] Output5 (G7) GP0[3] Output1 (G3) GP1[0] Output6 (G8) GP1[2] Output2 (G4) GP1[1] Input1 (G9) GP0[4] 6.16. Click OK to close the User Pin Assignment window. 6.17.
  • Page 17 What’s Next Congratulations! You have successfully recreated the factory installed program used in Section 5. To experiment with button and LED behavior, select any LED (G3 through G8) from the Select Pin menu in the Pin Specific Tuning pane and set different buttons to light different LEDs. You can also reverse the inversion so that an LED is on until a button is pressed.
  • Page 18 7. Additional CapSense Resources PSoC Data Sheets, Application Notes and Technical Articles Cypress provides a wealth of information about CapSense Express, and more is frequently added. Many sample documents, schematics, layouts, guidelines, and other CapSense Express documents are available on the CD and at www.cypress.com...
  • Page 19 CapSense Technical Articles Designer's Guide to Rapid Prototyping of Capacitive Sensors on any Surface ■ Controls & Sensors Touch Sensors Spread Out ■ White Paper Cypress’s CapSense Successive Approximation Algorithm ■ The Art of Capacitive Touch Sensing ■ Design Support PSoC Development Software Online All PSoC development software tools are available for download online.
  • Page 20 For more information on these kits, please go to www.cypress.com/CapSense. CapSense™, PSoC Designer™, Programmable System-on-Chip™, and PSoC Express™ are trademarks and PSoC® is a registered trademark of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are property of the respective corporations.