Datasheet
16 Document No. 001-66271 Rev. *B CY8C21x34/B CapSense
®
Design Guide
3. CapSense Design Tools
3.1 Overview of CapSense Design Tools
Cypress offers a full line of hardware and software tools for developing your CapSense capacitive touch-sense
application. A basic development system for the CY8C21x34/B family includes the components discussed in this
chapter. See Resources for ordering information.
3.1.1 PSoC Designer™ and User Modules
Cypress’s exclusive integrated design environment, PSoC Designer, allows you to configure analog and digital
blocks, develop firmware, tune, and debug your design. Applications are developed in a drag-and-drop design
environment using a library of user modules. User modules are configured either through the Device Editor GUI or by
writing into specific registers with firmware. PSoC Designer comes with a built-in C compiler and an embedded
programmer. A pro compiler is available for complex designs.
CSD, CSDADC, and SmartSense User Modules implement capacitive touch sensors using switched-capacitor
circuitry, an analog multiplexer, a comparator, digital counting functions, and high-level software routines (APIs). User
modules for other analog and digital peripherals are available to implement additional functionality such as I
2
C, SPI,
TX8, Timers, and PWMs.
Figure 3-1. PSoC Designer Device Editor
3.1.1.1 Getting Started with CapSense User Modules
To create a new CY8C21x34/B project in PSoC Designer:
1. Create a new CY8C21x34/B PSoC Designer project.
2. Select and place any user modules requiring dedicated pins (such as I
2
C or LCD) and assign ports and pins.
3. Select and place the CSD, CSDADC, or SmartSense User Module.
4. Right-click the user module to access the User Module wizard.
5. Set button sensor count, slider configuration, pin assignments, and associations.
6. Set pins and global user module parameters.