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.
❐ ❐ Quick start guide Release notes ❐ Inspect the contents of the kit. If any 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 ■...
The Bridge Control Panel GUI is used with CY3240-I2USB bridge to enable communication with I2C slave devices; here, it is used with the CY3280-20x66 Universal CapSense Controller. This software is used to configure I2C devices as well as acquire and process data received from I2C slave devices.
Click the File icon and then click Open. Displays an equation: Times New Roman 2 + 2 = 4 Text in gray boxes Describes cautions or unique functionality of the product. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Getting Started This chapter describes the installation and configuration of the CY3280-20x66 Universal CapSense Controller Kit. Kit Installation To install the kit software, follow these steps: 1. Insert the kit CD into the CD drive of your PC. The CD is designed to auto-run and the kit installer startup screen appears.
Page 9
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, as shown in Figure 2-4. 6. Click Next to start the installation. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 10
7. When the installation begins, a list of packages appear on the Installation Page. A green check mark appears adjacent to every package that is downloaded and installed (see Figure 2-5). 8. Wait until all the packages are downloaded and installed successfully. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 11
PC. Open Bridge Control Panel with the I2USB bridge attached to the PC to verify driver installation. Note Advanced users can skip to Code Examples chapter on page CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Getting Started PSoC Designer 1. Click Start > All Programs > Cypress > PSoC Designer <version> > PSoC Designer <ver- sion>. 2. Click File > New Project to create new project; click File > Open Project to work with an existing project.
Note For more details on PSoC Programmer, go to Programmer user guide at: <Install_directory>\Cypress\Programmer\<version>\Documents. Bridge Control Panel 1. Click Start > All Programs > Cypress > Bridge Control Panel <version> > Bridge Control Panel <version>. 2. Select 5.0V from Power Setting box, as highlighted in Figure 2-9.
Page 14
Getting Started Figure 2-9. Selecting the Bridge Note For more details on the Bridge Control Panel, view the help topics from the Bridge Control Panel Menu bar. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Figure 3-1. Connect CapSense Module Board to Universal CapSense Controller. On the CY3280-20x66 Universal CapSense Controller board, place shunts on pins 1 to 2 of J4 (XRES select). On the CY3280-SLM Universal CapSense Linear Slider Module, place a shunt on pins 2 and 3 of J2.
2. On the UCC, connect J7 to pin 2 of J1. This enables power supply by the MiniProg1. 3. Toggle the Power button on PSoC Programmer. 4. LED D1 on the CY3280-20x66 Universal CapSense Controller is on if powered with Vcc_Prog. Otherwise, both LEDs D1 and D2 light up on powering the device with other power sources.
Bridge Control Panel software. Follow these steps to use the Bridge Control Panel software with the CY3280-20x66 Universal CapSense Controller board. 1. Click Start > All Programs > Cypress > Bridge Control Panel <version>. 2. Select the device to be connected from the port selection window.
Page 18
Figure 3-6. LED2 Glows on Touching Sensor SLD4 11. Click on the Chart tab to switch to Chart view and see the respective waveforms of CapSense parameters. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 19
12.View the required parameters by selecting or clearing the checkboxes to the right of the Chart view. 13.Click Stop to stop scanning. 14.Click the Table tab to view the values of the demonstration board variables, as shown in Figure 3-8. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
The CY3280-20x66 Universal CapSense Controller includes PSoC CY8C20066A, ISSP connector, CapSense module connector, USB Mini B connector, DC supply socket, Reset button, ICE-Cube debug connector. The following figure shows the different functional blocks on the CY3280-20x66 Universal CapSense Controller board. Figure 4-2. CY3280-20x66 Universal CapSense Controller Functional Blocks...
Page 23
P2_7 NOTE: Place all resistors close to PSoC 32.768KHz XTAL 32.768KHz XTAL CY8C20066 CY8C20066 NO LOAD NO LOAD NO LOAD NO LOAD DO NOT POPULATE MHz Crystal CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
The following block diagram shows the structure of the power system on the board. Figure 4-4. Power Supply System Structure 9 '& 6XSSO\ 9 5HJXODWRU 9 %DWWHU\ 5HJXODWRU 9FFB3URJ ,&( &XEH ,663 ,& CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
5 V voltage. Protection diode D5 is present so that the 5 V from the board does not flow to the USB connector. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
The ISSP connector is also used to connect the I2USB bridge to communicate between the PC and the controller board. See Power Supply Jumper Setting on page 26. The pin mapping for the ISSP connector is shown in the following figure. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
If the load at R67 is 3 K, the output voltage is 2.484 V; if the load at R67 is 9 K, the output voltage is 4.968 V. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
This test point may increase the noise sen- sitivity by acting as an antenna. Figure 4-13. Schematic View of CMOD CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
EzI2Cs: The EzI2Cs user module implements an I2C register based slave device. This user module does not require any digital or analog PSoC blocks. It is used to transfer all CapSense parameters related to a sensor to the PC for monitoring CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Store 0x00 as default slider on slider? status data in I2C buffer Store finger position on slider in I2C buffer Turn ON Led based on active sensor number CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
5. Click OK. The Select Project Type window opens. 6. In the Select Target Device option, click View Catalog, as shown in Figure 5-2. Figure 5-2. Select Project Type CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 34
Figure 5-3. Device Catalog 9. Under Generate 'Main' File Using: select C and then click OK. 10. By default, the project opens in Chip view, as shown in Figure 5-4. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 35
PSoC. In the User Modules window, expand the Cap Sensors folder. Figure 5-5. Cap Sensors Folder 12.In this folder, right click on CSD and select Place. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 36
Code Examples Figure 5-6. User Modules Window - CSD Select Figure 5-7. CSD User Module Placement 13.Configure the CSD_1 properties, as shown in Figure 5-8: CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 37
Figure 5-8. CSD User Module Properties 14.Right-click on the CSD user module and select the CSD Wizard option to assign pins to the sen- sors. Figure 5-9. Open CSD Wizard CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 38
Figure 5-11. Global Settings - CSD Wizard 16.Click on the slider in the CSD Wizard to view sensor settings. Configure the Sensor Settings, as shown in Figure 5-12. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 39
Pin Assignment window. Drag and drop SW0 to pin P1 [6]. Sensor pin assignment can be done in Table Pin Assignment View (Figure 5-14) or Chip Pin Assignment View (Figure 5-13). Figure 5-13. Assign Sensors to Pins - Chip Pin Assignment View CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 40
Figure 5-14. Assign Sensors to Pins - Table Pin Assignment View 18.After assigning a sensor, the CSD Wizard looks as shown in Figure 5-15. Figure 5-15. Sensor Assigned CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 41
P2[0] S1(8) P3[2] S1(9) P3[0] 20.After assigning all the sensors successfully, the CSD Wizard appears as follows: Figure 5-16. All Sensors Assigned - Table Pin Assignment View CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 42
21.In the User Modules window, expand the Digital Comm folder, select EzI2Cs, right-click and select Place to place an EzI2Cs in the design. Figure 5-18. User Module Window - EzI2Cs Select CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 43
22.By default, the EzI2Cs is placed at the I2C/SPI block. The placement of EzI2Cs module is shown Figure 5-19. Figure 5-19. EzI2Cs User Module Placement 23.Configure the properties of EzI2Cs_1 as shown. Figure 5-20. EzI2Cs User Module Properties CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 44
25.Configure the properties of P2[7], P0[1], P0[5] and P1[2] as shown in the following figures. Figure 5-22. P2[7] Port Pin Properties Figure 5-23. P0[1] Port Pin Properties Figure 5-24. P0[5] Port Pin Properties CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 45
27.Open the existing main.c file in Workspace Explorer. Replace the existing main.c content with the content of the embedded Example_My_First_PSoC_Project_Main.c file, which is attached to this PDF. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 46
28.Add a new file to the project by clicking File > New File. Figure 5-28. Add New File 29.Select the C file type and name the file. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 47
Code Examples Figure 5-29. File Types 30.Similarly, create two .h file types and name them as main.h and display.h, respectively. Figure 5-30. New Files in Project CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 48
Note While programming the board with PSoC Designer, close any open instance of PSoC Pro- grammer. a. Click on Program > Program Part. Figure 5-32. Program Part Window Toggle Power Button Program Button CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
3. Connect a USB cable from the CY3240-I2USB bridge board to a free USB port on a PC. 4. Click Start > Programs > Cypress > Bridge Control Panel <version> > Bridge Control Panel <version>. Note Make sure that PSoC Designer and PSoC Programmer are closed before opening the Bridge Control Panel.
Page 50
16.Click on the second command line and then click Repeat to read I2Cdata received from the Uni- versal CapSense Controller board. 17.Switch to the Chart tab to view the respective wave forms of CapSense parameters. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 51
Figure 5-37. Bridge Control Panel Chart View 18.The various parameter values received by the UCC is displayed in the Table tab. Figure 5-38. Bridge Control Panel Table View CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
EzI2Cs: The EzI2Cs user module implements an I2C register based slave device. This user module does not require any digital or analog PSoC blocks. It is used to transfer all CapSense parameters related to a sensor to the PC for monitoring. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Store 0x00 as default slider on slider? status in I2C buffer Store finger position on slider in I2C buffer Turn ON Led based on active sensor number CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
PSoC blocks. The EzI2Cs user module is used to transfer all CapSense parameters related to a sensor to the PC for monitoring. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Store 0x00 as default slider on slider? status data in I2C buffer Store finger position on slider in I2C buffer Turn ON Led based on active sensor number CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
■ Reads the sensor ID sent by the I2C master Stores CapSense data in the I2C registers ■ Updates the LED status for the On/Off sensors ■ CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
PSoC blocks. The EzI2Cs user module is used to transfer all CapSense parameters related to a sensor to the PC for monitoring. 5.4.2 Device Configurations Figure 5-45. Device Configuration for CY3280_20x66 CSA PD Project2 CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Store 0x00 as default slider on slider? status in I2C buffer Store finger position on slider in I2C buffer Turn ON Led based on active sensor number CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
5. Switch to the Chart tab to view respective waveforms of CapSense parameters; see Figure 5-47. Figure 5-46. Command Line View Figure 5-47. Bridge Control Panel Chart View Note The brown line in the figure represents the axis. CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Page 69
Place jumper (0.100" pitch) across pins 1 and 2 of J4. Install On Bottom of PCB As Close To Corners As Possible BUMPER CLEAR.370X.19" CYLINDER Richco Plastic Co RBS-35 CY3280-20x66 Universal CapSense Controller Kit Guide, Doc. No. 001-67447 Rev. *A [+] Feedback...
Need help?
Do you have a question about the CY3280-20x66 Universal CapSense and is the answer not in the manual?
Questions and answers