CY8C21312, CY8C21512
Document Number: 001-63745 Rev. *D Page 4 of 37
The Analog System
The Analog System is composed of analog resources inside of
the CapSense block. These resources are used to implement a
flexible capacitive sensing and measurement module. The
analog resources in the CapSense block are listed.
Comparator used in capacitance-to-digital conversion
Fixed, absolute reference or adjustable, ratiometric reference
can be used with the comparator
Low-pass filter converts a digital bit stream into the adjustable,
ratiometric analog reference
Figure 2. Analog System Block Diagram
The Analog Multiplexer System
The Analog Mux Bus can connect to every GPIO pin. Pins can
be connected to the bus individually or in any combination. The
bus also connects to the analog system. 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:
Track pad, finger sensing.
Chip-wide mux that allows analog input from any I/O pin.
Crosspoint connection between any I/O pin combination.
Additional System Resources
System resources, some of which have been previously listed,
provide additional capability useful for complete systems. Brief
statements describing the merits of each system resource are
presented.
Digital clock dividers provide three customizable clock
frequencies for use in applications. The clocks can be routed
to both the digital and analog systems.
The I
2
C module provides communication up to 400 kHz over
two wires. Slave, master, and multi-master modes are all
supported.
LVD interrupts can signal the application of falling voltage
levels, while the advanced power-on reset (POR) circuit
eliminates the need for a system supervisor.
An internal 1.3 V voltage reference provides an absolute
reference for the analog system.
Versatile analog multiplexer system.
All I/O
CMP
CapSense0
Analog
V
REF
...
Analog System
To Digital
Resources
CY8C21312, CY8C21512
Document Number: 001-63745 Rev. *D Page 5 of 37
PSoC Device Characteristics
Depending on your PSoC device characteristics, the digital and analog systems can have a varying number of digital and analog
blocks. Table 1 lists the resources available for specific PSoC device groups. The PSoC device covered by this datasheet is highlighted
in Table 1
Getting Started
For in-depth information, along with detailed programming
details, see the PSoC
®
Technical Reference Manual.
For up-to-date ordering, packaging, and electrical specification
information, see the latest PSoC device datasheets on the web.
Application Notes
Cypress application notes are an excellent introduction to the
wide variety of possible PSoC designs.
Development Kits
PSoC Development Kits are available online from and through a
growing number of regional and global distributors, which
include Arrow, Avnet, Digi-Key, Farnell, Future Electronics, and
Newark.
Training
Free PSoC technical training (on demand, webinars, and
workshops), which is available online via www.cypress.com,
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 the CYPros Consultants web site.
Solutions Library
Visit our growing library of solution focused designs. Here you
can find various application designs that include firmware and
hardware design files that enable you to complete your designs
quickly.
Technical Support
Technical support – including a searchable Knowledge Base
articles and technical forums – is also available online. If you
cannot find an answer to your question, call our Technical
Support hotline at 1-800-541-4736.
Table 1. PSoC Device Characteristics
PSoC Part
Number
Digital
I/O
Digital
Rows
Digital
Blocks
Analog
Inputs
Analog
Outputs
Analog
Columns
Analog
Blocks
SRAM
Size
Flash
Size
CY8C29x66
[1]
up to 64 4 16 up to 12 4 4 12 2 K 32 K
CY8C28xxx up to 44 up to 3 up to 12 up to 44 up to 4 up to 6 up to
12 + 4
[2]
1 K 16 K
CY8C27x43 up to 44 2 8 up to 12 4 4 12 256 16 K
CY8C24x94
[1]
up to 56 1 4 up to 48 2 2 6 1 K 16 K
CY8C24x23A
[1]
up to 24 1 4 up to 12 2 2 6 256 4 K
CY8C23x33 up to 26 1 4 up to 12 2 2 4 256 8 K
CY8C22x45
[1]
up to 38 2 8 up to 38 0 4 6
[2]
1 K 16 K
CY8C21x45
[1]
up to 24 1 4 up to 24 0 4 6
[2]
512 8 K
CY8C21x34
[1]
up to 28 1 4 28 0 2 4
[
2
]
512 8 K
CY8C21x23 up to 16 1 4 up to 8 0 2 4
[2]
256 4 K
CY8C21x12
[
1
]
up to 24 1 1
[
2
]
24 0 0 1
[
2
]
512 8K
CY8C20x34
[1]
up to 28 0 0 up to 28 0 0 3
[2,3]
512 8 K
CY8C20xx6 up to 36 0 0 up to 36 0 0 3
[2,3]
up to 2 K up to 32 K
Notes
1. Automotive qualified devices available in this group.
2. Limited analog functionality.
3. Two analog blocks and one CapSense
®
block.
CY8C21312, CY8C21512
Document Number: 001-63745 Rev. *D Page 6 of 37
Development Tools
PSoC Designer™ is the revolutionary integrated design
environment (IDE) that you can use to customize PSoC to meet
your specific application requirements. PSoC Designer software
accelerates system design and time to market. Develop your
applications using a library of precharacterized analog and digital
peripherals (called user modules) in a drag-and-drop design
environment. Then, customize your design by leveraging the
dynamically generated application programming interface (API)
libraries of code. Finally, debug and test your designs with the
integrated debug environment, including in-circuit emulation and
standard software debug features. PSoC Designer includes:
Application editor graphical user interface (GUI) for device and
user module configuration and dynamic reconfiguration
Extensive user module catalog
Integrated source-code editor (C and assembly)
Free C compiler with no size restrictions or time limits
Built-in debugger
In-circuit emulation
Built-in support for communication interfaces:
Hardware and software I
2
C slaves and masters
Full-speed USB 2.0
Up to four full-duplex universal asynchronous
receiver/transmitters (UARTs), SPI master and slave, and
wireless
PSoC Designer supports the entire library of PSoC 1 devices and
runs on Windows XP, Windows Vista, and Windows 7.
PSoC Designer Software Subsystems
Design Entry
In the chip-level view, choose a base device to work with. Then
select different onboard analog and digital components that use
the PSoC blocks, which are called user modules. Examples of
user modules are ADCs, DACs, amplifiers, and filters. Configure
the user modules for your chosen application and connect them
to each other and to the proper pins. Then 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 makes it possible to change configurations at run
time. In essence, this allows you to use more than 100 percent
of PSoC's resources for an application.
Code Generation Tools
The code generation tools work seamlessly within the
PSoC Designer interface and have been tested with a full range
of debugging tools. You can develop your design in C, assembly,
or a combination of the two.
Assemblers. The assemblers allow you to merge assembly
code seamlessly with C code. Link libraries automatically use
absolute addressing or are compiled in relative mode, and are
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 of 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 you to read and program and
read and write data memory, and read and write I/O registers.
You can read and write CPU registers, set and clear breakpoints,
and provide program run, halt, and step control. The debugger
also allows you to create a trace buffer of registers and memory
locations of interest.
Online Help System
The online help system displays online, context-sensitive help.
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-Circuit Emulator
A low-cost, high-functionality in-circuit emulator (ICE) is
available for development support. This hardware can program
single devices.
The emulator consists of a base unit that connects to the PC
using 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.

CY8C21512-24PVXAT

Mfr. #:
Manufacturer:
Cypress Semiconductor
Description:
8-bit Microcontrollers - MCU 24 I/O 8K FLASH 512 BYTES SRAM
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union