❐ 256 Bytes SRAM Data Storage
❐ In-System Serial Programming (ISSP™)
❐ Partial Flash Updates
❐ Flexible Protection Modes
❐ EEPROM Emulation in Flash
■ Programmable Pin Configurations
❐ 25 mA Sink on all GPIO
❐ Pull up, Pull down, High Z, Strong, or Open Drain Drive
Modes on all GPIO
❐ Up to 10 Analog Inputs on GPIO
❐ Two 30 mA Analog Outputs on GPIO
❐ Configurable Interrupt on all GPIO
■ Additional System Resources
2
❐ I
C™ Slave, Master, and Multi-Master to 400 kHz
❐ Watchdog and Sleep Timers
❐ User-Configurable Low Voltage Detection
❐ Integrated Supervisory Circuit
❐ On-Chip Precision Voltage Reference
■ Complete Development Tools
❐ Free Development Software (PSoC Designer™)
❐ Full-Featured, In-Circuit Emulator and Programmer
❐ Full Speed Emulation
❐ Complex Breakpoint Structure
❐ 128K Bytes Trace Memory
Cypress Semiconductor Corporation•198 Champion Court•San Jose, CA 95134-1709•408-943-2600
Document Number: 38-12011 Rev. *G Revised December 11, 2008
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
PSoC® Functional Overview
DIGITAL SYSTEM
To System Bus
D
i
g
i
t
a
l
C
l
o
c
k
s
F
r
o
m
C
o
r
e
Digital PSoC Block Array
To Analog
System
8
Row Input
Configuration
Row Output
Configuration
88
8
Row 0
DBB00 DBB01 DCB02 DCB03
4
4
GIE[7:0]
GIO[7:0]
GOE[7:0]
GOO[7:0]
Global Digital
Interconnect
Port 2Port 1Port 0
The PSoC® family consists of many Mixed Signal Array with
On-Chip Controller devices. These devices are designed to
replace multiple traditional MCU-based system components with
one, low cost single-chip programmable device. PSoC devices
include configurable blocks of analog and digital logic, and
Digital System
The Digital System is composed of four digital PSoC blocks.
Each block is an 8-bit resource that can be used alone or
combined with other blocks to form 8, 16, 24, and 32-bit
peripherals, which are called user module references.
Figure 1. Digital System Block Diagram
programmable interconnects. This architecture allows the user
to create customized peripheral configurations that 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 and
packages.
The PSoC architecture, as shown in the Logic Block Diagram on
page 1, is comprised of four main areas: PSoC Core, Digital
System, Analog System, and System Resources. Configurable
global busing allows all the device resources to be combined into
a complete custom system. The PSoC CY8C24x23 family can
have up to three IO ports that connect to the global digital and
analog interconnects, providing access to four digital blocks and
6 analog blocks.
PSoC Core
The PSoC Core is a powerful engine that supports a rich feature
set. The core includes a CPU, memory , clocks, and configurable
GPIO (General Purpose IO).
The M8C CPU core is a powerful processor with speeds up to
24 MHz, providing a four MIPS 8-bit Harvard architecture
microprocessor. The CPU uses an interrupt controller with 11
vectors, to simplify programming of real time embedded events.
Program execution is timed and protected using the included
Sleep and Watch Dog Timers (WDT).
Memory encompasses 4 KB of Flash for program storage, 256
bytes of SRAM for data storage, and up to 2 KB of EEPROM
emulated using the Flash. Program Flash uses four protection
levels on blocks of 64 bytes, allowing customized software IP
protection.
The PSoC device incorporates flexible internal clock generators,
including a 24 MHz IMO (internal main oscillator) accurate to
2.5% over temperature and voltage. The 24 MHz IMO can also
be doubled to 48 MHz for use by the digital system. A low power
32 kHz ILO (internal low speed oscillator) is provided for the
Sleep timer and WDT. If crystal accuracy is desired, the ECO
(32.768 kHz external crystal oscillator) is available for use as a
Real Time Clock (RTC) and can optionally generate a
crystal-accurate 24 MHz system clock using a PLL. The clocks,
together with programmable clock dividers (as a System
Resource), provide the flexibility to integrate almost any timing
requirement into the PSoC device.
PSoC GPIOs provide connection to the CPU, digital and analog
resources of the device. Each pin’s drive mode may be selected
from eight options, allowing great flexibility in external interfacing. Every pin also has the capability to generate a system
interrupt on high level, low level, and change from last read.
Digital peripheral configurations include:
■ PWMs (8 to 32 bit)
■ PWMs with Dead band (8 to 32 bit)
■ Counters (8 to 32 bit)
■ Timers (8 to 32 bit)
■ UART 8-bit with selectable parity (up to one)
■ SPI master and slave (up to one)
■ I2C slave and master (one available as a System Resource)
■ Cyclical Redundancy Checker/Generator (8 to 32 bit)
■ IrDA (up to one)
■ Pseudo Random Sequence Generators (8 to 32 bit)
The digital blocks can be connected to any GPIO through a
series of global buses that can route any signal to any pin. The
buses also allow for signal multiplexing and for performing logic
operations. This configurability frees your designs from the
constraints of a fixed peripheral controller.
Digital blocks are provided in rows of four, where the number of
blocks varies by PSoC device family. This allows the optimum
choice of system resources for your application. Family
resources are listed in the table PSoC Device Characteristics on
page 4.
Document Number: 38-12011 Rev. *GPage 2 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Analog System
ACB00ACB01
Block Array
Array Input Configuration
ACI1[1:0]
ASD20
ACI0[1:0]
P0[6]
P0[4]
P0[2]
P0[0]
P2[2]
P2[0]
P2[6]
P2[4]
RefIn
AGNDIn
P0[7]
P0[5]
P0[3]
P0[1]
P2[3]
P2[1]
Reference
Generators
AGNDIn
RefIn
Bandgap
RefHi
RefLo
AGND
ASD11
ASC21
ASC10
Interface to
Digital System
M8C Interface (Address Bus, Data Bus, Etc.)
Analog Reference
The Analog System is composed of six configurable blocks, each
comprised of an opamp circuit allowing the creation of complex
analog signal flows. Analog peripherals are very flexible and can
be customized to support specific application requirements.
Some of the more common PSoC analog functions (most
available as user modules) are:
■ Analog-to-digital converters (up to two, with 6 to 14-bit
resolution, selectable as Incremental, Delta Sigma, and SAR)
■ Filters (two and four pole band-pass, low-pass, and notch)
■ Amplifiers (up to two, with selectable gain to 48x)
■ Instrumentation amplifiers (one with selectable gain to 93x)
■ Comparators (up to two, with 16 selectable thresholds)
■ DACs (up to two, with 6 to 9-bit resolution)
■ Multiplying DACs (up to two, with 6- to 9-bit resoluti on)
■ High current output drivers (two with 30 mA drive as a Core
Resource)
■ 1.3V reference (as a System Resource)
■ DTMF dialer
■ Modulators
■ Correlators
■ Peak detectors
■ Many other topologies possible
Analog blocks are provided in columns of three, which includes
one CT (Continuous Time) and two SC (Switched Capacitor)
blocks. The number of blocks is dependant on the device family
which is detailed in the table PSoC Device Characteristics on
page 4.
Figure 2. Analog System Block Diagram
Document Number: 38-12011 Rev. *GPage 3 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Additional System Resources
System Resources, some of which have been previously listed,
provide additional capability useful to complete systems.
Additional resources include a multiplier, decimator, switch mode
pump, low voltage detection, and power on reset. Brief statements describing the merits of each system resource follow:
■ Digital clock dividers provide three customizable clock
frequencies for use in applications. The clocks can be routed
to both the digital and analog systems. Additional clocks can
be generated using digital PSoC blocks as clock dividers.
■ A multiply accumulate (MAC) provides a fast 8-bit multiplier
with 32-bit accumulate, to assist in both general math and
digital filters.
■ The decimator provides a custom hardware filter for digital
signal processing applications including the creation of Delta
Sigma ADCs.
■ The I2C module provides 100 and 400 kHz communication over
two wires. Slave, master, and multi-master modes are all
supported.
■ Low Voltage Detection (LVD) interrupts can signal the appli-
cation of falling voltage levels, while the advanced POR (Power
On Reset) circuit eliminates the need for a system supervisor.
■ An internal 1.3V reference provides an absolute reference for
the analog system, including ADCs and DACs.
■ An integrated switch mode pump (SMP) generates normal
operating voltages from a single 1.2V battery cell, providing a
low cost boost converter.
PSoC Device Characteristics
Depending on your PSoC device characteristics, the digital and
analog systems can have 16, 8, or 4 digital blocks and 12, 6, or
3 analog blocks. The following table lists the resources available
for specific PSoC device groups.
Table 1. PSoC Device Characteristics
PSoC Part
Number
CY8C29x66 up to 64416124412
CY8C27x66
CY8C27x43
IO
Digital
Rows
Digital
Digital
up to 4428124412
up to 4428124412
Blocks
Inputs
Analog
Analog
Outputs
Analog
Columns
Analog
Getting Started
The quickest path to understanding the PSoC silicon is by
reading this data sheet and using 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 information, refer the PSoC Programmable Sytem-on-Chip Technical Reference Manual.
For up-to-date Ordering, Packaging, and Electrical Specification
information, refer the latest PSoC device data sheets on the web
at http://www.cypress.com/psoc.
Development Kits
Development Kits are available from the following distributors:
Digi-Key, Avnet, Arrow, and Future. The Cypress Online Store
contains development kits, C compilers, and all accessories for
PSoC development. Go to the Cypress Online Store web site at
http://www.cypress.com, click the Online Store shopping cart
icon at the bottom of the web page, and click PSoC (Program-mable System-on-Chip) to view a current list of available items.
Technical Training
Free PSoC technical training is available for beginners and is
taught by a marketing or application engineer over the phone.
PSoC training classes cover designing, debugging, advanced
analog, and application-specific classes covering topics, such as
PSoC and the LIN bus. Go to http://www.cypress.com, click on
Design Support located on the left side of the web page, and
select Technical Training for more details.
Consultants
Certified PSoC Consultants offer everything from technical
assistance to completed PSoC designs. To contact or become a
PSoC Consultant go to http://www.cypress.com, click on Design
Support located on the left side of the web page, and select
CYPros Consultants.
Technical Support
PSoC application engineers take pride in fast and accurate
response. They can be reached with a 4-hour guaranteed
response at http://www.cypress.com/support.
Blocks
Application Notes
A long list of application notes can assist you in every aspect of
your design effort. To view the PSoC application notes, go to the
http://www.cypress.com web site and select Application Notes
under the Design Resources list located in the center of the web
page. Application notes are listed by date as default.
CY8C24x23 up to 241412226
CY8C22x13
Document Number: 38-12011 Rev. *GPage 4 of 43
up to 16148113
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Development Tools
Commands
Results
PSoC
TM
Designer
Core
Engine
PSoC
Configuration
Sheet
Manufacturing
Information
File
Device
Database
Importable
Design
Database
Device
Programmer
Graphical Designer
Interface
Context
Sensitive
Help
Emulation
Pod
In-Circuit
Emulator
Project
Database
Application
Database
User
Modules
Library
PSoCTM
Designer
The Cypress MicroSystems PSoC Designer is a Microsoft
Windows-based, integrated development environment for the
Programmable System-on-Chip (PSoC) devices. The PSoC
Designer IDE and application runs on Windows 98, Windows NT
4.0, Windows 2000, Windows Millennium (Me), or Windows XP
(refer Figure 3).
PSoC Designer helps the customer to select an operating
configuration for the PSoC, write application code that uses the
PSoC, and debug the application. This system provides design
database management by project, an integrated debugger with
In-Circuit Emulator, in-system programming support, and the
CYASM macro assembler for the CPUs.
PSoC Designer also supports a high-level C language compiler
developed specifically for the devices in the family.
Figure 3. PSoC Designer Subsystems
PSoC Designer Software Subsystems
®
Device Editor
The Device Editor subsystem allows the user to select different
onboard analog and digital components called user modules
using the PSoC blocks. Examples of user modules are ADCs,
DACs, Amplifiers, and Filters.
The device editor also supports easy development of multiple
configurations and dynamic reconfiguration. Dynamic
configuration allows for changing configurations at run time.
PSoC Designer sets up power on initialization tables for selected
PSoC block configurations and creates source code for an
application framework. The framework contains software to
operate the selected components and, if the project uses more
than one operating configuration, contains routines to switch
between different sets of PSoC block configurations at run time.
PSoC Designer can print out a configuration sheet for a given
project configuration for use during application programming in
conjunction with the Device Data Sheet. After the framework is
generated, the user can add application-specific code to flesh
out the framework. It is also possible to change the selected
components and regenerate the framework.
Design Browser
The Design Browser allows users to select and imp ort preconfigured designs into the user’s project. Users can easily browse
a catalog of preconfigured designs to facilitate time-to-design.
Examples provided in the tools include a 300-baud modem, LIN
Bus master and slave, fan controller, and magnetic card reader.
Application Editor
In the Application Editor you can edit your C language and
Assembly language source code. You can also assemble,
compile, link, and build.
Assembler. The macro assembler allows the assembly code to
be merged seamlessly with C code. The link libraries automatically use absolute addressing or can be compiled in relative
mode, and linked with other software modules to get absolute
addressing.
C Language Compiler. A C language compiler is available that
supports Cypress MicroSystems’ PSoC family devices. Even if
you have never worked in the C language before, the product
quickly allows you to create complete C programs for the PSoC
family devices.
The embedded, optimizing C compiler provides all th e features
of C tailored to the PSoC architecture. It comes complete with
embedded libraries providing port and bus operations, standard
keypad and display support, and extended math functionality.
Document Number: 38-12011 Rev. *GPage 5 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Debugger
The PSoC Designer Debugger subsystem provides hardware
in-circuit emulation, allowing the designer 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.
Hardware Tools
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 the parallel or 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.
Figure 4. PSoC Development Tool Kit
User Modules and the PSoC Development
Process
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.
Each block has several registers that determine its function and
connectivity to other blocks, multiplexers, buses and to the IO
pins. Iterative development cycles permit you to adapt the
hardware as well as the software. This substantially lowers the
risk of having to select a different part to meet the final design
requirements.
To speed the development process, the PSoC Designer
Integrated Development Environment (IDE) provides a library of
pre-built, pre-tested hardware peripheral functions, called “User
Modules.” User modules make selecting and implementing
peripheral devices simple, and come in analog, digital, and
mixed signal varieties. The standard User Module library
contains over 50 common peripherals such as ADCs, DACs
Timers, Counters, UARTs, and other not-so common peripherals
such as DTMF Generators and Bi-Quad analog filter sections.
Each user module establishes the basic register settings that
implement the selected function. It also provides parameters that
allow you to tailor its precise configuration to your particular
application. For example, a Pulse Width Modulator 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. User modules also
provide tested software to cut your development time. The user
module application programming interface (API) provides
high-level functions to control and respond to hardware events
at run-time. The API also provides optional interrupt service
routines that you can adapt as needed.
The API functions are documented in user module data sheets
that are viewed directly in the PSoC Designer IDE. These data
sheets explain the internal operation of the user module and
provide performance specifications. Each data sheet describes
the use of each user module parameter and documents the
setting of each register controlled by the user module.
The development process starts when you open a new project
and bring up the Device Editor, a pictorial environment (GUI) for
configuring the hardware. You pick the user modules you need
for your project and map them onto the PSoC blocks with
point-and-click simplicity. Next, you build signal chains by interconnecting user modules to each other and the IO pins. At this
stage, you also configure the clock source connections and enter
parameter values directly or by selecting values from drop-down
menus. When you are ready to test the hardware configuration
or move on to developing code for the project, you perform the
“Generate Application” step. This causes PSoC Designer to
generate source code that automatically configures the device to
your specification and provides the high-level user module API
functions.
Document Number: 38-12011 Rev. *GPage 6 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Figure 5. User Module and Source Code Development Flows
Debugger
Interface
to ICE
Application Editor
Device Editor
Project
Manager
Source
Code
Editor
Storage
Inspector
User
Module
Selection
Placement
and
Parameter
-ization
Generate
Application
Build
All
Event &
Breakpoint
Manager
Build
Manager
Source
Code
Generator
The next step is to write your main program, and any
sub-routines using PSoC Designer’s Application Editor
subsystem. The Application Editor includes a Project Manager
that allows you to open the project source code files (includ ing
all generated code files) from a hierarchal view. The source code
editor provides syntax coloring and advanced edit features for
both C and assembly language. File search capabilities include
simple string searches and recursive “grep-style” patterns. A
single mouse click invokes the Build Manager. It employs a
professional-strength “makefile” system to automatically analyze
all file dependencies and run the compiler and assembler as
necessary. Project-level options control optimization strategies
used by the compiler and linker. Syntax errors are displayed in a
console window. Double clicking the error message takes you
directly to the offending line of source code. When all is correct,
the linker builds a ROM file image suitable for programming.
The last step in the development process takes place inside the
PSoC Designer’s Debugger subsystem. The Debugger
downloads the ROM image to the In-Circuit Emulator (ICE)
where it runs at full speed. Debugger capabilities rival those of
systems costing many times more. In addition to traditional
single-step, run-to-breakpoint and watch-variable features, the
Debugger provides a large trace buffer and allows you define
complex breakpoint events that include monitoring address and
data bus values, memory locations and external signals.
Document Conventions
Acronyms Used
The following table lists the acronyms that are used in this
document.
Table 2. Acronyms
AcronymDescription
ACalternating current
ADCanalog-to-digital converter
APIapplication programming interface
CPUcentral processing unit
CTcontinuous time
DACdigital-to-analog converter
DCdirect current
EEPROM el ectrically erasable programmable read-only
memory
FSRfull scale range
GPIOgeneral purpose IO
IOinput/output
IPORimprecise power on reset
LSbleast-significant bit
LVDlow voltage detect
MSbmost-significant bit
PCprogram counter
PORpower on reset
PPORprecision power on reset
A units of measure table is located in the Electrical Specifications
section. Table 7 on page 11 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’ or ‘b’ are decimal.
Programmable System-on-Chip
Document Number: 38-12011 Rev. *GPage 7 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Pinouts
PDIP
SOIC
1
2
3
4
8
7
6
5
Vdd
P0[4], AI
P0[2], AI
P1[0], XTALout, I2C SDA
AIO, P0[5]
AIO, P0[3]
I2C SCL, XTALin, P1[1]
Vss
AI, P0[7]
AIO, P0[5]
AIO, P0[3]
AI, P0[1]
SMP
I2C SCL, P1[7]
I2C SDA, P1[5]
P1[3]
I2C SCL, XTALin, P1[1]
Vss
PDIP
SSOP
SOIC
20
19
18
17
16
15
14
13
12
11
1
2
3
4
5
6
7
8
9
10
Vdd
P0[6], AI
P0[4], AI
P0[2], AI
P0[0], AI
XRES
P1[6]
P1[4], EXTCLK
P1[2]
P1[0], XTALout, I2C SDA
The CY8C24x23 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. However, Vss, Vdd, SMP, and XRES are not capable of Digital IO.
8-Pin Part Pinout
Table 3. 8-Pin Part Pinout (PDIP, SOIC)
Pin
No.
1IOIOP0[5]Analog column mux input and column output
2IOIOP0[3]Analog column mux input and column output
3IOP1[1]Crystal Input (XTALin), I2C Serial Clock (SCL)
4PowerVssGround connection
5IOP1[0]Crystal Output (XT ALout), I2C Serial Data (SDA)
6IOIP0[2]Analog column mux input
7IOIP0[4]Analog column mux input
8PowerVddSupply voltage
LEGEND: A = Analog, I = Input, and O = Output.
20-Pin Part Pinout
Table 4. 20-Pin Part Pinout (PDIP, SSOP, SOIC)
Pin
No.
1IOIP0[7]Analog column mux input
2IOIOP0[5]Analog column mux input and column output
3IOIOP0[3]Analog column mux input and column output
4IOIP0[1]Analog column mux input
5PowerSMPSwitch Mode Pump (SMP) connection to external
6IOP1[7]I2C Serial Clock (SCL
7IOP1[5]I2C Serial Data (SDA)
8IOP1[3]
9IOP1[1]Crystal Input (XTALin), I2C Serial Clock (SCL)
10PowerVssGround connection
11IOP1[0]Crystal Output (XT ALout), I2C Serial Data (SDA)
12IOP1[2]
13IOP1[4]Optional External Clock Input (EXTCLK)
14IOP1[6]
15InputXRES Active high external reset with internal pull down
16IOIP0[0]Analog column mux input
17IOIP0[2]Analog column mux input
18IOIP0[4]Analog column mux input
19IOIP0[6]Analog column mux input
20PowerVddSupply voltage
LEGEND: A = Analog, I = Input, and O = Output.
Document Number: 38-12011 Rev. *GPage 8 of 43
Type
Digital Analog
Type
Digital Analog
Pin
Name
Pin
Name
components required
Description
Description
Figure 6. CY8C24123 8-Pin PSoC Device
Figure 7. CY8C24223 20-Pin PSoC Device
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
28-Pin Part Pinout
AI, P0[7]
AIO, P0[5]
AIO, P0[3]
AI, P0[1]
P2[7]
P2[5]
AI, P2[3]
AI, P2[1]
SMP
I2C SCL, P1[7]
I2C SDA, P1[5]
P1[3]
I2C SCL, XTALin, P1[1]
Vss
Vdd
P0[6], AI
P0[4], AI
P0[2], AI
P0[0], AI
P2[6], External VRef
P2[4], External AGND
P2[2], AI
P2[0], AI
XRES
P1[6]
P1[4], EXTCLK
P1[2]
P1[0], XTALout, I2C SDA
PDIP
SSOP
SOIC
1
2
3
4
5
6
7
8
9
10
11
12
13
14
28
27
26
25
24
23
22
21
20
19
18
17
16
15
Table 5. 28-Pin Part Pinout (PDIP, SSOP, SOIC)
Pin
No.
1IOIP0[7]Analog column mux input
2IOIOP0[5]Analog column mux input and column
P2[6], External VRef
P2[4], External AGND
P2[2], AI
P2[0], AI
32-Pin Part Pinout
Table 6. 32-Pin Part Pinout (MLF*)
Pin
No.
1IOP2[7]
2IOP2[5]
3IOIP2[3]Direct switched cap acitor block input
4IOIP2[1]Direct switched cap acitor block input
5PowerVssGround connection
6PowerSMPSwitch Mode Pump (SMP)
7IOP1[7]I2C Serial Clock (SCL)
8IOP1[5]I2C Serial Data (SDA)
9NCNo connection. Do not use.
10IOP1[3]
11IOP1[1]Crystal Input (XTALin), I2C Serial
12PowerVssGround connection
13IOP1[0]Crystal Output (XTALout), I2C Serial
14IOP1[2]
15IOP1[4 ]Optional External Clock Input
16NCNo connection. Do not use.
17IOP1[6]
18InputXRES Active high external reset with
19IOIP2[0] Direct switched capacitor block input
20IOIP2[2] Direct switched capacitor block input
21IOP2[4] External Analog Ground (AGND)
22IOP2[6] External Voltage Reference (VRef)
23IOIP0[0] Analog column mux input
24IOIP0[2] Analog column mux input
25NCNo connection. Do not use.
26IOIP0[4] Analog column mux input
27IOIP0[6] Analog column mux input
28PowerVddSupply voltage
29IOIP0[7] Analog column mux input
30IOIOP0[5] Analog column mux input and
31IOIOP0[3] Analog column mux input and
32IOIP0[1] Analog column mux input
LEGEND: A = Analog, I = Input, and O = Output.
* The MLF package has a center pad that must be connected to the same ground as the
Vss pin.
Type
Digital Analog
Pin
Name
Description
connection to external components
required
Clock (SCL)
Data (SDA)
(EXTCLK)
internal pull down
column output
column output
Figure 9. CY8C24423 32-Pin PSoC Device
Document Number: 38-12011 Rev. *GPage 10 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Register Reference
This section lists the registers of the CY8C27xxx PSoC device
by way of mapping tables, in offset order. For detailed register
information, reference the PSoC ProgrammableSystem-on-Chip Technical Reference Manual.
Register Conventions
Abbreviations Used
The register conventions specific to this section are listed in the
following table.
Table 7. Abbreviations
ConventionDescription
RWRead and write register or bit(s)
RRead register or bit(s)
WWrite register or bit(s)
LLogical register or bit(s)
CClearable register or bit(s)
#Access is bit specific
Register Mapping Tables
The PSoC device has a total register address space of 512
bytes. The register space is also referred to as IO space and is
broken into two parts. The XOI bit in the Flag register determines
which bank the user is currently in. When the XOI bi t is set, the
user is said to be in the “extended” address space or the “configuration” registers.
Note In the following register mapping tables, blank fields are
Reserved and must not be accessed.
μAmicro amperepppeak-to-peak
μFmicro faradppmparts per million
μHmicro henrypspicosecond
μsmicrosecondspssamples per second
μVmicro voltsssigma: one st andard deviation
μVrmsmicro volts root-mean-squareVvolts
Document Number: 38-12011 Rev. *GPage 15 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Absolute Maximum Ratings
Exceeding maximum ratings may shorten the useful life of the device. User guidelines are not tested.
Table 11. Absolute Maximum Ratings
SymbolDescriptionMinTypMaxUnitsNotes
T
T
STG
A
Storage Temperature -55–+100
Ambient Temperature with Power Applied-40–+85
o
CHigher storage temperatures
reduce data retention time.
o
C
VddSupply Voltage on Vdd Relative to Vss-0.5–+6.0V
V
IO
DC Input VoltageVss - 0.5–Vdd + 0.5V
–DC Voltage Applied to Tri-stateVss - 0.5–Vdd + 0.5V
I
MIO
I
MAIO
Maximum Current into any Port Pin-25–+50mA
Maximum Current into any Port Pin Configured
-50–+50mA
as Analog Driver
–Static Discharge Voltage2000––V
–Latch-up Current––200mA
Operating Temperature
Table 12. Operating Temperature
SymbolDescriptionMinTypMaxUnitsNotes
T
A
T
J
Ambient Temperature-40–+85
Junction Temperature-40–+100
o
C
o
CThe temperature rise from ambient
to junction is package specific. See
Thermal Impedances per Package
on page 41. The user must limi t the
power consumption to comply with
this requirement.
Document Number: 38-12011 Rev. *GPage 16 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
DC Electrical Characteristics
DC Chip-Level Specifications
The following table lists guaranteed maximum and min imum specificat ions for the voltage and tempera ture ranges: 4.75V to 5.25V
and -40°C ≤ T
are for design guidance only or unless otherwise specified.
Table 13. DC Chip-Level Specifications
SymbolDescriptionMinTypMaxUnitsNotes
VddSupply Voltage3.00–5.25V
I
DD
I
DD3
I
SB
I
SBH
I
SBXTL
I
SBXTLH
V
REF
a. Standby current includes all functions (POR, LVD, WDT , Sleep Time) needed for reliable system operation. This must be compared with devices that have similar
functions enabled.
≤ 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
A
Supply Current–58mAConditions are Vdd = 5.0V, 25 oC,
Reference Voltage (Bandgap)1.2751.31.325VTrimmed for appropriate Vdd.
C
Document Number: 38-12011 Rev. *GPage 17 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
DC General Purpose IO Specifications
The following table lists guaranteed maximum and min imum specificat ions for the voltage and tempera ture ranges: 4.75V to 5.25V
and -40°C ≤ T
are for design guidance only or unless otherwise specified.
≤ 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
A
Table 14. DC GPIO Specifications
SymbolDescriptionMinTypMaxUnitsNotes
R
PU
R
PD
V
OH
Pull up Resistor45.68kΩ
Pull down Resistor45.68kΩ
High Output LevelVdd - 1.0––VIOH = 10 mA, Vdd = 4.75 to 5.25V
Input Low Level––0.8VVdd = 3.0 to 5.25
Input High Level2.1–VVdd = 3.0 to 5.25
Input Hysterisis–60–mV
Input Leakage (Absolute Value)–1–nAGross tested to 1 μA
Capacitive Load on Pins as Input–3.510pFPackage and pin dependent.
Temp = 25
Capacitive Load on Pins as Output–3.510pFPackage and pin dependent.
Temp = 25
o
C
o
C
DC Operational Amplifier Specifications
The following tables list guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ T
are for design guidance only or unless otherwise specified.
≤ 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
A
The Operational Amplifier is a component of both the Analog Continuous Time PSoC blocks and the Analog Switched Cap PSoC
blocks. The guaranteed specifications are measured in the Analog Continuous Time PSoC block. Typical parameters apply to 5V at
25°C and are for design guidance only.
Table 15. 5V DC Operational Amplifier Specifications
SymbolDescriptionMinTypMaxUnitsNotes
V
OSOA
TCV
I
EBOA
C
INOA
V
CMOA
Input Offset Voltage (absolute value) Low Power –1.610 mV
Input Offset Voltage (absolute value) Mid Power–
Input Offset Voltage (absolute value) High Power–
Average Input Offset Voltage Drift–7.035.0μV/oC
OSOA
1.38mV
1.27.5mV
Input Leakage Current (Port 0 Analog Pins)–20–pAGross tested to 1 μA.
Input Capacitance (Port 0 Analog Pins)–4.59.5pFPackage and pin
dependent.
Temp = 25
Common Mode Voltage Range
Common Mode Voltage Range (high power or high
opamp bias)
0.0–Vdd
0.5–
Vdd - 0.5
VThe common-mode input
voltage range is
measured through an
o
C.
analog output buffer. The
specification includes the
limitations imposed by
the characteristics of the
analog output buffer.
Document Number: 38-12011 Rev. *GPage 18 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Table 15. 5V DC Operational Amplifier Specifications (continued)
SymbolDescriptionMinTypMaxUnitsNotes
G
OLOA
Open Loop Gain
Power = Low
Power = Medium
Power = High
60
60
80
––dBSpecification is appli-
cable at high power. For
all other bias modes
(except high power , hi gh
opamp bias), minimum is
60 dB.
V
OHIGHOA
V
OLOWOA
I
SOA
PSRR
High Output Voltage Swing (worst case internal load)
Power = Low
Power = Medium
Power = High
Vdd - 0.2
Vdd - 0.2
Vdd - 0.5
–
–
–
Low Output Voltage Swing (worst case internal load)
Power = Low
Power = Medium
Power = High
–
–
–
–
–
–
Supply Current (including associated AGND buffer)
Power = Low
Power = Low, Opamp Bias = High
Power = Medium
Power = Medium, Opamp Bias = High
Power = High
Power = High, Opamp Bias = High
Supply Voltage Rejection Ratio60––dB
OA
–
–
–
–
–
–
150
300
600
1200
2400
4600
1600
3200
6400
–
–
–
0.2
0.2
0.5
200
400
800
V
V
V
V
V
V
μA
μA
μA
μA
μA
μA
Document Number: 38-12011 Rev. *GPage 19 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Table 16. 3.3V DC Operational Amplifier Specifications
SymbolDescriptionMinTypMaxUnitsNotes
V
OSOA
Input Offset Voltage (absolute value) Low Power
Input Offset Voltage (absolute value) Mid Power
–
–
1.65
1.32
10
8
mV
mV
High Power is 5 Volt Only
TCV
I
EBOA
C
INOA
V
CMOA
Average Input Offset Voltage Drift–7.035.0μV/oC
OSOA
Input Leakage Current (Port 0 Analog Pins)–20–pAGross tested to 1 μA.
Input Capacitance (Port 0 Analog Pins)–4.59.5pFPackage and pin
dependent. T emp = 25
Common Mode Voltage Range0.2–Vdd - 0.2VThe common-mode input
voltage range is
measured through an
analog output buffer. The
specification includes the
limitations imposed by the
characteristics of the
analog output buffer.
G
OLOA
Open Loop Gain
Power = Low
Power = Medium
Power = High
60
60
80
––dBS pecification is applicable
at high power. For all
other bias modes (except
high power, high opamp
bias), minimum is 60 dB.
V
OHIGHOA
V
OLOWOA
I
SOA
PSRR
High Output Voltage Swing (worst case internal load)
Power = Low
Power = Medium
Power = High is 5V only
Vdd - 0.2
Vdd - 0.2
Vdd - 0.2
–
–
–
Low Output Voltage Swing (worst case internal load)
Power = Low
Power = Medium
Power = High
–
–
–
–
–
–
Supply Current (including associated AGND buffer)
Power = Low
Power = Low, Opamp Bias = High
Power = Medium
Power = Medium, Opamp Bias = High
Power = High
Power = High, Opamp Bias = High
Supply Voltage Rejection Ratio50––dB
OA
–
–
–
–
–
–
150
300
600
1200
2400
4600
1600
3200
6400
–
–
–
0.2
0.2
0.2
200
400
800
V
V
V
V
V
V
μA
μA
μA
μA
μA
μA
o
C.
Document Number: 38-12011 Rev. *GPage 20 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
DC Analog Output Buffer Specifications
The following tables list guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ T
are for design guidance only or unless otherwise specified.
≤ 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
A
Table 17. 5V DC Analog Output Buffer Specifications
SymbolDescriptionMinTypMaxUnits
V
OSOB
TCV
V
CMOB
R
OUTOB
V
OHIGHOB
V
OLOWOB
I
SOB
PSRR
Input Offset Voltage (Absolute Value)–312mV
Average Input Offset Voltage Drift–+6–μV/°C
OSOB
Common-Mode Input Voltage Range0.5–Vdd - 1.0V
Output Resistance
Power = Low
Power = High
–
–
1
1
–
–
High Output Voltage Swing (Load = 32 ohms to Vdd/2)
Power = Low
Power = High
0.5 x Vdd + 1.1
0.5 x Vdd
+ 1.1
–
–
–
–
Low Output Voltage Swing (Load = 32 ohms to Vdd/2)
Power = Low
Power = High
–
–
–
–
0.5 x Vdd - 1.3
0.5 x Vdd
Supply Current Including Bias Cell (No Load)
Power = Low
Power = High
Supply Voltage Rejection Ratio60––dB
OB
–
–
1.1
2.6
5.1
8.8
- 1.3
W
W
V
V
V
V
mA
mA
Table 18. 3.3V DC Analog Output Buffer Specifications
SymbolDescriptionMinTypMaxUnits
V
OSOB
TCV
V
CMOB
R
OUTOB
V
OHIGHOB
V
OLOWOB
I
SOB
PSRR
Input Offset Voltage (Absolute Value)–312mV
Average Input Offset Voltage Drift–+6–μV/°C
OSOB
Common-Mode Input Voltage Range0.5-Vdd - 1.0V
Output Resistance
Power = Low
Power = High
–
–
1
1
–
–
High Output Voltage Swing (Load = 1K ohms to Vdd/2)
Power = Low
Power = High
0.5 x Vdd + 1.0
0.5 x Vdd
+ 1.0
–
–
–
–
Low Output Voltage Swing (Load = 1K ohms to Vdd/2)
Power = Low
Power = High
–
–
–
–
0.5 x Vdd - 1.0
0.5 x Vdd
Supply Current Including Bias Cell (No Load)
Power = Low
Power = High–
Supply Voltage Rejection Ratio50––dB
OB
0.8
2.0
2.0
4.3
- 1.0
W
W
V
V
V
V
mA
mA
Document Number: 38-12011 Rev. *GPage 21 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
DC Switch Mode Pump Specifications
Battery
C1
D1
+
PSoC
TM
Vdd
Vss
SMP
V
BAT
The following table lists guaranteed maximum and min imum specificat ions for the voltage and tempera ture ranges: 4.75V to 5.25V
and -40°C ≤ T
are for design guidance only or unless otherwise specified.
≤ 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
A
Table 19. DC Switch Mode Pump (SMP) Specifications
The following tables list guaranteed maximum and minimum specifications for th e voltage and temperature ra nges: 4.75V to 5. 25V
and -40
are for design guidance only or unless otherwise specified.
°C ≤ T
≤ 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
A
The guaranteed specifications are measured through the Analog Continuous Time PSoC blocks. The power levels for AGND refer to
the power of the Analog Continuous Time PSoC block. The power levels for RefHi and RefLo refer to the Analog Reference Control
register. The limits stated for AGND include the offset error of the AGND buffer local to the Analog Continuous Time PSoC block.
Note Avoid using P2[4] for digital signaling when using an analog resource that depen ds on the Analog Refere nce. Some coupling
of the digital signal may appear on the AGND.
Table 20. 5V DC Analog Reference Specifications
SymbolDescriptionMinTypMaxUnits
BGBandgap Voltage Reference1.2741.301.326V
–AGND = Vdd/2
CT Block Power = High
–AGND = 2 x BandGap
a
Vdd/2 - 0.043Vdd/2 - 0.025Vdd/2 + 0.003V
a
CT Block Power = High2 x BG - 0.0482 x BG - 0.0302 x BG + 0.024V
–AGND = P2[4] (P2[4] = Vdd/2)
a
CT Block Power = HighP2[4] - 0.013P2[4]P2[4] + 0.014V
a. AGND tolerance includes the offsets of the local buffer in the PSoC block. Bandgap voltage is 1.3V ± 2%
P2[4]- P2[6] +
0.022
P2[4] - P2[6] +
0.092
V
V
Document Number: 38-12011 Rev. *GPage 24 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
DC Analog PSoC Block Specifications
The following table lists guaranteed maximum an d minimum specific ations for t he voltage and temperature ranges: 4.75V to 5.25V
and -40
are for design guidance only or unless otherwise specified.
°C ≤ T
≤ 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
A
Table 22. DC Analog PSoC Block Specifications
SymbolDescriptionMinTypMaxUnits
R
CT
C
SC
Resistor Unit Value (Continuous Time)–12.24–kΩ
Capacitor Unit Value (Switch Cap)–80–fF
DC POR and LVD Specifications
The following table lists guaranteed maximum an d minimum specific ations for t he voltage and temperature ranges: 4.75V to 5.25V
and -40
°C ≤ T
are for design guidance only or unless otherwise specified.
Note The bits PORLEV and VM in the following table refer to bits in the VLT_CR register. See the
System-on-Chip Technical Reference Manual
≤ 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
a. Always greater than 50 mV above PPOR (PORLEV = 00) for falling supply.
b. Always greater than 50 mV above PPOR (PORLEV = 10) for falling supply.
VM[2:0] = 000b
VM[2:0] = 001b
VM[2:0] = 010b
VM[2:0] = 011b
VM[2:0] = 100b
VM[2:0] = 101b
VM[2:0] = 110b
VM[2:0] = 111b
2.963
3.033
3.185
4.110
4.550
4.632
4.719
4.900
3.023
3.095
3.250
4.194
4.643
4.727
4.815
5.000
3.083
3.157
3.315
4.278
4.736
4.822
4.911
5.100
V
V
V
V
V
V
V
V
V
Document Number: 38-12011 Rev. *GPage 25 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
DC Programming Specifications
The following table lists guaranteed maximum an d minimum specific ations for t he voltage and temperature ranges: 4.75V to 5.25V
and -40
are for design guidance only or unless otherwise specified.
°C ≤ T
≤ 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
A
Table 24. DC Programming Specifications
SymbolDescriptionMinTypMaxUnitsNotes
I
DDP
V
ILP
V
IHP
I
ILP
I
IHP
V
OLV
V
OHV
Flash
Flash
Flash
a. 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
Supply Current During Programming or Verify–525mA
Input Low Voltage During Programming or
––0.8V
Verify
Input High Voltage During Programming or
2.2––V
Verify
Input Current when Applying Vilp to P1[0] or
P1[1] During Programming or Verify
Input Current when Applying Vihp to P1[0] or
P1[1] During Programming or Verify
Output Low Voltage During Programming or
––0.2mADriving internal pull down
resistor.
––1.5mADriving internal pull down
resistor.
––Vss + 0.75V
Verify
Output High Voltage During Programming or
Vdd - 1.0–VddV
Verify
Flash Endurance (per block)50,000–––Erase/write cycles per block.
ENPB
Flash Endurance (total)
ENT
Flash Data Retention10––Years
DR
blocks of 25,000 maximum cycles each, or 36x4 blocks of 12,500 maximum cycles each (and so forth 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.
a
1,800,000–––Erase/write cycles.
Document Number: 38-12011 Rev. *GPage 26 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
AC Electrical Characteristics
AC Chip-Level Specifications
The following table lists guaranteed maximum an d minimum specific ations for t he voltage and temperature ranges: 4.75V to 5.25V
and -40
are for design guidance only or unless otherwise specified.
Table 25. AC Chip-Level Specifications
°C ≤ T
≤ 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
A
SymbolDescriptionMinTypMaxUnitsNotes
F
F
F
F
F
F
F
IMO
CPU1
CPU2
48M
24M
32K1
32K2
Internal Main Oscillator Frequency23.42424.6
CPU Frequency (5V Nominal)0.932424.6
CPU Frequency (3.3V Nominal)0.931212.3
Digital PSoC Block Frequency04849.2
Digital PSoC Block Frequency02424.6
Internal Low Speed Oscillator Frequency153264kHz
External Crystal Oscillator–32.768–kHzAccuracy is capacitor and
a
MHzTrimmed. Using factory trim
values.
a,b
MHz
b,c
MHz
a,b,d
MHzRefer to the AC Digital Block
Specifications.
b,e,d
MHz
crystal dependent. 50% duty
cycle.
F
PLL
PLL Frequency–23.986–MHzIs a multiple (x732) of crystal
frequency.
Jitter24M224 MHz Period Jitter (PLL)––600ps
T
PLLSLEW
T
PLLSLEWSLOW
T
OS
T
OSACC
PLL Lock Time0.5–10ms
PLL Lock Time for Low Gain Setting0.5–50ms
External Crystal Oscillator Startup to 1%–17002620ms
External Crystal Oscillator Startup to 100 ppm–28003800
values.
Jitter24M124 MHz Period Jitter (IMO)–600ps
F
MAX
T
RAMP
a. 4.75V < Vdd < 5.25V.
b. Accuracy derived from Internal Main Oscillator with appropriate trim for Vdd range.
c. 3.0V < Vdd < 3.6V. See Application Note AN2012 “Adjustin g PSoC Microco ntroller Trims for Dual Voltage-Range Operation” for information o n trimming for ope ra-
tion at 3.3V.
d. See the individual user module data sheets for information on maximum frequencies for user modules.
e. 3.0V < 5.25V.
f. The crystal oscillator frequency is within 100 ppm of its final value by the end of the T
drive level 32.768 kHz crystal. 3.0V
Maximum frequency of signal on row input or
––12.3MHz
row output.
Supply Ramp Time0––μs
period. Correct operation assumes a properly loaded 1 uW maximum
≤ Vdd ≤ 5.5V , -40
o
C ≤ TA ≤ 85 oC.
osacc
Document Number: 38-12011 Rev. *GPage 27 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Figure 12. PLL Lock Timing Diagram
24 MHz
F
PLL
PLL
Enable
T
PLLSLEW
PLL
Gain
0
24 MHz
F
PLL
PLL
Enable
T
PLLSLEWLOW
PLL
Gain
1
32 kHz
F
32K2
32K
Select
T
OS
Jitter24M1
F
24M
Jitter32k
F
32K2
Figure 13. PLL Lock for Low Gain Setting Timing Diagram
Figure 15. 24 MHz Period Jitter (IMO) Timing Diagram
Figure 16. 32 kHz Period Jitter (ECO) Timing Diagram
Document Number: 38-12011 Rev. *GPage 28 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
AC General Purpose IO Specifications
TFallF
TFallS
TRiseF
TRiseS
90%
10%
GPIO
Pin
The following table lists guaranteed maximum an d minimum specific ations for t he voltage and temperature ranges: 4.75V to 5.25V
and -40
are for design guidance only or unless otherwise specified.
°C ≤ T
≤ 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
A
Table 26. AC GPIO Specifications
SymbolDescriptionMinTypMaxUnitsNotes
F
GPIO
GPIO Operating Frequency0–12MHz
TRiseFRise Time, Normal Strong Mode, Cload = 50 pF3–18nsVdd = 4.5 to 5.25V, 10% - 90%
TFallFFall Time, Normal Strong Mode, Cload = 50 pF2–18nsVdd = 4.5 to 5.25V, 10% - 90%
TRiseSRise Time, Slow Strong Mode, Cload = 50 pF1027–nsVdd = 3 to 5.25V, 10% - 90%
TFallSFall Time, Slow Strong Mode, Cload = 50 pF1022–nsVdd = 3 to 5.25V, 10% - 90%
Figure 17. GPIO Timing Diagram
Document Number: 38-12011 Rev. *GPage 29 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
AC Operational Amplifier Specifications
The following tables list guaranteed maximum and minimum specifications for th e voltage and temperature ra nges: 4.75V to 5. 25V
and -40
are for design guidance only or unless otherwise specified.
Note Settling times, slew rates, and gain bandwidth are based on the Analog Continuous Time PSoC block.
°C ≤ T
≤ 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
A
Table 27. 5V AC Operational Amplifier Specific at ions
SymbolDescriptionMinTypMaxUnitsNotes
T
ROA
T
SOA
SR
SR
BW
E
NOA
ROA
FOA
Rising Settling Time from 80% of ΔV to 0.1% of ΔV
(10 pF load, Unity Gain)
Power = Low
Power = Low, Opamp Bias = High
Power = Medium
Power = Medium, Opamp Bias = High
Power = High
Power = High, Opamp Bias = High
–
–
–
–
–
–
–
–
–
Falling Settling Time from 20% of ΔV to 0.1% of ΔV
Specification maximums for
low power and high opamp
bias, medium power, and
medium power and high
opamp bias levels are
between low and high power
levels.
Specification maximums for
low power and high opamp
bias, medium power, and
medium power and high
opamp bias levels are
between low and high power
levels.
Specification minimums for
low power and high opamp
bias, medium power, and
medium power and high
opamp bias levels are
between low and high power
levels.
Specification minimums for
low power and high opamp
bias, medium power, and
medium power and high
opamp bias levels are
between low and high power
levels.
Specification minimums for
low power and high opamp
bias, medium power, and
medium power and high
opamp bias levels are
between low and high power
levels.
Document Number: 38-12011 Rev. *GPage 30 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Table 28. 3.3V AC Operational Amplifier Specifications
SymbolDescriptionMinTypMaxUnitsNotes
T
ROA
Rising Settling Time from 80% of ΔV to 0.1% of ΔV
(10 pF load, Unity Gain)
Power = Low
Power = Low, Opamp Bias = High
Power = Medium
Power = Medium, Opamp Bias = High
Power = High (3.3 Volt High Bias Operation not
–
–
3.92
–
–
–
–
–
0.72
–
–
Specification maximums for
low power and high opamp
μs
bias, medium power, and
μs
medium power and high
μs
opamp bias levels are
μs
between low and high power
μs
levels.
supported)
Power = High, Opamp Bias = High (3.3 Volt High
–
–
–
μs
Power, High Opamp Bias not supported)
T
SOA
Falling Settling Time from 20% of ΔV to 0.1% of ΔV
(10 pF load, Unity Gain)
Power = Low
Power = Low, Opamp Bias = High
Power = Medium
Power = Medium, Opamp Bias = High
Power = High (3.3 Volt High Bias Operation not
–
–
5.41
–
–
–
–
–
0.72
–
–
Specification maximums for
low power and high opamp
μs
bias, medium power, and
μs
medium power and high
μs
opamp bias levels are
μs
between low and high power
levels.
μs
supported)
Power = High, Opamp Bias = High (3.3 Volt High
–
–
–
μs
Power, High Opamp Bias not supported)
SR
ROA
Rising Slew Rate (20% to 80%) (10 pF load, Unity Gain)
Power = Low
Power = Low, Opamp Bias = High
Power = Medium
Power = Medium, Opamp Bias = High
Power = High (3.3 Volt High Bias Operation not
supported)
Power = High, Opamp Bias = High (3.3 Volt High
0.31
2.7
–
–
–
V/
V/
V/
–
–
–
V/
–
V/
–
V/
Specification minimums for
low power and high opamp
μs
bias, medium power, and
μs
medium power and high
μs
opamp bias levels are
μs
between low and high power
μs
levels.
μs
Power, High Opamp Bias not supported)
SR
FOA
Falling Slew Rate(20% to 80%) (10 pF load, Unity Gain)
Power = Low
Power = Low, Opamp Bias = High
Power = Medium
Power = Medium, Opamp Bias = High
Power = High (3.3 Volt High Bias Operation not
supported)
Power = High, Opamp Bias = High (3.3 Volt High
0.24
1.8
–
–
–
V/
V/
V/
–
–
–
V/
V/
–
V/
–
Specification minimums for
low power and high opamp
μs
bias, medium power, and
μs
medium power and high
μs
opamp bias levels are
μs
between low and high power
μs
levels.
μs
Power, High Opamp Bias not supported)
BW
Gain Bandwidth Product
OA
Power = Low
Power = Low, Opamp Bias = High
Power = Medium
Power = Medium, Opamp Bias = High
Power = High (3.3 Volt High Bias Operation not
supported)
Power = High, Opamp Bias = High
(3.3 Volt High Power ,
0.67
2.8
–
–
Specification minimums for
–
–
–
MHz
MHz
MHz
MHz
–
MHz
low power and high opamp
bias, medium power, and
medium power and high
opamp bias levels are
between low and high power
levels.
The following table lists guaranteed maximum an d minimum specific ations for t he voltage and temperature ranges: 4.75V to 5.25V
and -40
are for design guidance only or unless otherwise specified.
°C ≤ T
≤ 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
A
Table 29. AC Digital Block Specifications
FunctionDescriptionMinTypMaxUnitsNotes
TimerCapture Pulse Width50
a
––ns
Maximum Frequency, No Capture––49.2MHz4.75V < Vdd < 5.25V
Maximum Frequency, With Capture––24.6MHz
CounterEnable Pulse Width50
a
––ns
Maximum Frequency, No Enable Input––49.2MHz4.75V < Vdd < 5.25V
Maximum Frequency, Enable Input––24.6MHz
a. 50 ns minimum input pulse width is based on the input synchronizers running at 24 MHz (42 ns nominal period).
Document Number: 38-12011 Rev. *GPage 32 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
AC Analog Output Buffer Specifications
The following tables list guaranteed maximum and minimum specifications for th e voltage and temperature ra nges: 4.75V to 5. 25V
and -40
are for design guidance only or unless otherwise specified.
°C ≤ T
≤ 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
A
Table 30. 5V AC Analog Output Buffer Specifications
SymbolDescriptionMinTypMaxUnits
T
ROB
T
SOB
SR
SR
BW
BW
ROB
FOB
OB
OB
Rising Settling Time to 0.1%, 1V Step, 100 pF Load
Power = Low
Power = High
Falling Settling Time to 0.1%, 1V Step, 100 pF Load
Power = Low
Power = High
Rising Slew Rate (20% to 80%), 1V Step, 100 pF Load
Power = Low
Power = High
Falling Slew Rate (80% to 20%), 1V Step, 100 pF Load
Power = Low
Power = High
Small Signal Bandwidth, 20mVpp, 3dB BW, 100 pF Load
Power = Low
Power = High
Large Signal Bandwidth, 1Vpp, 3dB BW, 100 pF Load
Power = Low
Power = High
–
–
–
–
0.65
0.65
0.65
0.65
0.8
0.8
300
300
–
–
–
–
–
–
–
–
–
–
–
–
2.5
2.5
2.2
2.2
–
–
–
–
–
–
–
–
μs
μs
μs
μs
V/μs
μs
V/
V/μs
μs
V/
MHz
MHz
kHz
kHz
Table 31. 3.3V AC Analog Output Buffer Specifications
SymbolDescriptionMinTypMaxUnits
T
ROB
T
SOB
SR
SR
BW
BW
ROB
FOB
OB
OB
Rising Settling Time to 0.1%, 1V Step, 100 pF Load
Power = Low
Power = High
Falling Settling Time to 0.1%, 1V Step, 100 pF Load
Power = Low
Power = High
Rising Slew Rate (20% to 80%), 1V Step, 100 pF Load
Power = Low
Power = High
Falling Slew Rate (80% to 20%), 1V Step, 100 pF Load
Power = Low
Power = High
Small Signal Bandwidth, 20mVpp, 3dB BW, 100 pF Load
Power = Low
Power = High
Large Signal Bandwidth, 1Vpp, 3dB BW, 100 pF Load
Power = Low
Power = High
–
–
–
–
0.5
0.5
0.5
0.5
0.7
0.7
200
200
–
–
–
–
–
–
–
–
–
–
–
–
3.8
3.8
2.6
2.6
–
–
–
–
–
–
–
–
μs
μs
μs
μs
V/μs
μs
V/
V/μs
μs
V/
MHz
MHz
kHz
kHz
Document Number: 38-12011 Rev. *GPage 33 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
AC External Clock Specifications
The following tables list guaranteed maximum and minimum specifications for th e voltage and temperature ra nges: 4.75V to 5. 25V
and -40
are for design guidance only or unless otherwise specified.
°C ≤ T
≤ 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
A
Table 32. 5V AC External Clock Specifications
SymbolDescriptionMinTypMaxUnits
F
OSCEXT
–High Period20.6
–Low Period20.6
–Power Up IMO to Switch150
Frequency0–24.24MHz
––ns
––ns
––μs
Table 33. 3.3V AC External Clock Specifications
SymbolDescriptionMinTypMaxUnits
F
OSCEXT
F
OSCEXT
Frequency with CPU Clock divide by 1
Frequency with CPU Clock divide by 2 or greater
–High Period with CPU Clock divide by 141.7
–Low Period with CPU Clock divide by 141.7
–Power Up IMO to Switch150
a. 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.
b. 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.
a
b
0–12.12MHz
0–24.24MHz
––ns
––ns
––μs
AC Programming Specifications
The following table lists guaranteed maximum an d minimum specific ations for t he voltage and temperature ranges: 4.75V to 5.25V
and -40
are for design guidance only or unless otherwise specified.
°C ≤ T
≤ 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
A
Table 34. AC Programming Specifications
SymbolDescriptionMinTypMaxUnits
T
RSCLK
T
FSCLK
T
SSCLK
T
HSCLK
F
SCLK
T
ERASEB
T
WRITE
T
DSCLK
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 (Block)–15–ms
Flash Block Write Time–30–ms
Data Out Delay from Falling Edge of SCLK––45ns
Document Number: 38-12011 Rev. *GPage 34 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
AC I2C 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
The following table lists guaranteed maximum an d minimum specific ations for t he voltage and temperature ranges: 4.75V to 5.25V
and -40
are for design guidance only or unless otherwise specified.
°C ≤ T
≤ 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
A
Table 35. AC Characteristics of the I
SymbolDescription
F
SCLI2C
T
HDSTAI2C
T
LOWI2C
T
HIGHI2C
T
SUSTAI2C
T
HDDATI2C
T
SUDATI2C
T
SUSTOI2C
T
BUFI2C
T
SPI2C
a. A Fast-Mode I2C-bus device can be used in a Standard-Mode I2C-bus system, but the requirement t
SCL Clock Frequency01000400kHz
Hold Time (repeated) ST ART 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 Ti me0–0–μs
Data Setup Time250–100
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
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
2
C SDA and SCL Pins
Standard ModeFast Mode
MinMaxMinMax
4.0–0.6–μs
a
≥ 250 ns must then be met. This is automaticall y the
SU;DAT
= 1000 + 250 = 1250 ns (according to the Standard-Mode I2C-bus specification) before the SCL line is released.
Figure 18. Definition for Timing for Fast/Standard Mode on the I2C Bus
Units
–ns
Document Number: 38-12011 Rev. *GPage 35 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Packaging Information
51-85075 *A
This section presents the packaging specifications for the CY8C24x23 PSoC device, along with the thermal impedan ces for each
package and the typical package capacitance on crystal pins.
Figure 19. 8-Pin (300-Mil) PDIP
Document Number: 38-12011 Rev. *GPage 36 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Figure 20. 8-Pin (150-Mil) SOIC
51-85066 *B
51-85066 *C
51-85011-A
()
51-85011 *A
Figure 21. 20-Pin (300-Mil) Molded DIP
Document Number: 38-12011 Rev. *GPage 37 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Figure 22. 20-Pin (210-Mil) SSOP
51-85077 *C
51-85024 *C
Figure 23. 20-Pin (300-Mil) Molded SOIC
Document Number: 38-12011 Rev. *GPage 38 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Figure 24. 28-Pin (300-Mil) Molded DIP
51-85014 *D
Document Number: 38-12011 Rev. *GPage 39 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Figure 25. 28-Pin (210-Mil) SSOP
51-85079 *C
51-85026 *D
Figure 26. 28-Pin (300-Mil) Molded SOIC
Document Number: 38-12011 Rev. *GPage 40 of 43
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Figure 27. 32-Pin (5x5 mm) MLF
51-85188 *B
Thermal Impedances Capacitance on Crystal Pins
Table 36. Thermal Impedances per Package
PackageTypical θ
JA
*
8 PDIP123 oC/W
8 SOIC185 oC/W
20 PDIP109 oC/W
20 SSOP117 oC/W
20 SOIC81 oC/W
28 PDIP69 oC/W
28 SSOP101 oC/W
28 SOIC74 oC/W
32 MLF22 oC/W
* TJ = TA + POWER x θ
JA
Document Number: 38-12011 Rev. *GPage 41 of 43
Table 37. Typical Package Capacitance on Crystal Pins
PackagePackage Capacitance
8 PDIP2.8 pF
8 SOIC2.0 pF
20 PDIP3.0 pF
20 SSOP2.6 pF
20 SOIC2.5 pF
28 PDIP3.5 pF
28 SSOP2.8 pF
28 SOIC2.7 pF
32 MLF2.0 pF
[+] Feedback
CY8C24123
CY8C24223, CY8C24423
Ordering Information
CY 8 C 24 xxx-SPxx
Package Type:Thermal Rating:
P = PDIPC = Commercial
S = SOICI = Industrial
PV = SSOPE = Extended
LF = MLF
A = TQFP
Speed: 24 MHz
Part Number
Family Code
Technology Code: C = CMOS
Marketing Code: 8 = Cypress MicroSystems
Company ID: CY = Cypress
The following table lists the CY8C24x23 PSoC Device family’s key package features and ordering codes.
Table 38. CY8C24x23 PSoC Device Family Key Features and Ordering Information
Package
8 Pin (300 Mil) DIPCY8C24123-24PI4256No-40°C to +85°C46642No
8 Pin (150 Mil) SOICCY8C24123-24SI4256Yes-40°C to +85°C46642No
8 Pin (150 Mil) SOIC
(Tape and Reel)
20 Pin (300 Mil) DIPCY8C24223-24PI4256Yes-40°C to +85°C461682Yes
20 Pin (210 Mil) SSOPCY8C24223-24PVI4256Yes-40°C to +85°C461682Yes
20 Pin (210 Mil) SSOP
(Tape and Reel)
20 Pin (300 Mil) SOICCY8C24223-24SI4256Yes-40°C to +85°C461682Yes
20 Pin (300 Mil) SOIC
(Tape and Reel)
28 Pin (300 Mil) DIPCY8C24423-24PI4256Yes-40°C to +85°C4624102Yes
28 Pin (210 Mil) SSOPCY8C24423-24PVI4256Yes-40°C to +85°C4624102Yes
28 Pin (210 Mil) SSOP
(Tape and Reel)
28 Pin (300 Mil) SOICCY8C24423-24SI4256Yes-40°C to +85°C4624102Yes
28 Pin (300 Mil) SOIC
(Tape and Reel)
32 Pin (5x5 mm) MLFCY8C24423-24LFI4256Yes-40°C to +85°C4624102Yes
CY8C24123-24SIT4256Yes-40°C to +85°C46642No
CY8C24223-24PVIT4256Yes-40°C to +85°C461682Yes
CY8C24223-24SIT4256Yes-40°C to +85°C461682Yes
CY8C24423-24PVIT4256Yes-40°C to +85°C4624102Yes
CY8C24423-24SIT4256Yes-40°C to +85°C4624102Yes
Code
Ordering
Flash
(Kbytes)
RAM
Pump
(Bytes)
Switch Mode
Range
Temperature
Digital Blocks
(Rows of 4)
Analog Blocks
(Columns of 3)
Digital IO Pins
Analog Inputs
Analog Outputs
Note For Die sales information, contact a local Cypress sales office or Field Applications Engineer (FAE).
128779NWJ08/13/2003New document – Preliminary Data Sheet (300 page product detail).
129775MWR/NWJ09/26/2003Changes to Electrical Specifications section, Register Details chapter, and
130128NWJ10/14/2003Revised document for Silicon Revision A.
131678NWJ12/04/2003Changes to Electrical Specifications section, Miscellaneous changes to I2C,
131802NWJ12/22/2003Changes to Electrical Specifications and miscellaneous small changes
229418SFV06/04/2004New data sheet format and organization. Reference the PSoC Programmable
2619935ONGE/AESA12/11/2008Changed title to “CY8C24123, CY8C24223, CY8C24423 PSoC®
Orig. of
Change
and NWJ
Submission
Date
Description of Change
05/15/2003New document – Advanced Data Sheet (two page product brief).
chapter changes in the Analog System section.
GDI, RDI, Registers, and Digital Block chapters.
throughout the data sheet.
System-on-Chip Technical Reference Manual
change.
Programmable System-on-Chip™”
Updated package diagrams 51-85188, 51-85024, 51-85014, and 51-85026.
Added note on digital signaling in Table on page 23.
Added Die Sales information note to Ordering Information on page 42.
Updated data sheet template.
for additional information. Title
Sales, Solutions, and Legal Information
Worldwide Sales and Design Support
Cypress maintains a worldwide network of offices, solution centers, manufacturer’s representatives, and distributors. To find the office
closest to you, visit us at cypress.com/sales.
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 inter national trea ty provisions. Cyp ress he reby gra nt s to license e a person al, non- exclusive, non-tr ansferab le license to copy, use, modify, create der ivative 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 agreem ent. Any reproduction , modification, translatio n, compilation, or represe ntation of this S ource Code except a s specified above is prohib ited 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 furth er notice to t he materials described herein. Cypress does not
assume any liability arising out of the application or use of any produ ct or circuit de scribed herein. C ypress does n ot auth orize it s product s for use as critical componen ts in life-suppo rt 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.
PSoC Solutions
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.cypres s.com/usb
Document Number: 38-12011 Rev. *GRevised December 11, 2008Page 43 of 43
PSoC Designer™, Programmable System-on-C hip ™, an d PS oC Exp ress™ are tr adem a rks a nd PSo C® is a r egiste red t ra dema rk of C ypr ess S em icon duct or C orp. A ll o the r tra dem a rks or re gister e d
trademarks referenced herein are property of the respective corporations. Purchase of I2C components from Cypress or one of its sublicensed Associated Companies conveys a license under the
Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips. All products and company names
mentioned in this document may be the trademarks of their respective holders.
[+] Feedback
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.