Cypress Semiconductor CapSense® Controller kit CY3280-BK1 CY3280-BK1 CY3280-BK1 Manual De Usuario

Los códigos de productos
CY3280-BK1
Descargar
Página de 26
16
CY3280-BK1 Universal CapSense Controller Quick Start, Doc. # 001-37959 Rev. **
Tune a PSoC Express CapSense Project
Assign Drivers to Pins
4.9 In the User Pin Assignment window, click Unassign All Pins. All drivers move to the Unas-
signed Drivers list.
4.10 To assign drivers to pins, drag and drop drivers from the Unassigned Drivers list onto a pin. 
Assign the CapSenseProperties_ExternalCap driver to port P0[3].
Assign the rest of the drivers according to the following table.
4.11 Click Next. PSoC Express builds your project (this may take a few minutes).
Program the CY3280-20x34 UCC Board
4.12 Connect your computer to the CapSense test board ISSP Connector (J3) 
 using the PSoC 
MiniProg and a USB cable.
4.13 Select Program 
Programmer. When PSoC Programmer opens, click Program.
When programming has successfully completed, close PSoC Programmer and return to PSoC 
Express.
Tune Button1
4.14 Click the Monitor button 
.
4.15 Connect your computer to the CapSense test board ISSP Connector (J3) 
 using the USB-
I2C bridge and a USB cable.
4.16 From the Power Selection menu, select 5V Supplied.
4.17 Click the Start  
button.
4.18 Right-click the Button1 driver and select Show Tuner to open the CSA Button Tuner Window.
4.19 Touch Button1 with your finger. You can easily see the button is too sensitive because the sen-
sor easily reports a full-finger contact.
4.20 Increase the Finger Threshold to 250 and the IDAC setting to 250. Changing the IDAC setting is 
inversely related to the sensitivity of the button. Therefore, increasing the value decreases the 
sensitivity. Any Raw Count below the Finger Threshold does not register as a hit.
4.21 Click Apply to Board to write the changed parameter to Flash on the device.
Button1_CSA
P1[6]
Button2_CSA
P1[3]
CapSenseProperties_ExternalCap
(previously assigned in Step 4.10)
P0[3]
I2CSlave I2CSCLPin
P1[1]
I2CSlave I2CSDAPin (automatically 
assigned when the SCL pin is assigned)
P1[0]
LED1
P2[5]
LED2
P2[7]