❐ 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
❐ Up to Ten Analog Inputs on GPIO
❐ Two 30 mA Analog Outputs on GPIO
❐ Configurable Interrupt on All GPIO
Modes on All GPIO
■ New CY8C24x23A PSoC Device
❐ Derived From the CY8C24x23 Device
❐ Low Power and Low Voltage (2.4V)
■ Additional System Resources
2
❐ I
C™ Slave, Master, and MultiMaster 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 Trace Memory
Cypress Semiconductor Corporation•198 Champion Court•San Jose, CA 95134-1709•408-943-2600
Document Number: 38-12028 Rev. *I Revised December 11, 2008
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
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 2
Port 1
Port 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
a low cost single-chip programmable device. PSoC devices
include configurable blocks of analog and digital logic, and
Digital System
The Digital System consists of 4 digital PSoC blocks. Each block
is an 8-bit resource that may be used alone or comb ined 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 enables 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, shown in Figure 1, consists of four main
areas: PSoC Core, Digital System, Analog System, and System
Resources. Configurable global busing allows combining all the
device resources into a complete custom system. The PSoC
CY8C24x23A family can have up to three IO ports that connect
to the global digital and analog interconnects, providing access
to 4 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 Watchdog 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 required, 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 can generate a system interrupt on high
level, low level, and change from last read.
Digital peripheral configurations are:
■ PWMs (8 to 32 bit)
■ PWMs with Dead band (8 to 24 bit)
■ Counters (8 to 32 bit)
■ Timers (8 to 32 bit)
■ UART 8 bit with selectable parity
■ SPI master and slave
■ I2C slave and multi-master (one is available as a System
Resource)
■ Cyclical Redundancy Checker/Generator (8 to 32 bit)
■ IrDA
■ Pseudo Random Sequence Generators (8 to 32 bit)
The digital blocks may 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 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 gives a choice of
system resources for your application. Family resources are
shown in Table 1 on page 4.
Document Number: 38-12028 Rev. *IPage 2 of 56
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
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 consists of six configurable blocks, each
consisting of an opamp circuit that allows 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 resolution)
■ High current output drivers (two with 30 mA drive as a PSoC
Core resource)
■ 1.3V reference (as a System Resource)
■ DTMF Dialer
■ Modulators
■ Correlators
■ Peak Detectors
■ Many other topologies possible
Analog blocks are arranged in a column of three, which includes
one CT (Continuous Time) and two SC (Switched Capacitor)
blocks, as shown in Figure 2.
Figure 2. Analog System Block Diagram
Document Number: 38-12028 Rev. *IPage 3 of 56
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
Additional System Resources
System Resources, some of which are listed in the previous
sections, provide additional capability useful to complete
systems. Additional resources include a multiplier, decimator,
switch mode pump, low voltage detection, and power on reset.
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 may
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 are 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.
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.
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
4 analog blocks. Table 1 lists the resources available for specific
PSoC device groups. The PSoC device covered by this data
sheet is highlighted in this table.
Table 1. PSoC Device Characteristics
PSoC Part
Number
CY8C29x66up to 644161244122K32K
CY8C27x43
CY8C24x944914482261K16K
CY8C24x23
CY8C24x23A up to 241412226256
CY8C21x34up to 281428024
CY8C21x23
CY8C20x34
a. Limited analog functionality.
b. Two analog blocks and one CapSense.
Digital IODigital
up to 4428124412256
up to 241412226256
16148024a256
up to 280028003
Rows
Digital
Blocks
Analog
Inputs
Analog
Analog
Outputs
Analog
Columns
a
b
Blocks
Bytes
Bytes
Bytes
512
Bytes
Bytes
512
Bytes
Size
SRAM
16K
4K
4K
8K
4K
8K
Flash
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.
Size
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.
Document Number: 38-12028 Rev. *IPage 4 of 56
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
Development Tools
Commands
Results
PSoC
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
PSoC
Designer
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 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 the easy development of multiple
configurations and dynamic reconfiguration. Dynamic
configuration allows 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 import
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 C language and Assembly
language source code. You can also assemble, compile, link,
and build.
Assembler. The macro assembler allows the seamless merging
of the assembly code 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 PSoC family devices. Even if you have never worked in
the C language before, the product helps you to quickly 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-12028 Rev. *IPage 5 of 56
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
Debugger
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 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
through 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.
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 graphical user interface (GUI)
for configuring the hardware. Pick the user modules you need for
your project and map them onto the PSoC blocks with
point-and-click simplicity. Next, build signal chains by
interconnecting user modules to each other and the IO pins. At
this stage, you can 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,
perform the “Generate Application” step. This causes PSoC
Designer to generate source code that automatically configures
the device to your specification and provides high-level user
module API functions.
Figure 4. User Module and Source Code Development Flow s
Designing with User Modules
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, can
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 and 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 uncommon 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
Document Number: 38-12028 Rev. *IPage 6 of 56
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
The next step is to write your main program, and any sub-routine
using PSoC Designer’s Application Editor subsystem. The
Application Editor includes a Project Manager that allows you to
open the project source code files (including 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 HEX 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 HEX 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 Used
AcronymDescription
ACalternating current
ADCanalog-to-digital converter
APIapplication programming interface
CPUcentral processing unit
CTcontinuous time
DACdigital-to-analog converter
DCdirect current
ECOexternal crystal oscillator
EEPROMelectrically erasable programmable read-only
memory
FSRfull scale range
GPIOgeneral purpose IO
GUIgraphical user interface
HBMhuman body model
ICEin-circuit emulator
ILOinternal low speed oscillator
IMOinternal main oscillator
IOinput/output
IPORimprecise power on reset
Table 2. Acronyms Used (continued)
AcronymDescription
LSbleast-significant bit
LVDlow voltage detect
MSbmost-significant bit
PCprogram counter
PLLphase-locked loop
PORpower on reset
PPORprecision power on reset
PSoC®Programmable System-on-Chip™
PWMpulse width modulator
SCswitched capacitor
SLIMOslow IMO
SMPswitch mode pump
SRAMstatic random access memory
Units of Measure
A unit of measure table is located in the section
Electrical Specifications on page 18. Table 8 on page 14 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.
Document Number: 38-12028 Rev. *IPage 7 of 56
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
Pinouts
PDIP
SOIC
1
2
3
4
8
7
6
5
Vdd
P0[4], A, I
P0[2], A, I
P1[0], XTALout, I2C SDA
A, IO, P0[5]
A, IO, P0[3]
I2C SCL, XTALin, P1[1]
Vss
This section describes, lists, and illustrates the CY8C24x23A PSoC device pins and pinout configurations. 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 Pinoutt
Table 3. Pin Definitions - 8-Pin PDIP and SOIC
Pin
No.
Type
Digital Analog
Pin
Name
Description
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), ISSP-SCLK*
4PowerVssGround Connection
5IOP1[0]Crystal Output (XTALout), I2C Serial
Data (SDA), ISSP-SDAT A*
6IOIP0[2]Analog Column Mux Input
7IOIP0[4]Analog Column Mux Input
8PowerVddSupply Voltage
LEGEND: A = Analog, I = Input, and O = Output.
* These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Programmable Sytem-on-Chip Technical Reference Manual for details.
Figure 5. CY8C24123A 8-Pin PSoC Device
Document Number: 38-12028 Rev. *IPage 8 of 56
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
20-Pin Part Pinout
A, I, P 0[7]
A, IO, P 0[5]
A, IO, P 0[3]
A, I, P 0[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], A, I
P0[4], A, I
P0[2], A, I
P0[0], A, I
XRES
P1[6]
P1[4], EXTCLK
P1[2]
P1[0], XTALout, I2C SDA
Table 4. Pin Definitions - 20-Pin PDIP, SSOP, and SOIC
Pin
No.
1IOIP0[7] Analog Column Mux Input
2IOIOP0[5]Analog Column Mux Input and Column
3IOIOP0[3]Analog Column Mux Input and Column
4IOIP0[1] Analog Column Mux Input
5PowerSMPSwitch Mode Pump (SMP) Connection to
6IOP1[7] I2C Serial Clo ck (SCL)
7IOP1[5] I2C Serial Data (SDA)
8IOP1[3]
9IOP1[1] Crystal Input (XTALin), I2C Serial Clock
10PowerVssGround Connection.
11IOP1[0] Crystal Output (XTALout), I2C Serial Data
12IOP1[2]
13IOP1[4] Optional External Clock Input (EXTCLK)
14IOP1[6]
15InputXRES Active High External Reset with Internal
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
Type
Digital Analog
Pin
Name
Description
Output
Output
External Components required
(SCL), ISSP-SCLK*
(SDA), ISSP-SDATA*
Pull Down
Figure 6. CY8C24223A 20-Pin PSoC Device
LEGEND: A = Analog, I = Input, and O = Output.
* These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Programmable Sytem-on-Chip Technical Reference Manual for details.
Document Number: 38-12028 Rev. *IPage 9 of 56
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
28-Pin Part Pinout
A, I, P0[7]
A, IO, P 0[5]
A, IO, P 0[3]
A, I, P 0[1]
P2[7]
P2[5]
A, I, P 2[3]
A, I, P2[1]
SMP
I2C SCL, P1[7]
I2C SDA, P1[5]
P1[3]
I2C SCL, XTALin, P1[1]
Vss
Vdd
P0[6], A, I
P0[4], A, I
P0[2], A, I
P0[0], A, I
P2[6], Ex ternal VRef
P2[4], Ex ternal AGND
P2[2], A, I
P2[0], A, I
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. Pin Definitions - 28-Pin PDIP, SSOP, and SOIC
Pin
No.
1IOIP0[7]Analog Column Mux Input
2IOIOP0[5]Analog Column Mux Input and column
* These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Programmable Sytem-on-Chip Technical Reference Manual for details.
Document Number: 38-12028 Rev. *IPage 10 of 56
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
32-Pin Part Pinout
P2[7]
P2[5]
A, I, P2[3]
A, I, P2[1]
Vss
SMP
QFN
(Top View )
9
101112
131415
16
1
2
3
4
5
6
7
8
24
23
22
21
20
19
18
17
32313029282726
25
P0[1], A, I
P0[3], A, IO
P0[5], A, IO
P0[7], A, I
Vdd
P0[6], A, I
P0[4], A, I
NC
I2C SCL, P1[7]
I2C SDA, P1[5]
P0[2], A, I
P0[0], A, I
XRES
P1[6]
NC
P1[3]
I2C SCL, XTALin, P1[1]
Vss
I2C SDA, XTALout, P1[0]
P1[2]
EXTCLK, P1[4]
NC
P2[6], External VRef
P2[4], External AGND
P2[2], A, I
P2[0], A, I
P2[7]
P2[5]
A, I, P2[3]
A, I, P2[1]
Vss
SMP
QFN
(Top View)
9
101112
131415
16
1
2
3
4
5
6
7
8
24
23
22
21
20
19
18
17
32313029282726
25
P0[1], A, I
P0[3], A, IO
P0[7], A, I
Vdd
P0[6], A, I
P0[4], A, I
NC
12 CS CL, P1[7]
12 CS DA, P1[5]
P0[2], A, I
P0[0], A, I
XRES
P1[6]
NC
P1[3]
12 CS CL, XTALin, P1[1]
Vss
12 CS DA, XTALout, P1[0]
P1[2]
EXTCLK, P1[4]
NC
P2[6], ExternalVRef
P2[4], ExternalA GND
P2[2], A, I
P2[0], A, I
7IOP1[7] I2C Serial Clock (SCL).
8IOP1[5] I2C Serial Data (SDA).
9NCNo Connection
10IOP1[3]
11IOP1[1] Crystal Input (XTALin), I2C Serial Clock
12PowerVssGround Connection
13IOP1[0] Crystal Output (XTALout), I2C Serial
14IOP1[2]
15IOP1[4] Optional External Clock Input
16NCNo Connection
17IOP1[6]
18InputXRES Active High External Reset with Internal
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
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 Column
31IOIOP0[3] Analog Column Mux Input and Column
32IOIP0[1] Analog Column Mux Input
LEGEND: A = Analog, I = Input, and O = Output.
* These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Programmable Sytem-on-Chip Technical Reference Manual for details.
** The center pad on the QFN package must be connected to ground (Vss) for best mechanical, the rmal, and electrical perfo rmance. If not connected to gr ound, it must
be electrically floated and not connected to any other signal.
Document Number: 38-12028 Rev. *IPage 11 of 56
Type
DigitalAnalog
Pin
Name
to External Components required
(SCL), ISSP-SCLK*
Data (SDA), ISSP-SDAT A*
(EXTCLK)
Pull Down
Output
Output
Description
Figure 8. CY8C24423A 32-Pin PSoC Device
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
56-Pin Part Pinout
SSOP
1
56
255
354
453
5
52
6
51
750
849
948
10
47
1146
1245
13
44
1443
15
42
16
41
17
40
1839
1938
20
37
2136
22
35
2334
2433
2532
2631
27
30
28
29
Vdd
P0[6], AI
P0[4], AIO
P0[2], AIO
P0[0], AI
P2[6], External VRef
P2[4], External AGND
P2[2], AI
P2[0], AI
P4[6]
P4[4]
P4[2]
P4[0]
CCLK
HCLK
XRES
P3[6]
P3[4]
P3[2]
P3[0]
P5[2]
P5[0]
P1[6]
P1[4], EXTCLK
P1[2]
P1[0], XTALOut, I2C SDA, SDAT A
NC
NC
AI, P0[7]
AIO, P0[5]
AIO, P0[3]
AI, P0[1]
P2[7]
P2[5]
AI, P2[3]
AI, P2[1]
P4[7]
P4[5]
P4[3]
P4[1]
OCDE
OCDO
SMP
P3[7]
P3[5]
P3[3]
P3[1]
P5[3]
P5[1]
I2C SCL, P1[7]
I2C SDA, P1[5]
NC
P1[3]
SCLK, I2C SCL, XTALIn, P1[1]
Vss
NC
Not for Production
The 56-pin SSOP part is for the CY8C24000A On-Chip Debug (OCD) PSoC device.
Note This part is only used for in-circuit debugging. It is NOT available for production.
Table 7. Pin Definitions - 56-Pin SSOP
Pin
No.
1NCNo ConnectionFigure 10. CY8C24000A 56-Pin PSoC Device
2IOIP0[7] Analog Column Mux Input
3IOIP0[5] Analog Column Mux Input and
4IOIP0[3] Analog Column Mux Input and
5IOIP0[1] Analog Column Mux Input
6IOP2[7]
7IOP2[5]
8IOIP2[3] Direct Switched Capacitor Block
9IOIP2[1] Dire ct sWitched Capacitor Block
10IOP4[7]
11IOP4[5]
12IOIP4[3]
13IOIP4[1]
14OCDOCDEOCD Even Data IO.
Type
Digital Analog
Pin
Name
Description
Column Output
Column Output
Input
Input
15OCDOCDOOCD Odd Data Output
16PowerSMPSwitch Mode Pump (SMP)
Connection to required External
Components
17IOP3[7]
18IOP3[5]
19IOP3[3]
20IOP3[1]
21IOP5[3]
22IOP5[1]
23IOP1[7] I2C Serial Clock (SCL)
24IOP1[5] I2C Serial Data (SDA)
25NCNo Connection
26IOP1[3]
27IOP1[1] Crystal Input (XTALin), I2C Serial
34IOP1[6]
35IOP5[0]
36IOP5[2]
37IOP3[0]
38IOP3[2]
39IOP3[4]
40IOP3[6]
41InputXRES Active high external reset with
42OCDHCLK OCD high-speed clock output.
43OCDCCLK OCD CPU clock output.
44IOP4[0]
45IOP4[2]
46IOP4[4]
47IOP4[6]
48IOIP2[0] Direct switched capacitor block
49IOIP2[2] Direct switched capacitor block
50IOP2[4] External Analog Ground (AGND).
51IOP2[6] E xternal Voltage Reference
52IOIP0[0] Analog column mux input.
53IOIP0[2] Analog column mux input and
54IOIP0[4] Analog column mux input and
55IOIP0[6] Analog column mux input.
56PowerVddSupply voltage.
Type
Digital Analog
Pin
Name
Description
internal pull down.
input.
input.
(VRef).
column output.
column output.
LEGEND: A = Analog, I = Input, O = Output, and OCD = On-Chip Debug.
* These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Programmable Sytem-on-Chip Technical Reference Manual for details.
Document Number: 38-12028 Rev. *IPage 13 of 56
[+] Feedback
CY8C24123A
CY8C24223A, CY8C24423A
Register Reference
This section lists the registers of the CY8C24x23A PSoC device.
For detailed register information, refer the PSoC ProgrammableSytem-on-Chip Reference Manual.
Register Conventions
Abbreviations Used
The register conventions specific to this section are listed in the
following table.
Table 8. Abbreviations
ConventionDescription
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 referred to as IO space and is
divided into two banks. The XOI bit in the Flag register (CPU_F)
determines which bank the user is currently in. When the XOI bit
is set the user is in Bank 1.
Note In the following register mapping tables, blank fields are
reserved and must not be accessed.