Cypress CE66058 Podręcznik - Strona 7

Przeglądaj online lub pobierz pdf Podręcznik dla Przełącznik Cypress CE66058. Cypress CE66058 14 stron. Dynamically switch csd bleed resistor

Cypress CE66058 Podręcznik

Software Setup

You need the following tools to set up the software:
PSoC Designer (version 5.3 or higher)
PSoC Programmer (version 3.13 or higher)
BCP
The user modules (UMs) used in this project and the hardware resources occupied by each user module are listed in
The ReadMe.txt file, available in the project, describes the parameter settings for the user modules used in this code example.
It also includes a list of the global resources.

Operation

Figure 8
shows the firmware flow of the project.
www.cypress.com
Table 4. User Modules and Hardware Resources
User Module
CSD
EzI2Cs
Figure 8. Functional Flow of Firmware
Start
Enable global
interuupts
Set I2C RAM
buffer
Start I2C and CSD
UM
Initialize
CapSense
Baselines
Document No. 001-66058 Rev.*E
Hardware Resources
ACB01, DBB00, DBB01, DCB02
2
I
C Block
Loop forever
Scan sensor 0-3
with Rb1 and
sensor 4 with Rb2
Update all
baselines and
check if any
sensor is active
Update I2C RAM buffer with
CapSense parameters
(RawCount, Baseline,
Difference Counts)
Dynamically Switch CSD Bleed Resistor
Table
4.
7