CY3280-BK1 Cypress Semiconductor Corp, CY3280-BK1 Datasheet - Page 22

KIT UNIVERSAL CAPSENSE CTRLR

CY3280-BK1

Manufacturer Part Number
CY3280-BK1
Description
KIT UNIVERSAL CAPSENSE CTRLR
Manufacturer
Cypress Semiconductor Corp
Series
PSoC® CapSenser
Type
DSPr
Datasheet

Specifications of CY3280-BK1

Contents
2 Controller Boards, 2 Modules, USB Board, Mini Programmer, Cables and Software
Interface Type
USB, I2C, SPI
Operating Voltage
2.4 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Silicon Manufacturer
Cypress
Silicon Core Number
CY3280
Kit Application Type
Sensing - Touch / Proximity
Application Sub Type
Capacitive Touch
Silicon Family Name
PSoC
Rohs Compliant
Yes
For Use With/related Products
CY8C20x34 and CY8C21x34
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
428-2033

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
CY3280-BK1
Manufacturer:
CYPRESS
Quantity:
6
Create a PSoC Designer CapSense Project
Add Code to main.c and Build the Project
22
5.35 Select View
5.36 Ensure the Project View button
5.37 Double-click main.c under mydesignerproject files
5.38 Select all text in main.c and delete it.
5.39 Add the following code:
5.40 Select Build
#include <m8c.h>
#include "PSoCAPI.h"
typedef struct I2C_regs {
} I2C_REGS;
I2C_REGS reg_info;
void main()
{
}
BYTE button_state;
WORD button_raw_counts;
WORD button_baseline;
EzI2Cs_1_SetRamBuffer(sizeof(reg_info), 0, (BYTE *) &reg_info);
M8C_EnableGInt;
EzI2Cs_1_Start();
CSA_1_Start();
CSA_1_InitializeBaselines();
CSA_1_SetDefaultFingerThresholds();
while (1)
{
}
Application Editor.
CSA_1_ScanAllSensors();
CSA_1_UpdateAllBaselines();
CSA_1_bIsAnySensorActive();
M8C_DisableGInt;
reg_info.button_raw_counts = CSA_1_waSnsResult[0];
reg_info.button_baseline = CSA_1_waSnsBaseline[0];
reg_info.button_state = (CSA_1_baSnsOnMask[0] & 1);
M8C_EnableGInt;
if (reg_info.button_state == 1)
LED_1_On();
else
LED_1_Off();
Rebuild All and verify the compile finishes with no errors.
CY3280-BK1 Universal CapSense Controller Quick Start, Doc. # 001-37959 Rev. **
is selected.
Source Files on the left.

Related parts for CY3280-BK1