Cypress CapSense CY3280-24x94 User Manual

Universal controller kit
Hide thumbs Also See for CapSense CY3280-24x94:

Advertisement

Quick Links

CY3280-24x94
®
Universal CapSense
Controller Kit Guide
Document No. 001-70137 Rev. **
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-24x94 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Cypress CapSense CY3280-24x94

  • Page 1 CY3280-24x94 ® Universal CapSense Controller Kit Guide Document No. 001-70137 Rev. ** 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 Kit Contents ..........................5 1.1.1 Prerequisites .........................5 1.1.2 CY3217-MiniProg1......................6 1.1.3 CY3240-I2USB Bridge Board..................6 1.1.4 CY3280 Universal CapSense Module Board ..............6 PSoC Designer .........................6 PSoC Programmer ........................6 Bridge Control Panel.........................6 Additional Learning Resources....................6 Document History ........................7 Document Conventions ......................7 2.
  • Page 4 Contents 5. Code Examples CY3280_24x94 CSD PD Project1 ..................35 5.1.1 Project Description...................... 35 5.1.2 Device Configurations....................36 5.1.3 Firmware Architecture....................37 5.1.4 Verify Output ....................... 39 CY3280_24x94 CSD PD Project2 ..................42 5.2.1 Project Description...................... 42 5.2.2 Device Configurations....................43 5.2.3 Firmware Architecture....................
  • Page 5: Introduction

    Visit http://www.cypress.com/shop for more information. Inspect the contents of the kit. If any of the parts are missing, contact your nearest Cypress sales office for further assistance. 1.1.1 Prerequisites The following are required for the functioning of the kit: CY3280 Universal CapSense Module board or user custom board similar to CY3280 module ■...
  • Page 6: Cy3217-Miniprog1

    PSoC application. The latest PSoC Designer has many new features, bug fixes, and support for new PSoC devices. More information about PSoC Designer is available in the PSoC Designer IDE Guide at <Installed_directory>\Cypress\PSoC Designer\<version>\Documentation. PSoC Programmer PSoC Programmer 3.12 offers you a simple GUI that connects to programming hardware to program and configure PSoC devices.
  • Page 7: Document History

    The layout guidelines section in Getting started with CapSense describes layout guidelines for CapSense applications with regard to PCB layout, overlay thickness, material selection and chassis design. I2C-USB Bridge Guide – http://www.cypress.com/?rID=3421 ■ CY3280-SLM Linear Slider Module Kit – http://www.cypress.com/go/CY3280-SLM ■...
  • Page 8 Introduction CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No. 001-70137 Rev. **...
  • Page 9: Getting Started

    1. Insert the kit CD in the CD drive of your PC. The CD is designed to auto-run and the kit installer startup screen appears. Download the latest kit installer from http://www.cypress.com/go/CY3280-24x94. Download the kit installer ISO file and create an installer CD or extract the ISO using Ironware and install the executable.
  • Page 10 Getting Started Note If auto-run does not execute, double-click cyautorun.exe in the root directory of the CD. Figure 2-2. CD Root Directory. 3. The default setup location is shown on the Install Shield Wizard screen. Click Change to modify the location. 4.
  • Page 11 Getting Started 5. In the Product Installation Overview screen, select the installation type that best suits your requirement. The drop-down menu has three options – Typical, Complete, and Custom (see Figure 2-4). 6. Click Next to start the installation. Figure 2-4. Installation Type Options CY3280-24x94 Universal CapSense®...
  • Page 12 Getting Started 7. When the installation begins, a list of packages appear on the Installation Page. A green check mark appears next to every package that is downloaded and installed. 8. Wait until all the packages are downloaded and installed successfully. Figure 2-5.
  • Page 13: Psoc Designer

    BCP with the kit board attached over USB, MiniProg, and I2USB Bridge. PSoC Designer 1. Click Start > All Programs > Cypress > PSoC Designer <version> > PSoC Designer <version>. 2. Click File > New Project to create a new project; click File > Open Project/Workspace to work with an existing project.
  • Page 14: Psoc Programmer

    Getting Started PSoC Programmer 1. Click Start > All Programs > Cypress > PSoC Programmer <version> > PSoC Programmer <version>. 2. Select the MiniProg from the port selection. Figure 2-8. PSoC Programmer Window 3. Click the File Load button from the Programmer menu bar; navigate and select the hex file to load.
  • Page 15: Bridge Control Panel

    Getting Started Bridge Control Panel 1. Click Start > All Programs > Cypress > Bridge Control Panel <version>> Bridge Control Panel <version> 2. Select 5.0 V from the Power Setting box (see Figure 2-9). 3. Select the device to be connected from the port window.
  • Page 16 Getting Started CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No. 001-70137 Rev. **...
  • Page 17: Kit Operation

    Kit Operation Introduction The CY3280-24x94 UCC connects to any CY3280 Universal CapSense Module board. This kit requires PSoC Designer for development, PSoC Programmer for programming, and Bridge Control Panel to test and tune the CapSense parameters. Hardware Requirement CY3280-24x94 UCC board (PSoC Device ID: CY8C24094-24LFXI) ■...
  • Page 18: Programming Device

    Kit Operation Programming Device The CY3280-24x94 UCC is programmed using a MiniProg1 provided with the kit. Figure 3-2. MiniProg 1 Connected to Controller 1. Connect your computer to the CY3280-24x94 ISSP connector (J3) using the PSoC MiniProg 1 and a USB cable (A to Mini B). Use PSoC Programmer for programming. 2.
  • Page 19: Bridge Control Panel

    The .ini file is the variable setting file, available in the kit CD or at the following location: <Installed_directory>\Cypress\CY3280-24x94\Firmware\USB-I2CBridgeSoftwareConfig. 4. Load the .iic file for iic commands that can be sent to the board. The .iic file is the configuration setting file, available in the kit CD or at the following location: <Installed_directory>\Cypress\CY3280-24x94\Firmware\USB-I2CBridgeSoftwareConfig...
  • Page 20 Kit Operation Figure 3-4. Bridge Control Panel Editor View First command line Second command line 9. Click Send to send commands to the controller board; click Repeat to get parameters continu- ously from the controller. 10.Touch a button or slider. Each touch lights up the associated LED on the module board, repre- senting where your finger is on the slider.
  • Page 21 Kit Operation 11. Click Chart to switch to Chart view and see the respective waveforms of CapSense parameters. Figure 3-6. Bridge Control Panel Chart View Note In this figure, the brown line represents the axis; the blue line indicates RawCount, and the green line indicates the Baseline.
  • Page 22 Kit Operation Figure 3-7. Bridge Control Panel Table View CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No. 001-70137 Rev. **...
  • Page 23: Hardware

    Hardware System Block Diagram The CY3280-24x94 UCC board has the following sections: PSoC CY8C24094 24LFXI ■ Power supply system ■ USB Mini B connector ■ CapSense module connector ■ ISSP/I2C connector ■ ICE-Cube debug connector ■ VADJ variable regulator control ■...
  • Page 24: Functional Description

    Hardware Functional Description The CY3280-24x94 UCC includes PSoC CY8C24094-24LFXI, ISSP/I2C connector, CapSense Mod- ule connector, CapSense plus Module Connector, Mini B USB connector, DC Supply jack, and ICE- Cube debug connector. The following figure shows the different functional blocks on the CY3280- 24x94 UCC board.
  • Page 25: Psoc Cy8C24094-24 Lxfi

    Hardware 4.2.1 PSoC CY8C24094-24 LXFI The PSoC CY8C24094 is initially factory programmed as a CapSense controller with the control cir- cuitry to work with the CY3280-24x94 UCC kit. The PSoC CY8C24094 along with CSD technology demonstrates the use of CapSense buttons and linear sliders. The module board connected to the CY3280-24x94 Universal CapSense Controller has sensors and LEDs.
  • Page 26 Hardware Table 4-1. Pin Description of CY8C24094-24LFXI Pin Number Name Description Connect to P4[7] GPIO P4[5] Vbus in USB Connector P4[3] GPIO P4[1] GPIO OCDE OCD mode direction pin OCDO OCD mode direction pin Ground Connection P3[7] GPIO P3[5] GPIO P3[3] CapSense P3[1]...
  • Page 27 Hardware Table 4-1. Pin Description of CY8C24094-24LFXI (continued) Pin Number Name Description Connect to P1[6] CapSense P5[0] GPIO P5[2] GPIO P5[4] GPIO P5[6] GPIO P3[0] CapSense P3[2] CapSense P3[4] GPIO P3[6] GPIO HCLK OCD high speed clock output CCLK OCD CPU clock output Active high external reset with internal XRES pull down...
  • Page 28: Power Supply System

    Hardware 4.2.2 Power Supply System The power supply system on this board is versatile; it takes input supply from the following sources: 12 V DC supply using connector J5 ■ 9 V battery connector using connectors BH1 and BH2 ■ USB power (5 V) from communications section using connector J6 ■...
  • Page 29 Hardware Figure 4-5. Schematic View of the Power Supply System Structure DO NOT POPULATE BAT 9V FEMALE BAT 9V FEMALE SOD123 SOD123 DIODE SCHOTTKY DIODE SCHOTTKY Adj Regulator (1.2 V to 5.0 V as is here) 5.0 V Regulator BAT 9V MALE BAT 9V MALE DIODE SCHOTTKY DIODE SCHOTTKY...
  • Page 30: Mini B Usb Connector

    Hardware 4.2.3 Mini B USB Connector The USB Mini B connector is a mini port used to communicate between the PC and the board and to power up the controller, supplying a voltage of 5 V. Protection diode D3 ensures that the 5 V from the board does not flow to the USB connector.
  • Page 31: Cpm Connector (Capsense Plus Module Connector)

    Hardware 4.2.5 CPM Connector (CapSense Plus Module Connector) The CY3280-24x94 has an expansion port, P3. This port is designed to connect CY3280-CPM1 (CapSense Plus Module) to demonstrate CapSense Plus features of the CY8C24094 device. The pin mapping for the port P3 is shown in the following figure. Figure 4-8.
  • Page 32: Vadj Variable Regulator Control

    Hardware Figure 4-10. Schematic View of the ICE CUBE Connector HCLK 0402 0402 XRES 0.1 uFd 0.1 uFd CCLK OCDO OCDE RJ45 Right Angle RJ45 Right Angle 0603 0603 330 pFd 330 pFd 4.2.8 Variable Regulator Control VADJ The CY3280-24x94 controller has a variable regulator control used to vary input voltage using the voltage regulator IC U3.
  • Page 33: Leds

    Hardware 4.2.9 LEDs The LEDs are used to show the status of the controller board. LED D1 lights up on connecting power supply from 12 V DC supply, USB, 9 V battery, PSoC MiniProg, I2USB Bridge, or VADJ. LED D2 lights up once the board is powered by any of the power sources (12 V DC supply, USB, 9 V battery, PSoC MiniProg, I2USB Bridge, ICE Cube, or VADJ).
  • Page 34 Hardware CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No. 001-70137 Rev. **...
  • Page 35: Code Examples

    Code Examples All example projects are available in the Firmware folder of the kit CD or at the following location: <Install_directory>\Cypress\CY3280-24x94\<version>\Firmware\ CY3280_24x94 CSD PD Project1 5.1.1 Project Description This project demonstrates the use of the CapSense buttons and linear slider on the CY3280-SLM board using CSD technology and CY8C24x94A.
  • Page 36: Device Configurations

    Code Examples 5.1.2 Device Configurations Figure 5-1. Device Configuration for CY3280_24x94 CSD PD Project1 CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No. 001-70137 Rev. **...
  • Page 37: Firmware Architecture

    Code Examples 5.1.3 Firmware Architecture Start Enable Global Interrupt Clear all LEDs Set RAM Buffer On Reset store 0 as Sensor id Start I2C,Start CSD, Initialize Baseline, Set Finger Thresholds CapSense Initialization and Setting of finger threshold Loop forever Scan All sensors,Update All Baseline,Check if any senor Active Store Raw Count,Baselilne Count,Difference Count,Sensor Mask into I2C buffer of a single Sensor ID...
  • Page 38 Code Examples No Slider position is activated Store Value 0 as Default Slider position is active at ed Get the finger position Get the Centriod position and store it in I2C buffer bSensor Turn off LED 0 Turn on LED0 Status &0x01 bSensor Turn off LED 1...
  • Page 39: Verify Output

    Verify Output Load CY3280_SLM_Project1.iic file from the Bridge Control Panel, as explained in Bridge Control Panel on page 17. This file is available in the following location: <Installed Directory>\Cypress\CY3280-24x94\<version>\Firmware\ I2C-USBBridgeSoftwareConfig 1. Touch one or more buttons; the associated LEDs light up.
  • Page 40 Code Examples Table 5-1. Sensor Details Firmware Labels Sensor Name Sensor ID(HEX) CSDSW0 BTN0 CSDSW1 BTN1 CSDSW2 BTN2 CSDSW3 BTN3 CSDSW4 BTN4 CSDSW5 SLD0 CSDSW6 SLD1 CSDSW7 SLD2 CSDSW8 SLD3 CSDSW9 SLD4 CSDSW10 SLD5 CSDSW11 SLD6 CSDSW12 SLD7 CSDSW13 SLD8 CSDSW14 SLD9 CY3280-24x94 Universal CapSense®...
  • Page 41 Code Examples Figure 5-3. Bridge Control Panel Chart View Note In the figure, the brown line represents the axis, the blue line indicates RawCount, and the green line indicates the Baseline. CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No. 001-70137 Rev. **...
  • Page 42: Cy3280_24X94 Csd Pd Project2

    Code Examples CY3280_24x94 CSD PD Project2 5.2.1 Project Description This project demonstrates the use of CapSense Buttons and linear sliders using CSD technology and CY8C24x94. The EzI2Cs user module is used to transfer the raw count of CapSense parame- ters related to all the sensors to PC for monitoring. This project is implemented in chip level design in PSoC Designer 5.1.
  • Page 43: Device Configurations

    Code Examples 5.2.2 Device Configurations Figure 5-4. Device Configuration for CY3280_24x94 CSD PD Project2 CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No. 001-70137 Rev. **...
  • Page 44: Firmware Architecture

    Code Examples 5.2.3 Firmware Architecture Start Enable Global Interrupt, Clear all LEDs Set RAM Buffer On Reset store 0 as Sensor id Start I2C,Start CSD, Initialize Baselines, Set Finger Thresholds CapSense Initialization andSetting of finger threshold Loop forever Scan All sensors ,Update All Baseline, Check if any senor Active Sensor ID=0 bSensorID<CSD_ ButtonCount...
  • Page 45 Code Examples No Slider position is activated Store Value 0 as Default Slider position is active at ed Get the finger position Get the Centriod position and store it in I2C buffer bSensor Status Turn on LED0 Turn off LED 0 &0x01 bSensor Status Turn off LED 1...
  • Page 46: Verify Output

    Load CY3280_SLM_Project2.iic file from the Bridge Control Panel as explained in Bridge Control Panel on page 17. This file is available in the following location: <Installed Directory>\Cypress\CY3280-24x94\Firmware\I2C-USBBridgeSoftwareConfig 1. Touch one or more buttons; the associated LEDs light up. 2. Touch the linear slider; the associated LEDs light up.
  • Page 47 Code Examples Figure 5-6. Bridge Control Panel Chart View   Note The brown line in the figure represents the axis. CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No. 001-70137 Rev. **...
  • Page 48 Code Examples CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No. 001-70137 Rev. **...
  • Page 49: Appendix

    Appendix Schematic Vadj 10 uFd 16V 10 uFd 16V 10 uFd 16V 10 uFd 16V Place test points next to connector P2. Place test points near edge of board. P0[0] P1[0] 0 OHM 0 OHM P1[0]b DO NOT POPULATE R21 BY DEFAULT P0[0] P1[0] CMOD...
  • Page 50: Board Layout

    Appendix Board Layout A.2.1 PDCR-9434 (Top) CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No, 001-70137 Rev. **...
  • Page 51: Pdcr-9434 Layer 2

    Appendix A.2.2 PDCR-9434 Layer 2 CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No, 001-70137 Rev. **...
  • Page 52: Pdcr-9434 Layer 3

    Appendix A.2.3 PDCR-9434 Layer 3 CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No, 001-70137 Rev. **...
  • Page 53: Pdcr-9434 Bottom

    Appendix A.2.4 PDCR-9434 Bottom CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No, 001-70137 Rev. **...
  • Page 54: Pdcr-9434 Primary Layer

    Appendix A.2.5 PDCR-9434 Primary Layer CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No, 001-70137 Rev. **...
  • Page 55: Pdcr-9434 Secondary Layer

    Appendix A.2.6 PDCR-9434 Secondary Layer CY3280-24x94 Universal CapSense® Controller Kit Guide, Document No, 001-70137 Rev. **...
  • Page 56: Bill Of Materials

    Appendix Bill of Materials Item Reference Part Manufacturer Manuf. Part# ROHS Cypress 24x94 PCB Rev02 PDCR-99434 Rev02 Semiconductor Murata C1,C2 CAP CER 10UF 16V X5R 0805 Electronics North GRM21BR61C106KE15L Y America CAP 0.01UF 50V CERAMIC X7R 0805 Panasonic - ECG...
  • Page 57 Appendix Item Reference Part Manufacturer Manuf. Part# ROHS National IC REG LDO 1.5A ADJ VOLT TO263-5 LP3875ES-ADJ/NOPB Semiconductor Analog Devices IC DGTL POT SPI 10K 10-MSOP AD5161BRMZ10 National IC REG 5.0V 800MA LDO SOT-223 LM1117MPX-5.0 Semiconductor Do Not Populate R82,R88 RES NO LOAD 0805 SMD RES 1.37K OHM 1/8W 5% 0805 SMD Panasonic - ECG...

Table of Contents