20
CY3280-SmartSense CapSense Auto-Tuning Kit Guide, Doc. # 001-64672 Rev. *B
Load CapSense Example Projects
3.2
CapSense Project: Smar Auto Tuning
This section outlines the SmartSense method of tuning a project - SmartSense with auto tuning. The
example project demonstrates four CapSense buttons controlled by SmartSense user module to
detect the button press. Any button press detected is indicated by toggling the corresponding LED.
illustrates the code flow.
Figure 3-9. SmartSense Method Flowchart
3.2.1
Load Project
1. Open PSoC Designer
2. Click
File
>
Open Project/Workspace
3. Locate the project directory
4. Open the
CapSense_SmartSense_AutoTuning
folder
5. Double-click
CapSense_SmartSense_AutoTuning.app
The project opens in the Chip Editor view. All the project files are in workspace explorer.
Intialize CapSense, LED modules
Scan all the sensors
Scan all sensors and update sensor
baselines
Is any sensor
Active?
Boot
Decode the sensor number and
toggle corresponding LED
Turn Off all LED’s
Yes
No
Содержание CapSense CY3280-SmartSense
Страница 8: ...8 CY3280 SmartSense CapSense Auto Tuning Kit Guide Doc 001 64672 Rev B Introduction ...
Страница 27: ...CY3280 SmartSense CapSense Auto Tuning Kit Guide Doc 001 64672 Rev B 27 A 2 Board Layouts A 2 1 PDC 09587 Top ...
Страница 28: ...28 CY3280 SmartSense CapSense Auto Tuning Kit Guide Doc 001 64672 Rev B A 2 2 PDC 09587 Bottom ...