Cypress CY8CKIT-031 Manual

Psoc capsense expansion board kit
Hide thumbs Also See for CY8CKIT-031:

Advertisement

Quick Links

CY8CKIT-031
®
®
PSoC
CapSense
Expansion Board Kit Guide
Doc. # 001-66474 Rev. *H
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
http://www.cypress.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CY8CKIT-031 and is the answer not in the manual?

Questions and answers

Summary of Contents for Cypress CY8CKIT-031

  • Page 1 CY8CKIT-031 ® ® PSoC CapSense Expansion Board Kit Guide Doc. # 001-66474 Rev. *H Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 http://www.cypress.com...
  • Page 2 Cypress is not liable, in whole or in part, and you shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products.
  • Page 3: Table Of Contents

    Code Example 3: BMM_I2C_Tuner ................21 4.4.1 BMM_I2C_Tuning example (Without Tuning) ..........21 4.4.2 BMM_I2C_Tuning (With Tuning) ..............22 Code Example 4: SLM_I2C_Tuner ................28 4.5.1 SLM_I2C_Tuning example (Without Tuning) ..........28 4.5.2 SLM_I2C_Tuning (With Tuning) ..............29 CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 4 Board Layout ......................33 A.2.1 PDC-09801 Top Layer ..................33 A.2.2 PDC-09801 Bottom Layer ................33 Bill of Materials (BOM) ....................34 Board Files.........................34 Shielding Electrode ....................34 Regulatory Compliance Information ................34 Revision History CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 5: Safety Information

    If such interference is detected, suitable mitigating measures should be taken. The CY8CKIT-031 as shipped from the factory has been verified to meet with requirements of CE as a Class A product.
  • Page 6: General Safety Instructions

    Handling Boards CY8CKIT-031 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.
  • Page 7: Introduction

    The PSoC CapSense Expansion Board is based on the PSoC 3 and PSoC 5LP device families. These devices are based on Cypress’ Programmable System-on-Chip™ platform for 8-, 16-, and 32- bit applications. PSoC 3/5LP combines precision analog and digital logic with a high-performance CPU.
  • Page 8: Getting Started

    Find Example Project… under the Example and Kits sec- tion in the Start Page of PSoC Creator or navigate to File > Open > Example Project…. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 9 To use a starter design for your project, navigate to File > New > Project and select the design required. Figure 1-2. New Project CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 10: Documentation Conventions

    CY8CKIT-050 PSoC 5LP Development Kit by following the procedure in the knowledge base arti- Migrating CY8CKIT-001 DVK project to CY8CKIT 030/ 050. Apart from the example projects and starter designs that are available within PSoC Creator, Cypress continuously strives to provide the best support. Click here to view a growing list of application notes for PSoC 3 and PSoC 5LP.
  • Page 11: Installation

    Installation CD Installation To install the CY8CKIT-031 PSoC CapSense Expansion Board Kit software, insert the kit CD into the CD drive of your computer. The CD is designed to auto-run and the PSoC CapSense Expansion Board Kit menu appears. Figure 2-1. Kit Menu Note If auto-run does not execute, double-click cyautorun.exe on the root directory of the CD.
  • Page 12: Hardware

    If Acrobat Reader application is not installed in your PC, then the installer provides the link to install the same and this does not prevent kit installation. Note that Adobe reader is required to view the kit documents. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 13: Kit Operation

    Kit Operation The following figures show the CY8CKIT-031 PSoC CapSense Expansion Board Kit, CY3280 CapSense Matrix Button Module, and CY3280 CapSense Linear Slider Module. Figure 3-1. CY8CKIT-031 PSoC CapSense Expansion Board Kit 2x20-Pin 2x22 Pin Connector for Connector for DVK Interface...
  • Page 14 Note: The figure shows the Capsense Expansion board connections when PSoC 3 Development Kit is used. The same connections need to be done when PSoC 5LP Development Kit is used. 2x20 Connector 2x22 Connector CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 15 Note The PSoC CapSense Expansion Board Kit can use only port A of the CY8CKIT-001 PSoC Development Kit. Other ports - port A', port B, and port C cannot be used with this kit. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 16: Code Examples

    Board. The example demonstrates the CapSense button matrix operation. When any button is touched, the corresponding row and column LEDs turn on. This example also shows the calculator application in the PC with the CapSense BMM as a keypad. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 17 Select the individual CapSense sensor and configure sensitivity as required. The sensitivity parameter indicates the finger capacitance, which depends on the button area, overlay thickness, and dielectric constant of overlay material. Figure 4-1. Configuring ‘CapSense_CSD’ CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 18: Hardware Connections

    (see Table 4-1). Perform different operations on the calculator using CapSense touch buttons. Figure 4-2. CapSense Matrix Button Module Project CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 19: Code Example 2: Slm_Usb

    For the PSoC 3 or PSoC 5LP Development Kit Connect the CapSense Linear Slider Module to connector J2 of the PSoC CapSense Expansion ■ Board. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 20: Verify Output

    PC. Perform different operations such as Play/Pause, Stop, Mute/Unmute, Next, Previous, and System Volume Control using CapSense Linear Slider Module touch controls. Figure 4-3. CapSense Linear Slider Module Project CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 21: Code Example 3: Bmm_I2C_Tuner

    Note See Shielding Electrode on page 31 for more details. 4.4.1.3 Verify Output Touch any button and observe that corresponding row and column LED turns ON. Figure 4-4. CapSense Matrix Button Module Project CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 22: Bmm_I2C_Tuning (With Tuning)

    Note that when MiniProg3 is used for both I2C and programming, the MiniProg3 should be dis- connected from PC every time the connection is changed. Note See Shielding Electrode on page 34 for more details. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 23 GUI, follow these steps: 1. Go to the project’s TopDesign.cysch file. 2. To open the tuner, right-click on the CapSense_CSD component in PSoC Creator and click on Launch Tuner. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 24 4. Set the I2C communication parameters same as that set in the EZI2C component. 5. Select any option for the I2C Voltage other than External. The external supply pin on the MiniProg3 VTARG connects to NC on the CY8CKIT-031 board. Therefore, the external supply option does not work with the CY8CKIT-030 and CY8CKIT-050LP.
  • Page 25 4-5. See the graph for different vari- ables. 4. Touch the button and observe the increase in counts. Note: The Tuner GUI does not show correct output if multiple buttons are touched. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 26 Col 0) to see the sensor response in the tuner window, as shown in Figure 4-6. Also, observe that the corresponding row and col LED on the module board turns on. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 27 Code Examples Figure 4-6. Tuner Window Figure 4-7. Tuner Project CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 28: Code Example 4: Slm_I2C_Tuner

    Touch any button and observe the corresponding LED turn on. Place a finger on the slider; the nearest LED turns on and the finger position is displayed on the LCD. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 29: Slm_I2C_Tuning (With Tuning)

    Connect J1 of the PSoC CapSense Expansion Board Kit to port A of the development kit. ❐ Connect the LCD to P18 and place jumper J12 in the ON position to power on the LCD. ❐ CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 30 LED turn on. Place a finger on the slider; the nearest LED turns on and the finger position is displayed on the LCD. Figure 4-9. LCD Showing Slider Position 1. Please note the orientation of MiniProg3 while connecting on the board. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 31 Note The CY8CKIT-001 PSoC Development Kit gives lesser SNR performance. The kit is not designed to give optimal CapSense performance. Only 1.5 mm overlay should be used with the PSoC Development Kit. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 32: Appendix

    20x2_RA_Recptacle 20x2_RA_Recptacle 22x2_RA_Recptacle 22x2_RA_Recptacle From Expansion Connector of DVK To CapSense Connector R1 0E R1 0E R2 0E R2 0E 5 PIN HDR 5 PIN HDR I2USB Connector CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 33: Board Layout

    Appendix Board Layout A.2.1 PDC-09801 Top Layer A.2.2 PDC-09801 Bottom Layer CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 34: Bill Of Materials (Bom)

    This simplifies the high level software API work. The CSD User Module supports separate output for the shielding electrode. Regulatory Compliance Information CY8CKIT-031 has been tested and verified to comply with the following electromagnetic compatibil- ity (EMC) regulations. CISPR 22 - Emissions ■...
  • Page 35: Revision History

    Updated description. Updated “Software” on page Updated description. Updated Kit Operation chapter on page Added Note for Figure 3-4 on page Added Note for Figure 3-5 on page CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...
  • Page 36 Updated Figure 4-10, Figure 4-11. Updated to new template. No technical updates. 4700103 03/25/2015 SASH Completing Sunset Review. Updated to new template. 6120701 04/03/2018 RKAD Completing Sunset Review. CY8CKIT-031 PSoC® CapSense® Expansion Board Kit Guide, Doc. # 001-66474 Rev. *H...

Table of Contents