CY8C20142_Datasheet.pdf

CY8C20142
CapSense Express™ - 4 Configurable IOs
Features
Overview
■
The CapSense Express™ controller allows the control of four
IOs configurable as capacitive sensing buttons or as GPIOs for
driving LEDs or interrupt signals based on various button
conditions. The GPIOs are also configurable for waking up the
device from sleep based on an interrupt input.
Four configurable IOs supporting
❐ CapSense buttons
❐ LED drive
❐ Interrupt outputs
❐ WAKE on interrupt input
❐ User defined Input/output
■
2.4V to 5.25V operating voltage
■
Industrial temperature range: –40°C to +85°C
■
I2C slave interface for configuration
■
Reduce BOM cost
❐ Internal oscillator - no external oscillators or crystal
❐ Free development tool - no external tuning components
■
Low Operating Current
❐ Active current: continuous sensor scan - 1.5 mA
❐ Sleep current: no scan, continuous sleep - 2.6 uA
■
Available in 8-pin SOIC package
The user has the ability to configure buttons, outputs, and
parameters through specific commands sent to the I2C port. The
IOs have the flexibility in mapping to capacitive buttons and as
standard GPIO functions such as interrupt output or input, LED
drive and digital mapping of input to output using simple logical
operations. This enables easy PCB trace routing and reduces
the PCB size and stack up. CapSense Express products are
designed for easy integration into complex products.
Architecture
The logic block diagram shows the internal architecture of
CY8C20142.
The user is able to configure registers with parameters needed
to adjust the operation and sensitivity of the CapSense system.
CY8C20142 supports a standard I²C serial communication
interface that allows the host to configure the device and to read
sensor information in real time through easy register access.
The CapSense Express Core
The CapSense Express Core has a powerful configuration and
control block. It encompasses SRAM for data storage, an
interrupt controller, sleep and watchdog timers. System
resources provide additional capability such as a configurable
I2C slave communication interface and various system resets.
The Analog System is composed of the CapSense PSoC block
and an internal 1.8V analog reference, which together support
capacitive sensing of up to four inputs.
Cypress Semiconductor Corporation
Document Number: 001-32159 Rev. *B
•
198 Champion Court
•
San Jose, CA 95134-1709
•
408-943-2600
Revised February 11, 2008
[+] Feedback
CY8C20142
Logic Block Diagram
External
Vcc
2.4 - 5.25V
4 Configurable IOs
CapSense ExpressTM
Core
2KB Flash
512B
SRAM
Document Number: 001-32159 Rev. *B
Page 2 of 10
[+] Feedback
CY8C20142
Pinouts
Figure 1. Pin Diagram - 8 SOIC
VDD
VSS
I2C SCL
GP0[1]
I2C SDA
GP0[0]
GP1[0]
GP1[1]
Table 1. Pin Definitions - 8 SOIC
Pin No
Name
1
VSS
Description
Ground connection
2
I2C
3
I2C SDA
4
GP1[0]
Configurable as CapSense or GPIO
5
GP1[1]
Configurable as CapSense or GPIO
6
GP0[0]
Configurable as CapSense or GPIO
7
GP0[1]
Configurable as CapSense or GPIO
8
VDD
Document Number: 001-32159 Rev. *B
SCL
I2C clock
I2C data
Supply Voltage
Page 3 of 10
[+] Feedback
CY8C20142
The CapSense Analog System
I2C Interface
The CapSense analog system contains the capacitive sensing
hardware.The CapSense Successive Approximation (CSA)
algorithm is supported.This hardware performs capacitive
sensing and scanning without requiring external components.
Capacitive sensing is configurable on each GPIO pin.
The two modes of operation for the I2C interface are:
Additional System Resources
The I2C address is programmable during configuration. It can
be locked to prevent accidental change by setting a flag in a
configuration register.
System resources provide additional capability useful to
complete systems. Additional resources are low voltage
detection and power on reset.
The I C slave provides 50, 100, or 400 kHz communication
over two wires.
■
Low Voltage Detection (LVD) interrupts signal the application
of falling voltage levels and the advanced POR (Power On
Reset) circuit eliminates the need for a system supervisor.
Device register configuration and status read or write for
controller
■
Command execution
CapSense Express Software Tool
2
■
■
An easy to use software tool integrated with PSoC Express is
available to configure and tune CapSense Express devices.
Refer to the Application Note AN42137 for details of the
software tool.
An internal 1.8V reference provides a stable internal reference
so that capacitive sensing functionality is not affected by minor
VDD changes.
.
Electrical Specifications
Absolute Maximum Ratings
Parameter
Description
Min
Typ
Max
Unit
Notes
Higher storage temperatures reduce
data retention time. Recommended
storage temperature is +25°C ± 25°C.
Extended duration storage temperatures above 65°C degrade reliability.
TSTG
Storage temperature
–55
25
+100
°C
TA
Ambient temperature with power
applied
–40
–
+85
°C
VDD
Supply voltage on VDD relative to VSS
–0.5
–
+6.0
V
VIO
DC input voltage
VSS – 0.5
–
VDD + 0.5
V
VIOZ
DC voltage applied to tri-state
VSS – 0.5
–
VDD + 0.5
V
IMIO
Maximum current into any GPIO pin
–25
–
+50
mA
ESD
Electro static discharge voltage
2000
–
–
V
LU
Latch up current
–
–
200
mA
Min
Typ
Max
Unit
Human body model ESD
Operating Temperature
Parameter
Description
TA
Ambient temperature
–40
–
+85
°C
TJ
Junction temperature
–40
–
+100
°C
Document Number: 001-32159 Rev. *B
Notes
Page 4 of 10
[+] Feedback
CY8C20142
DC Electrical Characteristics
DC Chip Level Specifications
Parameter
Description
VDD
Supply voltage
Min
Typ
Max
Unit
2.40
–
5.25
V
Notes
IDD
Supply current
–
1.5
2.5
mA
Conditions are VDD = 3.0V, TA = 25°C
ISB
Sleep mode current with POR and
LVD active. Mid temperature range
–
2.6
4
µA
VDD = 2.55V, 0°C < TA < 40°C
ISB
Sleep mode current with POR and
LVD active.
–
2.8
5
µA
VDD = 3.3V, –40°C < TA < 85°C
ISB
Sleep mode current with POR and
LVD active.
–
5.2
6.4
µA
VDD = 5.25V, –40°C < TA < 85°C
This table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and
-40C<TA<85C, 3.0V to 3.6V, and -40°C<TA<85°C respectively. Typical parameters apply to 5v and 3.3V at 25°C. These are for design
guidance only.
5V and 3.3V DC General Purpose IO Specifications
Parameter
Description
Min
Typ
Max
Unit
4
5.6
8
kΩ
Notes
RPU
Pull up resistor
VOH1
High output voltage
Port 0 pins
VDD – 0.2
–
–
V
IOH < 10 µA, VDD > 3.0V, maximum of
20 mA source current in all IOs.
VOH2
High output voltage
Port 0 pins
VDD – 0.9
–
–
V
IOH = 1 mA, VDD > 3.0V, maximum of
20 mA source current in all IOs.
VOH3
High output voltage
Port 1 pins
VDD – 0.2
–
–
V
IOH < 10 µA, VDD> 3.0V, maximum of
10 mA source current in all IOs.
VOH4
High output voltage
Port 1 pins
VDD – 0.9
–
–
V
IOH = 5 mA, VDD > 3.0V, maximum of
20 mA source current in all IOs.
VOH5
High output voltage
Port 1 pins with 3.0V LDO regulator
enabled
2.75
3.0
3.2
V
IOH < 10 µA, VDD> 3.1V, maximum of
4 IOs all sourcing 5mA.
VOH6
High Output Voltage
Port 1 pins with 3.0V LDO regulator
enabled
2.2
–
–
V
IOH = 5 mA, VDD > 3.1V, maximum of
20 mA source current in all IOs.
VOH7
High Output Voltage
Port 1 pins with 2.4V LDO regulator
enabled
2.1
2.4
2.5
V
IOH < 10 µA, VDD > 3.0V, maximum of
20 mA source current in all IOs.
VOH8
High Output Voltage
Port 1 pins with 2.4V LDO regulator
enabled
2
–
–
V
IOH < 200 µA, VDD > 3.0V, maximum
of 20 mA source current in all IOs.
VOL
Low output voltage
–
–
0.75
V
IOL = 20 mA, VDD > 3V, maximum of
60 mA sink current on even port pins
and 60 mA sink current on odd port
pins.
VIL
Input low voltage
–
–
0.8
V
VDD = 3.6 to 5.25V.
VIH
Input high voltage
2.0
–
–
V
VDD = 3.6 to 5.25V.
VH
Input hysteresis voltage
–
140
–
mV
IIL
Input leakage
–
1
–
nA
Gross tested to 1 µA.
CIN
Capacitive load on pins as input
0.5
1.7
5
pF
Package and pin dependent.
Temp = 25°C.
Document Number: 001-32159 Rev. *B
Page 5 of 10
[+] Feedback
CY8C20142
5V and 3.3V DC General Purpose IO Specifications (continued)
Parameter
COUT
Description
Min
Typ
Max
Unit
0.5
1.7
5
pF
Capacitive load on pins as output
Notes
Package and pin dependent.
Temp = 25°C
2.7 DC General Purpose IO Specifications
This tables lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 2.4V to 3.0V and
-40°C<TA<85°C, respectively. Typical parameters apply to 2.7V at 25°C. These are for design guidance only.
Parameter
Description
Min
Typ
Max
Unit
Notes
RPU
Pull up resistor
4
5.6
8
kΩ
VOH1
High output voltage
Port 0 pins
VDD – 0.2
–
–
V
IOH < 10 µA, maximum of 10 mA
source current in all IOs.
VOH2
High output voltage
Port 0 pins
VDD – 0.5
–
–
V
IOH = 0.2 mA, maximum of 10 mA
source current in all IOs.
VOH3
High output voltage
Port 1 pins
VDD – 0.2
–
–
V
IOH < 10 µA, maximum of 10 mA
source current in all IOs.
VOH4
High output voltage
Port 1 pins
VDD – 0.5
–
–
V
IOH = 2 mA, maximum of 10 mA source
current in all IOs.
VOL
Low output voltage
–
–
0.75
V
IOL = 10 mA, maximum of 30 mA sink
current on even port pins (for example,
P0[2] and P1[4]) and 30 mA sink
current on odd port pins (for example,
P0[3] and P1[3]).
VOLP1
Low output voltage port 1 pins
–
–
0.4
V
IOL=5 mA Maximum of 50 mA sink
current on even port pins and 50 mA
sink current on odd port pins.
2.4<VDD<3.6V
VIL
Input low voltage
–
–
0.75
V
VDD= 3.0 to 3.6V
VIH
Input high voltage
1.6
–
–
V
VDD= 3.0 to 3.6V
VIL
Input low voltage
–
–
0.75
V
VDD = 2.4 to 3.6V.
VIH1
Input high voltage
1.4
–
–
V
VDD = 2.4 to 2.7V.
VIH2
Input high voltage
1.6
–
–
V
VDD = 2.7 to 3.6V
VH
Input hysteresis voltage
–
60
–
mV
IIL
Input leakage
–
1
–
nA
Gross tested to 1 µA.
CIN
Capacitive load on pins as input
0.5
1.7
5
pF
Package and pin dependent.
Temp = 25°C.
COUT
Capacitive load on pins as output
0.5
1.7
5
pF
Package and pin dependent.
Temp = 25°C.
DC POR & LVD Specifications
Parameter
Description
VPPOR0
VPPOR1
VDD Value for PPOR Trip
VDD= 2.7V
VDD= 3.3V, 5V
VLVD0
VLVD2
VLVD6
VDD Value for LVD trip
VDD= 2.7V
VDD= 3.3V
VDD= 5V
Document Number: 001-32159 Rev. *B
Min
Typ
Max
Unit
Notes
–
–
2.36
2.60
2.40
2.65
V
V
VDD must be greater than or equal to 2.5V
during startup, reset from the XRES pin, or
reset from Watchdog.
2.39
2.75
3.98
2.45
2.92
4.05
2.51
2.99
4.12
V
V
V
Page 6 of 10
[+] Feedback
CY8C20142
AC Electrical Characteristics
5.0V and 3.3V AC General Purpose IO Specifications
Parameter
Description
Min
Max
Unit
Notes
TRise0
Rise time, strong mode,
Cload = 50pF, Port 0
15
80
ns
VDD = 3.0V to 3.6V and 4.75V to 5.25V,
10% - 90%
TRise1
Rise time, strong mode,
Cload = 50pF, Port 1
10
50
ns
VDD = 3.0V to 3.6V, 10% - 90%
TFall
Fall time, strong mode,
Cload = 50pF, all ports
10
50
ns
VDD = 3.0V to 3.6V and 4.75V to 5.25V,
10% - 90%
Min
Max
Unit
Notes
2.7V AC General Purpose IO Specifications
Parameter
Description
TRise0
Rise time, strong mode,
Cload = 50pF, Port 0
15
100
ns
VDD = 2.4V to 3.0V, 10% - 90%
TRise1
Rise time, strong mode,
Cload = 50pF, Port 1
10
70
ns
VDD = 2.4V to 3.0V, 10% - 90%
TFall
Fall time, strong mode,
Cload = 50pF, all ports
10
70
ns
VDD = 2.4V to 3.0V, 10% - 90%
AC I2C Specifications
Parameter
FSCLI2C
Description
SCL clock frequency
THDSTAI2C Hold time (repeated) START
condition. After this period, the
first clock pulse is generated.
Standard Mode
Fast Mode
Unit
Notes
400
Kbps
Fast mode not supported for VDD < 3.0V
0.6
-
µs
Min
Max
Min
Max
0
100
0
4.0
-
TLOWI2C
LOW period of the SCL clock
4.7
-
1.3
-
µs
THIGHI2C
HIGH period of the SCL clock
4.0
-
0.6
-
µs
TSUSTAI2C
Setup time for a repeated START
condition
4.7
-
0.6
-
µs
THDDATI2C Data hold time
0
-
0
-
µs
TSUDATI2C Data setup time
250
-
100
-
ns
TSUSTOI2C Setup time for STOP condition
4.0
-
0.6
-
µs
TBUFI2C
BUS free time between a STOP
and START condition
4.7
-
1.3
-
µs
TSPI2C
Pulse width of spikes suppressed
by the input filter
-
-
0
50
ns
Document Number: 001-32159 Rev. *B
Page 7 of 10
[+] Feedback
CY8C20142
Figure 2. Definition for Timing for Fast/Standard Mode on the I2C Bus
Document Number: 001-32159 Rev. *B
Page 8 of 10
[+] Feedback
CY8C20142
Ordering Information
Ordering Code
Package Diagram
CY8C20142-SX1I
51-85066
Operating
Temperature
Package Type
8 SOIC
Industrial
Thermal Impedances by Package
Package
Typical θJA[1]
8 SOIC
127.22 °C/W
Note
1. TJ = TA + Power x θJA
Solder Reflow Peak Temperature
Package
Minimum Peak Temperature[2]
Maximum Peak Temperature
8 SOIC
240 °C
260 °C
Note
2. Higher temperatures may be required based on the solder melting point. Typical temperatures for solder are 220 ± 5°C with Sn-Pb or 245 ± 5°C with Sn-Ag-Cu
paste. Refer to the solder manufacturer specifications.
Package Diagram
Figure 3. 8 - Pin (150-Mil) SOIC (51-85066)
PIN 1 ID
4
1
1. DIMENSIONS IN INCHES[MM] MIN.
MAX.
2. PIN 1 ID IS OPTIONAL,
ROUND ON SINGLE LEADFRAME
RECTANGULAR ON MATRIX LEADFRAME
0.150[3.810]
0.157[3.987]
3. REFERENCE JEDEC MS-012
0.230[5.842]
0.244[6.197]
4. PACKAGE WEIGHT 0.07gms
PART #
S08.15 STANDARD PKG.
5
SZ08.15 LEAD FREE PKG.
8
0.189[4.800]
0.196[4.978]
0.010[0.254]
0.016[0.406]
SEATING PLANE
X 45°
0.061[1.549]
0.068[1.727]
0.004[0.102]
0.050[1.270]
BSC
0.004[0.102]
0.0098[0.249]
0°~8°
0.016[0.406]
0.035[0.889]
0.0075[0.190]
0.0098[0.249]
0.0138[0.350]
0.0192[0.487]
51-85066-*C
Document Number: 001-32159 Rev. *B
Page 9 of 10
[+] Feedback
CY8C20142
Document History Page
Document Title: CY8C20142 CapSense Express™ - 4 Configurable IOs
Document Number: 001-32159
REV.
ECN.
Issue Date
Orig. of
Change
**
1494145
See ECN
TUP/AESA
New Datasheet
*A
1773608
See ECN
TUP/AESA
Removed table - 3V DC General Purpose IO Specifications
Updated Logic Block Diagram
Updated table - DC POR and LVD Specifications
Updated table - DC Chip Level Specifications
Updated table - 5V and 3.3V DC General Purpose IO Specifications
Updated table - 2.7V DC General Purpose IO Specifications
Updated table - AC GPIO Specifications and split it into two tables for 5V/3.3V
and 2.7V
Added section on CapSense ExpressTM Software tool
*B
2091026
See ECN
DZU/MOHD
/AESA
Updated table-DC Chip Level Specifications
Updated table-Pin Definitions 16 pin QFN
Updated table-Pin Definitions 16 pin SOIC
Updated table-5V and 3.3V DC General Purpose IO Specifications
Updated table - 2.7V DC General Purpose IO Specifications
Changed definition for Timing for Fast/Standard Mode on the I2C Bus diagram
Description of Change
© Cypress Semiconductor Corporation, 2007-2008. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of
any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for
medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, 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 Cypress products in life-support systems
application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign),
United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of,
and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress
integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without
the express written permission of Cypress.
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. 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 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.
Use may be limited by and subject to the applicable Cypress software license agreement.
Document Number: 001-32159 Rev. *B
Revised February 11, 2008
Page 10 of 10
PSoC Designer™, Programmable System-on-Chip™, and PSoC Express™ are trademarks and PSoC® is a registered trademark of Cypress Semiconductor Corp. All other trademarks or registered
trademarks referenced herein are property of the respective corporations. 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. All products and company names
mentioned in this document may be the trademarks of their respective holders.
[+] Feedback