CY8C28452
CY8C28452
Features ❐ Pull Up, Pull Down, High Z, Strong, or Open Drain Drive
Modes on All GPIO
■ Varied Resource Options Within One PSoC Device Group ❐ Analog Input on All GPIO
❐ 30 mA Analog Outputs on GPIO
■ Powerful Harvard Architecture Processor
❐ Configurable Interrupt on all GPIO
❐ M8C Processor Speeds up to 24 MHz
❐ 8x8 Multiply, 32-Bit Accumulate ■ Additional System Resources
2
❐ Low Power at High Speed ❐ Up to 2 Hardware I C Resources
❐ 3.0V to 5.25V Operating Voltage • Each Resource Implements Slave, Master, or Multi-Master
❐ Operating Voltages Down to 1.5V Using On-Chip Switched Modes
Mode Pump (SMP) • Operation Between 0 and 400 kHz
❐ Industrial Temperature Range: -40°C to +85°C ❐ Watchdog and Sleep Timers
Cypress Semiconductor Corporation • 198 Champion Court • San Jose, CA 95134-1709 • 408-943-2600
Document Number: 001-48111 Rev. *D Revised August 10, 2009
[+] Feedback
PRELIMINARY
CY8C28xxx
PSoC Functional Overview alone or combined with other blocks to create 8, 16, 24, and
32-bit peripherals, which are called user modules. The digital
The PSoC family consists of many devices with On-Chip blocks can be connected to any GPIO through a series of global
Controllers. These devices are designed to replace multiple buses that can route any signal to any pin.
traditional MCU based system components with one low cost
Figure 1. Digital System Block Diagram[1]
single chip programmable component. A PSoC device includes
configurable analog blocks, digital blocks, and interconnections. Port 5 Port 3 Port 1
This architecture enables the user to create customized Port 4 Port 2 Port 0
peripheral configurations to match the requirements of each Digital Clocks To Analog
individual application. In addition, a fast CPU, Flash program From Core To System Bus System
memory, SRAM data memory, and configurable I/O are included
in a range of convenient pinouts and packages.
DIGITAL SYSTEM
The CY8C28xxx group of PSoC devices described in this data
sheet have multiple resource configuration options available. Digital PSoC Block Array
Therefore, not every resource mentioned in this data sheet is Row 0 4
Configuration
Configuration
Row Output
available for each CY8C28xxx subgroup. The CY8C28x45
Row Input
subgroup has a full feature set of all resources described. There DBC00 DBC01 DCC02 DCC03
are six more segmented subgroups that allow designers to use 4
a device with only the resources and functionality necessary for 8 8
a specific application. See Table 2 on page 6 to determine the
8 8
resources available for each CY8C28xxx subgroup. The same Row 1 4
Configuration
Configuration
Row Output
Row Input
information is also presented in more detail in the Ordering Infor-
mation section. DBC10 DBC11 DCC12 DCC13
4
The architecture for this specific PSoC device family, as shown
in the System Block Diagram on page 1, consists of four main
areas: PSoC Core, Digital System, Analog System, and System
Resources. The configurable global bus system allows all the Row 2 4
Configuration
Configuration
Row Output
Row Input
device resources to be combined into a complete custom DBC20 DBC21 DCC22 DCC23
system. PSoC CY8C28xxx family devices have up to six I/O 4
ports that connect to the global digital and analog interconnects,
providing access to up to 12 digital blocks and up to 16 analog
blocks. GIE[7:0] Global Digital GOE[7:0]
GIO[7:0] Interconnect GOO[7:0]
The PSoC Core
The PSoC Core is a powerful engine that supports a rich feature
set. The core includes a CPU, memory, clocks, and configurable Digital peripheral configurations include:
general Purpose I/O (GPIO). The M8C CPU core is a powerful
processor with speeds up to 24 MHz, providing a four MIPS 8-bit ■ PWMs (8 to 16 bit, One-shot and Multi-shot capability)
Harvard architecture microcontroller.
■ PWMs with Dead band/Kill (8 to 16 bit)
Memory encompasses 16K bytes of Flash for program storage,
1K bytes of SRAM for data storage. The PSoC device incorpo- ■ Counters (8 to 32 bit)
rates flexible internal clock generators, including a 24 MHz ■ Timers (8 to 32 bit)
internal main oscillator (IMO) accurate to 2.5% over temperature
and voltage. A low power 32 kHz internal low speed oscillator ■ Full-duplex 8-bit UARTs (up to 3) with selectable parity
(ILO) is provided for the sleep timer and watch dog timer (WDT).
■ Half-duplex 8-bit UARTs (up to 6) with selectable parity
The 32.768 kHz external crystal oscillator (ECO) is available for
use as a real time clock (RTC) and can optionally generate a ■ Variable length SPI slave and master
crystal-accurate 24 MHz system clock using a PLL. ❐ Up to 6 total slaves and masters (8-bit)
PSoC GPIOs provide connections to the CPU, and digital and ❐ Supports 8 to 16 bit operation
analog resources. Each pin’s drive mode may be selected from
8 options, which allows great flexibility in external interfacing. ■ I2C slave, master, or multi-master (up to 2 available as System
Every pin also has the capability to generate a system interrupt Resources)
on high level, low level, and change from last read. ■ IrDA (up to 3)
The Digital System ■ Pseudo Random Sequence Generators (8 to 32 bit)
The Digital System is composed of up to 12 configurable digital ■ Cyclical Redundancy Checker/Generator (16 bit)
PSoC blocks. Each block is an 8-bit resource that can be used
■ Shift Register (2 to 32 bit)
Note
1. CY8C28x52 devices do not have digital block row 2. They have two digital rows with eight total digital blocks.
[+] Feedback
PRELIMINARY
CY8C28xxx
The Analog System Figure 2. Analog System Block Diagram for CY8C28x45 and
CY8C28x52 Devices
The Analog System is composed of up to 16 configurable analog
blocks, each containing an opamp circuit that allows the creation All GPIO
AGNDIn RefIn
P2[6]
available as user modules) are: P2[3]
Analog Mux
selectable as Incremental or Delta Sigma) P2[1]
P2[2]
Bus
P2[0]
■ Dedicated 10-bit SAR ADC with sample rates up to 192 ksps
■ Synchronized, simultaneous Delta Sigma ADCs (up to 4)
■ Filters (2 to 8 pole band-pass, low-pass, and notch)
Array Input Configuration
■ Amplifiers (up to 4, with selectable gain to 48x)
■ Instrumentation amplifiers (up to 2, with selectable gain to 93x) ACI0[1:0] ACI1[1:0] ACI2[1:0] ACI3[1:0] ACI4[1:0] ACI5[1:0]
■ Multiplying DACs (up to 4, with 6 to 9-bit resolution) ACC00 ACC01 ACC02 ACC03
ACE00 ACE01
■ High current output drivers (up to 4 with 30 mA drive) ASC10 ASD11 ASC12 ASD13
ASE10 ASE11
■ 1.3V reference (as a System Resource) ASD20 ASC21 ASD22 ASC23
■ DTMF Dialer
■ Modulators Analog Reference
[+] Feedback
PRELIMINARY
CY8C28xxx
Figure 3. Analog System Block Diagram for CY8C28x43 Figure 4. Analog System Block Diagram for CY8C28x33
Devices Devices
All GPIO
All GPIO
P0[7] P0[6]
P0[7]
P0[5] P0[4]
P0[5]
P0[6]
P0[3] P0[2]
P0[3]
P0[1] P0[0] P0[4]
P0[1]
Analog Mux
P0[0]
P2[1]
P2[4]
Bus
AGNDIn RefIn
Analog Mux
P2[1] P2[6]
P2[2]
Bus
P2[0]
P2[4]
Block Array
Analog Reference
[+] Feedback
PRELIMINARY
CY8C28xxx
Figure 5. Analog System Block Diagram for CY8C28x23 Figure 6. Analog System Block Diagram for CY8C28x13
Devices Devices
P0[7]
All GPIO
P0[5]
P0[6]
Analog Mux
P0[7] P0[6]
P0[3]
Bus
P0[4]
P0[1] P0[5] P0[4]
P0[2]
P2[3]
P0[3] P0[2]
P0[0]
P2[1]
P0[1] P0[0]
AGNDIn RefIn
P2[6]
Array Input
Configuration
ACI0[1:0] ACI1[1:0] Block Array
ACE00 ACE01
ACC00 ACC01
Analog Reference
M8C Interface (Address Bus, Data Bus, Etc.)
Interface to RefHi Reference AGNDIn
Digital System RefLo Generators RefIn
AGND Bandgap
[+] Feedback
PRELIMINARY
CY8C28xxx
System Resources
Table 1. PSoC Device Characteristics
System Resources, some of which are listed in the previous
Columns
sections, provide additional capability useful to complete
Outputs
Analog
Analog
Analog
Analog
Blocks
Blocks
Digital
Digital
Digital
Inputs
SRAM
Rows
Flash
Size
Size
PSoC Part
I/O
systems. Additional resources include a multiplier, multiple Number
decimators, switch mode pump, low voltage detection, and
power on reset. Statements describing the merits of each system CY8C29x66 up to 4 16 12 4 4 12 2K 32K
resource follow: 64
CY8C28xxx up to up to up to up to up to up to up to 1K 16K
■ Digital clock dividers provide three customizable clock 44 3 12 44 4 6 12/4[2]
frequencies for use in applications. The clocks can be routed
CY8C27x43 up to 2 8 12 4 4 12 256 16K
to both the digital and analog systems. Additional clocks can 44 Bytes
be generated using digital PSoC blocks as clock dividers. CY8C24x94 64 1 4 48 2 2 6 1K 16K
■ Multiply accumulate (MAC) provides fast 8-bit multiplier with CY8C24x23A up to 1 4 12 2 2 6 256 4K
32-bit accumulate, to assist in general math and digital filters. 24 Bytes
CY8C23x33 up to 1 4 12 2 2 4 256 8K
■ Up to four decimators provide custom hardware filters for digital Bytes
signal processing applications such as Delta-Sigma ADCs and CY8C21x34 up to 1 4 28 0 2 4[3] 512 8K
CapSense capacitive sensor measurement. 28 Bytes
CY8C21x23 16 1 4 8 0 2 4[3] 256 4K
■ Up to two I2C resources provide 0 to 400 kHz communication Bytes
over two wires. Slave, master, and multi-master modes are all CY8C20x34 up to 0 0 28 0 0 3[4] 512 8K
supported. I2C resources have hardware address detection 28 Bytes
capability.
■ Low Voltage Detection (LVD) interrupts can signal the appli- The devices covered by this data sheet all have the same archi-
cation of falling voltage levels, while the advanced POR (Power tecture, specifications, and ratings. However, the amount of
On Reset) circuit eliminates the need for a system supervisor. some hardware resources varies from device to device within the
group. The following table lists resources available for the
■ An internal 1.3V reference provides an absolute reference for specific device subgroups covered by this data sheet.
the analog system, including ADCs and DACs.
Table 2. CY8C28xxx Device Characteristics
■ An integrated switch mode pump (SMP) generates normal
Analog Blocks
Analog Blocks
operating voltages from a single 1.5V battery cell, providing a
Decimators
CapSense
Outputs
Regular
Limited
HW I2C
Analog
Analog
low cost boost converter.
Blocks
Digital
Digital
Inputs
PSoC Part
I/O
PSoC Device Characteristics Number
Notes
2. Has 12 regular analog blocks and four limited Type-E analog blocks
3. Limited analog functionality.
4. Two analog blocks and one CapSense.
[+] Feedback
PRELIMINARY
CY8C28xxx
Application notes are an excellent introduction to the wide variety Chip-Level View
of possible PSoC designs. They are located here: The chip-level view is a more traditional integrated development
www.cypress.com/psoc. Select Application Notes under the environment (IDE) based on PSoC Designer 4.4. Choose a base
Documentation tab. device to work with and then select different onboard analog and
digital components called user modules that use the PSoC
Development Kits blocks. Examples of user modules are ADCs, DACs, Amplifiers,
PSoC Development Kits are available online from Cypress at and Filters. Configure the user modules for your chosen
www.cypress.com/shop and through a growing number of application and connect them to each other and to the proper
regional and global distributors, which include Arrow, Avnet, pins. Then generate your project. This prepopulates your project
Digi-Key, Farnell, Future Electronics, and Newark. with APIs and libraries that you can use to program your
application.
Training The device editor also supports easy development of multiple
Free PSoC technical training (on demand, webinars, and configurations and dynamic reconfiguration. Dynamic
workshops) is available online at www.cypress.com/training. The configuration allows for changing configurations at run time.
training covers a wide variety of topics and skill levels to assist
you in your designs. Hybrid Designs
You can begin in the system-level view, allow it to choose and
CYPros Consultants configure your user modules, routing, and generate code, then
Certified PSoC Consultants offer everything from technical switch to the chip-level view to gain complete control over
assistance to completed PSoC designs. To contact or become a on-chip resources. All views of the project share a common code
PSoC Consultant go to www.cypress.com/cypros. editor, builder, and common debug, emulation, and programming
tools.
Solutions Library Code Generation Tools
Visit our growing library of solution focused designs at PSoC Designer supports multiple third party C compilers and
www.cypress.com/solutions. Here you can find various appli- assemblers. The code generation tools work seamlessly within
cation designs that include firmware and hardware design files the PSoC Designer interface and have been tested with a full
that enable you to complete your designs quickly. range of debugging tools. The choice is yours.
Technical Support
Assemblers. The assemblers allow assembly code to merge
For assistance with technical issues, search KnowledgeBase seamlessly with C code. Link libraries automatically use absolute
articles and forums at www.cypress.com/support. If you cannot addressing or are compiled in relative mode, and linked with
find an answer to your question, call technical support at other software modules to get absolute addressing.
1-800-541-4736.
C Language Compilers. C language compilers are available
Development Tools that support the PSoC family of devices. The products allow you
PSoC Designer is a Microsoft® Windows-based, integrated to create complete C programs for the PSoC family devices.
development environment for the Programmable The optimizing C compilers provide all the features of C tailored
System-on-Chip (PSoC) devices. The PSoC Designer IDE runs to the PSoC architecture. They come complete with embedded
on Windows XP or Windows Vista. libraries providing port and bus operations, standard keypad and
This system provides design database management by project, display support, and extended math functionality.
an integrated debugger with In-Circuit Emulator, in-system
Debugger
programming support, and built-in support for third-party
assemblers and C compilers. The PSoC Designer Debugger subsystem provides hardware
in-circuit emulation, allowing you to test the program in a physical
system while providing an internal view of the PSoC device.
[+] Feedback
PRELIMINARY
CY8C28xxx
Debugger commands allow the designer to read and program Width Modulator (PWM) User Module configures one or more
and read and write data memory, read and write I/O registers, digital PSoC blocks, one for each 8 bits of resolution. The user
read and write CPU registers, set and clear breakpoints, and module parameters permit you to establish the pulse width and
provide program run, halt, and step control. The debugger also duty cycle. Configure the parameters and properties to
allows the designer to create a trace buffer of registers and correspond to your chosen application. Enter values directly or
memory locations of interest. by selecting values from drop-down menus.
Online Help System Both the system-level drivers and chip-level user modules are
documented in data sheets that are viewed directly in the PSoC
The online help system displays online, context-sensitive help Designer. These data sheets explain the internal operation of the
for the user. Designed for procedural and quick reference, each component and provide performance specifications. Each data
functional subsystem has its own context-sensitive help. This sheet describes the use of each user module parameter or driver
system also provides tutorials and links to FAQs and an Online property, and other information you may need to successfully
Support Forum to aid the designer in getting started. implement your design.
In-Circuit Emulator Organize and Connect
A low cost, high functionality ICE (In-Circuit Emulator) is You can build signal chains at the chip level by interconnecting
available for development support. This hardware has the user modules to each other and the I/O pins, or connect system
capability to program single devices. level inputs, outputs, and communication interfaces to each
The emulator consists of a base unit that connects to the PC by other with valuator functions.
way of a USB port. The base unit is universal and operates with In the system-level view, selecting a potentiometer driver to
all PSoC devices. Emulation pods for each device family are control a variable speed fan driver and setting up the valuators
available separately. The emulation pod takes the place of the to control the fan speed based on input from the pot selects,
PSoC device in the target board and performs full speed (24 places, routes, and configures a programmable gain amplifier
MHz) operation. (PGA) to buffer the input from the potentiometer, an analog to
Designing with PSoC Designer digital converter (ADC) to convert the potentiometer’s output to
a digital signal, and a PWM to control the fan.
The development process for the PSoC device differs from that In the chip-level view, perform the selection, configuration, and
of a traditional fixed function microprocessor. The configurable routing so that you have complete control over the use of all
analog and digital hardware blocks give the PSoC architecture a on-chip resources.
unique flexibility that pays dividends in managing specification
change during development and by lowering inventory costs. Generate, Verify, and Debug
These configurable resources, called PSoC Blocks, have the
When you are ready to test the hardware configuration or move
ability to implement a wide variety of user-selectable functions.
on to developing code for the project, perform the “Generate
The PSoC development process can be summarized in the Application” step. This causes PSoC Designer to generate
following four steps: source code that automatically configures the device to your
1. Select components specification and provides the software for the system.
2. Configure components Both system-level and chip-level designs generate software
3. Organize and Connect based on your design. The chip-level design provides application
programming interfaces (APIs) with high level functions to
4. Generate, Verify, and Debug control and respond to hardware events at run-time and interrupt
Select Components service routines that you can adapt as needed. The system-level
design also generates a C main() program that completely
Both the system-level and chip-level views provide a library of controls the chosen application and contains placeholders for
prebuilt, pretested hardware peripheral components. In the custom code at strategic positions allowing you to further refine
system-level view, these components are called “drivers” and the software without disrupting the generated code.
correspond to inputs (a thermistor, for example), outputs (a
brushless DC fan, for example), communication interfaces A complete code development environment allows you to
(I2C-bus, for example), and the logic to control how they interact develop and customize your applications in C, assembly
with one another (called valuators). language, or both.
In the chip-level view, the components are called “user modules”. The last step in the development process takes place inside the
User modules make selecting and implementing peripheral PSoC Designer’s Debugger subsystem. The Debugger
devices simple, and come in analog, digital, and mixed signal downloads the HEX image to the In-Circuit Emulator (ICE) where
varieties. it runs at full speed. Debugger capabilities rival those of systems
costing many times more. In addition to traditional single-step,
Configure Components run-to-breakpoint and watch-variable features, the Debugger
provides a large trace buffer and allows you define complex
Each of the components you select establishes the basic register
breakpoint events that include monitoring address and data bus
settings that implement the selected function. They also provide
values, memory locations and external signals.
parameters and properties that allow you to tailor their precise
configuration to your particular application. For example, a Pulse
[+] Feedback
PRELIMINARY
CY8C28xxx
Document Conventions
Acronyms Used Units of Measure
The following table lists the acronyms that are used in this A units of measure table is located in the Electrical Specifications
document. section. Table 8 on page 31 lists all the abbreviations used to
measure the PSoC devices.
Acronym Description
Numeric Naming
AC alternating current
Hexadecimal numbers are represented with all letters in
ADC analog-to-digital converter uppercase with an appended lowercase ‘h’ (for example, ‘14h’ or
API application programming interface ‘3Ah’). Hexadecimal numbers may also be represented by a ‘0x’
CPU central processing unit prefix, the C coding convention. Binary numbers have an
appended lowercase ‘b’ (for example, 01010100b’ or
CT continuous time ‘01000011b’). Numbers not indicated by an ‘h’ or ‘b’ are decimal.
DAC digital-to-analog converter
DC direct current
ECO external crystal oscillator
EEPROM electrically erasable programmable read-only
memory
FSR full scale range
GPIO general purpose I/O
GUI graphical user interface
HBM human body model
ICE in-circuit emulator
ILO internal low speed oscillator
IMO internal main oscillator
I/O input/output
IPOR imprecise power on reset
LSb least-significant bit
LVD low voltage detect
MSb most-significant bit
PC program counter
PLL phase-locked loop
POR power on reset
PPOR precision power on reset
PSoC Programmable System-on-Chip
PWM pulse width modulator
SAR successive approximation register
SC switched capacitor
SLIMO slow IMO
SMP switch mode pump
SRAM static random access memory
[+] Feedback
PRELIMINARY
CY8C28xxx
Pinouts
This section describes, lists, and illustrates the CY8C28xxx PSoC device pins and pinout configurations.
The CY8C28xxx PSoC devices are 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. However, Vss, Vdd, SMP, and XRES are not capable of Digital I/O.
Notes
5. These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Programmable System-on-Chip Technical Reference Manual for CY8C28xxx
PSoC devices for details.
6. CY8C28x52 and CY8C28x23 devices do not have a SAR ADC. Therefore, this pin does not function as a SAR ADC input for these devices.
7. CY8C28x13 and CY8C28x03 devices do not have any analog output buffers. Therefore, this pin does not function as an analog column output for these devices.
8. CY8C28x52, CY8C28x13, and CY8C28x33 devices only have one I2C block. Therefore, this GPIO does not function as an I2C pin for these devices.
9. CY8C28x33, CY8C28x23, CY8C28x13, and CY8C28x03 devices do not have an analog output buffer for this pin. Therefore, this pin does not function as an analog
column output for these devices.
[+] Feedback
PRELIMINARY
CY8C28xxx
Pin
Type
Pin
Description CY8C28403, CY8C28413, CY8C28433, CY8C28445, and
No. Digital Analog Name CY8C28452 28-Pin PSoC Devices
Notes
10. This pin is not a direct switched capacitor block analog input for CY8C28x03 and CY8C28x13 devices.
11. This pin is not a direct switched capacitor block analog input for CY8C28x03, CY8C28x13, CY8C28x23, and CY8C28x33 devices.
[+] Feedback
PRELIMINARY
CY8C28xxx
P0[3], M, AIO, S
P0[5], M, AIO, S
P0[4], M, AIO, S
P0[2], M, AIO, S
P0[1], M, AI, S
P0[7], M, AI, S
P0[6], M, AI, S
P0[0], M, AI, S
4 I/O M P4[7]
5 I/O M P4[5]
P2[7], M
6 I/O M P4[3]
Vdd
7 I/O M P4[1]
8 Output SMP Switch Mode Pump (SMP) connection to
44
43
42
41
40
39
38
37
36
35
34
external components.
9 I/O M P3[7] M, P2[5] 1 33 P2[4], M, External AGND
AI, M, P2[3] 2 32 P2[2], M, AI
10 I/O M P3[5]
AI, M, P2[1] 3 31 P2[0], M, AI
11 I/O M P3[3] M, P4[7] 4 30 P4[6], M
12 I/O M P3[1] M, P4[5] 5 29 P4[4], M
13 I/O M P1[7] I2C0 Serial Clock (SCL). M, P4[3] 6 TQFP 28 P4[2], M
14 I/O M P1[5] I2C0 Serial Data (SDA). M, P4[1] 7 27 P4[0], M
15 I/O M P1[3] SMP 8 26 XRES
16 I/O M P1[1] Crystal Input (XTALin), I2C0 Serial Clock M, P3[7] 9 25 P3[6], M
(SCL), ISSP-SCLK[5]. M, P3[5] 10 24 P3[4], M
17 Output Vss Ground connection. M, P3[3] 11 23 P3[2], M, I2C1 SCL
12
13
14
15
16
17
18
19
20
21
22
18 I/O M P1[0] Crystal Output (XTALout), I2C0 Serial Data
(SDA), ISSP-SDATA[5].
Vss
I2C0 SDA, M, P1[5]
M, P1[3]
EXTCLK, M, P1[4]
I2C0 SCL, M, P1[7]
[+] Feedback
PRELIMINARY
CY8C28xxx
P0[3], M, AIO, S
P0[5], M, AIO, S
P0[4], M, AIO, S
P0[2], M, AIO, S
3 I/O M P4[7]
P0[1], M, AI, S
P0[7], M, AI, S
P0[6], M, AI, S
P0[0], M, AI, S
4 I/O M P4[5]
P2[5], M
P2[7], M
5 I/O M P4[3]
Vdd
6 I/O M P4[1]
7 Output SMP Switch Mode Pump (SMP) connection to
48
47
46
45
44
43
42
41
40
39
38
37
external components. AI, M, P2[3] 1 36 P2[4], M, External AGND
AI, M, P2[1] 2 35 P2[2], M, AI
8 I/O M P3[7]
M, P4[7] 3 34 P2[0], M, AI
9 I/O M P3[5] M, P4[5] 4 33 P4[6], M
10 I/O M P3[3] M, P4[3] 5 32 P4[4], M
11 I/O M P3[1] M, P4[1] 6 QFN 31 P4[2], M
12 I/O M P5[3] SMP 7 (Top View) 30 P4[0], M
M, P3[7] 8 29 XRES
13 I/O M P5[1]
M, P3[5] 9 28 P3[6], M
14 I/O M P1[7] I2C0 Serial Clock (SCL). M, P3[3] 10 27 P3[4], M
15 I/O M P1[5] I2C0 Serial Data (SDA). M, P3[1] 11 26 P3[2], M, I2C1 SCL
16 I/O M P1[3] M, P5[3] 12 25 P3[0], M, I2C1 SDA
13
14
15
16
17
18
19
20
21
22
23
24
17 I/O M P1[1] Crystal Input (XTALin), I2C0 Serial Clock
(SCL), ISSP-SCLK[5].
Vss
I2C0 SDA, M, P1[5]
M, P1[3]
M, P5[0]
M, P5[2]
18 Power Vss Ground connection.
19 I/O M P1[0] Crystal Output (XTALout), I2C0 Serial
Data (SDA), ISSP-SDATA[5].
20 I/O M P1[2] I2C1 Serial Data (SDA).[8]
21 I/O M P1[4] Optional External Clock Input
(EXTCLK).
22 I/O M P1[6] I2C1 Serial Clock (SCL).[8]
23 I/O M P5[0]
24 I/O M P5[2]
25 I/O M P3[0] I2C1 Serial Data (SDA).[8]
26 I/O M P3[2] I2C1 Serial Clock (SCL).[8]
27 I/O M P3[4]
28 I/O M P3[6]
29 Input XRES Active high external reset with internal
pull down.
30 I/O M P4[0]
31 I/O M P4[2] Pin Type Pin
Description
32 I/O M P4[4] No. Digital Analog Name
33 I/O M P4[6] 41 I/O I, M, S P0[6] Analog column mux and SAR ADC
input.[6]
34 I/O I, M P2[0] Direct switched capacitor block input.[11] 42 Power Vdd Supply voltage.
35 I/O I, M P2[2] Direct switched capacitor block input.[11] 43 I/O I, M, S P0[7] Analog column mux and SAR ADC
input.[6]
36 I/O M P2[4] External Analog Ground (AGND). 44 I/O I/O, M, P0[5] Analog column mux and SAR ADC
S input. Analog column output.[6, 7]
37 I/O M P2[6] External Voltage Reference (VRef). 45 I/O I/O, M, P0[3] Analog column mux and SAR ADC
S input. Analog column output.[6, 7]
38 I/O I, M, S P0[0]
Analog column mux and SAR ADC 46 I/O I, M, S P0[1] Analog column mux and SAR ADC
input.[6] input.[6]
39 I/O I/O, M, S P0[2] Analog column mux and SAR ADC input. 47 I/O M P2[7]
Analog column output.[6, 9]
40 I/O I/O, M, S P0[4] Analog column mux and SAR ADC input. 48 I/O M P2[5]
Analog column output.[6, 9]
LEGEND: A = Analog, I = Input, O = Output, S = SAR ADC Input, and M = Analog Mux Bus Input.
Note
12. The QFN package has a center pad that must be connected to ground (Vss)
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
Register Reference
This section lists the registers of the CY8C28xxx PSoC devices. For detailed register information, reference the
PSoC Programmable System-on-Chip Technical Reference Manual for CY8C28xxx PSoC devices.
L Logical register or bit(s) Note In the following register mapping tables, blank fields are
reserved and should not be accessed.
C Clearable register or bit(s)
# Access is bit specific
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
Electrical Specifications
This section presents the DC and AC electrical specifications of the CY8C28xxx PSoC devices. For the most up to date electrical
specifications, confirm that you have the most recent data sheet by going to the web at http://www.cypress.com/psoc.
Specifications are valid for -40oC ≤ TA ≤ 85oC and TJ ≤ 100oC, except where noted. Specifications for devices running at greater than
12 MHz are valid for -40oC ≤ TA ≤ 70oC and TJ ≤ 82oC.
Figure 7. Voltage versus CPU Frequency
5.25
Va rat on
4.75
O R eg
pe i
lid ing
Vdd Voltage
3.00
The following table lists the units of measure that are used in this section.
[+] Feedback
PRELIMINARY
CY8C28xxx
Operating Temperature
Table 10. Operating Temperature
[+] Feedback
PRELIMINARY
CY8C28xxx
DC Electrical Characteristics
DC Chip Level Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ TA ≤ 85°C, or 3.0V to 3.6V and -40°C ≤ TA ≤ 85°C, respectively. Typical parameters apply to 5V and 3.3V at 25°C and
are for design guidance only.
Note
13. Standby (sleep) current includes all functions (POR, LVD, WDT, Sleep Timer) needed for reliable system operation. This should be compared with devices that have
similar functions enabled.
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
Note
14. Atypical behavior: IEBOA of Port 0 Pin 0 is below 1 nA at 25°C; 50 nA over temperature. Use Port 0 Pins 1-7 for the lowest leakage of 200 nA.
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
Note
15. L1 = 2 uH inductor, C1 = 10 uF capacitor, D1 = Schottky diode. See Figure 8.
[+] Feedback
PRELIMINARY
CY8C28xxx
Vdd V PUMP
L1 C1
SMP
+
V BAT Battery PSoC TM
Vss
Note
16. AGND tolerance includes the offsets of the local buffer in the PSoC block.
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
Note See Application Note AN2012 “Adjusting PSoC Microcontroller Trims for Dual Voltage-Range Operation” for information on
trimming for operation at 3.3V.
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
Notes
17. Always greater than 50 mV above PPOR (PORLEV = 00) for falling supply.
18. Always greater than 50 mV above PPOR (PORLEV = 10) for falling supply.
[+] Feedback
PRELIMINARY
CY8C28xxx
DC Programming Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ TA ≤ 85°C, or 3.0V to 3.6V and -40°C ≤ TA ≤ 85°C, respectively. Typical parameters apply to 5V and 3.3V at 25°C and
are for design guidance only.
Note
19. A maximum of 36 x 50,000 block endurance cycles is allowed. This may be balanced between operations on 36x1 blocks of 50,000 maximum cycles each, 36x2
blocks of 25,000 maximum cycles each, or 36x4 blocks of 12,500 maximum cycles each (to limit the total number of cycles to 36x50,000 and that no single block ever
sees more than 50,000 cycles).
For the full industrial range, the user must employ a temperature sensor user module (FlashTemp) and feed the result to the temperature argument before writing.
Refer to the Flash APIs Application Note AN2015 at http://www.cypress.com under Application Notes for more information.
[+] Feedback
PRELIMINARY
CY8C28xxx
AC Electrical Characteristics
AC Chip-Level Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ TA ≤ 85°C, or 3.0V to 3.6V and -40°C ≤ TA ≤ 85°C, respectively. Typical parameters apply to 5V and 3.3V at 25°C and
are for design guidance only.
Notes
20. 4.75V < Vdd < 5.25V.
21. Accuracy derived from Internal Main Oscillator with appropriate trim for Vdd range.
22. 3.0V < Vdd < 3.6V. See Application Note AN2012 “Adjusting PSoC Microcontroller Trims for Dual Voltage-Range Operation” for information on trimming for operation
at 3.3V.
23. See the individual user module data sheets for information on maximum frequencies for user modules.
[+] Feedback
PRELIMINARY
CY8C28xxx
PLL
Enable
TPLLSLEW 24 MHz
FPLL
PLL
0
Gain
Figure 10. PLL Lock for Low Gain Setting Timing Diagram
PLL
Enable
TPLLSLEWLOW 24 MHz
FPLL
PLL
1
Gain
32K
Select 32 kHz
TOS
F32K2
Jitter24M1
F 24M
Jitter32k
F 32K2
[+] Feedback
PRELIMINARY
CY8C28xxx
90%
GPIO
Pin
Output
Voltage
10%
TRiseF TFallF
TRiseS TFallS
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
When bypassed by a capacitor on P2[4], the noise of the analog ground signal distributed to each block is reduced by a factor of up
to TBD (TBD dB). This is at frequencies above the corner frequency defined by the on-chip 8.1k resistance and the external capacitor.
Figure 15. Typical AGND Noise with P2[4] Bypass
TBD
At low frequencies, the opamp noise is proportional to 1/f, power independent, and determined by device geometry. At high
frequencies, increased power level reduces the noise spectrum level.
Figure 16. Typical Opamp Noise
TBD
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
Note
24. 50 ns minimum input pulse width is based on the input synchronizers running at 24 MHz (42 ns nominal period).
[+] Feedback
PRELIMINARY
CY8C28xxx
[+] Feedback
PRELIMINARY
CY8C28xxx
AC Programming Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ TA ≤ 85°C, or 3.0V to 3.6V and -40°C ≤ TA ≤ 85°C, respectively. Typical parameters apply to 5V and 3.3V at 25°C and
are for design guidance only.
Notes
25. Maximum CPU frequency is 12 MHz at 3.3V. With the CPU clock divider set to 1, the external clock must adhere to the maximum frequency and duty cycle requirements.
26. If the frequency of the external clock is greater than 12 MHz, the CPU clock divider must be set to 2 or greater. In this case, the CPU clock divider ensures that the fifty percent
duty cycle requirement is met.
27. For the full industrial range, the user must employ a temperature sensor user module (FlashTemp) and feed the result to the temperature argument before writing.
Refer to the Flash APIs Application Note, AN2015 at http://ww.cypress.com under Application Notes for more information.
[+] Feedback
PRELIMINARY
CY8C28xxx
AC I2C Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ TA ≤ 85°C, or 3.0V to 3.6V and -40°C ≤ TA ≤ 85°C, respectively. Typical parameters apply to 5V and 3.3V at 25°C and
are for design guidance only.
Figure 17. Definition for Timing for Fast/Standard Mode on the I2C Bus
SDA
TLOWI2C TSPI2C
TSUDATI2C THDSTAI2C TBUFI2C
SCL
TSUSTAI2C TSUSTOI2C
S THDSTAI2C THDDATI2C THIGHI2C Sr P S
Note
28. A Fast-Mode I2C-bus device can be used in a Standard-Mode I2C-bus system, but the requirement tSU;DAT Š 250 ns must then be met. This is automatically 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 trmax + tSU;DAT = 1000 + 250 = 1250 ns (according to the Standard-Mode I2C-bus specification) before the SCL line is released.
[+] Feedback
PRELIMINARY
CY8C28xxx
Packaging Information
This section illustrates the packaging specifications for the CY8C28xxx PSoC devices, along with the thermal impedances for each
package and the typical package capacitance on crystal pins.
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 drawings at http://www.cypress.com/design/MR10161.
Packaging Dimensions
Figure 18. 20-Pin (210-Mil) SSOP
51-85077 *C
[+] Feedback
PRELIMINARY
CY8C28xxx
51-85079*C
51-85064 *C
[+] Feedback
PRELIMINARY
CY8C28xxx
001-13191 *C
Important Note For information on the preferred dimensions for mounting QFN packages, see the following Application Note at
http://www.amkor.com/products/notes_papers/MLFAppNote.pdf.
Figure 22. 56-Pin SSOP Package
51-85062 *C
[+] Feedback
PRELIMINARY
CY8C28xxx
Thermal Impedances
Table 47. Thermal Impedances per Package
Notes
29. TJ = TA + POWER x θJA
30. Higher temperatures may be required based on the solder melting point. Typical temperatures for solder are 220 ± 5oC with Sn-Pb or 245 ± 5oC with Sn-Ag-Cu paste.
Refer to the solder manufacturer specifications.
[+] Feedback
PRELIMINARY
CY8C28xxx
Software
PSoC Designer CY3210-ExpressDK PSoC Express Development Kit
At the core of the PSoC development software suite is PSoC The CY3210-ExpressDK is for advanced prototyping and devel-
Designer. Utilized by thousands of PSoC developers, this robust opment with PSoC Express (may be used with ICE-Cube
software has been facilitating PSoC designs for over half a In-Circuit Emulator). It provides access to I2C buses, voltage
decade. PSoC Designer is available free of charge at reference, switches, upgradeable modules and more. The kit
http://www.cypress.com/psocdesigner. includes:
PSoC Programmer ■ PSoC Express Software CD
Flexible enough to be used on the bench in development, yet ■ Express Development Board
suitable for factory programming, PSoC Programmer works
■ 4 Fan Modules
either as a standalone programming application or it can operate
directly from PSoC Designer. PSoC Programmer software is ■ 2 Proto Modules
compatible with both PSoC ICE-Cube In-Circuit Emulator and
PSoC MiniProg. PSoC Programmer is available free of charge ■ MiniProg In-System Serial Programmer
at http://www.cypress.com/psocprogrammer. ■ MiniEval PCB Evaluation Board
PSoC C Compilers ■ Jumper Wire Kit
CY3202 is the optional upgrade to PSoC Designer that enables ■ USB 2.0 Cable
the iMAGEcraft C compiler. It can be purchased from the
Cypress Online Store. At http://www.cypress.com, click the ■ Serial Cable (DB9)
Online Store shopping cart icon at the bottom of the web page,
■ 110 ~ 240V Power Supply, Euro-Plug Adapter
and click PSoC (Programmable System-on-Chip) to view a
current list of available items. ■ 2 CY8C24423A-24PXI 28-PDIP Chip Samples
Development Kits ■ 2 CY8C27443-24PXI 28-PDIP Chip Samples
All development kits can be purchased from the Cypress Online ■ 2 CY8C29466-24PXI 28-PDIP Chip Samples
Store.
Evaluation Tools
CY3215-DK Basic Development Kit
All evaluation tools can be purchased from the Cypress Online
The CY3215-DK is for prototyping and development with PSoC Store.
Designer. This kit supports in-circuit emulation and the software
interface allows users to run, halt, and single step the processor CY3210-MiniProg1
and view the content of specific memory locations. Advanced The CY3210-MiniProg1 kit allows a user to program PSoC
emulation features are supported in PSoC Designer. The kit devices via the MiniProg1 programming unit. The MiniProg is a
includes: small, compact prototyping programmer that connects to the PC
■ PSoC Designer Software CD via a provided USB 2.0 cable. The kit includes:
■ Pod kit for CY8C29x66 PSoC Family ■ MiniEval Socket Programming and Evaluation Board
■ USB 2.0 Cable and Blue Cat-5 Cable ■ USB 2.0 Cable
[+] Feedback
PRELIMINARY
CY8C28xxx
Notes
31. Pod kit contains an emulation pod, a flex-cable (connects the pod to the ICE), two feet, and device samples.
32. Foot kit includes surface mount feet that can be soldered to the target PCB.
33. Programming adapter converts non-DIP package to DIP footprint. Specific details and ordering information for each of the adapters can be found at
http://www.emulation.com.
[+] Feedback
PRELIMINARY
CY8C28xxx
Ordering Information
The following table lists the CY8C28xxx PSoC devices key package features and ordering codes.
Analog Outputs
Digital I/O Pins
Ordering Code
Flash (KBytes)
RAM (KBytes)
Analog Inputs
Digital Blocks
Decimators
CapSense
XRES Pin
Package
HW I2C
28-Pin (210 Mil) SSOP CY8C28403-24PVXI -40 to 85 N 12 0 0 2 0 Y 24 8 0 16 1 Y
[+] Feedback
PRELIMINARY
CY8C28xxx
Analog Outputs
Digital I/O Pins
Ordering Code
Flash (KBytes)
RAM (KBytes)
Analog Inputs
Digital Blocks
Decimators
CapSense
XRES Pin
Package
HW I2C
44-Pin TQFP (Tape CY8C28545-24AXIT -40 to 85 Y 12 12 4 2 4 Y 40 40 4 16 1 Y
and Reel)
Note For Die sales information, contact a local Cypress sales office or Field Applications Engineer (FAE).
[+] Feedback
PRELIMINARY
CY8C28xxx
Products
PSoC psoc.cypress.com
Clocks & Buffers clocks.cypress.com
Wireless wireless.cypress.com
Memories memory.cypress.com
Image Sensors image.cypress.com
© Cypress Semiconductor Corporation, 2008-2009. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of
any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for
medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as
critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems
application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign),
United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of,
and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress
integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without
the express written permission of Cypress.
Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not
assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where
a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress’ product in a life-support systems application implies that the manufacturer
assumes all risk of such use and in doing so indemnifies Cypress against all charges.
Use may be limited by and subject to the applicable Cypress software license agreement.
[+] Feedback