❐ Available on CY8C20396 and CY8C20666 Only
❐ 12 Mbps USB 2.0 Compliant
❐ Eight Unidirectional Endpoints
❐ One Bidirectional Control Endpoint
❐ Dedicated 512 Byte Buffer
❐ Internally Regulated at 3.3V
■ Precision, Programmable Clocking
❐ Internal Main Oscillator: 6/12/24 MHz ± 5%
❐ Internal Low Speed Oscillator at 32 kHz for Watchdog and
Sleep Timers
❐ Precision 32 kHz Oscillator for Optional External Crystal
(CY8C20x46/66 only)
❐ 0.25% Accuracy for USB with No External Components
(CY8C20396 and CY8C20666 only)
■ Programmable Pin Configurations
❐ Up to 36 GPIO (Depending on Package)
❐ Dual Mode GPIO: All GPIO Support Digital IO and Analog
Input
❐ 25 mA Sink Current on All GPIO
❐ Pull up, High Z, Open Drain Modes on All GPIO
❐ CMOS Drive Mode(5 mA Source Current) on Ports 0 and 1:
• 20 mA (at 3.0V) Total Source Current on Port 0
• 20 mA (at 3.0V) Total Source Current on Port 1
❐ Selectable, Regulated Digital IO on Port 1
❐ Configurable Input Threshold on Port 1
❐ Hot Swap Capability on all Port 1 GPIO
■ Versatile Analog Mux
❐ Common Internal Analog Bus
❐ Simultaneous Connection of IO
❐ High PSRR Comparator
❐ Low Dropout Voltage Regulator for All Analog Resources
■ Additional System Resources
2
❐ I
C™ Slave:
• Selectable to 50 kHz, 100 kHz, or 400 kHz
• No Clock Stretching Required (under most conditions)
• Implementation During Sleep Modes with Less Than
100 µA
• Hardware Address Validation
❐ SPI™ Master and Slave: Configurable 46.9 kHz - 12 MHz
❐ Three 16-Bit Timers
❐ Watchdog and Sleep Timers
❐ Internal Voltage Reference
❐ Integrated Supervisory Circuit
■ Complete Development Tools
❐ Free Development Tool (PSoC Designer™)
❐ Full Featured, In-Circuit Emulator and Programmer
❐ Full Speed Emulation
❐ Complex Breakpoint Structure
❐ 128K Trace Memory
■ Package Options
❐ CY8C20x36:
• 16-Pin 3 x 3 x 0.6 mm QFN
• 24-Pin 4 x 4 x 0.6 mm QFN
• 32-Pin 5 x 5 x 0.6 mm QFN
❐ CY8C20x46:
• 16-Pin 3 x 3 x 0.6 mm QFN
• 24-Pin 4 x 4 x 0.6 mm QFN
• 32-Pin 5 x 5 x 0.6 mm QFN
❐ CY8C20396: 24-Pin 4 x 4 x 0.6 mm QFN
❐ CY8C20x66:
• 32-Pin 5 x 5 x 0.6 mm QFN
• 48-Pin 7 x 7 x 1.0 mm QFN (with USB)
• 48-Pin SSOP
Cypress Semiconductor Corporation•198 Champion Court•San Jose, CA 95134-1709•408-943-2600
Document Number: 001-12696 Rev. *D Revised March 17, 2009
[+] Feedback
CY8C20x36/46/66, CY8C20396
Block Diagram
CAPSENSE
SYSTEM
1K/2K
SRAM
Interrupt
Controller
Sleep and
Watchdog
Multiple Clock Sources
Internal Low Speed Oscillator (ILO)
6/12/24 MHz Internal Main Oscillator
(IMO)
PSoC CORE
CPU Core (M8C)
Supervisory ROM (SROM)
8K/16K/32K Flash
Nonvolatile Memory
SYSTEM RESOURCES
SYSTEM BUS
Analog
Reference
SYSTEM BUS
Port 3Port 2Port 1Port 0
CapSense
Module
Global Analog Interconnect
1.8/2.5/3V
LDO
Analog
Mux
Two
Comparators
I2C
Slave
SPI
Master/
Slave
POR
and
LVD
USB
System
Resets
Internal
Voltage
References
Three 16-Bit
Programmable
Timers
PWRSYS
(Regulator)
Port 4
Digital
Clocks
Document Number: 001-12696 Rev. *DPage 2 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
IDAC
Reference
Buffer
Vr
Cinternal
Analog Global Bus
Cap Sense Counters
Comparator
Mux
Mux
Refs
CapSense
Clock Select
Oscillator
CSCLK
IMO
PSoC® Functional Overview
The PSoC family consists of on-chip Controller devices. These
devices are designed to replace multiple traditional MCU-based
components with one, low cost single-chip programmable
component. A PSoC device includes configurable analog and
digital blocks, and programmable interconnect. This architecture
allows the user to create customized periphe ral configurations,
to match the requirements of each individual application.
Additionally, a fast CPU, Flash program memory, SRAM data
memory, and configurable IO are included in a range of
convenient pinouts.
The architecture for this device family, as shown in the Block
Diagram on page 2, is comprised of three main areas: the Core,
the CapSense Analog System, and the System Resources
(including a full speed USB port). A common, versatile bus allows
connection between IO and the analog system. Each
CY8C20x36/46/66, CY8C20396 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 36 general purpose IO (GPIO) are
also included. The GPIO provides access to the MCU and
analog mux.
PSoC Core
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
(internal main oscillator) and ILO (internal low speed oscillator).
The CPU core, called the M8C, is a powerful processor with
speeds up to 24 MHz. The M8C is a four-MIPS, 8-bit Harvard
architecture microprocessor.
System Resources provide additional capability, such as
configurable USB and I2C slave/SPI master-slave
communication interface, three 16-bit programmable timers, and
various system resets supported by the M8C.
The Analog System is composed of the CapSense PSoC block
and an internal 1.2V analog reference, which together support
capacitive sensing of up to 36 inputs.
CapSense Analog System
The Analog System contains the capacitive sensing hardware.
Several hardware algorithms are supported. This hardware
performs capacitive sensing and scanning without requiring
external components. Capacitive sensing is configurable on
each GPIO pin. Scanning of enabled CapSense pins are
completed quickly and easily across multiple ports.
Figure 1. Analog System Block Diagram
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 IO pin.
■ Crosspoint connection between any IO pin combinations.
When designing capacitive sensing applications, refer to the
latest signal-to-noise signal level requirements Application
Notes, which can be found under http://www.cypress.com >>
Documentation >> Application Notes. In general, and unless
otherwise noted in the relevant Application Notes, the minimum
signal-to-noise ratio (SNR) for CapSense applications is 5:1.
Document Number: 001-12696 Rev. *DPage 3 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Additional System Resources
System Resources, some of which are listed in the previous
sections, provide additional capability useful to complete
systems. Additional resources include low voltage detection and
power on 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.
■ Low Voltage Detection (LVD) interrupts can signal the
application of falling voltage levels, while the advanced POR
(Power-On-Reset) circuit eliminates the need for a system
supervisor.
■ An internal reference provides an absolute reference for capac-
itive sensing.
■ The 5.5V maximum input, 1.8/2.5/3V-selectable output, low-
dropout regulator (LDO) provides regulation for IOs. A registercontrolled bypass mode allows the user to disable the LDO.
■ Standard Cypress PSoC IDE tools are available for debugging
the CY8C20x36/46/66, CY8C20396 family of parts. However,
the additional trace length and a minimal ground plane in the
Flex-Pod can create noise problems that make it difficult to
debug a Power PSoC design. A custom bonded On-Chip
Debug (OCD) device is available in an 48-pin QFN package.
The OCD device is recommended for debugging designs that
have high current and/or high analog accuracy requirements.
The QFN package is compact and is connected to the ICE
through a high density connector.
Getting Started
The quickest way to understand PSoC silicon is to read this data
sheet and then use the PSoC Designer Integrated Development
Environment (IDE). This data sheet 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 PSoC
Technical Reference Manual for CY8C28xxx PSoC devices.
For up-to-date ordering, packaging, and electrical specification
information, see the latest PSoC device data sheets on the web
at www.cypress.com/psoc.
Application Notes
Application notes are an excellent introduction to the wide variety
of possible PSoC designs. They are located here:
www.cypress.com/psoc. Select Application Notes under the
Documentation tab.
Development Kits
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.
Training
Free PSoC 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.
®
Programmable System-on-Chip™
Document Number: 001-12696 Rev. *DPage 4 of 34
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, call technical support at 1-800541-4736.
[+] Feedback
CY8C20x36/46/66, CY8C20396
Development Tools
PSoC Designer™ is a Microsoft® Windows-based, integrated
development environment for the Programmable System-onChip (PSoC) devices. The PSoC Designer IDE and application
runs on Windows XP and Windows Vista.
This system provides design database management by project,
an integrated debugger with In-Circuit Emulator, in-system
programming support, and built-in support for third-party assemblers and C compilers.
PSoC Designer also supports C language compilers developed
specifically for the devices in the PSoC family.
PSoC Designer Software Subsystems
System-Level View
The system-level view is a drag-and-drop visual embedded
system design environment based on PSoC Express. In this
view you solve design problems the same way you might think
about the system. Select input and output devices based upon
system requirements. Add a communication interface and define
the interface to the system (registers). Define when and how an
output device changes state based upon any/all other system
devices. Based upon the design, PSoC Designer automatically
selects one or more PSoC devices that match your system
requirements.
PSoC Designer generates all embedded code, then compiles
and links it into a programming file for a specific PSoC device.
Chip-Level View
The chip-level view is a more traditional integrated development
environment (IDE) based on PSoC Designer 4.x. You choose a
base device to work with and then select different onboard
analog and digital components called user modules that use the
PSoC blocks. Examples of user modules are ADCs, DACs,
Amplifiers, and Filters. You configure the user modules for your
chosen application and connect them to each other and to the
proper pins. Then you generate your project. This prepopulates
your project with APIs and libraries that you can use to program
your application.
The tool also supports easy development of multiple configurations and dynamic reconfiguration. Dynamic reconfiguration
allows for changing configurations at run time.
Hybrid Designs
You can begin in the system-level view, allow it to choose and
configure your user modules, routing, and generate code, then
switch to the chip-level view to gain complete control over onchip resources. All views of the project share common code
editor, builder , and common debug, emulation, and programming
tools.
Code Generation Tools
PSoC Designer supports multiple third-party C compilers and
assemblers. The code generation tools work seamlessly within
the PSoC Designer interface and have been tested with a full
range of debugging tools. The choice is yours.
Assemblers. The assemblers allow assembly code to be
merged seamlessly with C code. Link libraries automatically use
absolute addressing or are compiled in relative mode, and linked
with other software modules to get absolute addressing.
C Language Compilers. C language compilers are available
that support the PSoC family of devices. The products allow you
to create complete C programs for the PSoC family devices.
The optimizing C compilers provide all the features of C tailored
to the PSoC architecture. They come complete with embedded
libraries providing port and bus operations, standard keypad and
display support, and extended math functionality.
Debugger
PSoC Designer has a debug environment that provides
hardware in-circuit emulation, allowing you to test the program in
a physical system while providing an internal view of the PSoC
device. Debugger commands allow the designer to read and
program and read and write data memory, read and write IO
registers, read and write CPU registers, set and clear breakpoints, and provide program run, halt, and step control. The
debugger also allows the designer to create a trace buffer of
registers and memory locations of interest.
Online Help System
The online help system displays online, context-sensitive help
for the user. Designed for procedural and quick reference, each
functional subsystem has its own context-sensitive help. This
system also provides tutorials and links to FAQs and an Online
Support Forum to aid the designer in getting started.
In-Circuit Emulator
A low cost, high functionality ICE (In-Circuit Emulator) is
available for development support. This hardware has the
capability to program single devices.
The emulator consists of a base unit that connects to the PC by
way of a USB port. The base unit is universal and operates with
all PSoC devices. Emulation pods for each device family are
available separately. The emulation pod takes the place of the
PSoC device in the target board and performs full speed (24
MHz) operation.
Document Number: 001-12696 Rev. *DPage 5 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Designing with PSoC Designer
The development process for the PSoC device differs from that
of a traditional fixed function microprocessor. The configurable
analog and digital hardware blocks give the PSoC architecture a
unique flexibility that pays dividends in managing specification
change during development and by lowering inventory costs.
These configurable resources, called PSoC Blocks, have the
ability to implement a wide variety of user-selectable functions.
The PSoC development process can be summarized in the
following four steps:
1. Select Components
2. Configure Components
3. Organize and Connect
4. Generate, Verify, and Debug
Select Components
Both the system-level and chip-level views provide a library of
pre-built, pre-tested hardware peripheral components. In the
system-level view these components are called “drivers” and
correspond to inputs (a thermistor, for example), outputs (a
brushless DC fan, for example), communication interfaces (I2Cbus, for example), and the logic to control how they interact with
one another (called valuators).
In the chip-level view the components are called “user modules.”
User modules make selecting and implementing peripheral
devices simple, and come in analog, digital, and progra mma ble
system-on-chip varieties.
Configure Components
Each of the components 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. For example, a Pulse
Width Modulator (PWM) User Module configures one or more
digital PSoC blocks, one for each 8 bits of resolution. 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 b y
selecting values from drop-down menus.
Both the system-level drivers and chip-level user modules are
documented in data sheets that are viewed directly in PSoC
Designer. These data sheets explain the internal operation of the
component and provide performance specifications. Each data
sheet describes the use of each user module parameter or driver
property, and other information you may need to successfully
implement your design.
Organize and Connect
You build signal chains at the chip level by interconnecting user
modules to each other and the IO pins, or connect system-level
inputs, outputs, and communication interfaces to each other with
valuator functions.
In the system-level view selecting a potentiometer driver to
control a variable speed fan driver and setting up the valuators
to control the fan speed based on input from the pot selects,
places, routes, and configures a programmable gain amplifier
(PGA) to buffer the input from the potentiometer, an analog-todigital converter (ADC) to convert the potentiometer’s output to
a digital signal, and a PWM to control the fan.
In the chip-level view, you perform the selection, configuration,
and routing so that you have complete control over the use of all
on-chip resources.
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.
Both system-level and chip-level designs generate software
based on your design. The chip-level design 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. The system-level
design also generates a C main() program that completely
controls the chosen application and contains placeholders for
custom code at strategic positions allowing you to further refine
the software without disrupting the generated code.
A complete code development environment allows you to
develop and customize your applications in C, assembly
language, or both.
The last step in the development process takes place inside
PSoC Designer’s Debugger (access by clicking the Connect
icon). PSoC Designer downloads the HEX image to the In-Circuit
Emulator (ICE) where it runs at full speed. PSoC Designer
debugging capabilities rival those of systems costing many times
more. In addition to traditional single-step, run-to-breakpoint and
watch-variable features, the debug interface provides a large
trace buffer and allows you to define complex breakpoint events
that include monitoring address and data bus values, memory
locations and external signals.
Document Number: 001-12696 Rev. *DPage 6 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Document Conventions
Acronyms Used
The following table lists the acronyms that are used in this
document.
Table 1. Acronyms
AcronymDescription
ACalternating current
APIapplication programming interface
CPUcentral processing unit
DCdirect current
FSRfull scale range
GPIOgeneral purpose IO
GUIgraphical user interface
ICEin-circuit emulator
ILOinternal low speed oscillator
IMOinternal main oscillator
IOinput/output
LSbleast-significant bit
LVDlow voltage detect
MSbmost-significant bit
PORpow er on r eset
PPORprecision power on reset
PSoC®Programmable System-on-Chip™
SLIMOslow IMO
SRAMstatic random access memory
Units of Measure
A units of measure table is located in the Electrical Specifications
section. Table 9 on page 15 lists all the abbreviations used to
measure the PSoC devices.
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.
Document Number: 001-12696 Rev. *DPage 7 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Pinouts
QFN
(Top View)
AI, XOut, P2[5]
AI, I2C SCL, SPI SS, P1[7]
AI, I2C SDA, SPI MISO, P1[5]
AI, SPI CLK, P1[ 3 ]
1
2
3
4
11
10
9
161514
13
P0[3], AI
P0[7], AI
Vdd
P0[4], AI
AI, CLK
1
, SPI MOSI, P1[1]
AI, DATA
1
, I2C SDA, SPI CLK, P1[0]
P1[2], AI
AI, XIn, P2[3]
P1[4], EXTCLK, AI
XRES
P0[1], AI
Vss
12
567
8
Notes
1. These are the ISSP pins, which are not High Z at POR (Power On Reset).
2. During power up or reset event, device P1[1] and P1[0] may disturb the I2C bus. Use alternate pins if you encounter any issues.
The CY8C20x36/46/66, CY8C20396 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 IO and connection to the common analog bus. However, Vss, Vdd, and
XRES are not capable of Digital IO.
LEGEND A = Analog, I = Input, O = Output, OH = 5 mA High Output Drive, R = Regulated Output.
Figure 2. CY8C20236, CY8C20246 PSoC Device
Document Number: 001-12696 Rev. *DPage 8 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
24-Pin QFN
Note
3. The center pad (CP) on the QFN package must be connected t o gr ound (Vss) for be st mechanical, thermal, an d electrical perf ormance . If not connected t o ground , it
must be electrically floated and not connected to any other signal.
(EXTCLK)
13IOHRIP1[6]
14InputXRES Active high external reset with
internal pull down
15IOIP2[0]
16IOHIP0[0]
17IOHIP0[2]
18IOHIP0[4]
19IOHIP0[6]
20PowerVddSupply voltage
21IOHIP0[7]
22IOHIP0[5]
23IOHIP0[3]Integrating input
24IOHIP0[1]Integrating input
CPPowerVssCenter pad must be connected
LEGEND A = Analog, I = Input, O = Output, OH = 5 mA High Output Drive, R = Regulated Output.
16IOHRIP1[6]
17InputXRESActive high external reset with
18IOIP3[0]
Type
DigitalAnalog
NameDescription
[1]
, I2C SCL, SPI MOSI.
[1]
, I2C SDA., SPI CLK
(EXTCLK)
internal pull down
[2, 3]
Figure 5. CY8C20436/46/66 PSoC Device
19IOIP3[2]
20IOIP2[0]
21IOIP2[2]
22IOIP2[4]
23IOIP2[6]
24IOHIP0[0]
25IOHIP0[2]
26IOHIP0[4]
27IOHIP0[6]
28PowerVddSupply voltage
29IOHIP0[7]
30IOHIP0[5]
31IOHIP0[3]Integrating input
32PowerVssGround connection
CPPowerVssCenter pad must be connected to
LEGEND A = Analog, I = Input, O = Output, OH = 5 mA High Output Drive, R = Regulated Output.
LEGEND A = Analog, I = Input, O = Output, NC = No Connection, H = 5 mA High Output Drive, R = Regulated Output Option.
Document Number: 001-12696 Rev. *DPage 13 of 34
[2]
Pin No.
43IOIOP2[6]
Figure 7. CY8C20566 PSoC Device
NameDescription
Digital
Analog
[+] Feedback
CY8C20x36/46/66, CY8C20396
48-Pin QFN OCD
QFN
(Top View)
Vss
P0[3], AI
P0[5], AI
P0[7], AI
Vdd
P0[6], AI
P0[2], AI
P0[0], AI
10
11
12
A
I
, 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, I2C SCL, SPI SS, P1[7]
35
34
33
32
31
30
29
28
27
26
25
36
4847464544
43424140393837
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
P2[6], AI
1
2
3
4
5
6
7
8
9
131415161718192021
22
23
24
I2C SDA, SPI MISO, AI, P1[5]
SPI CLK, AI, P1[3]
AI, CLK
6
, I2C SCL, SPI MOSI, P1[1]
Vss
D+
D-
Vdd
AI, DATA
1
, I2C SDA, SPI CLK, P1[0]
AI, P1[2]
AI, EXTCLK, P1[4]
P0[4], AI
P0[1], AI
OCDO
E
CCLK
HCLK
OCDE
OCDO
Note
4. This part is available in limited quantities for In-Circuit Debugging during prototype development. It is not available in production volumes.
The 48-pin QFN part is for the CY8C20066 On-Chip Debug (OCD) PSoC device. Note that this part is only used for in-circuit
debugging.
[4]
Table 8. Pin Definitions - CY8C20066 PSoC Device
Pin
No.
1OCDOEOCD mode direction pin
2IOIP2[7]
3IOIP2[5]Crystal output (XOut)
4IOIP2[3]Crystal input (XIn)
5IOIP2[1]
6IOIP4[3]
7IOIP4[1]
8IOIP3[7]
9IOIP3[5]
10IOIP3[3]
11IOIP3[1]
12IOHRIP1[7]I2C SCL, SPI SS
13IOHRIP1[5]I2C SDA, SPI MISO
14CCLKOCD CPU clock output
15HCLKOCD high speed clock output
16IOHRIP1[3]SPI CLK.
17IOHRIP1[1]ISSP CLK
18PowerVssGround connection
19IOD+
20IOD21PowerVddSupply voltage
22IOHRIP1[0]ISSP DAT A
23IOHRIP1[2]
24IOHRIP1[4]Optional external clock input
25IOHRIP1[6]38IOHIP0[2]
26InputXRESActive high external reset with
27IOIP3[0]40IOHIP0[6]
28IOIP3[2]41PowerVddSupply voltage
29IOIP3[4]42OCDO OCD even data IO
30IOIP3[6]43OCDEOCD odd data output
31IOIP4[0]44IOHIP0[7]
32IOIP4[2]45IOHIP0[5]
33IOIP2[0]46IOHIP0[3]Integrating input
34IOIP2[2]47PowerVssGround connection
35IOIP2[4]48IOHIP0[1]
36IOIP2[6]CPPowerVssCenter 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.
NameDescription
Digital
Analog
(EXTCLK)
internal pull down
[1]
, I2C SCL, SPI MOSI
(1)
, I2C SDA, SPI CLK
[2, 3]
Figure 8. CY8C20066 PSoC Device
Pin
No.
37IOHIP0[0]
39IOHIP0[4]
Digital
NameDescription
Analog
Document Number: 001-12696 Rev. *DPage 14 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Electrical Specifications
5.5V
750 kH z
24 MHz
CPU Frequency
Vdd Voltage
5.5V
750 kH z6 MHz24 MH z
IMO Frequency
Vdd Voltage
3 MHz
1.71V1.71V
3 MHz
V
a
l
i
d
O
p
e
r
a
t
in
g
R
e
g
i
o
n
SLIMO
Mode
= 01
12 MHz
SLIMO
Mode
= 00
SLIMO
Mode
= 10
This section presents the DC and AC electrical specifications of the CY8C20x36/46/66, CY8C20396 PSoC devices. For the latest
electrical specifications, confirm that you have the most recent data sheet by visiting the web at http://www.cypress.com/p soc.
Figure 9 . Voltage versus CPU FrequencyFigure 10 . IMO Frequency Tri m Options
The following table lists the units of measure that are used in this section.
Table 9. Units of Measure
SymbolUnit of MeasureSymbolUnit of Measure
°Cdegree CelsiusmAmilli-ampere
dBdecibelsmsmilli-second
fFfemto faradmVmilli-volts
HzhertznAnanoampere
KB1024 bytesnsnanosecond
Kbit1024 bitsnVnanovolts
kHzkilohertzΩohm
kspskilo samples per secondpApicoampere
kΩkilohmpFpicofarad
MHzmegahertzpppeak-to-peak
MΩmegaohmppmparts per million
μAmicroamperepspicosecond
μFmicrofaradspssamples per second
μHmicrohenryssigma: one standard deviation
μsmicrosecondVvolts
μWmicrowatts
Document Number: 001-12696 Rev. *DPage 15 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Comparator User Module Electrical Specifications
Note
5. Monotonicity is not guaranteed.
The following table 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.71V <= Vdd <= 5.5V.
Table 10. Comparator User Module Electrical Specifications
SymbolDescriptionMinTypMaxUnitsConditions
T
COMP
Comparator Response Time 70100ns50 mV overdrive
Offset2.530mV
Current2080µAAverage DC current, 50 mV
overdrive
PSRR
Input
Supply voltage >2V80dBPower Supply Rejection Ratio
Supply voltage <2V40dBPower Supply Rejection Ratio
01.5V
Range
ADC Electrical Specifications
Table 11. ADC User Module Electrical Specifications
SymbolDescriptionMinTypMaxUnitsConditions
Input
V
C
RESResolution810BitsSettings 8, 9, or 10
S1010-Bit Sample Rate5.859ksps Data Clock set to 6 MHz.
DC Accuracy
DNL
INLI ntegral Nonlinearity -2+2LSB For any configuration
Eoffset Offset Error01590mV
I
ADC
F
PSRRPower Supply Rejection Ration
EgainGain Error 15%FSR For any resolution
R
Input Voltage RangeVss1.3VThis gives 72% of maximum
IN
Input Capacitance5pF
IN
code
S88-Bit Sample Rate23.4375ksps Data Clock set to 6 MHz.
Sample Rate = 0.001/
(2^Resolution/Data clock)
Sample Rate = 0.001/
(2^Resolution/Data clock)
[5]
Differential Nonlinearity-1+2LSBFor any configuration
Operating Current275350μA
Data Clock2.2512MHz Source is chip’s internal main
Exceeding maximum ratings may shorten the useful life of the device. User guidelines are not tested.
Table 12. Absolute Maximum Ratings
SymbolDescriptionConditionsMinTypMaxUnits
T
STG
Storage Temperature Hig her storage temperatures reduces data
retention time. Recommended Storage
Temperature is +25°C ± 25°C. Extended
duration storage temperatures above 85
o
–55+25+125°C
C
degrades reliability.
VddSupply Voltage Relative to Vss–0.5–+6.0V
V
V
I
MIO
IO
IOZ
DC Input VoltageVss – 0.5–Vdd + 0.5V
DC Voltage Applied to Tri-stateVss –0.5–Vdd + 0.5V
Maximum Current into any Port Pin–25–+50mA
ESDElectro Static Discharge VoltageHuman Body Model ESD2000––V
LULatch up CurrentIn accordance with JESD78 standard––200mA
Operating Temperature
Table 13. Operating Temperature
SymbolDescriptionConditionsMinTypMaxUnits
T
A
T
J
Ambient Temperature–40–+85°C
Operational Die TemperatureThe temperature rise from ambient to junction
is package specific. Refer the table Thermal
Impedances per Package on page 28. The
–40–+100°C
user must limit the power consumption to
comply with this requirement.
DC Chip-Level Specifications
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 14. DC Chip-Level Specifications
SymbolDescriptionConditionsMinTypMaxUnits
VddSupply VoltageRefer the table DC POR and LVD
Specifications on page 21
I
DD24
Supply Current, IMO = 24 MHzConditions are Vdd = 3.0V, TA = 25°C,
CPU = 24 MHz. CapSense running at 12
MHz, no IO sourcing current
I
DD12
Supply Current, IMO = 12 MHzConditions are Vdd = 3.0V, TA = 25°C,
CPU = 12 MHz. CapSense running at 12
MHz, no IO sourcing current
I
DD6
Supply Current, IMO = 6 MHzConditions are Vdd = 3.0V, TA = 25°C,
CPU = 6 MHz. CapSense running at 6 MHz,
no IO sourcing current
I
SB0
I
SB1
Deep Sleep CurrentVdd = 3.0V, TA = 25°C, IO regulator turned off–0.1–μA
Standby Current with POR, L VD and
The following tables list guaranteed maximum and minimum specifications for the voltage and temperature ranges: 3.0V to 5.5V and
–40°C ≤ T
apply to 5V and 3.3V at 25°C and are for design guidance only.
Table 15. 3.0V to 5.5V DC GPIO Specifications
SymbolDescriptionConditionsMinTypMaxUnits
R
PU
V
OH1
V
OH2
V
OH3
V
OH4
V
OH5
V
OH6
V
OH7
V
OH8
V
OH9
V
OH10
V
OL
V
IL
V
IH
V
H
I
IL
C
PIN
≤ 85°C, 2.4V to 3.0V and –40°C ≤ TA ≤ 85°C, or 1.71V to 2.4V and –40°C ≤ TA ≤ 85°C, respectively. Typical parameters
A
Pull up Resistor45.68kΩ
High Output Voltage
Port 2 or 3 Pins
High Output Voltage
Port 2 or 3 Pins
High Output Voltage
Port 0 or 1 Pins with LDO Regulator
IOH < 10 μA, maximum of 10 mA source
current in all IOs
IOH = 1 mA, maximum of 20 mA source
current in all IOs
IOH < 10 μA, maximum of 10 mA source
current in all IOs
Vdd - 0.2––V
Vdd - 0.9––V
Vdd - 0.2––V
Disabled for Port 1
High Output Voltage
Port 0 or 1 Pins with LDO Regulator
IOH = 5 mA, maximum of 20 mA source
current in all IOs
Vdd - 0.9––V
Disabled for Port 1
High Output Voltage
Port 1 Pins with LDO Regulator
IOH < 10 μA, Vdd > 3.1V , maximum of
4 IOs all sourcing 5 mA
2.853.003.3V
Enabled for 3V Out
High Output Voltage
Port 1 Pins with LDO Regulator
IOH = 5 mA, Vdd > 3.1V, maximum of
20 mA source current in all IOs
2.20––V
Enabled for 3V Out
High Output Voltage
Port 1 Pins with LDO Enabled for 2.5V
IOH < 10 μA, Vdd > 2.7V , maximum of
20 mA source current in all IOs
2.352.502.75V
Out
High Output Voltage
Port 1 Pins with LDO Enabled for 2.5V
IOH = 2 mA, Vdd > 2.7V, maximum of
20 mA source current in all IOs
1.90––V
Out
High Output Voltage
Port 1 Pins with LDO Enabled for 1.8V
IOH < 10 μA, Vdd > 2.7V , maximum of
20 mA source current in all IOs
1.601.802.1V
Out
High Output Voltage
Port 1 Pins with LDO Enabled for 1.8V
IOH = 1 mA, Vdd > 2.7V, maximum of
20 mA source current in all IOs
1.20––V
Out
Low Output VoltageIOL = 25 mA, Vdd > 3.3V, maximum of
––0.75V
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])
Input Low Voltage––0.80V
Input High Voltage2.00–V
Input Hysteresis Voltage–80–mV
Input Leakage (Absolute Value)–0.0011μA
Pin CapacitancePackage and pin depend ent
0.51.75pF
Temp = 25°C
Document Number: 001-12696 Rev. *DPage 18 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Table 16. 2.4V to 3.0V DC GPIO Specifications
SymbolDescriptionConditionsMinTypMaxUnits
R
V
V
V
PU
OH1
OH2
OH3
Pull up Resistor45.68kΩ
High Output Voltage
Port 2 or 3 Pins
High Output Voltage
Port 2 or 3 Pins
High Output Voltage
Port 0 or 1 Pins with LDO Regulator
IOH < 10 μA, maximum of 10 mA
source current in all IOs
IOH = 0.2 mA, maximum of 10 mA
source current in all IOs
IOH < 10 μA, maximum of 10 mA
source current in all IOs
Vdd - 0.2––V
Vdd - 0.4––V
Vdd - 0.2––V
Disabled for Port 1
V
OH4
High Output Voltage
Port 0 or 1 Pins with LDO Regulator
IOH = 2 mA, maximum of 10 mA source
current in all IOs
Vdd - 0.5––V
Disabled for Port 1
V
OH5A
High Output Voltage
Port 1 Pins with LDO Enabled for 1.8V
IOH < 10 μA, Vdd > 2.4V, maximum of
20 mA source current in all IOs
1.501.802.1V
Out
V
OH6A
High Output Voltage
Port 1 Pins with LDO Enabled for 1.8V
IOH = 1 mA, Vdd > 2.4V, maximum of
20 mA source current in all IOs
1.20––V
Out
V
OL
Low Output VoltageIOL = 10 mA, maximum of 30 mA sink
current on even port pins (for example,
––0.75V
P0[2] and P1[4]) and 30 mA sink
current on odd port pins (for example,
P0[3] and P1[5])
V
IL
V
IH
V
H
I
IL
C
PIN
Input Low Volt age––0.72V
Input High Voltage1.4–V
Input Hysteresis Voltage–80–mV
Input Leakage (Absolute Value)–0.0011μA
Capacitive Load on PinsPackage and pin dep endent
Temp = 25
o
C
0.5
1.75pF
Table 17. 1.71V to 2.4V DC GPIO Specifications
SymbolDescriptionConditionsMinTypMaxUnits
R
V
V
V
PU
OH1
OH2
OH3
Pull up Resistor45.68kΩ
High Output Voltage
Port 2 or 3 Pins
High Output Voltage
Port 2 or 3 Pins
High Output Voltage
Port 0 or 1 Pins with LDO Regulator
IOH = 10 μA, maximum of 10 mA
source current in all IOs
IOH = 0.5 mA, maximum of 10 mA
source current in all IOs
IOH = 100 μA, maximum of 10 mA
source current in all IOs
Vdd - 0.2––V
Vdd - 0.5––V
Vdd - 0.2––V
Disabled for Port 1
V
OH4
High Output Voltage
Port 0 or 1 Pins with LDO Regulator
IOH = 2 mA, maximum of 10 mA source
current in all IOs
Vdd - 0.5––V
Disabled for Port 1
V
OL
Low Output VoltageIOL = 5 mA, maximum of 20 mA sink
current on even port pins (for example,
––0.4V
P0[2] and P1[4]) and 30 mA sink
current on odd port pins (for example,
P0[3] and P1[5])
V
IL
V
IH
Input Low Voltage––0.3 x VddV
Input High Voltage0.65 x Vdd–V
Document Number: 001-12696 Rev. *DPage 19 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Table 17. 1.71V to 2.4V DC GPIO Specifications (continued)
SymbolDescriptionConditionsMinTypMaxUnits
V
H
I
IL
C
PIN
Input Hysteresis Voltage–80–mV
Input Leakage (Absolute Value)–0.0011μA
Capacitive Load on PinsPackage and pin dependent
Temp = 25
o
C
0.5
1.75pF
Table 18.DC Characteristics – USB Interface
SymbolDescriptionConditionsMinTypMaxUnits
RusbiUSB D+ Pull Up ResistanceWith idle bus0.900-1.575kΩ
RusbaUSB D+ Pull Up ResistanceWhile receiving tra ffic1.425-3.090kΩ
VohusbStatic Output High2.8-3.6V
VolusbStatic Output Low-0.3V
VdiDifferential Input Sensitivity0.2-V
VcmDifferential Input Common Mode
0.8-2.5V
Range
VseSingle Ended Receiver Threshold0.8-2.0V
CinTransceiver Capacitance-50pF
IioHi-Z State Data Line LeakageOn D+ or D- line-10-+10μA
Rps2PS/2 Pull Up Resistance357kΩ
RextExternal USB Series ResistorIn series with each USB pin21.7822.022.22Ω
DC Analog Mux Bus Specifications
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 19. DC Analog Mux Bus Specifications
SymbolDescriptionConditionsMinTypMaxUnits
R
SW
R
GND
The maximum pin voltage for measuring RSW and R
Switch Resistance to Common Analog
Bus
Resistance of Initialization Switch to
Vss
is 1.8V
GND
––800Ω
––800Ω
DC Low Power Comparator Specifications
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 20. DC Comparator Specifications
SymbolDescriptionConditionsMinTypMaxUnits
V
LPC
I
LPC
V
OSLPC
Low Power Comparator (LPC)
Maximum voltage limited to Vdd0.0–1.8V
common mode
LPC supply current–1040μA
LPC voltage offset–2.530mV
Document Number: 001-12696 Rev. *DPage 20 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
DC POR and LVD Specifications
Notes
6. Always greater than 50 mV above V
PPOR1
voltage for falling supply.
7. Always greater than 50 mV above V
PPOR2
voltage for falling supply.
8. Always greater than 50 mV above V
PPOR3
voltage for falling supply.
9. Always greater than 50 mV above V
PPOR0
voltage for falling supply.
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 21. DC POR and LVD Specifications
SymbolDescriptionConditionsMinTypMaxUnits
Vdd must be greater than or equal to
1.71V during startup, reset from the XRES
pin, or reset from watchdog.
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 22. DC Programming Specifications
SymbolDescriptionConditionsMinTypMaxUnits
Vdd
I
DDP
V
ILP
V
IHP
I
ILP
I
IHP
V
OLP
V
OHP
Flash
Flash
IWRITE
Supply Voltage for Flash Write
1.71––V
Operations
Supply Current During
–525mA
Programming or Verify
Input Low Voltage During
Programming or Verify
Input High Voltage During
Programming or Verify
See the appropriate DC General Purpose
IO Specifications on page 18
See appropriate DC General Purpose IO
Specifications on page 18 table on pages
––V
V
IH
––V
15 or 16
Input Current when Applying Vilp
Driving internal pull down resistor––0.2mA
to P1[0] or P1[1] During
Programming or Verify
Input Current when Applying Vihp
Driving internal pull down resistor––1.5mA
to P1[0] or P1[1] During
Programming or Verify
Output Low Voltage During
––Vss + 0.75V
Programming or Verify
Output High Voltage During
Programming or Verify
Flash Write EnduranceErase/write cycles per block50,000––-
ENPB
Flash Data Retentio nFollowing maximum Flash write cycles;
DR
See appropriate DC General Purpose IO
Specifications on page 18 table on page
16. For Vdd > 3V use V
page 17.
in T able 13 on
OH4
ambient temperature of 55°C
V
OH
–VddV
1020–Years
IL
V
V
V
V
V
V
V
V
V
V
V
V
V
Document Number: 001-12696 Rev. *DPage 21 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
AC Chip-Level Specifications
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 23. AC Chip-Level Specifications
SymbolDescriptionConditionsMinTypMaxUnits
F
MAX
F
CPU
F
32K1
F
IMO24
F
IMO12
F
IMO6
DC
T
RAMP
T
XRST
T
XRST2
IMO
Maximum Operating Frequency24––MHz
Maximum Processing Frequency24––MHz
Internal Low Speed Oscillator Frequency193250kHz
Internal Main Oscillator Frequency at 24
22.82425.2MHz
MHz Setting
Internal Main Oscillator Frequency at 12
11.41212.6MHz
MHz Setting
Internal Main Oscillator Frequency at 6
5.76.06.3MHz
MHz Setting
Duty Cycle of IMO405060%
Supply Ramp Time0––μs
External Reset Pulse Width at Power Up After supply voltage is valid1ms
External Reset Pulse Width after Power UpApplies after part has booted10μs
AC General Purpose IO Specifications
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 24. AC GPIO Specifications
SymbolDescriptionConditionsMinTypMaxUnits
F
GPIO
GPIO Operating FrequencyNormal Strong Mode Port 0, 10
–
6 MHz for
1.71V<Vdd<2.4V
MHz
TRise23Rise Time, Strong Mode, Cload = 50 pF
Ports 2 or 3
TRise23LRise Time, Strong Mode Low Supply,
Cload = 50 pF, Ports 2 or 3
TRise01Rise Time, Strong Mode, Cload = 50 pF
Ports 0 or 1
TRise01LRise Time, Strong Mode Low Supply,
Cload = 50 pF, Ports 0 or 1
TFallFall Time, Strong Mode, Cload = 50 pF
All Ports
TFallLFall Time, Strong Mode Low Supply,
Cload = 50 pF, All Ports
0
–
12 MHz for
2.4V<Vdd<5.5V
Vdd = 3.0 to 3.6V, 10% – 90%15–80ns
Vdd = 1.71 to 3.0V, 10% – 90%15–80ns
Vdd = 3.0 to 3.6V, 10% – 90%
10–50ns
LDO enabled or disabled
Vdd = 1.71 to 3.0V, 10% – 90%
10–80ns
LDO enabled or disabled
Vdd = 3.0 to 3.6V, 10% – 90%10–50ns
Vdd = 1.71 to 3.0V, 10% – 90%10–70ns
Document Number: 001-12696 Rev. *DPage 22 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Figure 11. GPIO T imin g Diagram
TFall
TRise23
TRise01
90%
10%
GPIO Pin
Output
Voltage
TRise23L
TRise01L
TFallL
Table 25.AC Characteristics – USB Data Timings
SymbolDescriptionConditionsMinTypMaxUnits
TdrateFull speed data rateAverage bit rate12–0.25%1212 + 0.25%MHz
Tdjr1Receiver data jitter toleranceTo next transition-18.5–18.5ns
Tdjr2Receiver data jitter toleranceTo pair transition-9–9ns
Tudj1Driver differential jitterTo next transition-3.5–3.5ns
Tudj2Driver differential jitterTo pair transition-4.0– 4.0ns
TfdeopSource jitter for differential
To SE0 transition-2–5ns
transition
TfeoptSource SE0 interval of EOP160–175ns
TfeoprReceiver SE0 interval of EOP82–ns
TfstWidth of SE0 interval during
–14ns
differential transition
Table 26.AC Characteristics – USB Driver
SymbolDescriptionConditionsMinTypMaxUnits
TrTransition rise time50 pF4–20ns
TfTransition fall time50 pF4–20ns
TRRise/fall time matching90.00–111.1%
VcrsOutput signal crossover voltage1.3–2.0V
AC Comparator Specifications
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 27. AC Low Power Comparator Specifications
SymbolDescriptionConditionsMinTypMaxUnits
T
LPC
Comparator Response Time, 50
mV Overdrive
AC Analog Mux Bus Specifications
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 28. AC Analog Mux Bus Specifications
SymbolDescriptionConditionsMinTypMaxUnits
F
SW
Switch RateMaximum pin voltage when measuring
Document Number: 001-12696 Rev. *DPage 23 of 34
50 mV overdrive does not include
offset voltage.
switch rate is 1.8Vp-p
100ns
––6.3MHz
[+] Feedback
CY8C20x36/46/66, CY8C20396
AC External Clock Specifications
SCLK (P1[1])
T
RSCLK
T
FSCLK
SDATA (P1[0])
T
SSCLK
T
HSCLK
T
DSCLK
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 29. AC External Clock Specifications
SymbolDescriptionConditionsMinTypMaxUnits
F
OSCEXT
Frequency0.750–25.2MHz
–High Period20.6–5300ns
–Low Period20.6
–Power Up IMO to Switch150
––ns
––μs
AC Programming Specifications
Figure 12. AC Waveform
The following table lists the guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 30. AC Programming Specifications
SymbolDescriptionConditionsMinTypMaxUnits
T
RSCLK
T
FSCLK
T
SSCLK
T
HSCLK
F
SCLK
T
ERASEB
T
WRITE
T
DSCLK
T
DSCLK3
T
DSCLK2
Rise Time of SCLK 1–20ns
Fall Time of SCLK 1–20ns
Data Set up Time to Falling Edge of SCLK40––ns
Data Hold Time from Falling Edge of SCLK40––ns
Frequency of SCLK0–8MHz
Flash Erase Time (Bloc k )––18ms
Flash Block Write Time––25ms
Data Out Delay from Falling Edge of SCLK 3.6 < Vdd––60ns
Data Out Delay from Falling Edge of SCLK 3.0 ≤ Vdd ≤ 3.6––85ns
Data Out Delay from Falling Edge of SCLK 1.71 ≤ Vdd ≤ 3.0––130ns
Document Number: 001-12696 Rev. *DPage 24 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
AC SPI Specifications
SDA
SCL
S
SrSP
T
BUFI2C
T
SPI2C
T
HDSTAI2C
T
SUSTOI2C
T
SUSTAI2C
T
LOWI2C
T
HIGHI2C
T
HDDATI2C
T
HDSTAI2C
T
SUDATI2C
Note
10.A Fast-Mode I2C-bus device can be used in a Standard Mode I2C-bus syste m, but the require ment t
SU;DAT
≥ 250 ns must then be me t. This automatica lly be the case
if the device does not stretch the LOW period of the SCL signal. If such device does stretch the LOW period of the SCL signal, it must output the next data bit to the
SDA line t
rmax
+ t
SU;DAT
= 1000 + 250 = 1250 ns (according to the Standard-Mode I2C-bus specification) before the SCL line is released.
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 31. AC SPI Specifications
SymbolDescriptionConditionsMinTypMaxUnits
F
F
SPIM
SPIS
Maximum Input Clock Frequency Selection,
2.4V<Vdd<5.5V
Master
Maximum Input Clock Frequency Selection,
Master
(21)1.71V<Vdd<2.4V
Maximum Input Clock Frequency Selection,
Slave 2.4<Vdd<5.5V
Maximum Input Clock Frequency Selection,
Output clock frequency is half
of input clock rate.
Output clock frequency is half
of input clock rate
––12MHz
6MHz
––12MHz
6MHz
Slave 1.71V<Vdd<2.4V
T
SS
Width of SS_ Negated Between Transmissions50––ns
AC I2C Specifications
The following table lists guaranteed maximum and minimum specifications for the entire voltage and temperature ranges.
Table 32. AC Characteristics of the I2C SDA and SCL Pins
SymbolDescription
F
SCLI2C
T
HDSTAI2C
T
LOWI2C
T
HIGHI2C
T
SUSTAI2C
T
HDDATI2C
T
SUDATI2C
SCL Clock Frequency01000400kHz
Hold Time (repeated) START Condition. After this period, the first clock pulse is
generated.
LOW Period of the SCL Clock4.7–1.3–μs
HIGH Period of the SCL Clock4.0–0.6–μs
Setup Time for a Repeated START Condition4.7–0.6–μs
Data Hold Time0–0–μs
Data Setup Time250–100
Standard Mode Fast Mode
MinMaxMinMax
4.0–0.6–μs
[1
–ns
0]
Units
T
SUSTOI2C
T
BUFI2C
T
SPI2C
Document Number: 001-12696 Rev. *DPage 25 of 34
Setup Time for STOP Condition4.0–0.6–μs
Bus Free Time Between a STOP and START Condition4.7–1.3–μs
Pulse Width of spikes are suppressed by the input filter.––050ns
2
Figure 13. Definition for Timing for Fast/Standard Mode on the I
C Bus
[+] Feedback
CY8C20x36/46/66, CY8C20396
Packaging Information
001-09116 *D
001-13937 *B
This section illustrates the packaging specifications for the CY8C20x36/46/66, CY8C20396 PSoC device, along with the thermal
impedances for each package.
Important Note Emulation tools may require a larger area on the target PCB than the chip’s footprint. For a detailed description of
the emulation tools’ dimensions, refer to the document titled PSoC Emulator Pod Dimensions at
http://www.cypress.com/design/MR10161.
Figure 14. 16-Pin Chip On Lead 3x3 mm (Sawn)
Figure 15. 24-Pin (4x4 x 0.6 mm) QFN
Document Number: 001-12696 Rev. *DPage 26 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Figure 16. 32-Pin (5x5 x 0.6 mm) QFN
4. DIMENSIONS ARE IN MILLIMETERS
2. BASED ON REF JEDEC # MO-248
NOTES:
1. HATCH AREA IS SO LDER AB LE EXPO SED PAD
BOTTOM VIEW
TOP VIEW
SIDE VIEW
3. PACKAGE WEIGHT: 0.0388g
001-42168
LQ32
*C
COMPANY CONFIDENTIAL
CYPRESS
TITLE
SIZE
PART NO.DWGNOREV
SEE NOTE 1
32L QFN 5 X5 X 0.55 MMPACKAGEOUTLINE 3.5 X 3.5 EPAD(SAWN TYPE)
A
001-42168 *C
51-85061 *C
0.095
0.025
0.008
SEATING PLANE
0.420
0.088
.020
0.292
0.299
0.395
0.092
BSC
0.110
0.016
0.620
0.008
0.0135
0.630
DIMENSIONS IN INCHES MIN.
MAX.
0.040
0.024
0°-8°
GAUGE PLANE
.010
124
2548
0.004
0.005
0.010
Figure 17. 48-Pin (300 MIL) SSOP
Document Number: 001-12696 Rev. *DPage 27 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Figure 18. 48-Pin (7x7 mm) QFN
001-13191 *C
Notes
11. T
J
= TA + Power x θJA.
12.To achieve the thermal impedance specified for the QFN package, the center thermal pad must be soldered to the PCB ground plane.
13.Higher temperatures may be required based on the solder melting point. Typical temperatures for sold er are 220 ± 5
o
C with Sn-Pb or 245 ± 5oC with Sn-Ag-Cu paste.
Refer to the solder manufacturer specifications.
Important Notes
■ For information on the preferred dimensions for mounting QFN packages, see the following Application Note at
At the core of the PSoC development software suite is PSoC
Designer. This is used by thousands of PSoC developers. This
robust software is facilitating PSoC designs for half a decade.
PSoC Designer is available free of charge at
http://www.cypress.com under DESIGN RESOURCES >>
Software and Drivers.
PSoC Programmer
PSoC Programmer is flexible enough and is used on the b ench
in development and is also suitable for factory programming.
PSoC Programmer works either as a standalone programming
application or operates directly from PSoC Designer or PSoC
Express. PSoC Programmer software is compatible with both
PSoC ICE Cube In-Circuit Emulator and PSoC MiniProg. PSoC
programmer is available free of charge at
http://www.cypress.com/psocprogrammer.
C Compilers
PSoC Designer comes with a free HI-TECH C Lite C compiler.
The HI-TECH C Lite compiler is free, supports all PSoC devices,
integrates fully with PSoC Designer and PSoC Express, and
runs on Windows versions up to 32-bit Vista. Compilers with
additional features are available at additional cost from their
manufactures.
■ HI-TECH C PRO for the PSoC is available from
http://www.htsoft.com.
■ ImageCraft Cypress Edition Compiler is available from
http://www.imagecraft.com.
Development Kits
All development kits are sold at the Cypress Online Store.
CY3215-DK Basic Development Kit
The CY3215-DK is for prototyping and development with PSoC
Designer. This kit supports in-circuit emulation and the software
interface enables users to run, halt, and single step the
processor and view the content of specific memory locations.
PSoC Designer supports the advance emulation features also.
The kit includes:
■ PSoC Designer Software CD
■ ICE-Cube In-Circuit Emulator
■ ICE Flex-Pod for CY8C29x66 Family
■ Cat-5 Adapter
■ Mini-Eval Programming Board
■ 110 ~ 240V Power Supply, Euro-Plug Adapter
■ iMAGEcraft C Compiler (Registration Required)
■ ISSP Cable
■ USB 2.0 Cable and Blue Cat-5 Cable
■ 2 CY8C29466-24PXI 28-PDIP Chip Samples
CY3210-ExpressDK PSoC Express Development Kit
The CY3210-ExpressDK is for advanced prototyping and
development with PSoC Express (used with ICE-Cube In-Circuit
Emulator). It provides access to I2C buses, voltage reference,
switches, upgradeable modules, and more. The kit includes:
■ PSoC Express Software CD
■ Express Development Board
■ Four Fan Modules
■ Two Proto Modules
■ MiniProg In-System Serial Programmer
■ MiniEval PCB Evaluation Board
■ Jumper Wire Kit
■ USB 2.0 Cable
■ Serial Cable (DB9)
■ 110 ~ 240V Power Supply, Euro-Plug Adapter
■ 2 CY8C24423A-24PXI 28-PDIP Chip Samples
■ 2 CY8C27443-24PXI 28-PDIP Chip Samples
■ 2 CY8C29466-24PXI 28-PDIP Chip Samples
Document Number: 001-12696 Rev. *DPage 29 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Evaluation Tools
All evaluation tools are sold at the Cypress Online Store.
CY3210-MiniProg1
The CY3210-MiniProg1 kit enables the user to program PSoC
devices via the MiniProg1 programming unit. The MiniProg is a
small, compact prototyping programmer that connects to the PC
via a provided USB 2.0 cable. The kit includes:
■ MiniProg Programming Unit
■ MiniEval Socket Programming and Evaluation Board
■ 28-Pin CY8C29466-24PXI PDIP PSoC Device Sample
■ 28-Pin CY8C27443-24PXI PDIP PSoC Device Sample
■ PSoC Designer Software CD
■ Getting Started Guide
■ USB 2.0 Cable
CY3210-PSoCEval1
The CY3210-PSoCEval1 kit features an evaluation board and
the MiniProg1 programming unit. The evaluation board includes
an LCD module, potentiometer, LEDs, and plenty of breadboarding space to meet all of your evaluation needs. The kit
includes:
All device programmers are purchased from the Cypress Online
Store.
CY3216 Modular Programmer
The CY3216 Modular Programmer kit features a modular
programmer and the MiniProg1 programming unit. The modular
programmer includes three programming module cards and
supports multiple Cypress products. The kit includes:
■ Modular Programmer Base
■ Three Programming Module Cards
■ MiniProg Programming Unit
■ PSoC Designer Software CD
■ Getting Started Guide
■ USB 2.0 Cable
CY3207ISSP In-System Serial Programmer (ISSP)
The CY3207ISSP is a production programmer. It includes
protection circuitry and an industrial case that is more robust than
the MiniProg in a production programming environment.
Note that CY3207ISSP needs special software and is not
compatible with PSoC Programmer. The kit includes:
■ CY3207 Programmer Unit
■ PSoC ISSP Software CD
■ 110 ~ 240V Power Supply, Euro-Plug Adapter
■ USB 2.0 Cable
CY3214-PSoCEvalUSB
The CY3214-PSoCEvalUSB evaluation kit features a
development board for the CY8C24794-24LFXI PSoC device.
Special features of the board include both USB and capacitive
sensing development and debugging support. This evaluation
board also includes an LCD module, potentiometer, LEDs, an
enunciator and plenty of bread boarding space to meet all of your
evaluation needs. The kit includes:
■ PSoCEvalUSB Board
■ LCD Module
■ MIniProg Programming Unit
■ Mini USB Cable
■ PSoC Designer and Example Projects CD
■ Getting Started Guide
■ Wire Pack
Document Number: 001-12696 Rev. *DPage 30 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Accessories (Emulation and Programming)
Notes
14.Flex-Pod kit includes a practice flex-pod and a practice PCB, in addition to two flex-pods.
15.Foot kit includes surface mount feet that can be soldered to the target PCB.
16.Programming adapter converts non-DIP package to DIP footprint. Specific details and ordering information for each of the adapters can be found at
Several tools have been specially designed by the following
third-party vendors to accompany PSoC devices during
development and production. Specific details for each of these
tools can be found at http://www.cypress.com under
Documentation >> Evaluation Boards.
Build a PSoC Emulator into Your Board
For details on how to emulate your circuit before going to volume
production using an on-chip debug (OCD) non-production PSoC
device, refer Application Note “Debugging - Build a PSoCEmulator into Your Board - AN2323” at http://www.cypress.com/
AN2323.
Document Number: 001-12696 Rev. *DPage 31 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Ordering Information
Notes
17.Dual-function Digital IO Pins also connect to the common analog mux.
The following table lists the CY8C20x36/46/66, CY8C20396 PSoC devices key package features and ordering codes.
Table 36. PSoC Device Key Features and Ordering Information
RevisionECNOrigin of ChangeSubmission DateDescription of Change
**766857HMTSee ECNNew silicon and document (Revision **).
*A1242866HMTSee ECNAdd features. Update all applicable sections. Update specs.
Fix 24-pin QFN pinout moving pins inside. Update package
revisions. Update and add to Emulation and Programming
Accessories table.
*B2174006AESASee ECNAdded 48-Pin SSOP Part Pinout
Modified symbol R
Specification
Added footnote in Table DC Analog Mux Bus Specification
Added 16K FLASH Parts. Updated Notes, Package Diagrams
and Ordering Information table. Updated Thermal Impedance
and Solder Reflow tables
*C2587518TOF/JASM/MNU/
HMT
10/13/08Converted from Preliminary to Final
Fixed broken links. Updated data sheet template.
Added operating voltage ranges with USB
ADC resolution changed from 10-bit to 8-bit
Included ADC specifications table
Included Comparator specification table
Included Voh7, Voh8, Voh9, Voh10 specs
Flash data retention – condition added to Note
Input leakage spec changed to 1 μA max
GPIO rise time for ports 0,1 and ports 2,3 made common
AC Programming specifications updated
Included AC Programming cycle timing diagram
AC SPI specification updated
The VIH for 3.0<Vdd<2.4 changed to 1.6 from 2.0
Added USB specification
Added SPI CLK to P1[0]
Updated package diagrams
Updated thermal impedances for QFN packages
Updated F
Updated voltage ranges for F
GPIO
Update Development Tools, add Designing with PSoC
Designer. Edit, fix links, notes and table format. Update R
formula, fix TRise parameter names in GPIO figure, fix Switch
Rate note. Update maximum data in Table 20. DC POR and
LVD Specifications.
*D2649637SNV/AESA03/17/2009Changed title to “CY8C20x36/46/66, CY8C20396
CapSense™ Applications”. Updated data sheet Features, pin
information, and ordering information sections. Updated
package diagram 001-42168 to *C.
VDD
to R
in Table DC Analog Mux Bus
GND
parameter in Table 23
and F
SPIM
in Table 30
SPIS
IN
Document Number: 001-12696 Rev. *DPage 33 of 34
[+] Feedback
CY8C20x36/46/66, CY8C20396
Sales, Solutions, and Legal Information
Worldwide Sales and Design Support
Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. T o find the office
closest to you, visit us at cypress.com/sales.
Generalpsoc.cypress.com/solutions
Low Power/Low Voltagepsoc.cypress.com/low-power
Precision Analog psoc.cypress.com/precision-analog
LCD Drivepsoc.cypress.com/lcd-drive
CAN 2.0bpsoc.cypress.com/can
USBpsoc.cypress.com/usb
CapSense™, PSoC Designer™, and Progr ammable System-on-C hip™ are trademar ks and PSoC® is a reg istered trademark o f Cypress Semiconductor Corporation. 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.
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 gr ant s to l icense e a pers onal, no n-exclu sive , non-tr ansfer able license to copy, use, modify , create d erivative 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 Cy press
integrated circuit as specified in the ap plicable agreem ent. Any reprod uction, modificatio n, translation, co mpilation, or repr esentation of this Source Co de except as speci fied above is pro hibited with out
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. Cyp ress does not
assume any liability arising out of the applic ation or use o f any pr oduct or circ uit de scribed herein . Cypr ess does n ot author ize its p roducts fo r use as critical compon ents in life-su pport systems whe re
a malfunction or failure may reason ably 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-12696 Rev. *DRevised March 17, 2009Page 34 of 34
[+] Feedback
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.