CY8C20xx7/S
1.8 V CapSense® Controller with SmartSense™
Auto-tuning 31 Buttons, 6 Sliders, Proximity Sensors
1.8 V CapSense® Controller with SmartSense™ Auto-tuning 31 Buttons, 6 Sliders, Proximity Sensors
Features
■
■
QuietZone™ Controller
❐ Patented Capacitive Sigma Delta PLUS (CSD PLUS™)
sensing algorithm for robust performance
❐ High Sensitivity (0.1 pF) and best-in-class SNR performance
to support:
• Overlay thickness of 15 mm for glass and 5 mm plastic
• Proximity Solutions
❐ Superior noise immunity performance against conducted and
radiated noise and ultra low radiated emissions
• Standardized user modules for overcoming noise
Low power CapSense® block with SmartSense Auto-tuning
❐ Low average power consumption –
• 28 µA/sensor in run time (wake-up and scan once every
125 ms)
❐ SmartSense_EMC_PLUS Auto-Tuning
• Sets and maintains optimal sensor performance during run
time
• Eliminates system tuning during development and
production
• Compensates for variations in manufacturing process
■
Driven shield available on five GPIO pins
❐ Delivers best-in class water tolerant designs
❐ Robust proximity sensing in the presence of metal objects
❐ Supports longer trace lengths
❐ Max load of 100 pF (3 MHz)
■
Powerful Harvard-architecture processor
❐ M8C CPU with a max speed of 24 MHz
■
Operating Range: 1.71 V to 5.5 V
❐ Standby Mode 1.1 μA (Typ)
❐ Deep Sleep 0.1 μA (Typ)
■
■
■
4 Clock Sources
❐ Internal main oscillator (IMO): 6/12/24 MHz
❐ Internal low-speed oscillator (ILO) at 32 kHz for watchdog
and sleep timers
❐ External 32 KHz Crystal Oscillator
❐ External Clock Input
■
Programmable pin configurations
❐ Up to 34 general-purpose I/Os (GPIOs)
❐ Dual mode GPIO (Analog and Digital)
❐ High sink current of 25 mA per GPIO
• Max sink current 120 mA for all I/Os combined
❐ Source Current
• 5 mA on ports 0 and 1
• 1 mA on ports 2, 3 and 4
❐ Configurable internal pull-up, high-Z and open drain modes
❐ Selectable, regulated digital I/O on port 1
❐ Configurable input threshold on port 1
■
Versatile Analog functions
❐ Internal analog bus supports connection of multiple sensors
to form ganged proximity sensor
❐ Internal Low-Dropout voltage regulator for high power supply
rejection ratio (PSRR)
■
Additional system resources
2
❐ I C Slave:
• Selectable to 50 kHz, 100 kHz, or 400 kHz
• Selectable Clock stretch or Forced Nack Mode
• I2C wake from sleep with Hardware address match
❐ 12 MHz (Configurable) SPI master and slave
❐ Three 16-bit timers
❐ Watchdog and sleep timers
❐ Integrated supervisory circuit
❐ 10-bit incremental analog-to-digital converter (ADC) with
internal voltage reference
❐ Two general-purpose high speed, low power analog
comparators
■
Complete development tools
❐ Free development tool (PSoC Designer™)
■
Sensor and Package options
❐ 10 Sensing Inputs – 16-pin QFN, 16-pin SOIC
❐ 16 Sensing Inputs – 24-pin QFN
❐ 24 Sensing Inputs – 30-pin WLCSP
❐ 25 Sensing Inputs – 32-pin QFN
❐ 31 Sensing Inputs – 48-pin QFN
Operating Temperature range: –40 oC to +85 oC
Flexible on-chip memory
❐ 8 KB flash, 1 KB SRAM
❐ 16 KB flash, 2 KB SRAM
❐ 32 KB flash, 2 KB SRAM
❐ 50,000 flash erase/write cycles
❐ Read while Write with EEPROM emulation
❐ In-system programming simplifies manufacturing process
Errata: For information on silicon errata, see “Errata” on page 38. Details include trigger conditions, devices affected, and proposed workaround.
Cypress Semiconductor Corporation
Document Number: 001-69257 Rev. *Q
•
198 Champion Court
•
San Jose, CA 95134-1709
•
408-943-2600
Revised May 11, 2018
CY8C20xx7/S
Logic Block Diagram
Port 4
Port 3
Port 2
Port 1
Port 0
1.8/2.5/3 V PWRSYS [1]
LDO
(Regulator)
PSoC CORE
SYSTEM BUS
Global Analog Interconnect
1K/2K
SRAM
Supervisory ROM (SROM)
Interrupt
Controller
8K/16K/ 32K Flash
Nonvolatile Memory
Sleep and
Watchdog
CPU Core(M8C)
6/12/24 MHz Internal Main Oscillator
( IMO)
Internal Low Speed Oscillator ( ILO)
Multiple Clock Sources
CAPSENSE
SYSTEM
Analog
Reference
CapSense
Module
Comparator #1
Analog
Mux
Comparator #2
SYSTEM BUS
I2C
Slave
Internal
Voltage
References
System
Resets
POR
and
LVD
SPI
Master/
Slave
Three 16-Bit
Programmable
Timers
Digital
Clocks
SYSTEM RESOURCES
Note
1. Internal voltage regulator for internal circuitry
Document Number: 001-69257 Rev. *Q
Page 2 of 46
CY8C20xx7/S
Contents
PSoC® Functional Overview ............................................ 4
PSoC Core .................................................................. 4
CapSense System ....................................................... 4
Additional System Resources ..................................... 5
Getting Started .................................................................. 5
Application Notes/Design Guides ................................ 5
Development Kits ........................................................ 5
Training ....................................................................... 5
CYPros Consultants .................................................... 5
Solutions Library .......................................................... 5
Technical Support ....................................................... 5
Designing with PSoC Designer ....................................... 6
Select Components ..................................................... 6
Configure Components ............................................... 6
Organize and Connect ................................................ 6
Generate, Verify, and Debug ....................................... 6
Pinouts .............................................................................. 7
16-pin SOIC (10 Sensing Inputs) ................................ 7
16-pin QFN (10 Sensing Inputs)[9] .............................. 8
24-pin QFN (16 Sensing Inputs)[15] ............................ 9
30-ball WLCSP (24 Sensing Inputs) .......................... 10
32-pin QFN (25 Sensing Inputs)[26] .......................... 11
48-pin QFN (31 Sensing Inputs)[32] .......................... 12
Electrical Specifications ................................................ 13
Absolute Maximum Ratings ....................................... 13
Operating Temperature ............................................. 13
DC Chip-Level Specifications .................................... 14
DC GPIO Specifications ............................................ 15
DC Analog Mux Bus Specifications ........................... 17
DC Low Power Comparator Specifications ............... 17
Comparator User Module Electrical Specifications ... 18
ADC Electrical Specifications .................................... 18
DC POR and LVD Specifications .............................. 19
DC Programming Specifications ............................... 19
DC I2C Specifications ............................................... 20
Document Number: 001-69257 Rev. *Q
Shield Driver DC Specifications ................................ 20
DC IDAC Specifications ............................................ 20
AC Chip-Level Specifications .................................... 21
AC General Purpose I/O Specifications .................... 22
AC Comparator Specifications .................................. 22
AC External Clock Specifications .............................. 22
AC Programming Specifications ................................ 23
AC I2C Specifications ................................................ 24
Packaging Information ................................................... 27
Thermal Impedances ................................................. 30
Capacitance on Crystal Pins ..................................... 30
Solder Reflow Peak Temperature ............................. 30
Development Tool Selection ......................................... 31
Software .................................................................... 31
Development Kits ...................................................... 31
Evaluation Tools ........................................................ 31
Device Programmers ................................................. 32
Third Party Tools ....................................................... 32
Ordering Information ...................................................... 33
Ordering Code Definitions ......................................... 34
Acronyms ........................................................................ 35
Reference Documents .................................................... 35
Document Conventions ............................................. 35
Units of Measure ....................................................... 35
Numeric Naming ........................................................ 36
Glossary .......................................................................... 36
Errata ............................................................................... 37
CY8C20xx7/S Qualification Status ............................ 37
CY8C20xx7/S Errata Summary ................................. 37
Document History Page ................................................. 41
Sales, Solutions, and Legal Information ...................... 45
Worldwide Sales and Design Support ....................... 45
Page 3 of 46
CY8C20xx7/S
PSoC® Functional Overview
Figure 1. CapSense System Block Diagram
The PSoC family consists of many devices with on-chip
controllers. These devices are designed to replace multiple
traditional MCU-based system components with one low-cost
single-chip programmable component. A PSoC device includes
configurable blocks of analog and digital logic, and
programmable interconnect. This architecture makes it possible
for you to create customized peripheral configurations, to match
the requirements of each individual application. Additionally, a
fast central processing unit (CPU), flash program memory,
SRAM data memory, and configurable I/O are included in a
range of convenient pinouts.
CS1
IDAC
The core
■
CapSense analog system
■
System resources
Analog Global Bus
Reference
Buffer
Comparator
Each CY8C20x37/47/67/S PSoC device includes a dedicated
CapSense block that provides sensing and scanning control
circuitry for capacitive sensing applications. Depending on the
PSoC package, up to 34 GPIOs are also included. The GPIOs
provide access to the MCU and analog mux.
The analog system contains the capacitive sensing hardware.
Several hardware algorithms are supported. This hardware
performs capacitive sensing and scanning without requiring
external components. The analog system is composed of the
CapSense PSoC block and an internal 1 V or 1.2 V analog
reference, which together support capacitive sensing of up to 31
inputs[2]. Capacitive sensing is configurable on each GPIO pin.
Scanning of enabled CapSense pins is completed quickly and
easily across multiple ports.
SmartSense™ Auto-tuning
Refs
Cap Sense Counters
CSCLK
PSoC Core
CapSense System
Cexternal (P0[1]
or P0[3])
Mux
Mux
A common, versatile bus allows connection between I/O and the
analog system.
The PSoC core is a powerful engine that supports a rich
instruction set. It encompasses SRAM for data storage, an
interrupt controller, sleep and watchdog timers, and IMO and
ILO. The CPU core, called the M8C, is a powerful processor with
speeds up to 24 MHz. The M8C is a 4-million instructions per
second (MIPS), 8-bit Harvard-architecture microprocessor.
CSN
Vr
The architecture for this device family, as shown in the “Logic
Block Diagram” on page 2, consists of three main areas:
■
CS2
IMO
CapSense
Clock Select
Oscillator
Analog Multiplexer System
The analog mux bus can connect to every GPIO pin. Pins are
connected to the bus individually or in any combination. The bus
also connects to the analog system for analysis with the
CapSense block comparator.
Switch-control logic enables selected pins to precharge
continuously under hardware control. This enables capacitive
measurement for applications such as touch sensing. Other
multiplexer applications include:
■
Complex capacitive sensing interfaces, such as sliders and
touchpads.
■
Chip-wide mux that allows analog input from any I/O pin.
■
Crosspoint connection between any I/O pin combinations.
SmartSense auto-tuning is an innovative solution from Cypress
that removes manual tuning of CapSense applications. This
solution is easy to use and provides robust noise immunity. It is
the only auto-tuning solution that establishes, monitors, and
maintains all required tuning parameters of each sensor during
run time. SmartSense auto-tuning allows engineers to go from
prototyping to mass production without retuning for
manufacturing variations in PCB and/or overlay material
properties.
Note
2. 34 GPIOs = 31 pins for capacitive sensing+2 pins for I2C + 1 pin for modulator capacitor.
Document Number: 001-69257 Rev. *Q
Page 4 of 46
CY8C20xx7/S
Additional System Resources
System resources provide additional capability, such as
configurable I2C slave, SPI master/slave communication
interface, three 16-bit programmable timers, various system
resets supported by the M8C low voltage detection and poweron reset. The merits of each system resource are listed here:
■
■
The I2C slave/SPI master-slave module provides 50/100/
400 kHz communication over two wires. SPI communication
over three or four wires runs at speeds of 46.9 kHz to 3 MHz
(lower for a slower system clock).
The I2C hardware address recognition feature reduces the
already low power consumption by eliminating the need for
CPU intervention until a packet addressed to the target device
is received.
2
Getting Started
The quickest way to understand PSoC silicon is to read this
datasheet and then use the PSoC Designer Integrated
Development Environment (IDE). This datasheet is an overview
of the PSoC integrated circuit and presents specific pin, register,
and electrical specifications.
For in depth information, along with detailed programming
details, see the Technical Reference Manual for the CY8C20x37/
47/67/S PSoC devices.
For up-to-date ordering, packaging, and electrical specification
information, see the latest PSoC device datasheets on the web
at www.cypress.com/psoc.
Application Notes/Design Guides
The I C enhanced slave interface appears as a 32-byte RAM
buffer to the external I2C master. Using a simple predefined
protocol, the master controls the read and write pointers into
the RAM. When this method is enabled, the slave does not stall
the bus when receiving data bytes in active mode. For more
details, refer to the I2CSBUF User Module datasheet.
Application notes and design guides are an excellent
introduction to the wide variety of possible PSoC designs. They
are located at www.cypress.com/gocapsense. Select
Application Notes under the Related Documentation tab.
■
Low-voltage detection (LVD) interrupts can signal the
application of falling voltage levels, while the advanced poweron reset (POR) circuit eliminates the need for a system
supervisor.
■
An internal reference provides an absolute reference for
capacitive sensing.
PSoC Development Kits are available online from Cypress at
www.cypress.com/shop and through a growing number of
regional and global distributors, which include Arrow, Avnet, DigiKey, Farnell, Future Electronics, and Newark. See “Development
Kits” on page 32.
■
A register-controlled bypass mode allows the user to disable
the LDO regulator.
■
Development Kits
Training
Free PSoC and CapSense technical training (on demand,
webinars, and workshops) is available online at
www.cypress.com/training. The training covers a wide variety of
topics and skill levels to assist you in your designs.
CYPros Consultants
Certified PSoC Consultants offer everything from technical
assistance to completed PSoC designs. To contact or become a
PSoC Consultant go to www.cypress.com/cypros.
Solutions Library
Visit our growing library of solution focused designs at
www.cypress.com/solutions. Here you can find various
application designs that include firmware and hardware design
files that enable you to complete your designs quickly.
Technical Support
For assistance with technical issues, search KnowledgeBase
articles and forums at www.cypress.com/support. If you cannot
find an answer to your question, create a technical support case
or call technical support at 1-800-541-4736.
Document Number: 001-69257 Rev. *Q
Page 5 of 46
CY8C20xx7/S
Designing with PSoC Designer
Organize and Connect
The PSoC development process can be summarized in the
following four steps:
1. Select User Modules
2. Configure User Modules
3. Organize and Connect
4. Generate and Verify
You build signal chains at the chip level by interconnecting user
modules to each other and the I/O pins. You perform the
selection, configuration, and routing so that you have complete
control over all on-chip resources.
Select Components
PSoC Designer provides a library of pre-built, pre-tested
hardware peripheral components called “user modules”. User
modules make selecting and implementing peripheral devices,
both analog and digital, simple.
Configure Components
Each of the User Modules you select establishes the basic
register settings that implement the selected function. They also
provide parameters and properties that allow you to tailor their
precise configuration to your particular application. The user
module parameters permit you to establish the pulse width and
duty cycle. Configure the parameters and properties to
correspond to your chosen application. Enter values directly or
by selecting values from drop-down menus. All the user modules
are documented in datasheets that may be viewed directly in
PSoC Designer or on the Cypress website. These user module
datasheets explain the internal operation of the User Module and
provide performance specifications. Each datasheet describes
the use of each user module parameter, and other information
you may need to successfully implement your design.
Document Number: 001-69257 Rev. *Q
Generate, Verify, and Debug
When you are ready to test the hardware configuration or move
on to developing code for the project, you perform the “Generate
Configuration Files” step. This causes PSoC Designer to
generate source code that automatically configures the device to
your specification and provides the software for the system. The
generated code provides application programming interfaces
(APIs) with high-level functions to control and respond to
hardware events at run time and interrupt service routines that
you can adapt as needed.
A complete code development environment allows you to
develop and customize your applications in C, assembly
language, or both.
Page 6 of 46
CY8C20xx7/S
Pinouts
The CY8C20x37/47/67/S PSoC device is available in a variety of packages, which are listed and illustrated in the following tables.
Every port pin (labeled with a “P”) is capable of digital I/O and connection to the common analog bus. However, VSS, VDD, and XRES
are not capable of digital I/O.
16-pin SOIC (10 Sensing Inputs)
Table 1. Pin Definitions – CY8C20237-24SXI, CY8C20247/S-24SXI [3]
Type
Pin
No.
Digital
Analog
1
I/O
I
P0[3] Integrating Input
2
I/O
I
P0[1] Integrating Input
3
I/O
I
P2[5] Crystal output (XOut)
4
I/O
I
P2[3] Crystal input (XIn)
5
I/O
I
P1[7] I2C SCL, SPI SS
6
I/O
I
P1[5] I2C SDA, SPI MISO
7
I/O
I
P1[3]
8
I/O
I
P1[1] ISSP CLK[4], I2C SCL, SPI
MOSI
9
Power
Name
VSS
Description
I/O
I
P1[0] ISSP DATA[4], I2C SDA, SPI
CLK[5]
11
I/O
I
P1[2] Driven Shield Output (optional)
12
I/O
I
P1[4] Optional external clock
(EXTCLK)
14
INPUT
I/O
15
16
1
2
3
4
5
6
7
8
SOIC
16
15
14
13
12
11
10
9
P0[7], AI
VDD
P0[4], AI
XRES
P1[4], EXTCLK
P1[2], AI
P1[0], ISSP DATA, I2C SDA, SPI CLK, AI
VSS
XRES Active high external reset with
internal pull-down[6]
I
Power
I/O
AI, P0[3]
AI, P0[1]
AI, P2[5]
AI, P2[3]
AI, P1[7]
AI, P1[5]
AI, P1[3]
2
AI, ISSP CLK, I C SCL, SPI MOSI, P1[1]
Ground connection[7]
10
13
Figure 2. CY8C20237-24SXI, CY8C20247/S-24SXI
Device
P0[4]
VDD
I
Supply voltage
P0[7]
LEGEND A = Analog, I = Input, O = Output, OH = 5 mA High Output Drive, R = Regulated Output.
Notes
3. 13 GPIOs = 10 pins for capacitive sensing+2 pins for I2C + 1 pin for modulator capacitor.
4. On Power-up, the SDA(P1[0]) drives a strong high for 256 sleep clock cycles and drives resistive low for the next 256 sleep clock cycles. The SCL(P1[1]) line drives
resistive low for 512 sleep clock cycles and both the pins transition to High impedance state. On reset, after XRES de- asserts, the SDA and the SCL lines drive
resistive low for 8 sleep clock cycles and transition to high impedance state. In both cases, a pull-up resistance on these lines combines with the pull-down resistance
(5.6K ohm) and form a potential divider. Hence, during power-up or reset event, P1[1] and P1[0] may disturb the I2C bus. Use alternate pins if you encounter issues.
5. Alternate SPI clock.
6. The internal pull down is 5KOhm.
7. All VSS pins should be brought out to one common GND plane.
Document Number: 001-69257 Rev. *Q
Page 7 of 46
CY8C20xx7/S
16-pin QFN (10 Sensing Inputs)[8]
Table 2. Pin Definitions – CY8C20237, CY8C20247/S [9]
I/O
I
P2[5] Crystal output (XOut)
2
I/O
I
P2[3] Crystal input (XIn)
3
IOHR
I
P1[7] I2C SCL, SPI SS
2
4
IOHR
I
P1[5] I C SDA, SPI MISO
5
IOHR
I
P1[3] SPI CLK
6
IOHR
I
P1[1]
7
Power
VSS
P1[0]
9
IOHR
I
P1[2] Driven Shield Output (optional)
10
IOHR
I
P1[4]
Optional external clock
(EXTCLK)
XRES
Active high external reset with
internal pull-down[12]
13
IOH
I
P0[4]
Power
VDD
P0[1], AI
P0[3], AI
P0[7], AI
VDD
ISSP DATA[10], I2C SDA, SPI
CLK[11]
I
12
AI , XIn, P2[3]
AI , I2 C SCL, SPI SS, P1[7]
AI , I2 C SDA, SPI MISO, P1[5]
Ground connection[13]
IOHR
Input
AI , XOut, P2[5]
ISSP CLK[10], I2C SCL, SPI
MOSI
8
11
Figure 3. CY8C20237, CY8C20247/S Device
Description
1
2
14
13
1
Name
16
15
Analog
12
11
(Top View)
10
3
9
4
QFN
5
6
7
8
Digital
P0[4] , AI
XRES
P1[4] , EXTCLK, AI
P1[2] , AI
AI, SPI CLK , P1[3]
AI, ISSP CLK, SPI MOSI, P1[1]
VSS
AI, ISSP DATA , I2C SDA, SPI CLK , P1[0]
Type
Pin
No.
Supply voltage
14
IOH
I
P0[7]
15
IOH
I
P0[3] Integrating input
16
IOH
I
P0[1] Integrating input
LEGEND A = Analog, I = Input, O = Output, OH = 5 mA High Output Drive, R = Regulated Output.
Notes
8. No center pad.
9. 13 GPIOs = 10 pins for capacitive sensing+2 pins for I2C + 1 pin for modulator capacitor.
10. On Power-up, the SDA(P1[0]) drives a strong high for 256 sleep clock cycles and drives resistive low for the next 256 sleep clock cycles. The SCL(P1[1]) line drives
resistive low for 512 sleep clock cycles and both the pins transition to High impedance state. On reset, after XRES de- asserts, the SDA and the SCL lines drive
resistive low for 8 sleep clock cycles and transition to high impedance state. In both cases, a pull-up resistance on these lines combines with the pull-down resistance
(5.6K ohm) and form a potential divider. Hence, during power-up or reset event, P1[1] and P1[0] may disturb the I2C bus. Use alternate pins if you encounter issues.
11. Alternate SPI clock.
12. The internal pull down is 5KOhm.
13. All VSS pins should be brought out to one common GND plane.
Document Number: 001-69257 Rev. *Q
Page 8 of 46
CY8C20xx7/S
24-pin QFN (16 Sensing Inputs)[14]
Table 3. Pin Definitions – CY8C20337, CY8C20347/S [15]
4
IOHR
I
P1[7]
I C SCL, SPI SS
5
IOHR
I
P1[5]
I2C SDA, SPI MISO
6
IOHR
I
P1[3]
SPI CLK
7
IOHR
I
P1[1]
ISSP CLK[16], I2C SCL, SPI
MOSI
NC
No connection
VSS
Ground connection[19]
8
9
Power
10
IOHR
I
P1[0]
ISSP DATA[16], I2C SDA, SPI
CLK[17]
11
IOHR
I
P1[2]
Driven Shield Output
(optional)
12
IOHR
I
P1[4]
Optional external clock input
(EXTCLK)
13
IOHR
I
P1[6]
14
Input
I/O
I
P2[2]
Driven Shield Output
(optional)
16
I/O
I
P2[4]
Driven Shield Output
(optional)
17
IOH
I
P0[0]
Driven Shield Output
(optional)
18
IOH
I
P0[2]
Driven Shield Output
(optional)
19
IOH
I
P0[4]
Power
VDD
IOH
I
P0[7]
22
IOH
I
P0[3]
Integrating input
VSS
Ground connection[19]
P0[1]
Integrating input
VSS
Center pad must be
connected to ground
24
CP
Power
IOH
Power
2
19
21
20
18
17
3
QFN
16
4
(Top View)
15
5
14
6
13
P0[2], AI
P0[0], AI
P2[4], AI
P2[2], AI
XRES
P1[6], AI
Supply voltage
21
23
AI, P2[1]
AI, I2C SCL, SPI SS, P1[7]
AI, I2C SDA, SPI MISO, P1[5]
AI, SPI CLK, P1[3]
1
XRES Active high external reset
with internal pull-down[18]
15
20
AI, XOut, P2[5]
AI, XIn, P2[3]
2
11
12
P2[1]
AI, P1[2]
AI, EXTCLK, P1[4]
I
22
I/O
9
3
10
Crystal input (XIn)
AI, ISSP DATA2, I2C SDA, SPI CLK, P1[0]
Crystal output (XOut)
P2[3]
P0[1], AI
VSS
P0[3], AI
P0[7], AI
VDD
P0[4], AI
P2[5]
I
24
I
I/O
23
I/O
2
8
1
Figure 4. CY8C20337, CY8C20347/S Device
7
Description
AI, ISSP CLK2, I2C SCL
SPI MOSI, P1[1]
NC
VSS
Type
Pin
No. Digital Analog Name
I
LEGEND A = Analog, I = Input, O = Output, OH = 5 mA High Output Drive, R = Regulated Output.
Notes
14. The center pad (CP) on the QFN package must be connected to ground (VSS) for best mechanical, thermal, and electrical performance. If not connected to ground,
it must be electrically floated and not connected to any other signal.
15. 19 GPIOs = 16 pins for capacitive sensing+2 pins for I2C + 1 pin for modulator capacitor.
16. On Power-up, the SDA(P1[0]) drives a strong high for 256 sleep clock cycles and drives resistive low for the next 256 sleep clock cycles. The SCL(P1[1]) line drives
resistive low for 512 sleep clock cycles and both the pins transition to High impedance state. On reset, after XRES de- asserts, the SDA and the SCL lines drive
resistive low for 8 sleep clock cycles and transition to high impedance state. In both cases, a pull-up resistance on these lines combines with the pull-down resistance
(5.6K ohm) and form a potential divider. Hence, during power-up or reset event, P1[1] and P1[0] may disturb the I2C bus. Use alternate pins if you encounter issues.
17. Alternate SPI clock.
18. The internal pull down is 5KOhm.
19. All VSS pins should be brought out to one common GND plane.
Document Number: 001-69257 Rev. *Q
Page 9 of 46
CY8C20xx7/S
30-ball WLCSP (24 Sensing Inputs)
Table 4. Pin Definitions – CY8C20767, CY8C20747 30-ball Part Pinout (WLCSP) [20]
Type
Pin No.
A1
A2
A3
A4
A5
B1
B2
B3
B4
B5
C1
C2
C3
C4
C5
D1
D2
D3
D4
D5
E1
E2
Digital
Analog
IOH
IOH
I
I
Power
IOH
I/O
I/O
IOH
IOH
IOH
I/O
I/O
I/O
I/O
IOH
I/O
I/O
I/O
I/O
I/O
I/O
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
Input
IOHR
Name
Description
P0[2]
P0[6]
VDD
P0[1]
P2[7]
P4[2]
P0[0]
P0[4]
P0[3]
P2[5]
P2[2]
P2[4]
P0[7]
P3[2]
P2[3]
P2[0]
P3[0]
P3[1]
P3[3]
P2[1]
Driven Shield Output (optional)
XRES
I
5
D
Active high external reset with
internal pull-down[21]
E5
IOHR
I
P1[5]
I2C SDA, SPI MISO
F1
IOHR
I
P1[2]
F2
IOHR
I
P1[0]
Driven Shield Output (optional)
ISSP DATA[22], I2C SDA, SPI
CLK[23]
Supply ground[24]
ISSP CLK[22], I2C SCL, SPI
MOSI
SPI CLK
P1[3]
3
4
5
C
D
P1[7]
I
2
B
I
IOHR
Top View
A
IOHR
F5
F
1
E4
P1[1]
E
Crystal Input (Xin)
P1[4]
I
A
Integrating Input
Crystal Output (Xout)
Driven Shield Output (optional)
Driven Shield Output (optional)
I
IOHR
1
C
IOHR
F4
2
Driven Shield Output (optional)
E3
VSS
3
B
P1[6]
Power
4
Supply voltage
Integrating Input
Optional external clock input
(EXT CLK)
I2C SCL, SPI SS
F3
Figure 5. CY8C20767, CY8C20747 30-ball
WLCSP
Bottom View
E
F
LEGEND: A = Analog, I = Input, O = Output, OH = 5 mA High Output Drive, R = Regulated Output
Notes
20. 27 GPIOs = 24 pins for capacitive sensing+2 pins for I2C + 1 pin for modulator capacitor.
21. The internal pull down is 5KOhm.
22. On Power-up, the SDA(P1[0]) drives a strong high for 256 sleep clock cycles and drives resistive low for the next 256 sleep clock cycles. The SCL(P1[1]) line drives
resistive low for 512 sleep clock cycles and both the pins transition to High impedance state. On reset, after XRES de- asserts, the SDA and the SCL lines drive
resistive low for 8 sleep clock cycles and transition to high impedance state. In both cases, a pull-up resistance on these lines combines with the pull-down resistance
(5.6K ohm) and form a potential divider. Hence, during power-up or reset event, P1[1] and P1[0] may disturb the I2C bus. Use alternate pins if you encounter issues.
23. Alternate SPI clock.
24. All VSS pins should be brought out to one common GND plane.
Document Number: 001-69257 Rev. *Q
Page 10 of 46
CY8C20xx7/S
32-pin QFN (25 Sensing Inputs)[25]
Table 5. Pin Definitions – CY8C20437, CY8C20447/S, CY8C20467/S [26]
I/O
I/O
I/O
I/O
I/O
I/O
I/O
IOH
IOH
IOH
IOH
I
I
I
I
I
I
I
I
I
I
I
Power
IOH
IOH
I
I
Power
Power
32
31
P0[2], AI
P0[0], AI
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
CP
P1[6]
XRES Active high external reset with
internal pull-down[29]
P3[0]
P3[2]
P4[0]
P4[2]
P2[0]
P2[2] Driven Shield Output (optional)
P2[4] Driven Shield Output (optional)
P0[0] Driven Shield Output (optional)
P0[2] Driven Shield Output (optional)
P0[4]
P0[6]
VDD
P0[7]
P0[3] Integrating input
VSS
Ground connection[30]
VSS
Center pad must be connected to
ground
P0[4], AI
I
Input
26
25
IOHR
15
16
16
17
QFN
(Top View)
24
23
22
21
20
19
18
17
AI, E XTCLK, P 1[ 4]
AI, P 1[ 6]
P1[2]
P1[4]
28
27
I
I
1
2
3
4
5
6
7
8
13
14
IOHR
IOHR
I2C SCL, SPI SS
I2C SDA, SPI MISO
SPI CLK.
ISSP CLK[27], I2C SCL, SPI
MOSI.
Ground connection[30]
ISSP DATA[27], I2C SDA,
SPI CLK[28]
Driven Shield Output (optional)
Optional external clock input
(EXTCLK)
AI , P0[1]
AI, XOut ,P2[5]
AI , XIn, P2[3]
AI , P2[1]
AI, P4[3]
AI, P3[3]
AI, P3[1]
AI , I 2C SCL, SPI SS,P1[7]
30
29
14
15
Integrating input
Crystal output (XOut)
Crystal input (XIn)
AI,ISSP CLK , I2C SCL, SPI MOSI, P1[1]
Vss
AI , ISSP DATA , I2C SDA, SPI CLK, P1[0]
AI, P 1[ 2]
VSS
P1[0]
Vss
P0[3], AI
P0[7], AI
VDD
P0[6], AI
Power
IOHR
I
Figure 6. CY8C20437, CY8C20447/S, CY8C20467/S Device
9
12
13
Description
10
11
12
P0[1]
P2[5]
P2[3]
P2[1]
P4[3]
P3[3]
P3[1]
P1[7]
P1[5]
P1[3]
P1[1]
Name
AI, I 2C SDA, SPI MI SO, P 1[ 5]
AI, SPI CLK, P 1[ 3]
1
2
3
4
5
6
7
8
9
10
11
Type
Digital Analog
IOH
I
I/O
I
I/O
I
I/O
I
I/O
I
I/O
I
I/O
I
IOHR
I
IOHR
I
IOHR
I
IOHR
I
Pin
No.
P2[4] , AI
P2[2] , AI
P2[0] , AI
P4[2] , AI
P4[0] , AI
P3[2] , AI
P3[0] , AI
XRES
LEGEND A = Analog, I = Input, O = Output, OH = 5 mA High Output Drive, R = Regulated Output.
Notes
25. The center pad (CP) on the QFN package must be connected to ground (VSS) for best mechanical, thermal, and electrical performance. If not connected to ground,
it must be electrically floated and not connected to any other signal.
26. 28 GPIOs = 25 pins for capacitive sensing+2 pins for I2C + 1 pin for modulator capacitor.
27. On Power-up, the SDA(P1[0]) drives a strong high for 256 sleep clock cycles and drives resistive low for the next 256 sleep clock cycles. The SCL(P1[1]) line drives
resistive low for 512 sleep clock cycles and both the pins transition to High impedance state. On reset, after XRES de- asserts, the SDA and the SCL lines drive
resistive low for 8 sleep clock cycles and transition to high impedance state. In both cases, a pull-up resistance on these lines combines with the pull-down resistance
(5.6K ohm) and form a potential divider. Hence, during power-up or reset event, P1[1] and P1[0] may disturb the I2C bus. Use alternate pins if you encounter issues.
28. Alternate SPI clock.
29. The internal pull down is 5KOhm.
30. All VSS pins should be brought out to one common GND plane.
Document Number: 001-69257 Rev. *Q
Page 11 of 46
CY8C20xx7/S
48-pin QFN (31 Sensing Inputs)[31]
I
I
I
P3[0]
P3[2]
P3[4]
30
31
32
33
34
35
36
37
38
39
I/O
I/O
I/O
I/O
I/O
I/O
I
I
I
I
I
I
P3[6]
P4[0]
P4[2]
P2[0]
P2[2]
P2[4]
NC
P0[0]
P0[2]
P0[4]
IOH
IOH
IOH
I
I
I
P0[1], AI
Vss
P0[3], AI
NC ,
P0[7], AI
NC
NC
Vdd
P0[6], AI
P0[4], AI
P0[2], AI
P0[0], AI
48
47
46
45
44
43
42
41
40
39
38
37
QFN
13
14
15
16
17
18
19
20
21
22
23
24
(Top View)
NC
P2[4],AI
P2[2],AI
P2[0],AI
P4[2],AI
P4[0],AI
P3[6],AI
P3[4], AI
P3[2],AI
P3[0], AI
XRES
P1[6], AI
Driven Shield Output (optional)
Driven Shield Output (optional)
No connection
Driven Shield Output (optional)
Driven Shield Output (optional)
40
41
42
43
44
45
46
47
48
CP
IOH
I
Power
IOH
I
IOH
I
Power
IOH
I
Power
Description
I/O
I/O
I/O
7
8
9
10
11
12
36
35
34
33
32
31
30
29
28
27
26
25
Active high external reset with
internal pull-down[35]
Pin No.
27
28
29
I2C SCL, SPI SS
I2C SDA, SPI MISO
No connection
No connection
SPI CLK
ISSP CLK[33], I2C SCL, SPI MOSI
Ground connection[36]
No connection
No connection
Supply voltage
ISSP DATA[33], I2C SDA, SPI CLK[34]
Driven Shield Output (optional)
Optional external clock input
(EXTCLK)
1
2
3
4
5
6
I2C SDA, SPI MISO, A I, P1[5]
NC
NC
SPI CLK, AI, P1[3]
AI, ISSP CLK, I2C SCL, SPI MOSI, P1[1]
Vss
NC
NC
Vdd
AI, ISSP DATA1 , I2C SDA, SPI CLK, P1[0]
AI, P 1[2]
AI, EXTCLK, P1[4]
P1[6]
XRES
NC
AI ,P2[7]
AI , XOut,P2[5]
AI , XIn ,P2[3]
AI ,P2[1]
AI ,P4[3]
AI ,P4[1]
AI ,P3[7]
AI ,P3[5]
AI ,P3[3]
AI P3[1]
AI ,I2 C SCL, SPI SS,P1[7]
Crystal output (XOut)
Crystal input (XIn)
Name
IOHR
I
Input
No connection
Analog
Power
IOHR
I
IOHR
I
IOHR
I
NC
P2[7]
P2[5]
P2[3]
P2[1]
P4[3]
P4[1]
P3[7]
P3[5]
P3[3]
P3[1]
P1[7]
P1[5]
NC
NC
P1[3]
P1[1]
VSS
NC
NC
VDD
P1[0]
P1[2]
P1[4]
IOHR
I
IOHR
I
Power
Description
I
I
I
I
I
I
I
I
I
I
I
I
Name
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
I/O
IOHR
IOHR
Figure 7. CY8C20637, CY8C20647/S, CY8C20667/S Device
Digital
25
26
Analog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Digital
Pin No.
Table 6. Pin Definitions – CY8C20637, CY8C20647/S, CY8C20667/S [32]
P0[6]
VDD
NC
NC
P0[7]
NC
P0[3]
VSS
P0[1]
VSS
Supply voltage
No connection
No connection
No connection
Integrating input
Ground connection[36
Integrating input
Center pad must be connected to ground
LEGEND A = Analog, I = Input, O = Output, NC = No Connection H = 5 mA High Output Drive, R = Regulated Output.
Notes
31. The center pad (CP) on the QFN package must be connected to ground (VSS) for best mechanical, thermal, and electrical performance. If not connected to ground,
it must be electrically floated and not connected to any other signal.
32. 34 GPIOs = 31 pins for capacitive sensing+2 pins for I2C + 1 pin for modulator capacitor.
33. On Power-up, the SDA(P1[0]) drives a strong high for 256 sleep clock cycles and drives resistive low for the next 256 sleep clock cycles. The SCL(P1[1]) line drives
resistive low for 512 sleep clock cycles and both the pins transition to High impedance state. On reset, after XRES de- asserts, the SDA and the SCL lines drive
resistive low for 8 sleep clock cycles and transition to high impedance state. In both cases, a pull-up resistance on these lines combines with the pull-down resistance
(5.6K ohm) and form a potential divider. Hence, during power-up or reset event, P1[1] and P1[0] may disturb the I2C bus. Use alternate pins if you encounter issues.
34. Alternate SPI clock.
35. The internal pull down is 5KOhm.
36. All VSS pins should be brought out to one common GND plane.
Document Number: 001-69257 Rev. *Q
Page 12 of 46
CY8C20xx7/S
Electrical Specifications
This section presents the DC and AC electrical specifications of the CY8C20x37/47/67/S PSoC devices. For the latest electrical
specifications, confirm that you have the most recent datasheet by visiting the web at http://www.cypress.com/psoc.
Figure 8. Voltage versus CPU Frequency
5.5 V
VDD Voltage
li d ng
Va rati n
e io
Op Reg
1.71 V
750 kHz
3 MHz
CPU
24 MHz
Frequency
Absolute Maximum Ratings
Exceeding maximum ratings may shorten the useful life of the device. User guidelines are not tested.
Table 7. Absolute Maximum Ratings
Symbol
Description
Conditions
Min
Typ
Max
Units
Higher storage temperatures reduce data
retention time. Recommended Storage
Temperature is +25 °C ± 25 °C. Extended
duration storage temperatures above 85 °C
degrades reliability.
–55
+25
+125
°C
TSTG
Storage temperature
VDD
Supply voltage relative to VSS
–
–0.5
–
+6.0
V
VIO
DC input voltage
–
VSS – 0.5
–
VDD + 0.5
V
VIOZ
DC voltage applied to tristate
–
VSS – 0.5
–
VDD + 0.5
V
IMIO
Maximum current into any port pin
ESD
Electro static discharge voltage
Human body model ESD
LU
Latch up current
In accordance with JESD78 standard
–
–25
–
+50
mA
2000
–
–
V
–
–
200
mA
Conditions
Min
Typ
Max
Units
–
+85
°C
70
°C
+100
°C
Operating Temperature
Table 8. Operating Temperature
Symbol
Description
TA
Ambient temperature
–
–40
TC
Commercial temperature range
–
0
The temperature rise from ambient to junction
is package specific. See the Thermal Impedances on page 31. The user must limit the
power consumption to comply with this
requirement.
–40
TJ
Operational die temperature
Document Number: 001-69257 Rev. *Q
–
Page 13 of 46
CY8C20xx7/S
DC Chip-Level Specifications
Table 9 lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 9. DC Chip-Level Specifications
Symbol
Description
Min
Typ
Max
Units
1.71
–
5.50
V
Conditions are VDD 3.0 V, TA = 25 °C,
Supply current, IMO = 24 MHz CPU = 24 MHz. CapSense running at 12 MHz,
no I/O sourcing current
–
2.88
4.00
mA
IDD12
Conditions are VDD 3.0 V, TA = 25 °C,
Supply current, IMO = 12 MHz CPU = 12 MHz. CapSense running at
12 MHz, no I/O sourcing current
–
1.71
2.60
mA
IDD6
Supply current, IMO = 6 MHz
Conditions are VDD 3.0 V, TA = 25 °C,
CPU = 6 MHz. CapSense running at 6 MHz,
no I/O sourcing current
–
1.16
1.80
mA
VDD 3.0 V, TA = 25 °C, I/O regulator turned off
–
0.10
1.1
A
ISB1 [40, 41, 42, 43]
Standby current with POR, LVD
VDD 3.0 V, TA = 25 °C, I/O regulator turned off
and sleep timer
–
1.07
1.50
A
ISBI2C [40, 41, 42, 43]
Standby current with I2C
enabled
–
1.64
–
A
VDD[37, 38, 39]
Supply voltage
IDD24
ISB0 [40, 41, 42, 43] Deep sleep current
Conditions
See Table 14 on page 17.
Conditions are VDD = 3.3 V, TA = 25 °C and
CPU = 24 MHz
Notes
37. When VDD remains in the range from 1.71 V to 1.9 V for more than 50 µs, the slew rate when moving from the 1.71 V to 1.9 V range to greater than 2 V must be
slower than 1 V/500 µs to avoid triggering POR. The only other restriction on slew rates for any other voltage range or transition is the SRPOWER_UP parameter.
38. If powering down in standby sleep mode, to properly detect and recover from a VDD brown out condition any of the following actions must be taken:
a. Bring the device out of sleep before powering down.
b. Assure that VDD falls below 100 mV before powering back up.
c. Set the No Buzz bit in the OSC_CR0 register to keep the voltage monitoring circuit powered during sleep.
d. Increase the buzz rate to assure that the falling edge of VDD is captured. The rate is configured through the PSSDC bits in the SLP_CFG register. For the referenced
registers, refer to the Technical Reference Manual. In deep sleep/standby sleep mode, additional low power voltage monitoring circuitry allows VDD brown out
conditions to be detected and resets the device when VDD goes lower than 1.1 V at edge rates slower than 1 V/ms.
39. For proper CapSense block functionality, if the drop in VDD exceeds 5% of the base VDD, the rate at which VDD drops should not exceed 200 mV/s. Base VDD can
be between 1.8 V and 5.5 V.
40. Errata: When programmable timer 0 is used in “one-shot” mode by setting bit 1 of register 0,B0h (PT0_CFG), and the timer interrupt is used to wake the device from
sleep, the interrupt service routine (ISR) may be executed twice. For more information, see the “Errata” on page 38.
41. Errata: When in sleep mode, if a GPIO interrupt happens simultaneously with a Timer0 or Sleep Timer interrupt, the GPIO interrupt may be missed, and the
corresponding GPIO ISR not run. For more information, see the “Errata” on page 38.
42. Errata: If an interrupt is posted a short time (within 2.5 CPU cycles) before firmware commands the device to sleep, the interrupt will be missed. For more information,
see the “Errata” on page 38.
43. Errata: Device wakes up from sleep when an analog interrupt is trigger. For more information, see the “Errata” on page 38.
Document Number: 001-69257 Rev. *Q
Page 14 of 46
CY8C20xx7/S
DC GPIO Specifications
The following tables list guaranteed maximum and minimum specifications for the voltage and temperature ranges: 3.0 V to 5.5 V and
–40 °C TA 85 °C, 2.4 V to 3.0 V and –40 °C TA 85 °C, or 1.71 V to 2.4 V and –40 °C TA 85 °C, respectively. Typical
parameters apply to 5 V and 3.3 V at 25 °C and are for design guidance only.
Table 10. 3.0 V to 5.5 V DC GPIO Specifications
Symbol
Description
Conditions
Min
Typ
Max
Units
–
4
5.60
8
k
IOH < 10 A, maximum of 10 mA source
VDD – 0.20
current in all I/Os
–
–
V
IOH = 1 mA, maximum of 20 mA source
current in all I/Os
VDD – 0.90
–
–
V
VOH3
High output voltage
I < 10 A, maximum of 10 mA source
VDD – 0.20
Port 0 or 1 pins with LDO regulator Disabled OH
current in all I/Os
for port 1
–
–
V
VOH4
High output voltage
I = 5 mA, maximum of 20 mA source
Port 0 or 1 pins with LDO regulator Disabled OH
current in all I/Os
for port 1
VDD – 0.90
–
–
V
VOH5
High output voltage
I < 10 A, VDD > 3.1 V, maximum of
Port 1 Pins with LDO Regulator Enabled for OH
4 I/Os all sourcing 5 mA
3 V out
2.85
3.00
3.30
V
VOH6
High output voltage
I = 5 mA, VDD > 3.1 V, maximum of
Port 1 pins with LDO regulator enabled for 3 OH
20 mA source current in all I/Os
V out
2.20
–
–
V
VOH7
High output voltage
IOH < 10 A, VDD > 2.7 V, maximum of
Port 1 pins with LDO enabled for 2.5 V out 20 mA source current in all I/Os
2.35
2.50
2.75
V
VOH8
High output voltage
IOH = 2 mA, VDD > 2.7 V, maximum of
Port 1 pins with LDO enabled for 2.5 V out 20 mA source current in all I/Os
1.90
–
–
V
VOH9
High output voltage
IOH < 10 A, VDD > 2.7 V, maximum of
Port 1 pins with LDO enabled for 1.8 V out 20 mA source current in all I/Os
1.60
1.80
2.10
V
VOH10
High output voltage
IOH = 1 mA, VDD > 2.7 V, maximum of
Port 1 pins with LDO enabled for 1.8 V out 20 mA source current in all I/Os
1.20
–
–
V
IOL = 25 mA, VDD > 3.3 V, maximum of
60 mA sink current on even port pins (for
example, P0[2] and P1[4]) and 60 mA sink
current on odd port pins (for example,
P0[3] and P1[5])
–
–
0.75
V
–
–
–
0.80
V
RPU
Pull-up resistor
VOH1
High output voltage
Port 2 or 3 pins
VOH2
High output voltage
Port 2 or 3 Pins
VOL
Low output voltage
VIL
Input low voltage
VIH
Input high voltage
–
VDD × 0.65
–
VDD + 0.7
V
VH
Input hysteresis voltage
–
–
80
–
mV
IIL
Input leakage (Absolute Value)
–
–
0.001
1
A
CPIN
Pin capacitance
Package and pin dependent Temp = 25 °C
0.50
1.70
7
pF
Low Voltage with low threshold enable Bit3 of IO_CFG1 set to enable low
VILLVT3.3 Input
set, Enable for Port1 [44]
threshold voltage of Port1 input
0.8
V
–
–
Input High Voltage with low threshold enable Bit3 of IO_CFG1 set to enable low
VIHLVT3.3 set, Enable for Port1
threshold voltage of Port1 input
1.4
–
–
V
Input Low Voltage with low threshold enable Bit3 of IO_CFG1 set to enable low
VILLVT5.5 set, Enable for Port1
threshold voltage of Port1 input
0.8
V
–
–
Input High Voltage with low threshold enable Bit3 of IO_CFG1 set to enable low
VIHLVT5.5 set, Enable for Port1
threshold voltage of Port1 input
1.7
–
–
V
Note
44. Errata: Pull-up resistor on port1 pins cannot be connected to a voltage that is greater than 0.7 V higher than CY8C20xx7/S VDD. For more information see item #7
in “Errata” on page 38.
Document Number: 001-69257 Rev. *Q
Page 15 of 46
CY8C20xx7/S
Table 11. 2.4 V to 3.0 V DC GPIO Specifications
Symbol
Description
Conditions
Min
Typ
Max
Units
–
4
5.60
8
k
IOH < 10 A, maximum of 10 mA source
VDD - 0.20
current in all I/Os
–
–
V
High output voltage
Port 2 or 3 Pins
IOH = 0.2 mA, maximum of 10 mA
source current in all I/Os
VDD - 0.40
–
–
V
VOH3
High output voltage
Port 0 or 1 pins with LDO regulator
Disabled for port 1
IOH < 10 A, maximum of 10 mA source
VDD - 0.20
current in all I/Os
–
–
V
VOH4
High output voltage
Port 0 or 1 pins with LDO regulator
Disabled for Port 1
IOH = 2 mA, maximum of 10 mA source
VDD - 0.50
current in all I/Os
–
–
V
VOH5A
High output voltage
I < 10 A, VDD > 2.4 V, maximum of
Port 1 pins with LDO enabled for 1.8 V OH
20 mA source current in all I/Os
out
1.50
1.80
2.10
V
VOH6A
High output voltage
I = 1 mA, VDD > 2.4 V, maximum of
Port 1 pins with LDO enabled for 1.8 V OH
20 mA source current in all I/Os
out
1.20
–
–
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[5])
–
–
0.75
V
–
0.72
V
RPU
Pull-up resistor
VOH1
High output voltage
Port 2 or 3 pins
VOH2
VOL
Low output voltage
VIL
Input low voltage
–
–
VIH
Input high voltage
–
VDD × 0.65
–
VDD + 0.7
V
VH
Input hysteresis voltage
–
–
80
–
mV
IIL
Input leakage (absolute value)
–
–
1
1000
nA
0.50
1.70
7
pF
V
–
CPIN
Capacitive load on pins
Package and pin dependent
Temp = 25 C
VILLVT2.5
Input Low Voltage with low threshold
enable set, Enable for Port1
Bit3 of IO_CFG1 set to enable low
threshold voltage of Port1 input
0.7
VIHLVT2.5
Input High Voltage with low threshold
enable set, Enable for Port1
Bit3 of IO_CFG1 set to enable low
threshold voltage of Port1 input
1.2
–
V
Table 12. 1.71 V to 2.4 V DC GPIO Specifications
Symbol
Description
Conditions
Min
Typ
Max
Units
–
4
5.60
8
k
IOH = 10 A, maximum of 10 mA
VDD – 0.20
source current in all I/Os
–
–
V
High output voltage
Port 2 or 3 pins
IOH = 0.5 mA, maximum of 10 mA
VDD – 0.50
source current in all I/Os
–
–
V
VOH3
High output voltage
Port 0 or 1 pins with LDO regulator
Disabled for Port 1
IOH = 100 A, maximum of 10 mA
VDD – 0.20
source current in all I/Os
–
–
V
VOH4
High output voltage
Port 0 or 1 Pins with LDO Regulator
Disabled for Port 1
IOH = 2 mA, maximum of 10 mA source
VDD – 0.50
current in all I/Os
–
–
V
RPU
Pull-up resistor
VOH1
High output voltage
Port 2 or 3 pins
VOH2
Document Number: 001-69257 Rev. *Q
Page 16 of 46
CY8C20xx7/S
Table 12. 1.71 V to 2.4 V DC GPIO Specifications (continued)
Symbol
Description
Conditions
Min
Typ
Max
Units
IOL = 5 mA, maximum of 20 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[5])
–
–
0.40
V
–
–
–
0.30 × VDD
V
VOL
Low output voltage
VIL
Input low voltage
VIH
Input high voltage
–
0.65 × VDD
–
–
V
VH
Input hysteresis voltage
–
–
80
–
mV
IIL
Input leakage (absolute value)
–
–
1
1000
nA
0.50
1.70
7
pF
CPIN
Package and pin dependent
temp = 25 C
Capacitive load on pins
Table 13. GPIO Current Sink and Source Specifications
Supply
Voltage
Mode
1.71–2.4
2.4–3.0
3.0–5.0
Port 0/1 per I/O
(max)
Port 2/3/4 per
I/O (max)
Total Current Even
Pins (max)
Total Current Odd
Pins (max)
20
30
Sink
5
5
Source
2
0.5
Sink
10
10
Source
2
0.2
Sink
25
25
Source
5
1
Units
mA
10[45]
mA
30
30
10
mA
[45]
mA
60
60
mA
20[45]
mA
DC Analog Mux Bus Specifications
Table 14 lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 14. DC Analog Mux Bus Specifications
Symbol
Conditions
Min
Typ
Max
Units
RSW
Switch resistance to common analog
bus
Description
–
–
–
800
RGND
Resistance of initialization switch to
VSS
–
–
–
800
The maximum pin voltage for measuring RSW and RGND is 1.8 V
DC Low Power Comparator Specifications
Table 15 lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 15. DC Comparator Specifications
Symbol
Description
Conditions
Min
Typ
Max
Units
0.2
–
1.8
V
VLPC
Low power comparator (LPC) common
Maximum voltage limited to VDD
mode
ILPC
LPC supply current
–
–
10
80
A
VOSLPC
LPC voltage offset
–
–
2.5
30
mV
Note
45. Total current (odd + even ports)
Document Number: 001-69257 Rev. *Q
Page 17 of 46
CY8C20xx7/S
Comparator User Module Electrical Specifications
Table 16 lists the guaranteed maximum and minimum specifications. Unless stated otherwise, the specifications are for the entire
device voltage and temperature operating range: –40 °C TA 85 °C, 1.71 V VDD 5.5 V.
Table 16. Comparator User Module Electrical Specifications
Symbol
TCOMP
Description
Min
Typ
Max
Units
50 mV overdrive
–
70
100
ns
–
Valid from 0.2 V to 1.5 V
–
2.5
30
mV
–
Average DC current, 50 mV
overdrive
–
20
80
µA
Supply voltage > 2 V
Power supply rejection ratio
–
80
–
dB
Supply voltage < 2 V
Power supply rejection ratio
–
40
Comparator response time
Offset
Current
PSRR
Input range
Conditions
–
–
dB
1.5
V
Typ
Max
Units
0
–
VREFADC
V
–
0.2
Conditions
Min
–
ADC Electrical Specifications
Table 17. ADC User Module Electrical Specifications
Symbol
Description
Input
VIN
Input voltage range
CIIN
Input capacitance
RIN
Input resistance
–
–
–
5
pF
Equivalent switched cap input
resistance for 8-, 9-, or 10-bit
resolution
1/(500fF ×
data clock)
1/(400fF ×
data clock)
1/(300fF ×
data clock)
–
1.14
–
1.26
V
2.25
–
6
MHz
Reference
VREFADC
ADC reference voltage
Conversion Rate
FCLK
Data clock
Source is chip’s internal main
oscillator. See AC Chip-Level
Specifications on page 21 for
accuracy
S8
8-bit sample rate
Data clock set to 6 MHz.
sample rate = 0.001/
(2^Resolution/Data Clock)
–
23.43
–
ksps
S10
10-bit sample rate
Data clock set to 6 MHz.
sample rate = 0.001/
(2^resolution/data clock)
–
5.85
–
ksps
RES
Resolution
Can be set to 8, 9, or 10 bit
DNL
Differential nonlinearity
INL
Integral nonlinearity
DC Accuracy
EOFFSET
Offset error
EGAIN
Gain error
8
–
10
bits
–
–1
–
+2
LSB
–
–2
–
+2
LSB
0
3.20
19.20
LSB
10-bit resolution
0
12.80
76.80
LSB
For any resolution
–5
–
+5
%FSR
–
2.10
2.60
mA
PSRR (VDD > 3.0 V)
–
24
–
dB
PSRR (VDD < 3.0 V)
–
30
–
dB
8-bit resolution
Power
IADC
Operating current
PSRR
Power supply rejection ratio
Document Number: 001-69257 Rev. *Q
–
Page 18 of 46
CY8C20xx7/S
DC POR and LVD Specifications
Table 18 lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 18. DC POR and LVD Specifications
Symbol
VPOR0
Description
Conditions
1.66 V selected in PSoC Designer
Min
Typ
Max
Units
1.61
1.66
1.71
V
–
2.36
2.41
V
–
2.60
2.66
V
–
2.82
2.95
V
VPOR3
2.36 V selected in PSoC Designer VDD must be greater than or equal to 1.71 V
during startup, reset from the XRES pin, or
2.60 V selected in PSoC Designer reset from watchdog.
2.82 V selected in PSoC Designer
VLVD0
2.45 V selected in PSoC Designer
2.40
2.45
2.51
V
VLVD1
2.71 V selected in PSoC Designer
2.64[46]
2.71
2.78
V
VLVD2
2.92 V selected in PSoC Designer
2.85
[47]
2.92
2.99
V
VLVD3
3.02 V selected in PSoC Designer
2.95[48]
3.02
3.09
V
VLVD4
3.13 V selected in PSoC Designer
3.06
3.13
3.20
V
VLVD5
1.90 V selected in PSoC Designer
1.84
1.90
2.32
V
VLVD6
1.80 V selected in PSoC Designer
1.75[49]
1.80
1.84
V
VLVD7
4.73 V selected in PSoC Designer
4.62
4.73
4.83
V
VPOR1
VPOR2
–
DC Programming Specifications
Table 19 lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 19. DC Programming Specifications
Symbol
Description
Supply voltage for flash write
VDDIWRITE
operations
Supply current during
IDDP
programming or verify
Input low voltage during
VILP
programming or verify
Input high voltage during
VIHP
programming or verify
Input current when Applying VILP
IILP
to P1[0] or P1[1] during
programming or verify
Input current when applying VIHP
IIHP
to P1[0] or P1[1] during
programming or verify
Output low voltage during
VOLP
programming or verify
VOHP
Output high voltage during
programming or verify
FlashENPB Flash write endurance
FlashDR
Flash data retention
Conditions
Min
Typ
Max
Units
–
1.71
–
5.25
V
–
–
5
25
mA
–
–
VIL
V
VIH
–
–
V
Driving internal pull-down resistor
–
–
0.2
mA
Driving internal pull-down resistor
–
–
1.5
mA
–
–
VSS + 0.75
V
VOH
–
VDD
V
50,000
–
–
–
20
–
–
Years
See appropriate “DC GPIO Specifications” on page 15
See appropriate “DC GPIO Specifications” on page 15
–
See appropriate “DC GPIO Specifications” on page 15. For VDD > 3V use VOH4
in Table 10 on page 15.
Erase/write cycles per block
Following maximum Flash write cycles;
ambient temperature of 55 °C
Notes
46. Always greater than 50 mV above VPPOR1 voltage for falling supply.
47. Always greater than 50 mV above VPPOR2 voltage for falling supply.
48. Always greater than 50 mV above VPPOR3 voltage for falling supply.
49. Always greater than 50 mV above VPPOR0 voltage for falling supply.
Document Number: 001-69257 Rev. *Q
Page 19 of 46
CY8C20xx7/S
DC I2C Specifications
Table 20 list guaranteed maximum and minimum specifications for the voltage and temperature ranges: 3.0 V to 5.5 V and –40 °C
TA 85 °C, 2.4 V to 3.0 V and –40 °C TA 85 °C, or 1.71 V to 2.4 V and –40 °C TA 85 °C, respectively. Typical parameters apply
to 5 V and 3.3 V at 25 °C and are for design guidance only.
Table 20. DC I2C Specifications[50]
Symbol
VILI2C
VIHI2C
Description
Input low level
Input high level
Conditions
Min
Typ
Max
Units
3.1 V ≤ VDD ≤ 5.5 V
–
–
0.25 × VDD
V
2.5 V ≤ VDD ≤ 3.0 V
–
–
0.3 × VDD
V
1.71 V ≤ VDD ≤ 2.4 V
–
–
0.3 × VDD
V
–
VDD +
0.7 V[51]
V
1.71 V ≤ VDD ≤ 5.5 V
0.65 × VDD
Shield Driver DC Specifications
Table 21 list guaranteed maximum and minimum specifications for the voltage and temperature ranges: 3.0 V to 5.5 V and –40 °C
TA 85 °C, 2.4 V to 3.0 V and –40 °C TA 85 °C, or 1.71 V to 2.4 V and –40 °C TA 85 °C, respectively. Typical parameters apply
to 5 V and 3.3 V at 25 °C and are for design guidance only.
Table 21. Shield Driver DC Specifications
Symbol
Description
Conditions
Min
Typ
Max
Units
VRef
Reference buffer output
1.7 V ≤ VDD ≤ 5.5 V
0.942
–
1.106
V
VRefHi
Reference buffer output
1.7 V ≤ VDD ≤ 5.5 V
1.104
–
1.296
V
DC IDAC Specifications
Table 22 lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 22. DC IDAC Specifications (8-bit IDAC)
Symbol
Description
IDAC_DNL
Differential nonlinearity
–1
–
IDAC_INL
Integral nonlinearity
–2
–
Range = 4x
138
–
169
µA
DAC setting = 127 dec
Range = 8x
138
–
169
µA
DAC setting = 64 dec
IDAC_Current
Min
Typ
Max
Units
Notes
1
LSB
–
2
LSB
–
Table 23. DC IDAC Specifications (7-bit IDAC)
Symbol
Description
Min
Typ
Max
Units
Notes
IDAC_DNL
Differential nonlinearity
–1
–
1
LSB
–
IDAC_INL
Integral nonlinearity
–2
–
2
LSB
–
IDAC_Current
Range = 4x
137
–
168
µA
DAC setting = 127 dec
Range = 8x
138
–
169
µA
DAC setting = 64 dec
Notes
50. Errata: Pull-up resistors on I2C interface cannot be connected to a supply voltage that is more than 0.7 V higher than the CY8C20xx7/S power supply. For more
information see item #6 in the “Errata” on page 38.
51. Errata: For more information see item #6 in the “Errata” on page 38.
Document Number: 001-69257 Rev. *Q
Page 20 of 46
CY8C20xx7/S
AC Chip-Level Specifications
Table 24 lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 24. AC Chip-Level Specifications
Conditions
Min
Typ
Max
Units
FIMO24
Symbol
IMO frequency at 24 MHz Setting
Description
–
22.8
24
25.2
MHz
FIMO12
IMO frequency at 12 MHz setting
–
11.4
12
12.6
MHz
FIMO6
IMO frequency at 6 MHz setting
–
5.7
6.0
6.3
MHz
FCPU
CPU frequency
–
0.75
–
25.20
MHz
F32K1
ILO frequency
–
15
32
50
kHz
F32K_U
ILO untrimmed frequency
–
–
32
–
kHz
DCIMO
Duty cycle of IMO
–
40
50
60
%
DCILO
ILO duty cycle
SRPOWER_UP Power supply slew rate
tXRST
tXRST2
tJIT_IMO[53]
External reset pulse width at power-up
External reset pulse width after
power-up[52]
–
40
50
60
%
VDD slew rate during power-up
–
–
250
V/ms
After supply voltage is valid
1
–
–
ms
Applies after part has booted
10
–
–
s
6 MHz IMO cycle-to-cycle jitter (RMS)
–
–
0.7
6.7
ns
6 MHz IMO long term N cycle-to-cycle jitter
(RMS); N = 32
–
–
4.3
29.3
ns
6 MHz IMO period jitter (RMS)
–
–
0.7
3.3
ns
12 MHz IMO cycle-to-cycle jitter (RMS)
–
–
0.5
5.2
ns
12 MHz IMO long term N cycle-to-cycle jitter
(RMS); N = 32
–
––
2.3
5.6
ns
12 MHz IMO period jitter (RMS)
–
–
0.4
2.6
ns
24 MHz IMO cycle-to-cycle jitter (RMS)
–
–
1.0
8.7
ns
24 MHz IMO long term N cycle-to-cycle jitter
(RMS); N = 32
–
–
1.4
6.0
ns
24 MHz IMO period jitter (RMS)
–
–
0.6
4.0
ns
Note
52. The minimum required XRES pulse length is longer when programming the device (see Table 28 on page 23).
53. See the Cypress Jitter Specifications application note, Understanding Datasheet Jitter Specifications for Cypress Timing Products – AN5054 for more information.
Document Number: 001-69257 Rev. *Q
Page 21 of 46
CY8C20xx7/S
AC General Purpose I/O Specifications
Table 25 lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 25. AC GPIO Specifications
Symbol
FGPIO
tRISE23
tRISE23L
tRISE01
tRISE01L
tFALL
tFALLL
Description
Conditions
GPIO operating frequency
Min
Typ
0
–
0
–
VDD = 3.0 to 3.6 V, 10% to 90%
15
–
80
ns
VDD = 1.71 to 3.0 V, 10% to 90%
15
–
80
ns
10
–
50
ns
10
–
80
ns
VDD = 3.0 to 3.6 V, 10% to 90%
10
–
50
ns
VDD = 1.71 to 3.0 V, 10% to 90%
10
–
70
ns
Normal strong mode Port 0, 1
Rise time, strong mode, Cload = 50 pF
Ports 2 or 3
Rise time, strong mode low supply,
Cload = 50 pF, Ports 2 or 3
Rise time, strong mode, Cload = 50 pF
Ports 0 or 1
Rise time, strong mode low supply,
Cload = 50 pF, Ports 0 or 1
Fall time, strong mode, Cload = 50 pF
all ports
Fall time, strong mode low supply,
Cload = 50 pF, all ports
VDD = 3.0 to 3.6 V, 10% to 90%
LDO enabled or disabled
VDD = 1.71 to 3.0 V, 10% to 90%
LDO enabled or disabled
Max
Units
6 MHz for
MHz
1.71 V Evaluation Boards.
Document Number: 001-69257 Rev. *Q
Page 33 of 46
CY8C20xx7/S
Ordering Information
Table 35 lists the CY8C20x37/47/67/S PSoC devices’ key package features and ordering codes.
Table 35. PSoC Device Key Features and Ordering Information
Ordering Code
Package
Flash SRAM CapSense Digital I/O
Analog XRES ADC
(Bytes) (Bytes) Sensors
Pins
Inputs [59] Pin
CY8C20237-24SXI
16-pin SOIC
8K
1K
10
13
13
Yes
Yes
CY8C20247S-24SXI
16-pin SOIC
16 K
2K
10
13
13
Yes
Yes
CY8C20237-24LKXI
16-pin QFN
8K
1K
10
13
13
Yes
Yes
CY8C20237-24LKXIT
16-pin QFN (Tape and Reel)
8K
1K
10
13
13
Yes
Yes
CY8C20247S-24LKXI
16-pin QFN
16 K
2K
10
13
13
Yes
Yes
CY8C20247S-24LKXIT
16-pin QFN (Tape and Reel)
16 K
2K
10
13
13
Yes
Yes
CY8C20337-24LQXI
24-pin QFN
8K
1K
16
19
19
Yes
Yes
CY8C20337-24LQXIT
24-pin QFN (Tape and Reel)
8K
1K
16
19
19
Yes
Yes
CY8C20347-24LQXI
24-pin QFN
16 K
2K
16
19
19
Yes
Yes
CY8C20347-24LQXIT
24-pin QFN (Tape and Reel)
16 K
2K
16
19
19
Yes
Yes
CY8C20347S-24LQXI
24-pin QFN
16 K
2K
16
19
19
Yes
Yes
CY8C20347S-24LQXIT
24-pin QFN (Tape and Reel)
16 K
2K
16
19
19
Yes
Yes
CY8C20437-24LQXI
32-pin QFN
8K
1K
25
28
28
Yes
Yes
CY8C20437-24LQXIT
32-pin QFN (Tape and Reel)
8K
1K
25
28
28
Yes
Yes
CY8C20447-24LQXI
32-pin QFN
16 K
2K
25
28
28
Yes
Yes
CY8C20447-24LQXIT
32-pin QFN (Tape and Reel)
16 K
2K
25
28
28
Yes
Yes
CY8C20447S-24LQXI
32-pin QFN
16 K
2K
25
28
28
Yes
Yes
CY8C20447S-24LQXIT
32-pin QFN (Tape and Reel)
16 K
2K
25
28
28
Yes
Yes
CY8C20467-24LQXI
32-pin QFN
32 K
2K
25
28
28
Yes
Yes
CY8C20467-24LQXIT
32-pin QFN (Tape and Reel)
32 K
2K
25
28
28
Yes
Yes
CY8C20467S-24LQXI
32-pin QFN
32 K
2K
25
28
28
Yes
Yes
CY8C20467S-24LQXIT
32-pin QFN (Tape and Reel)
32 K
2K
25
28
28
Yes
Yes
CY8C20637-24LQXI
48-pin QFN
8K
1K
31
34
34
Yes
Yes
CY8C20637-24LQXIT
48-pin QFN (Tape and Reel)
8K
1K
31
34
34
Yes
Yes
CY8C20647-24LQXI
48-pin QFN
16 K
2K
31
34
34
Yes
Yes
CY8C20647-24LQXIT
48-pin QFN (Tape and Reel)
16 K
2K
31
34
34
Yes
Yes
CY8C20647S-24LQXI
48-pin QFN
16 K
2K
31
34
34
Yes
Yes
CY8C20647S-24LQXIT
48-pin QFN (Tape and Reel)
16 K
2K
31
34
34
Yes
Yes
CY8C20667-24LQXI
48-pin QFN
32 K
2K
31
34
34
Yes
Yes
CY8C20667-24LQXIT
48-pin QFN (Tape and Reel)
32 K
2K
31
34
34
Yes
Yes
CY8C20667S-24LQXI
48-pin QFN
32 K
2K
31
34
34
Yes
Yes
CY8C20667S-24LQXIT
48-pin QFN (Tape and Reel)
32 K
2K
31
34
34
Yes
Yes
Note
59. Dual-function
Digital I/O Pins also connect to the common analog mux.
Document Number: 001-69257 Rev. *Q
Page 34 of 46
CY8C20xx7/S
Table 35. PSoC Device Key Features and Ordering Information (continued)
Ordering Code
Flash SRAM CapSense Digital I/O
Analog XRES ADC
(Bytes) (Bytes) Sensors
Pins
Inputs [59] Pin
Package
CY8C20767-24FDXC
30-pin WLCSP
32 K
2K
24
27
27
Yes
Yes
CY8C20767-24FDXCT
30-pin WLCSP (Tape and Reel)
32 K
2K
24
27
27
Yes
Yes
Ordering Code Definitions
CY 8 C 20 XX7 X - 24 XX X X (T)
Tape and reel
Temperature range: X = C or I
C = Commercial; I = Industrial
Pb-free
Package Types: XX = S, LK, LQ, or FD
S = 16-pin SOIC
LK = 16-pin QFN (no center pad)
LQ = 24-pin QFN, 32-pin QFN, 48-pin QFN
FD = 30-ball WLCSP
Speed grade = 24 MHz
S = SmartSense™ Auto-tuning Enabled
Part Number
Family Code
Technology Code: C = CMOS
Marketing Code: 8 = PSoC
Company ID: CY = Cypress
Document Number: 001-69257 Rev. *Q
Page 35 of 46
CY8C20xx7/S
Acronyms
The following table lists the acronyms that are used in this
document.
Reference Documents
Table 36. Acronyms Used in this Document
■
Technical reference manual for CY20xx7 devices
Acronym
AC
ADC
API
CMOS
CPU
DAC
DC
ESD
FSR
GPIO
I2C
ICE
ILO
IMO
I/O
ISSP
LCD
LDO
LED
LPC
LSB
LVD
MCU
MIPS
MISO
MOSI
MSB
OCD
PCB
POR
PSRR
PWRSYS
PSoC
QFN
SCLK
SDA
SDATA
SOIC
SPI
SRAM
SS
USB
WLCSP
■
In-system Serial Programming (ISSP) protocol for 20xx7
■
Host Sourced Serial Programming for 20xx7 devices
Description
alternating current
analog-to-digital converter
application programming interface
complementary metal oxide semiconductor
central processing unit
digital-to-analog converter
direct current
electrostatic discharge
full scale range
general purpose input/output
inter-integrated circuit
in-circuit emulator
internal low speed oscillator
internal main oscillator
input/output
in-system serial programming
liquid crystal display
low dropout (regulator)
light-emitting diode
low power comparator
least-significant bit
low voltage detect
micro-controller unit
million instructions per second
master in slave out
master out slave in
most-significant bit
on-chip debug
printed circuit board
power on reset
power supply rejection ratio
power system
programmable system-on-chip
quad flat no-lead
serial I2C clock
serial I2C data
serial ISSP data
small outline integrated circuit
serial peripheral interface
static random access memory
slave select
universal serial bus
wafer level chip scale package
Document Number: 001-69257 Rev. *Q
Document Conventions
Units of Measure
Table 37 lists all the abbreviations used to measure the PSoC
devices.
Table 37. Units of Measure
Symbol
Unit of Measure
°C
degree Celsius
dB
decibel
kHz
kilohertz
ksps
kilo samples per second
k
kilohm
MHz
megahertz
A
microampere
s
microsecond
mA
milliampere
mm
millimeter
ms
millisecond
mV
millivolt
nA
nanoampere
ns
nanosecond
ohm
%
percent
pF
picofarad
V
volt
W
watt
Page 36 of 46
CY8C20xx7/S
Numeric Naming
Hexadecimal numbers are represented with all letters in uppercase with an appended lowercase ‘h’ (for example, ‘14h’ or ‘3Ah’).
Hexadecimal numbers may also be represented by a ‘0x’ prefix, the C coding convention. Binary numbers have an appended
lowercase ‘b’ (for example, 01010100b’ or ‘01000011b’). Numbers not indicated by an ‘h’, ‘b’, or 0x are decimal.
Glossary
Crosspoint connection
Connection between any GPIO combination via analog multiplexer bus.
Differential non linearity
Ideally, any two adjacent digital codes correspond to output analog voltages that are exactly
one LSB apart. Differential non-linearity is a measure of the worst case deviation from the
ideal 1 LSB step.
Hold time
Hold time is the time following a clock event during which the data input to a latch or flipflop must remain stable in order to guarantee that the latched data is correct.
I2C
It is a serial multi-master bus used to connect low speed peripherals to MCU.
Integral nonlinearity
It is a term describing the maximum deviation between the ideal output of a DAC/ADC and
the actual output level.
Latch-up current
Current at which the latch-up test is conducted according to JESD78 standard (at 125
degree Celsius)
Power supply rejection ratio (PSRR)
The PSRR is defined as the ratio of the change in supply voltage to the corresponding
change in output voltage of the device.
Scan
The conversion of all sensor capacitances to digital values.
Setup time
Period required to prepare a device, machine, process, or system for it to be ready to
function.
Signal-to-noise ratio
The ratio between a capacitive finger signal and system noise.
SPI
Serial peripheral interface is a synchronous serial data link standard.
Document Number: 001-69257 Rev. *Q
Page 37 of 46
CY8C20xx7/S
Errata
This section describes the errata for the CY8C20xx7/S family. Details include errata trigger conditions, scope of impact, available
workaround, and silicon revision applicability.
Contact your local Cypress Sales Representative if you have questions.
CY8C20xx7/S Qualification Status
Product Status: Production released.
CY8C20xx7/S Errata Summary
The following Errata items apply to the CY8C20xx7/S datasheet 001-69257.
1. DoubleTimer0 ISR
■Problem Definition
When programmable timer 0 is used in “one-shot” mode by setting bit 1 of register 0,B0h (PT0_CFG), and the timer interrupt
is used to wake the device from sleep, the interrupt service routine (ISR) may be executed twice.
■Parameters
Affected
No datasheet parameters are affected.
■Trigger
Condition(S)
Triggered by enabling one-shot mode in the timer, and using the timer to wake from sleep mode.
■Scope
of Impact
The ISR may be executed twice.
■Workaround
In the ISR, firmware should clear the one-shot bit with a statement such as “and reg[B0h], FDh”
■Fix
Status
Will not be fixed
■Changes
None
2. Missed GPIO Interrupt
■Problem
Definition
When in sleep mode, if a GPIO interrupt happens simultaneously with a Timer0 or Sleep Timer interrupt, the GPIO interrupt
may be missed, and the corresponding GPIO ISR not run.
■Parameters
Affected
No datasheet parameters are affected.
■Trigger
Condition(S)
Triggered by enabling sleep mode, then having GPIO interrupt occur simultaneously with a Timer 0 or Sleep Timer interrupt.
■Scope
of Impact
The GPIO interrupt service routine will not be run.
■Workaround
The system should be architected such that a missed GPIO interrupt may be detected. For example, if a GPIO is used to wake
the system to perform some function, the system should detect if the function is not performed, and re-issue the GPIO interrupt.
Alternatively, if a GPIO interrupt is required to wake the system, then firmware should disable the Sleep Timer and Timer0.
Alternatively, the ISR’s for Sleep Timer and Timer0 should manually check the state of the GPIO to determine if the host system
has attempted to generate a GPIO interrupt.
■Fix
Status
Will not be fixed
■Changes
None
Document Number: 001-69257 Rev. *Q
Page 38 of 46
CY8C20xx7/S
3. Missed Interrupt During Transition to Sleep
■Problem
Definition
If an interrupt is posted a short time (within 2.5 CPU cycles) before firmware commands the device to sleep, the interrupt will
be missed.
■Parameters
Affected
No datasheet parameters are affected.
■Trigger Condition(S)
Triggered by enabling sleep mode just prior to an interrupt.
■Scope
of Impact
The relevant interrupt service routine will not be run.
■Workaround
None.
■Fix
Status
Will not be fixed
■Changes
None
4. Wakeup from sleep with analog interrupt
■Problem
Definition
Device wakes up from sleep when an analog interrupt is trigger
■Parameters
Affected
No datasheet parameters are affected.
■Trigger Condition(S)
Triggered by enabling analog interrupt during sleep mode when device operating temperature is 50 °C or above
■Scope
of Impact
Device unexpectedly wakes up from sleep
■Workaround
Disable the analog interrupt before entering sleep and turn it back on upon wake-up.
■Fix
Status
Will not be fixed
■Changes
None
Document Number: 001-69257 Rev. *Q
Page 39 of 46
CY8C20xx7/S
5. Wake-up from Sleep with Hardware I2C Address match on Pins P1[0], P1[1]
■Problem
Definition
I2C interface needs 20 ns hold time on SDA line with respect to falling edge of SCL, to wake-up from sleep using I2C hardware
address match event.
■Parameters
Affected
tHD;DAT increased to 20 ns from 0 ns
■Trigger Condition(S)
This is an issue only when all these three conditions are met:
1) P1.0 and P1.1 are used as I2C pins,
2) Wakeup from sleep with hardware address match feature is enabled, and
3) I2C master does not provide 20 ns hold time on SDA with respect to falling edge of SCL.
■Scope
of Impact
These trigger conditions cause the device to never wake-up from sleep based on I2C address match event.
■Workaround
For a design that meets all of the trigger conditions, the following suggested circuit has to be implemented as a work-around.
The R and C values proposed are 100 ohm and 200 pF respectively.
■Fix
Status
Will not be fixed
■Changes
None
Document Number: 001-69257 Rev. *Q
Page 40 of 46
CY8C20xx7/S
6. I2C Port Pin Pull-up Supply Voltage
■Problem
Definition
Pull-up resistor on I2C interface cannot be connected to a supply voltage that is greater than 0.7 V of CY8C20xx7/S VDD.
■Parameters
Affected
None.
■Trigger Condition(S)
This problem occurs only when the I2C master is powered at a higher voltage than CY8C20xx7/S.
■Scope
of Impact
This trigger condition will corrupt the I2C communication between the I2C host and the CY8C20xx7/S CapSense controller.
■Workaround
I2C master cannot be powered at a supply voltage that is greater than 0.7 V compared to CY8C20xx7/S supply voltage.
■Fix
Status
Will not be fixed
■Changes
None
7. Port1 Pin Voltage
■Problem
Definition
Pull-up resistor on port1 pins cannot be connected to a voltage that is greater than 0.7 V higher than CY8C20xx7/S VDD.
■Parameters
Affected
None.
■Trigger Condition(S)
This problem occurs only when port1 pins are at voltage 0.7 V higher than VDD of CY8C20xx7/S.
■Scope
of Impact
This trigger condition will not allow CY8C20xx7/S to drive the output signal on port1 pins, input path is unaffected by this
condition.
■Workaround
Port1 should not be connected to a higher voltage than VDD of CY8C20xx7/S.
■Fix
Status
Will not be fixed
■Changes
None
Document Number: 001-69257 Rev. *Q
Page 41 of 46
CY8C20xx7/S
Document History Page
Document Title: CY8C20xx7/S, 1.8 V CapSense® Controller with SmartSense™ Auto-tuning 31 Buttons, 6 Sliders, Proximity
Sensors
Document Number: 001-69257
Revision
ECN
Orig. of
Change
Submission
Date
Description of Change
**
3276782
DST
06/27/2011
New silicon and document
*A
3327230
DST
07/28/2011
Changed 48-pin dimensions to 6 × 6 × 0.6 mm QFN
Updated pins name in Table 3 on page 9 and removed USB column and
updated dimensions for 48-pin parts in Table 35 on page 34
Updated Figure 20 on page 30
Removed ICE and Debugger sections.
Removed CY3215 Development Kit and CY3280-20x66 UCC sections.
Updated Ordering Information.
*B
3403111
YVA
10/12/2011
Moved status from Advance to Preliminary.
Updated Ordering Information
Removed the row named “48-Pin (6 × 6 mm) QFN (OCD)”.
Changed all 48-pin ordering code column from CY8C20XXX-24LTxx to
CY8C20XXX-24LQxx.
Updated 16-pin SOIC and 16-pin QFN package drawings.
*C
3473317
DST
12/23/2011
Updated Features.
Updated Pinouts (Removed PSoC in captions of Figure 2, Figure 3, Figure 4,
Figure 6, and Figure 7).
Updated DC Chip-Level Specifications under Electrical Specifications
(Updated typical value of IDD24 parameter from 3.32 mA to 2.88 mA, updated
typical value of IDD12 parameter from 1.86 mA to 1.71 mA, updated typical value
of IDD6 parameter from 1.13 mA to 1.16 mA, updated maximum value of ISB0
parameter from 0.50 µA to 1.1 µA, added ISBI2C parameter and its details).
Updated DC GPIO Specifications under Electrical Specifications (Added the
parameters namely VILLVT3.3, VIHLVT3.3, VILLVT5.5, VIHLVT5.5 and their details in
Table 10, added the parameters namely VILLVT2.5, VIHLVT2.5 and their details in
Table 11).
Added the following sections namely DC I2C Specifications, Shield Driver DC
Specifications, and DC IDAC Specifications under Electrical Specifications.
Updated AC Chip-Level Specifications (Added the parameter namely tJIT_IMO
and its details).
Updated Ordering Information (updated Table 35).
*D
3510277
YVA/DST
02/16/2012
Added CY8C20x37/37S/47/47S/67/67S part numbers and changed title to “1.8
V CapSense® Controller with SmartSense™ Auto-tuning
31 Buttons, 6 Sliders”
Updated Features.
Modified comparator blocks in Logic Block Diagram.
Replaced SmartSense with SmartSense auto-tuning.
Added CY8C20xx7S part numbers in Pin Definitions.
Added footnote for Table 20.
Updated Table 21 and Table 22 and added Table 23.
Updated F32K1 min value.
Updated data hold time min values.
Updated CY8C206x7 part information in Table “Emulation and Programming
Accessories”.
Updated Ordering Information.
*E
3539259
DST
03/01/2012
Changed Datasheet status from Preliminary to Final.
Updated all Pinouts to include Driven Shield Output (optional) information.
Updated Min value for VLPC Table 15.
Updated Offset and Input range in Table 16.
Document Number: 001-69257 Rev. *Q
Page 42 of 46
CY8C20xx7/S
Document History Page (continued)
Document Title: CY8C20xx7/S, 1.8 V CapSense® Controller with SmartSense™ Auto-tuning 31 Buttons, 6 Sliders, Proximity
Sensors
Document Number: 001-69257
Revision
ECN
Orig. of
Change
Submission
Date
Description of Change
*F
3645807
DST/BVI
07/03/2012
Updated FSCLK parameter in the Table 31, “SPI Slave AC Specifications,” on
page 26
Changed tOUT_HIGH to tOUT_H in Table 30, “SPI Master AC Specifications,” on
page 25
Updated Features section, “Programmable pin configurations” bullet:
■ Included the following sub-bullet point 5 mA source current on port 0 and 1 and 1 mA on port 2,3 and 4
■ Changed the bullet point “High sink current of 25 mA for each GPIO” to “High
sink current of 25 mA for each GPIO. Total 120 mA maximum sink current
per chip”
®
■ Added “QuietZone™ Controller” bullet and updated “Low power CapSense
block with SmartSense™ auto-tuning” bullet.
*G
3800055
DST
11/23/2012
Changed document title.
Part named changed from CY8C20xx7 to CY8C20xx7/S
Table 20: Update to VIHI2C to match Item #6 in K2 Si Errata document (00175370)
Updated package diagrams:
51-85068 to *E
001-09116 to *G
001-13937 to *E
001-42168 to *E
001-57280 to *E
*H
3881332
SRLI
02/04/2013
Updated Features:
Added Note “Please contact your nearest sales office for additional details.”
and referred the same note in “24 Sensing Inputs – 30-pin WLCSP”.
*I
3993458
DST
05/07/2013
Updated Electrical Specifications (Updated DC GPIO Specifications (Updated
heading of third column as “Port 0/1 per I/O (max)” for Table 13)).
Updated package diagrams 001-13937 to *D and 001-57280 to *C revisions.
Updated Packaging Information:
spec 001-09116 – Changed revision from *G to *H (Figure 17).
Added Errata.
*J
4081796
DST
07/31/2013
Added Errata footnotes (Note 40, 41, 42, 43, 44).
Updated already existing footnotes (Note 50, 51, 55) as Errata footnotes.
Updated Electrical Specifications:
Updated DC Chip-Level Specifications:
Added Note 40, 41, 42, 43 and referred the same notes in ISB0, ISB1, ISBI2C
parameters.
Updated DC GPIO Specifications:
Added Note 44 and referred the same note in description of VILLVT3.3 parameter
in Table 10.
Updated DC I2C Specifications:
Updated Note 50, 51 referred in Table 20.
Updated AC I2C Specifications:
Updated Note 55 referred in Table 29.
Updated to new template.
Document Number: 001-69257 Rev. *Q
Page 43 of 46
CY8C20xx7/S
Document History Page (continued)
Document Title: CY8C20xx7/S, 1.8 V CapSense® Controller with SmartSense™ Auto-tuning 31 Buttons, 6 Sliders, Proximity
Sensors
Document Number: 001-69257
Revision
ECN
Orig. of
Change
Submission
Date
*K
4248645
DST
01/16/2014
Description of Change
Updated Pinouts:
Updated 32-pin QFN (25 Sensing Inputs)[25]:
Updated Figure 6.
Updated Packaging Information:
spec 001-09116 – Changed revision from *H to *I.
*L
4404150
SLAN
06/10/2014
Updated Pinouts:
Updated 16-pin SOIC (10 Sensing Inputs):
Updated Table 1:
Added Note 6 and referred the same note in description of XRES pin.
Updated 16-pin QFN (10 Sensing Inputs)[8]:
Updated Table 2:
Added Note 12 and referred the same note in description of XRES pin.
Updated 24-pin QFN (16 Sensing Inputs)[14]:
Updated Table 3:
Added Note 18 and referred the same note in description of XRES pin.
Updated 30-ball WLCSP (24 Sensing Inputs):
Updated Table 4:
Added Note 21 and referred the same note in description of XRES pin.
Updated 32-pin QFN (25 Sensing Inputs)[25]:
Updated Table 5:
Added Note 29 and referred the same note in description of XRES pin.
Updated 48-pin QFN (31 Sensing Inputs)[31]:
Updated Table 6:
Added Note 35 and referred the same note in description of XRES pin.
Updated Electrical Specifications:
Updated DC GPIO Specifications:
Updated Table 10:
Updated minimum and maximum values of VIH parameter.
Updated Table 11:
Updated minimum and maximum values of VIH parameter.
Updated AC Chip-Level Specifications:
Updated Table 24:
Removed minimum and maximum values of “ILO untrimmed frequency”.
Updated Packaging Information:
spec 001-09116 – Changed revision from *I to *J.
Completing Sunset Review.
*M
4825924
SLAN
07/07/2015
Added the footnote “All VSS pins should be brought out to one common GND
plane” in pinout tables (Table 1 through Table 6).
Updated Packaging Information:
spec 001-13937 – Changed revision from *E to *F.
Updated to new template.
*N
5068999
ARVI
12/31/2015
Updated hyperlink of “Technical Reference Manual” in all instances across the
document.
Updated PSoC® Functional Overview:
Updated Additional System Resources:
Updated description.
Updated Development Tool Selection:
Removed “Accessories (Emulation and Programming)”.
Removed “Build a PSoC Emulator into Your Board”.
Document Number: 001-69257 Rev. *Q
Page 44 of 46
CY8C20xx7/S
Document History Page (continued)
Document Title: CY8C20xx7/S, 1.8 V CapSense® Controller with SmartSense™ Auto-tuning 31 Buttons, 6 Sliders, Proximity
Sensors
Document Number: 001-69257
Revision
ECN
Orig. of
Change
Submission
Date
Description of Change
*O
5122184
JFMD
02/02/2016
Updated Features:
Removed Note “Please contact your nearest sales office for additional details.”
and its reference.
Updated Ordering Information:
Updated Table 35:
Updated part numbers.
*P
5742810
AESATMP9
05/19/2017
Updated logo and copyright.
*Q
6171969
PRIA
05/11/2018
Added Figure 21. 30-pin WLCSP on page 30.
Added information about pull-down resistance value on pins P1[0] and P1[1]
in notes 10, 16, 22, 27 and 33.
Corrected typographical error in Table 22 and Table 23.
Updated Figure 18. 24-Pin (4 × 4 × 0.6 mm) QFN: 001-13937 *F to *G and
Figure 19. 32-Pin (5 × 5 × 0.6 mm) QFN: 001-42168 *E to *F.
Document Number: 001-69257 Rev. *Q
Page 45 of 46
CY8C20xx7/S
Sales, Solutions, and Legal Information
Worldwide Sales and Design Support
Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the office
closest to you, visit us at Cypress Locations.
PSoC® Solutions
Products
Arm® Cortex® Microcontrollers
Automotive
cypress.com/arm
cypress.com/automotive
Clocks & Buffers
Interface
cypress.com/clocks
cypress.com/interface
Internet of Things
Memory
cypress.com/iot
cypress.com/memory
Microcontrollers
cypress.com/mcu
PSoC
cypress.com/psoc
Power Management ICs
Cypress Developer Community
Forums | WICED IOT Forums | Projects | Video | Blogs |
Training | Components
Technical Support
cypress.com/support
cypress.com/pmic
Touch Sensing
cypress.com/touch
USB Controllers
Wireless Connectivity
PSoC 1 | PSoC 3 | PSoC 4 | PSoC 5LP | PSoC 6 MCU
cypress.com/usb
cypress.com/wireless
© Cypress Semiconductor Corporation, 2011-2018. This document is the property of Cypress Semiconductor Corporation and its subsidiaries, including Spansion LLC (“Cypress”). This document,
including any software or firmware included or referenced in this document (“Software”), is owned by Cypress under the intellectual property laws and treaties of the United States and other countries
worldwide. Cypress reserves all rights under such laws and treaties and does not, except as specifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other
intellectual property rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with Cypress governing the use of the Software, then Cypress
hereby grants you a personal, non-exclusive, nontransferable license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code form, to
modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organization, and (b) to distribute the Software in binary code form externally to end users
(either directly or indirectly through resellers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress's patents that are infringed by the Software (as
provided by Cypress, unmodified) to make, use, distribute, and import the Software solely for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation
of the Software is prohibited.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE
OR ACCOMPANYING HARDWARE, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. No computing
device can be absolutely secure. Therefore, despite security measures implemented in Cypress hardware or software products, Cypress does not assume any liability arising out of any security breach,
such as unauthorized access to or use of a Cypress product. In addition, the products described in these materials may contain design defects or errors known as errata which may cause the product
to deviate from published specifications. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without further notice. Cypress does not assume any
liability arising out of the application or use of any product or circuit described in this document. Any information provided in this document, including any sample design information or programming
code, is provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality and safety of any application made of this
information and any resulting product. Cypress products are not designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weapons, weapons
systems, nuclear installations, life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution control or hazardous substances
management, or other uses where the failure of the device or system could cause personal injury, death, or property damage (“Unintended Uses”). A critical component is any component of a device
or system whose failure to perform can be reasonably expected to cause the failure of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you
shall and hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress products. You shall indemnify and hold Cypress harmless from
and against all claims, costs, damages, and other liabilities, including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products.
Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB, F-RAM, and Traveo are trademarks or registered trademarks of Cypress in
the United States and other countries. For a more complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respective owners.
Document Number: 001-69257 Rev. *Q
Revised May 11, 2018
Page 46 of 46