Download planta apa_datasheet.pdf

PSoC® Creator™
Project Datasheet for planta apa
Creation Time: 01/18/2016 15:33:47
User: PC40\iuli
Project: planta apa
Tool: PSoC Creator 3.3 CP1
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intl): 408.943.2600
http://www.cypress.com
Copyright
Copyright
Copyright © 2016 Cypress Semiconductor Corporation. All rights reserved. Any design information or
characteristics specifically provided by our customer or other third party inputs contained in this document are not
intended to be claimed under Cypress's copyright.
Trademarks
PSoC and CapSense are registered trademarks of Cypress Semiconductor Corporation. PSoC Creator is a
trademark of Cypress Semiconductor Corporation. All other trademarks or registered trademarks referenced
herein are the property of their respective owners.
Philips I2C Patent Rights
Purchase of I2C components from Cypress or one of its sublicensed Associated Companies conveys a license
under the Philips I2C Patent Rights to use these components in an I2C system, provided that the system
conforms to the I2C Standard Specification as defined by Philips. As from October 1st, 2006 Philips
Semiconductors has a new trade name, NXP Semiconductors.
Disclaimer
CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS
MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE. While reasonable precautions have been taken, Cypress assumes
no responsibility for any errors that may appear in this document. Cypress reserves the right to make changes
without further notice to the materials described herein. Cypress does not assume any liability arising out of the
application or use of any product or circuit described herein. Cypress does not authorize its products for use as
critical components in life support systems where a malfunction or failure may reasonably be expected to result in
significant injury to the user. The inclusion of a Cypress product in a life support systems application implies that
the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Flash Code Protection
Cypress products meet the specifications contained in their particular Cypress PSoC Datasheets. Cypress
believes that its family of PSoC products is one of the most secure families of its kind on the market today,
regardless of how they are used. There may be methods, unknown to Cypress, that can breach the code
protection features. Any of these methods, to our knowledge, would be dishonest and possibly illegal. Neither
Cypress nor any other semiconductor manufacturer can guarantee the security of their code. Code protection
does not mean that we are guaranteeing the product as 'unbreakable.'
Cypress is willing to work with the customer who is concerned about the integrity of their code. Code protection is
constantly evolving. We at Cypress are committed to continuously improving the code protection features of our
products.
planta apa Datasheet
01/18/2016 15:33
Contents
Table of Contents
1 Overview............................................................................................................................................... 1
2 Pins....................................................................................................................................................... 3
2.1 Hardware Pins........................................................................................................................... 4
2.2 Hardware Ports.......................................................................................................................... 6
2.3 Software Pins............................................................................................................................. 7
3 System Settings.................................................................................................................................... 8
3.1 System Configuration................................................................................................................. 8
3.2 System Debug Settings............................................................................................................. 8
3.3 System Operating Conditions.................................................................................................... 8
4 Clocks................................................................................................................................................... 9
4.1 System Clocks......................................................................................................................... 10
4.2 Local and Design Wide Clocks................................................................................................ 10
5 Interrupts............................................................................................................................................. 12
5.1 Interrupts.................................................................................................................................. 12
6 Flash Memory..................................................................................................................................... 13
7 Design Contents................................................................................................................................. 14
7.1 Schematic Sheet: Project3_WDT............................................................................................ 14
8 Components....................................................................................................................................... 15
8.1 Component type: CapSense_CSD_P4 [v2.30]........................................................................ 15
8.1.1 Instance CapS............................................................................................................... 15
9 Other Resources................................................................................................................................. 24
planta apa Datasheet
01/18/2016 15:33
1 Overview
1 Overview
The Cypress PSoC 4 is a family of 32-bit devices with the following characteristics:
• Digital system that includes configurable Universal Digital Blocks (UDBs) and specific function
peripherals such as PWM, UART, SPI and I2C
• Analog subsystem that includes 12-bit SAR ADC, comparators, op amps, CapSense, LCD drive
and more
• Several types of memory elements, including SRAM and flash
• Programming and debug system through Serial Wire Debug (SWD)
• High-performance 32-bit ARM Cortex-M0 core with a nested vectored interrupt controller (NVIC)
• Flexible routing to all pins
Figure 1 shows the major components of a typical PSoC 4200 BLE family member PSoC 4 device. For
details on all the systems listed above, please refer to the PSoC 4 Technical Reference Manual .
Figure 1. PSoC 4200 BLE Device Family Block Diagram
Image not found.
planta apa Datasheet
01/18/2016 15:33
1
1 Overview
Table 1 lists the key characteristics of this device.
Table 1. Device Characteristics
Name
Part Number
Package Name
Architecture
Family
CPU speed (MHz)
Flash size (kBytes)
SRAM size (kBytes)
Vdd range (V)
Automotive qualified
Temp range (Celcius)
Value
CY8C4247LQI-BL483
56-QFN
PSoC 4
PSoC 4200 BLE
48
128
16
1.9 to 5.5
No (Industrial Grade Only)
-40 to 85
NOTE: The CPU speed noted above is the maximum available speed. The CPU is clocked by HFCLK,
listed in the System Clocks section below.
Table 2 lists the device resources that this design uses:
Table 2. Device Resources
Resource Type
Digital Clocks
Interrupts
IO
Segment LCD
CapSense
Die Temp
Serial Communication (SCB)
BLE
Timer/Counter/PWM
Pre-configured Blocks
Comparator/Opamp
LP Comparator
SAR ADC
DAC
7-bit IDAC
8-bit IDAC
planta apa Datasheet
Used Free Max
0
4
4
2
30 32
7
31 38
0
1
1
1
0
1
0
1
1
0
2
2
0
1
1
0
4
4
0
4
4
0
4
4
0
2
2
0
1
1
1
1
0
0
1
1
01/18/2016 15:33
% Used
0.00 %
6.25 %
18.42 %
0.00 %
100.00 %
0.00 %
0.00 %
0.00 %
0.00 %
0.00 %
0.00 %
0.00 %
0.00 %
100.00 %
100.00 %
2
2 Pins
2 Pins
Figure 2 shows the pin layout of this device.
Figure 2. Device Pin Layout
planta apa Datasheet
01/18/2016 15:33
3
2 Pins
2.1 Hardware Pins
Table 3 contains information about the pins on this device in device pin order. (No connection ["n/c"]
pins have been omitted.)
Table 3. Device Pins
Pin
Port
1
VDDD
2
XTAL32O/P6[0]
3
XTAL32I/P6[1]
4
XRES
5
P4[0]
6
P4[1]
7
P5[0]
8
P5[1]
9
VSSD
10
VDDR
11
GANT1
12
ANT
13
GANT2
14
VDDR
15
VDDR
16
XTAL24I
17
XTAL24O
18
VDDR
19
P0[0]
20
P0[1]
21
P0[2]
22
P0[3]
23
VDDD
24
P0[4]
25
P0[5]
26
P0[6]
27
P0[7]
28
P1[0]
29
P1[1]
30
P1[2]
31
P1[3]
32
P1[4]
33
P1[5]
34
P1[6]
35
P1[7]
36
VDDA
37
P2[0]
38
P2[1]
39
P2[2]
40
P2[3]
41
P2[4]
42
P2[5]
43
P2[6]
44
P2[7]
45
VREF
planta apa Datasheet
Name
VDDD
XTAL 32kHz:Xo
XTAL 32kHz:Xi
XRES
\CapS:Cmod\
GPIO [unused]
OVT IO [unused]
OVT IO [unused]
VSSD
VDDR
GANT1
ANT
GANT2
VDDR
VDDR
XTAL24I
XTAL24O
VDDR
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
VDDD
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
VDDA
GPIO [unused]
GPIO [unused]
\CapS:Sns[1]\
\CapS:Sns[0]\
GPIO [unused]
GPIO [unused]
Pin_test
Type
Drive Mode
Power
Reserved
Reserved
Dedicated
Analog
HiZ analog
Power
Power
Dedicated
Dedicated
Dedicated
Power
Power
Dedicated
Dedicated
Power
Power
Power
Analog
Analog
HiZ analog
HiZ analog
Software
Output
Strong drive
GPIO [unused]
VREF
Dedicated
01/18/2016 15:33
4
2 Pins
Pin
46
47
48
49
50
51
52
53
54
Port
VDDA
P3[0]
P3[1]
P3[2]
P3[3]
P3[4]
P3[5]
P3[6]
P3[7]
Name
VDDA
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
Pin_LED
55
56
VSSA
VCCD
VSSA
VCCD
Type
Power
Drive Mode
Software
Output
Power
Power
Strong drive
Abbreviations used in Table 3 have the following meanings:
• HiZ analog = High impedance analog
planta apa Datasheet
01/18/2016 15:33
5
2 Pins
2.2 Hardware Ports
Table 4 contains information about the pins on this device in device port order. (No connection ["n/c"],
power and dedicated pins have been omitted.)
Table 4. Device Ports
P0[0]
P0[1]
P0[2]
P0[3]
P0[4]
P0[5]
P0[6]
P0[7]
P1[0]
P1[1]
P1[2]
P1[3]
P1[4]
P1[5]
P1[6]
P1[7]
P2[0]
P2[1]
P2[2]
P2[3]
P2[4]
P2[5]
P2[6]
Port
Pin
19
20
21
22
24
25
26
27
28
29
30
31
32
33
34
35
37
38
39
40
41
42
43
Name
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
\CapS:Sns[1]\
\CapS:Sns[0]\
GPIO [unused]
GPIO [unused]
Pin_test
P2[7]
P3[0]
P3[1]
P3[2]
P3[3]
P3[4]
P3[5]
P3[6]
P3[7]
44
47
48
49
50
51
52
53
54
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
GPIO [unused]
Pin_LED
P4[0]
P4[1]
P5[0]
P5[1]
XTAL32I/P6[1]
XTAL32O/P6[0]
5
6
7
8
3
2
\CapS:Cmod\
GPIO [unused]
OVT IO [unused]
OVT IO [unused]
XTAL 32kHz:Xi
XTAL 32kHz:Xo
Type
Drive Mode
Analog
Analog
HiZ analog
HiZ analog
Software
Output
Strong drive
Software
Output
Analog
Strong drive
HiZ analog
Reserved
Reserved
Abbreviations used in Table 4 have the following meanings:
• HiZ analog = High impedance analog
planta apa Datasheet
01/18/2016 15:33
6
2 Pins
2.3 Software Pins
Table 5 contains information about the software pins on this device in alphabetical order. (Only
software-accessible pins are shown.)
Table 5. Software Pins
Name
\CapS:Cmod\
\CapS:Sns[0]\
\CapS:Sns[1]\
Pin_LED
Pin_test
XTAL 32kHz:Xi
XTAL 32kHz:Xo
Port
P4[0]
P2[3]
P2[2]
P3[7]
Type
Analog
Analog
Analog
Software
Output
P2[6]
Software
Output
XTAL32I/P6[1] Reserved
XTAL32O/P6[0] Reserved
For more information on reading, writing and configuring pins, please refer to:
• Pins chapter in the System Reference Guide
o CyPins API routines
• Programming Application Interface section in the cy_pins component datasheet
planta apa Datasheet
01/18/2016 15:33
7
3 System Settings
3 System Settings
3.1 System Configuration
Table 6. System Configuration Settings
Name
Device Configuration Mode
Unused Bonded IO
Heap Size (bytes)
Stack Size (bytes)
Include CMSIS Core Peripheral Library Files
Value
Compressed
Allow but warn
0x0080
0x0200
True
3.2 System Debug Settings
Table 7. System Debug Settings
Name
Value
Chip Protection
Open
Debug Select
GPIO
3.3 System Operating Conditions
Table 8. System Operating Conditions
Name
Value
Variable VDDA
True
VDDA (V)
5
VDDD (V)
5
VDDR (V)
3.3
planta apa Datasheet
01/18/2016 15:33
8
4 Clocks
4 Clocks
The clock system includes these clock resources:
• Four internal clock sources:
o 3 to 48 MHz Internal Main Oscillator (IMO) ±2% at 3 MHz
o 4 to 33 MHz External Crystal Oscillator (ECO)
o 32 kHz Internal Low Speed Oscillator (ILO) output
o 32.768 kHz Watch Crystal Oscillator (ILO) output
• HFCLK can be generated using an external signal from EXTCLK pin
• Twelve clock dividers, each with 16-bit divide capability:
o Eight can be used for fixed-function blocks
o Four can be used for the UDBs
Figure 3. System Clock Configuration
planta apa Datasheet
01/18/2016 15:33
9
4 Clocks
4.1 System Clocks
Table 9 lists the system clocks used in this design.
Table 9. System Clocks
Name
Domain
PLL0_Sel
Direct_Sel
ECO
HFCLK
IMO
PLL1_Sel
SYSCLK
LFCLK
ILO
WCO
NONE
NONE
NONE
NONE
NONE
NONE
NONE
NONE
NONE
NONE
Timer0 (WDT0)
RTC_Sel
DigSig1
EXTCLK
DigSig4
DigSig2
DigSig3
Timer1 (WDT1)
Timer2 (WDT2)
NONE
NONE
NONE
NONE
NONE
NONE
NONE
NONE
NONE
Source
Desired
Freq
IMO
IMO
24 MHz
24 MHz
24 MHz
24 MHz
24 MHz
24 MHz
? MHz
? MHz
40 kHz
32.768
kHz
? MHz
? MHz
? MHz
24 MHz
? MHz
? MHz
? MHz
? MHz
? MHz
Direct_Sel
IMO
HFCLK
ILO
LFCLK
None
LFCLK
LFCLK
Nominal Accuracy Start Enabled
Freq
(%)
at
Reset
24 MHz
±2
True
True
24 MHz
±2
True
True
24 MHz
±0
True
True
24 MHz
±2
True
True
24 MHz
±2
True
True
24 MHz
±2
True
True
12 MHz
±2
True
True
40 kHz
±60
True
True
40 kHz
±60
True
True
32.768
±0
True
True
kHz
0.612 Hz
±60
False
True
? MHz
±0
True
True
? MHz
±0
False
False
? MHz
±0
False
False
? MHz
±0
False
False
? MHz
±0
False
False
? MHz
±0
False
False
? MHz
±60
False
False
? MHz
±0
False
False
4.2 Local and Design Wide Clocks
Local clocks drive individual analog and digital blocks. Design wide clocks are a user-defined
optimization, where two or more analog or digital blocks that share a common clock profile (frequency,
etc) can be driven from the same clock divider output source.
Figure 4. Local and Design Wide Clock Configuration
Table 10 lists the local clocks used in this design.
Table 10. Local Clocks
planta apa Datasheet
01/18/2016 15:33
10
4 Clocks
Name
Domain
Source
Desired
Freq
CapS_SenseClk FIXED_FUNCTION
CapS_SampleClk FIXED_FUNCTION
HFCLK
? MHz
HFCLK
? MHz
Nominal Accuracy Start Enabled
Freq
(%)
at
Reset
94.118
±2
True
True
kHz
94.118
kHz
±2
True
True
For more information on clocking resources, please refer to:
• Clocking System chapter in the PSoC 4 Technical Reference Manual
• Clocking chapter in the System Reference Guide
o CySysClkImo API routines
o CySysClkIlo API routines
o CySysClkEco API routines
o CySysClkWco API routines
o CySysClkWrite API routines
planta apa Datasheet
01/18/2016 15:33
11
5 Interrupts
5 Interrupts
5.1 Interrupts
This design contains the following interrupt components: (0 is the highest priority)
Table 11. Interrupts
Name
Priority
isr_WDT
2
CapS_ISR
3
Vector
8
16
For more information on interrupts, please refer to:
• Interrupt Controller chapter in the PSoC 4 Technical Reference Manual
• Interrupts chapter in the System Reference Guide
o CyInt API routines and related registers
• Datasheet for cy_isr component
planta apa Datasheet
01/18/2016 15:33
12
6 Flash Memory
6 Flash Memory
PSoC 4 devices offer a host of Flash protection options and device security features that you can
leverage to meet the security and protection requirements of an application. These requirements
range from protecting configuration settings or Flash data to locking the entire device from external
access.
Table 12 lists the Flash protection settings for your design.
Table 12. Flash Protection Settings
Start
End
Protection Level
Address Address
0x0
0x1FFFF
U - Unprotected
Flash memory is organized as rows with each row of flash having 128 bytes. Each flash row can be
assigned one of four protection levels:
• U - Unprotected
• W - Full Protection
For more information on Flash memory and protection, please refer to:
• Flash Protection chapter in the PSoC 4 Technical Reference Manual
• Flash and EEPROM chapter in the System Reference Guide
o CySysFlash API routines
planta apa Datasheet
01/18/2016 15:33
13
7 Design Contents
7 Design Contents
This design's schematic content consists of the following schematic sheet:
7.1 Schematic Sheet: Project3_WDT
Figure 5. Schematic Sheet: Project3_WDT
This schematic sheet contains the following component instances:
• Instance CapS (type: CapSense_CSD_P4_v2_30)
planta apa Datasheet
01/18/2016 15:33
14
8 Components
8 Components
8.1 Component type: CapSense_CSD_P4 [v2.30]
8.1.1 Instance CapS
Description: The CapSense CSD component provides capacitive buttons, sliders, touch pads,
matrix buttons and proximity sensors.
Instance type: CapSense_CSD_P4 [v2.30]
Datasheet: online component datasheet for CapSense_CSD_P4
Table 13. Component Parameters for CapS
Parameter Name
AdvCrossCouplingThreshold
Value
5
AdvPenultimateThreshold
100
AdvVirtualSensorThreshold
100
AnalogSwitchDivider
12
AvgSamplesNumber
1
BallisticMultiplierEnabled
planta apa Datasheet
false
01/18/2016 15:33
Description
This value must be equal to the
value of a sensor when a finger
is near the sensor, but it is not
touching the sensor. This can
be determined by slowly
dragging a finger across the
panel and finding the inflection
point of the difference counts at
the base of the curve. The
difference value at this point
should be the Cross Coupling
Threshold. The default value is
0x5.
This value is the threshold for
determining an arrival at the
edge. This value may have to
be increased for small
diamonds, so that the edge
handling is initiated sooner. If
this number is too high, there is
jumping at the edge with a
smaller finger. If this number is
too low, there is jumping at the
edge with a larger finger. The
default value is 0x5.
This value must be set to the
value of any sensor when a
middle sized finger is placed
directly over it. If this value is
too low, the finger is followed by
the resolved location. If this
value is too high, the finger is
led by the resolved location.
The default value is 0x64.
Defines the clock divider for an
analog switch source.
Defines the number of samples
for averaging during the
calibration procedure.
A ballistic multiplier is used to
provide better pointer
movement experience for the
user.
15
8 Components
Parameter Name
CalibrationResolution
CmodPrecharge
ConnectInactiveSensors
CshTankPrecharge
CurrentSource
CustomEzI2CInstanceName
Value
7
Precharge byVref buffer
Ground
Precharge byVref buffer
IDAC Sourcing
SCB
DbPwmMode
OFF
DbPwmPeriod
0
DfbEnable
false
DynamicButtonNumber
5
EmcSensorNumber
10
EnableAutoCalibration
false
EnableBIST
false
EnableTuneHelper
Gestures_ActiveEdgeSwipeThreshold
false
10
Gestures_BottomAngleThreshold
Gestures_ClicksEnabled
45
true
Gestures_ClickXRadiusPixels
30
Gestures_ClickYRadiusPixels
30
Gestures_DebounceTwoFingerScrollToZoomCount
5
planta apa Datasheet
01/18/2016 15:33
Description
Defines the scanning resolution
setting during the calibration
procedure.
Defines the pre-charge option
for the Cmod capacitor.
Defines the sensor inactive
state.
Defines the pre-charge option
for the Csh_tank capacitor.
Defines the IDAC mode.
Default instance name of the
Tuner communication
component.
This parameter sets the dead
mand PWM modulator mode.
This parameter sets the period
of the dead band PWM
modulator.
Enables the digital filter on the
CSD comparator.
The number of buttons that can
be created from the slider
segments.
Defines the number of channels
that can support the HIGH
immunity mode.
Enables the Auto Calibration in
the manual tuning mode.
Indicates whether a Built-in selftest is enabled.
Allows generation of tuner APIs.
This parameter sets the
minimum active step distance
(in pixels) from the point of a
touch-down, near the edge, that
has to be exceeded before the
gesture is triggered.
This parameter defines the
maximum angle (in degrees)
that the path of a finger can
subtend on the point of a touchdown, near the edge.
Indicates whether click gestures
enabled.
This parameter sets the
maximum X-Axis displacement
for click gestures.
This parameter sets the
maximum Y-Axis displacement
for click gestures.
This parameter sets the number
of zoom gestures to be
triggered for a valid zoom after
a scroll gesture has been
observed without removing the
fingers from the trackpad.
16
8 Components
Parameter Name
Gestures_DebounceZoomCount
Value
3
Gestures_DoubleClickMaxRadius
20
Gestures_DoubleClickMaxTimeout
1000
Gestures_DoubleClickMinTimeout
10
Gestures_EdgeSwipeCompleteTimeout
2000
Gestures_EdgeSwipesEnabled
true
Gestures_EdgeSwipeTime
100
Gestures_FlickActiveDistanceThresholdX
30
Gestures_FlickActiveDistanceThresholdY
30
Gestures_FlickSampleTime
3
Gestures_FlicksEnabled
false
Gestures_OneFingerInertialScrollActiveDistanceThresholdX
5
Gestures_OneFingerInertialScrollActiveDistanceThresholdY
5
Gestures_OneFingerInertialScrollCountLevel
Low
planta apa Datasheet
01/18/2016 15:33
Description
This parameter sets the number
of sequential zoom gestures in
a particular direction (in or out)
that have to be observed before
the zoom gesture is deemed
valid.
This parameter sets the
maximum pixel radius that the
second click in a double click
sequence can extend.
This parameter is the maximum
time allowed between two
sequential clicks so that a
double click gesture is reported.
This parameter sets the
minimum duration between two
sequential clicks before a
double click operation is
considered valid.
Defines time when Edge Swipe
Gesture is complete. After that
time the other gestures are
allowed to detect.
Indicates whether the edge
swipe gestures have been
enabled.
For edge swipe a detection
finger should exceed Edge
Swipe Active Distance within
Edge Swipe Timeout.
This parameter sets the
minimum active step distance
(in pixels) that has to be
exceeded before motion is
considered active.
This parameter sets the
minimum active step distance
(in pixels) that has to be
exceeded before motion is
considered active.
This parameter sets the number
of similar, sequential flick
gestures that should be
performed before the flick
motion is considered valid.
Indicates whether flick gestures
have been enabled.
This parameter sets the active
distance in X direction that has
to be exceeded before a lift-off
event to trigger inertial scroll.
This parameter sets the active
distance in Y direction that has
to be exceeded before a lift-off
event to trigger inertial scroll.
This use can select Low or High
levels of inertial count.
17
8 Components
Parameter Name
Gestures_OneFingerScrollDebounceCount
Value
3
Gestures_OneFingerScrollsEnabled
true
Gestures_OneFingerScrollStep1
1
Gestures_OneFingerScrollStep2
3
Gestures_OneFingerScrollStep3
5
Gestures_OneFingerScrollStep4
7
Gestures_OneFingerScrollThreshold1X
5
Gestures_OneFingerScrollThreshold1Y
5
Gestures_OneFingerScrollThreshold2X
7
Gestures_OneFingerScrollThreshold2Y
7
Gestures_OneFingerScrollThreshold3X
8
planta apa Datasheet
01/18/2016 15:33
Description
This parameter sets the number
of similar, sequential scroll
gestures that should be
performed before the scroll
motion is considered valid.
Indicates whether one finger
scroll gestures have been
enabled.
This parameter sets number of
scrolls to be reported when
finger exceeds Scroll Threshold
1 X/Y.
This parameter sets number of
scrolls to be reported when
finger exceeds Scroll Threshold
2 X/Y.
This parameter sets number of
scrolls to be reported when
finger exceeds Scroll Threshold
3 X/Y.
This parameter sets number of
scrolls to be reported when
finger exceeds Scroll Threshold
4 X/Y.
This parameter sets the active
distance in X direction that has
to be exceeded to trigger first
level scroll and updates scroll
step value parameter to scroll
step 1.
This parameter sets the active
distance in Y direction that has
to be exceeded to trigger first
level scroll and updates scroll
step value parameter to scroll
step 1.
This parameter sets the active
distance in X direction that has
to be exceeded to trigger
second level scroll and update
scroll step value parameter to
scroll step 2.
This parameter sets the active
distance in Y direction that has
to be exceeded to trigger first
level scroll and updates scroll
step value parameter to scroll
step 2.
This parameter sets the active
distance in X direction that has
to be exceeded to trigger third
level scroll and updates scroll
step value parameter to scroll
step 3.
18
8 Components
Parameter Name
Gestures_OneFingerScrollThreshold3Y
Value
9
Gestures_OneFingerScrollThreshold4X
11
Gestures_OneFingerScrollThreshold4Y
11
Gestures_RotateActiveAngleThreshold
90
Gestures_RotateDebounceLimit
20
Gestures_RotateEnabled
false
Gestures_SingleClickMaxTimeout
1000
Gestures_SingleClickMinTimeout
20
Gestures_TopAngleThreshold
45
Gestures_TwoFingerClickMaxTimeout
1000
Gestures_TwoFingerClickMinTimeout
100
planta apa Datasheet
01/18/2016 15:33
Description
This parameter sets the active
distance in Y direction that has
to be exceeded to trigger first
level scroll and updates scroll
step value parameter to scroll
step 3.
This parameter sets the active
distance in X direction that has
to be exceeded to trigger fourth
level scroll and updates scroll
step value parameter to scroll
step 4.
This parameter sets the active
distance in Y direction that has
to be exceeded to trigger first
level scroll and updates scroll
step value parameter to scroll
step 4.
This parameter sets the
minimum angle that should be
made from the start of the
gesture, before rotate gesture is
reported.
This parameter sets the number
of sequential pan gestures in a
particular direction that have to
be observed before the rotate
gesture is deemed invalid.
Indicates whether rotate
gestures have been enabled.
This parameter sets the
maximum time during which a
finger can be on the trackpad
for a single click event to be
considered valid.
This parameter sets the
minimum time during which a
finger can be on the trackpad
for a single click event to be
considered valid.
This parameter defines the
maximum angle (in degrees)
that the path of a finger can
subtend on the point of touchdown, near the edge.
This parameter sets the
maximum time during which two
fingers can be placed on the
trackpad before being
disqualified as a two finger click
event.
This parameter sets the
minimum duration two fingers
need to be on the trackpad
before a two finger click event is
registered.
19
8 Components
Parameter Name
Gestures_TwoFingerInertialScrollActiveDistanceThresholdX
Value
5
Gestures_TwoFingerInertialScrollActiveDistanceThresholdY
5
Gestures_TwoFingerInertialScrollCountLevel
Gestures_TwoFingerScrollDebounceCount
Low
Gestures_TwoFingerScrollsEnabled
true
3
Gestures_TwoFingerScrollStep1
1
Gestures_TwoFingerScrollStep2
3
Gestures_TwoFingerScrollStep3
5
Gestures_TwoFingerScrollStep4
7
Gestures_TwoFingerScrollThreshold1X
5
Gestures_TwoFingerScrollThreshold1Y
5
Gestures_TwoFingerScrollThreshold2X
7
Gestures_TwoFingerScrollThreshold2Y
7
planta apa Datasheet
01/18/2016 15:33
Description
This parameter sets the active
distance in X direction that has
to be exceeded before a lift-off
event to trigger inertial scroll.
This parameter sets the active
distance in Y direction that has
to be exceeded before a lift-off
event to trigger inertial scroll.
This use can select Low or High
levels of inertial count.
This parameter sets the number
of similar, sequential scroll
gestures that should be
performed before the scroll
motion is considered valid.
Indicates whether two fingers
scroll gestures have been
enabled.
This parameter sets number of
scrolls to be reported when
finger exceeds Scroll Threshold
1 X/Y.
This parameter sets number of
scrolls to be reported when
finger exceeds Scroll Threshold
2 X/Y.
This parameter sets number of
scrolls to be reported when
finger exceeds Scroll Threshold
3 X/Y.
This parameter sets number of
scrolls to be reported when
finger exceeds Scroll Threshold
4 X/Y.
This parameter sets the active
distance in X direction that has
to be exceeded to trigger first
level scroll and updates scroll
step value parameter to scroll
step 1.
This parameter sets the active
distance in Y direction that has
to be exceeded to trigger first
level scroll and updates scroll
step value parameter to scroll
step 1.
This parameter sets the active
distance in X direction that has
to be exceeded to trigger
second level scroll and update
scroll step value parameter to
scroll step 2.
This parameter sets the active
distance in Y direction that has
to be exceeded to trigger first
level scroll and updates scroll
step value parameter to scroll
step 2.
20
8 Components
Parameter Name
Gestures_TwoFingerScrollThreshold3X
Value
8
Gestures_TwoFingerScrollThreshold3Y
9
Gestures_TwoFingerScrollThreshold4X
11
Gestures_TwoFingerScrollThreshold4Y
11
Gestures_TwoFingerSettlingCount
3
Gestures_WidthOfDisambiguationRegion
5
Gestures_ZoomActiveDistanceThresholdX
8
Gestures_ZoomActiveDistanceThresholdY
8
Gestures_ZoomEnabled
true
GlitchEliminateTimeout
0
GuardSensorEnable
I2cCommunication
IDACRange
IDACsCount
ImmunityLevel
planta apa Datasheet
false
Internal I2C Communication
4x
2
Low
01/18/2016 15:33
Description
This parameter sets the active
distance in X direction that has
to be exceeded to trigger third
level scroll and updates scroll
step value parameter to scroll
step 3.
This parameter sets the active
distance in Y direction that has
to be exceeded to trigger first
level scroll and updates scroll
step value parameter to scroll
step 3.
This parameter sets the active
distance in X direction that has
to be exceeded to trigger fourth
level scroll and updates scroll
step value parameter to scroll
step 4.
This parameter sets the active
distance in Y direction that has
to be exceeded to trigger first
level scroll and updates scroll
step value parameter to scroll
step 4.
This parameter sets a delay
threshold must be met before
two finger gestures are
computed.
This parameter sets the edge
area for the edge swipe
gestures. A valid edge swipe
gesture should start within the
width of disambiguation region.
This parameter sets the
minimum active step distance
(in pixels) that has to be cleared
before a motion is considered
an active zoom (in or out).
This parameter sets the
minimum active step distance
(in pixels) that has to be cleared
before a motion is considered
an active zoom (in or out).
Indicates whether zoom
gestures have been enabled.
Eliminates the glitch before
scanning
Enables the Guard sensor. This
type of sensor is typically
required for water proof
applications.
Defines whether the internal or
external I2C communication
component will be used.
Defines Idac Range for all
sensors.
Sets IDACs count.
Defines the noise immunity
level.
21
8 Components
Parameter Name
InputClkFreq
Value
3
IsStreetFighter
false
IsTrackpadSupported
false
KValueScalingFactor
8
LowBaselineReset
5
ModulatorClkDivider
12
NegativeNoiseThreshold
20
OversamplingEn
true
PrechargeClkDivider
12
PrechargeClkFreq
3
PrsOptions
RawDataFilterType
None
First Order IIR 1/4
SensorAutoReset
false
SensorNumber
SensorsFreqSettingsInd
2
true
ShieldDelay
None
ShieldEnable
ShieldTankEnable
false
false
SliderThresholdsUpdateManual
false
SnsAlias
planta apa Datasheet
LinearSlider0_e0__LS,
LinearSlider0_e1__LS
01/18/2016 15:33
Description
Defines the signal frequency
used to drive the comparator
latch and period counter.
Defines whether the component
is used for the StreeTFighter
firmware.
Defines whether the component
supports the trackpad with
gestures.
Defines the scaling factor of the
K value for proximity sensors.
Defines the number of samples
with raw counts less than the
baseline needed to make
baseline snap down to the raw
count level.
Defines the modulator clock
divider.
Defines the negative difference
between the raw count and
baseline levels for baseline
resting to the raw count level.
Enables the oversampling
functionality.
Defines the clock divider for an
analog switch source.
Defines the precharge signal
frequency
Defines the source of the
sensors switching controlling
signal
Defines the filter applied to raw
data values.
Enabling the auto reset causes
baseline to always update
regardless of whether the
difference counts are above or
below the noise threshold.
When auto reset is disabled,
Baseline only updates when
difference counts are within the
plus/minus noise threshold (the
noise threshold is mirrored.)
Total sensors count
Select individual frequency
settings for each sensor or
common for all sensors.
Defines a shield signal delay
relative to the switches
controlling signal.
Defines using the shield output.
Enables the external shield tank
capacitor.
This variable is intended to
define the thresholds updating
mods for sliders.
Contains all aliases for sensors.
22
8 Components
Parameter Name
ThresholdMode
Value
false
TrackpadApiResolutionCol
100
TrackpadApiResolutionRow
100
TrackpadExists
false
TunerIntfAddress
8
TunerIntfDataRate
400
TunerProperties
TuningMethod
Auto
WaterProofingEnabled
false
WidgetResolution
planta apa Datasheet
8
01/18/2016 15:33
Description
Enables the Flexible Threshols
in the Auto Tuning mode.
This parameter specifies the
column API resolution of the
trackpad with a gesture widget.
This parameter specifies the
row API resolution of the
trackpad with a gesture widget.
Indicates whether the trackpad
with a gesture widget was
added.
This parameter specifies the
I2C 7-bits slave address (MSB
ignored).
This parameter specifies the
I2C Data rate in kbps. The
standard data rates are: 50,
100, 400 kbps.
Contains additional parameters
required for the tuner.
Defines the tuning method for
the CapSense system.
Enables special capsense
system settings to use in water
proof designs.
Defines the Signal resolution as
uint8 or uint16. The valid values
are 8 and 16.
23
9 Other Resources
9 Other Resources
The following documents contain important information on Cypress software APIs that might be
relevant to this design:
• Standard Types and Defines chapter in the System Reference Guide
o Software base types
o Hardware register types
o Compiler defines
o Cypress API return codes
o Interrupt types and macros
• Registers
o The full PSoC 4 register map is covered in the PSoC 4 Registers Technical Reference
Manual
o Register Access chapter in the System Reference Guide
§ CY_GET API routines
§ CY_SET API routines
• System Functions chapter in the System Reference Guide
o General API routines
o CyDelay API routines
o CyVd Voltage Detect API routines
• Power Management
o Power Supply and Monitoring chapter in the PSoC 4 Technical Reference Manual
o Low Power Modes chapter in the PSoC 4 Technical Reference Manual
o Power Management chapter in the System Reference Guide
§ CyPm API routines
• Watchdog Timer chapter in the System Reference Guide
o CyWdt API routines
planta apa Datasheet
01/18/2016 15:33
24