■ Powerful Harvard Architecture Processor
❐ M8C Processor Speeds to 24 MHz
❐ Two 8x8 Multiply, 32-Bit Accumulate
❐ Low Power at High Speed
❐ 3.0V to 5.25V Operating Voltage
❐ Operating Voltages Down to 1.0V Using On-
❐ 2K Bytes SRAM Data Stora ge
❐ In-System Serial Programming (ISSP™)
❐ Partial Flash Updates
❐ Flexible Protection Mode s
❐ EEPROM Emulation in Flash
■ Programmable Pin Configuration s
❐ 25 mA Sink on all GPIO
❐ Pull up, Pull down, High Z, Strong, or Open
Drain Drive Modes on all GPIO
❐ Up to 12 Analog Inputs on GPIO
❐ Four 40 mA Analog Outputs on GPIO
❐ Configurable Interrupt on all GPIO
Analog
Drivers
PSoC™ Functional Overview
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,
as well as programmable interconnects. This architecture
PSoC CORE
Sleep and
Watchdog
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 illustrat ed on th e l ef t , is com pri se d of
four main areas: PSoC Core, Digital System, Analog System,
and System Resources. Configurable global busing allows all
Analog
Ref.
the device r esources to be c ombined into a compl ete custom
system. The PSoC CY8C29x66 family can have up to eight IO
ports that connec t to the gl obal di git al and a nalog i ntercon ne cts ,
Analog
Input
Mux ing
providing access to 16 digital blocks and 12 analog blocks.
The PSoC Core
■ Additional System Resources
2
❐ I
C™ Slave, Mast er, an d Multi-Mas ter to
400 kHz
❐ Watchdog and Sleep Timers
❐ User-Configurable Low Voltage Detection
❐ Integrated Supervisory Circuit
❐ On-Chip Precision Voltage Reference
■ Complete Developm en t Tools
❐ Free Development Software
(PSoC™ De signer)
❐ Full-Featured, In-Circuit Emulator and
Programmer
❐ Full S peed Emulation
❐ Complex Breakpoint Structure
❐ 128K Bytes Trace Memory
❐ Complex Events
❐ C Compilers, Assembler, and Linker
The PSoC Core is a powerful engine that supports a rich feature set. Th e co re in cl ud es a C PU , memo r y, clocks, and c on fig -
Digital
Clocks
Tw o
Multiply
Accums.
POR and LVD
Decimator
I C
2
System Resets
SYSTEM R ESOURCES
Internal
Voltage
Ref .
Sw itch
Mode
Pump
urable GPIO (General Purpose IO).
The M8C C PU core is a powerfu l proce ssor wit h spee ds up t o
24 MHz, providing a four MI PS 8-bit Harvar d archit ecture m icroprocessor. The CPU utilizes an interrupt controller with 25 vec-
tors, to simplify programming of real time embedded events.
Program execution is timed and protected using the included
Sleep and Watch Dog Timers (WDT).
Port 7
Port 6
Port 5
Port 4
Port 3
Port 2
Port 1
Port 0
Memory encompasses 32 KB of Flash for program storage, 2
KB of SRAM for data storage, and up to 2 KB of EEPROM emulated using the Flash. Program Flash utiliz es four pro tectio n lev-
D
g
i
t
i
a
C
l
r
F
o
m
C
o
l
c
k
o
r
e
T o Syste m Bu s
s
To Analog
System
els 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 Cloc k (RT C) and can opti onally genera te a crys tal-accurate 24 MHz system clock using a PLL. The clocks,
together with programmable clock dividers (as a System
Row Input
8
Row Input
DIGITAL SYSTEM
Digital PSoC Block Array
Row 0
DBB00 DBB01 DCB02 DCB03
Configuration
Row 1
DBB10 DBB11 DCB12 DCB13
Configuration
Configuration
Row Outpu t
4
4
8
Configuration
4
Row O utput
4
88
Resource), provide the flexibility to integrate almost any timing
requirement into the PSoC device.
Row 2
Configuration
Row Outpu t
4
PSoC GPIOs provide conne ct ion t o the CP U, di gital and analog
resources of the devi ce. Each pin’ s dri ve mod e may b e selec te d
from eight options, allowing great flexibility in external interfac-
DBB20 DBB21 DCB22 DCB23
Row Input
Configuration
4
ing. Every pin also has the c apa bility to gen erate a syste m inte rrupt on high level, low level, and change from last read.
Row 3
Configuration
Row Outpu t
4
The Digital System
The Digital System is composed of 16 digital PSoC blocks.
Each block is an 8-bit resource that can be used alone or combined with other bl oc ks to fo rm 8, 16 , 24, and 32-bit perip hera ls ,
which are called user mo dule ref eren ces. Dig ita l periph eral co nfigurations include those listed below.
■ 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 4)
■ SPI master and slave (up to 4 each)
■ I2C slave and multi-master (1 available as a System
Resource)
■ Cyclical Redundancy Checker/Generator (8 to 32 bit)
■ IrDA (up to 4)
■ 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 config urability frees your desi gns from the co nstraints 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 you the optimum choice of system resources for your application. Family
resources are shown in the table titled “PSoC Device Charac-
teristics” on page3.
DBB30 DBB31 DCB32 DCB33
Row Input
Configuration
GIE[7:0]
GIO[7:0]
Global Digital
Interconnect
4
GOE[7:0]
GOO[7:0]
Digital System Block Diagram
The Analog System
The Analog System is composed of 12 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
requiremen ts. Some of the more comm on PSoC analog fun ctions (most available as user modules) are listed below.
■ Analog-to-digital converters (up to 4, with 6- to 14-bit resolu-
tion, selectable as Incr emental, Delta Sigma, and SAR)
■ Filters (2, 4, 6, or 8 pole band-pass, low-pass, and notch)
■ Amplifiers (up to 4, with selectable gain to 48x)
■ Instrumentation amplifiers (up to 2, with selectable gain to
93x)
■ Comparators (up to 4, with 16 selectable thresholds)
■ DACs (up to 4, with 6- to 9-bit resolution)
■ Multiplying DACs (up to 4, with 6- to 9-bit resolution)
■ High current output drivers (four with 40 mA drive as a Core
Resource)
November 12, 2004Document No. 38-12013 Rev. *G2
Page 3
CY8C29x66 Final Data SheetPSoC™ Overview
■ 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, as shown in the figure below.
P0[7]
P0[5]
P0[3]
P0[1]
P2[3]
P2[1]
Array Input Configuration
P0[6]
P0[4]
P0[2]
P0[0]
P2[6]
RefIn
P2[4]
AGNDIn
P2[2]
P2[0]
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 are presented below.
■ Digital clock dividers provide three customizable clock fre-
quencies for use in applic ations . The clo cks c an be route d to
both the digital a nd analog systems. Additiona l clocks c an be
generated using digital PSoC blocks as clock dividers.
■ Two multiply accumulates (MACs) provide fast 8-bit multipli-
ers with 32-bit accumulate to assist in both general math as
well as dig ital filters.
■ The decimator provides a custom hardware filter for digital
signal, processi ng applicat ions includ ing the creat ion of Delt a
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 f alling voltage levels, w hile the adv anced POR
(Power On Reset) circuit eliminates the need for a system
supervisor.
■ An internal 1.3 voltage reference provides an absolute refer-
ence for the analog system, including ADCs and DACs.
■ An integrated switch mode pump (S MP) gene rate s norm al
operating volt ages f rom a single 1.2V batt ery cel l, providin g a
low cost boost converter.
ACI0[1:0]ACI3[1:0]
ACB00ACB01
ASC10
Interface to
Digital System
M8C Interface (Address Bus, Data Bus, Etc.)
ACI1[1:0]ACI2[1:0]
B l oc k Arra y
ACB02ACB03
ASD11
ASC21
RefLo
AGND
RefHi
ASC12ASD13
ASD22ASC23ASD20
Analog Re fe re nce
Reference
Generators
Analog System Block Diagram
AGNDIn
RefIn
Bandgap
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. The following table lists the resources
available for specific PSoC device groups. The PSoC device
covered by this data sheet is highlighted below.
The quickest path to understanding the PSoC silicon is by rea ding 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, reference the
PSoC™ Mixed-Signal Array Technical Reference Manual.
For up-to-date Ordering, Packag ing, an d Electri cal Specificatio n
information, reference 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
at http://www.onfulfillment.com/cypressstore/ contains develop-
ment kits, C compilers, and all accessories for PSoC development. Click on PSoC (Programmable System-on-Chip) to view
a current list of available items.
Tele-Training
Free PSoC "Tele-training" is available for beginners and taught
by a marketing or application engineer over the phone. Five
training cl asses are availabl e to accelerate th e learning curve
including introduction, designing, debugging, advanced design,
advanced analog, as well as application-specific classes covering topics like PSoC and the LIN bus. For days and times of the
tele-training, see http://www.cypress.com/support/training.cfm.
Consultants
Certified PSoC Consultants offer everything from technical
assistance to complete d PSoC d esign s. To contact or become a
PSoC Consultant, go to the following Cypress support web site:
http://www.cypress.com/support/cypros.cfm.
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/login.cfm.
Development Tools
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 NT 4.0, Windows 2000, Windows Millennium (Me), or Windows XP. (Reference the PSoC Designer Functional Flow diagram below.)
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.
TM
PSoC
Designer
Importable
Design
Database
Dev ice
Database
Application
Database
Project
Database
User
Modules
Library
Graphical Designer
Interf ace
Results
Commands
TM
PSoC
Designer
Core
Engin e
Context
Sensitive
Help
PSoC
Configuration
Sheet
Manufacturing
Information
File
®
Application Notes
A long list of application notes will assist you in every aspect of
Emulation
Pod
In-Circuit
Emulator
Device
Programmer
your design effort. To locate the PSoC application notes, go to
http://www.cypress.com/design/results.cfm.
PSoC Designer Subsystems
November 12, 2004Document No. 38-12013 Rev. *G4
Page 5
CY8C29x66 Final Data SheetPSoC™ Overview
PSoC Designer Software Subsystems
Device Editor
The Device Edi tor su bsyst em al lows th e use r to se lect di ffere nt
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 conj unc tion with the D evice Data S heet . Once the
framework is generated, the user can add application-specific
code to flesh out the fr am ew ork . It’s also possible to change the
selected components and regenerate the framework.
Design Browser
The Design Browser allows users to select and import preconfigured desi g ns into th e u se r’s project. Use rs ca n ea s il y br ow se
a catalog of preconfigured designs to facilitate time-to-design.
Examples provided in the tool s i nclude a 300-baud modem , LI N
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.
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 USB port. The base unit is universal and will operate
with all PSoC devices. Emulation pods for each device family
are availa ble separa tely. The emulation pod takes t he place o f
the PSoC device in the ta rget board and perfo rms full speed (24
MHz) operation.
Assembler. The macro assembler allows the assembly code
to be merged seamlessly with C code. The link libraries automatically use abso lut e addre ssing or ca n be co mpil ed in relat ive
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 the 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.
November 12, 2004Document No. 38-12013 Rev. *G5
Page 6
CY8C29x66 Final Data SheetPSoC™ Overview
Designing with User Modules
The development process for the PSoC device differs from that
of a traditional fixed function microprocessor. The configurable
analog and d igital hard ware blocks give the PS oC archite cture
a unique flexibility that p ays d ivide nds in mana gi ng specifi catio n
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 fu nction and
connectivity to other blocks, multiplexers, buses, and to the IO
pins. Iterative devel op men t cy cl es perm it y ou 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
applicati on. For exam ple, a Pulse Width Modula tor 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 highlevel functions to control and respond to hardware events at
run-time. The API als o provides o ptional inte rrupt servic e routines that you can adapt as needed.
The API functions are documented in user module data sheets
that are viewed directly in the PSo C Desi gn er ID E. Th es e data
sheets explain the internal operation of the user module and
provide performance specifications. Each data sheet describes
the use of each user mod ule p ara me ter a nd d oc um ent s 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. 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 develo ping co de for the proj ect, yo u
perform the “Generate Application” step. This causes PSoC
Designer to generate source code that automatically configures
the device to your specif ic atio n an d pro vi des the high -le vel us er
module API functions.
Device Editor
User
M odule
Selection
Placement
and
Parameter
-ization
Source
Code
Generator
Generate
Application
Application Editor
Project
M anager
Source
Code
Editor
Build
M anager
B uild
All
Debugger
Interface
to ICE
Storage
Inspector
Event &
Break p oint
M anager
User Module and Source Code Development Flows
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 (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 devel opm en t proc es s t ak es pla ce insi de 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 event s tha t inc lu de m oni tori ng ad dres s and da t a bu s
values, memory locations and external signals.
November 12, 2004Document No. 38-12013 Rev. *G6
Page 7
CY8C29x66 Final Data SheetPSoC™ Overview
Document Conventions
Acronyms Used
The following table lists the acronyms that are used in this document.
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 emul ato r
ILOinternal low speed oscillator
IMOinternal main oscillator
IOinput/output
IPORimprecise power on reset
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 units of measure table is located in the Electrical Specifications section. Table 3-1 on page 17 lists all the abbreviations
used to measure the PSoC devices.
Numeric Naming
Hexidecimal numbers are represented with all letters in uppercase with an appended lowercase ‘h’ (for example, ‘14h’ or
‘3Ah’). Hexi d ec im al nu mber s ma y al so be re p res en t ed by a ‘0x’
prefix, the C coding convention. Binary numbers have an
appended lowercase ‘b’ (e.g., 01010100b’ or ‘01000011b’).
Numbers not indicated by an ‘h’, ‘b’, or 0x are decimal.
Table of Contents
For an in depth discussion and more information on your PSoC
device, obtain the PSoC Mixed Signal Array Technical Refer-ence Manual. This document encompasses and is organized
into the following chapters and sections.
1.Pin Information ............................................................. 8
6.Sales and Service Information .................................. 42
6.1 Revision History ...................................................42
6.2 Copyrights and Code Protection .......................... 42
November 12, 2004Document No. 38-12013 Rev. *G7
Page 8
1.Pin Information
This chapter describes, lists, and illustrates the CY8C29x66 PSoC device pins and pinout configurations.
1.1Pinouts
The CY8C29x66 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 capab le of Digital IO. However, Vss, Vdd, SMP, and XRES are not capable of Digital IO.
10IOP1[7]I2C Serial Clock (SCL).
11IOP1[5]I2C Serial Data (SDA).
12IOP1[3]
13IOP1[1]Crystal (XTALin), I2C Serial Clock (SCL).
14PowerVssGround connection.
15IOP1[0]Crystal (XTALout), I2C Serial Data (SDA).
16IOP1[2]
17IOP1[4]Optional External Clock Input (EXT CLK).
18IOP1[6]
19InputXRESActive high external reset with internal pull
9IOP3[7]
10IOP3[5]
11IOP3 [3]
12IOP3[1]
13IOP1[7]I2C Serial Clock (SCL).
14IOP1[5]I2C Serial Data (SDA).
15IOP1[3]
16IOP1[1]Crystal (XTALin), I2C Serial Clock (SCL).
17PowerVssGround connection.
18IOP1[0]Crystal (XTALout), I2C Serial Data (SDA).
19IOP1[2]
20IOP1[4]Optional External Clock Input (EXTCLK).
21IOP1[6]
22IOP3[0]
23IOP3[2]
24IOP3[4]
25IOP3[6]
26InputXRESActive high external reset with internal pull
27IOP4[0]
28IOP4[2]
29IOP4[4]
30IOP4[6]
31IOIP2[0]Direct switched capacitor block input.
32IOIP2[2]Direct switched capacitor block input.
33IOP2 [4]External Analog Ground (AGND).
34IOP2[6]External Voltage Reference (VREF).
35IOIP0[0]Analog column mux input.
36IOIOP0[2]Analog column mux input and c olumn outpu t.
37IOIOP0[4]Analog column mux input and c olumn outpu t.
38IOIP0[6]Analog column mux input.
39PowerVddSupply voltage.
40IOIP0[7]Analog column mux input.
41IOIOP0[5]Analog column mux input and c olumn outpu t.
42IOIOP0[3]Analog column mux input and c olumn outpu t.
43IOIP0[1]Analog column mux input.
44IOP2[7]
Type
Digital Analog
Pin
Name
external components required.
down.
Description
A, I, P2[3]P2[2], A, I
A, I, P2[1]
CY8C29566 44-Pin PSoC Device
P0[2], A, IO
P0[0], A, I
P0[7], A, I
Vdd
P0[5], A, IO
TQFP
I2C SCL, XTALin, P1[1]
P0[6], A, I
Vss
I2C SDA, XTALout, P1[0]
P0[1], A, I
P0[3], A, IO
P2[7]
P2[5]
P4[7]
P4[5]P4[4]
P4[3]
P4[1]
SMPXRES
P3[7]P3[6]
P3[5]P3[4]
P3[3]P3[2]
4443424140393837363534
1
2
3
4
5
6
7
8
9
10
11
12
131415161718192021
P1[3]
P3[1]
I2C SCL, P 1 [7 ]
I2C SDA, P1[5]
P2[6 ], Externa l VREF
P0[4], A, IO
33
P2 [4], Exte rna l AGND
32
31
P2 [0 ], A , I
P4[6]
30
29
28
P4[2]
P4[0]
27
26
25
24
23
22
P1[6]
P3[0]
P1[2]
EXTCLK, P1[4]
LEGEND: A = Analog, I = Input, and O = Output.
November 12, 2004Document No. 38-12013 Rev. *G9
Page 10
CY8C29x66 Final Data Sheet1. Pin Information
1.1.348-Pin Part Pinouts
Table 1-3. 48-Pin Part Pinout (SSOP)
Pin
No.
1IOIP0[7]Analog column mux input.
2IOIOP0[5]Analog co l umn mux input and column ou tput.
3IOIOP0[3]Analog co l umn mux input and column ou tput.
4IOIP0[1]Analog column mux input.
5IOP2[7]
6IOP2[5]
7IOIP2[3]Direct switched capacitor block input.
8IOIP2[1]Direct switched capacitor block input.
9IOP4[7]
10IOP4[5]
11IOP4[3]
12IOP4[1]
13PowerSMPSwitch Mode Pump (SMP) conne ct ion to
14IOP3[7]
15IOP3[5]
16IOP3[3]
17IOP3[1]
18IOP5[3]
19IOP5[1]
20IOP1[7]I2C Serial Clock (SCL).
21IOP1[5]I2C Serial Data (SDA).
22IOP1[3]
23IOP1[1]Crystal (XTALin), I2C Serial Clock (SCL).
24PowerVssGround connection.
25IOP1[0]Crystal (XTALout), I2C Serial Data (SDA).
26IOP1[2]
27IOP1[4]Optional External Clock Input (EXTCLK).
28IOP1[6]
29IOP5[0]
30IOP5[2]
31IOP3[0]
32IOP3[2]
33IOP3[4]
34IOP3[6]
35InputXRESActive high external reset with internal pul l
36IOP4[0]
37IOP4[2]
38IOP4[4]
39IOP4[6]
40IOIP2[0]Direct switched capacitor block input.
41IOIP2[2]Direct switched capacitor block input.
42IOP2[4]External Analog Ground (AGND).
43IOP2[6]External Voltage Reference (VREF).
44IOIP0[0]Analog column mux input.
45IOIOP0[2]Analog column mux input and c olumn outpu t.
46IOIOP0[4]Analog column mux input and c olumn outpu t.
47IOIP0[6]Analog column mux input.
48PowerVddSupply voltage.
This chapter lists the registers of the CY8C29x66 PSoC device. For detailed register information, reference the
PSoC™ Mixed-Signal Array Technical Reference Manual.
2.1Register Conventions
2.1.1Abbreviations Used
The register conventions specific to this section are listed in the
following table.
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
2.2Register 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 regist er (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 should not be accessed.
Blank fields are Reserved and should not be accessed.# Access is bit specific.
(1,Hex)
Addr
23AMD_CR063RWA3VLT_CRE3RW
27ALT_CR067RWA7DEC_CR2E7RW
2B6BABECO_TREBW
2FTMP3_DR6FRWAFEF
33ACB00CR273RWRDI0LT0B3RWF3
37ACB01CR277RWB7CPU_FF7RL
3BACB02CR27BRWRDI1LT0BBRWFB
3FACB03CR27FRWBFCPU_SCR0FF#
Name
Access
(1,Hex)
Addr
Name
Access
(1,Hex)
Addr
Name
(1,Hex)
Addr
Access
November 12, 2004Document No. 38-12013 Rev. *G16
Page 17
3.Electrical S pecifications
This chapter presents the DC and AC electrical specifications of the CY8C29x66 PSoC device. For the most up to date electrical
specifications, confirm that you have the most recent data sheet by going to the web at http://www.cypress.com/psoc.
Specifi cations are valid for -40
Refer to Table 3-16 for the electrical specifications on the internal main oscillator (IMO) using SLIMO mode.
o
C ≤ TA ≤ 85oC and TJ ≤ 100oC, except where noted.
5.25
4.75
Vdd Voltage
3.00
O
V
p
a
e
l
R
i
r
d
a
e
t
g
i
n
i
o
g
n
93 kHz12 MHz24 MHz
CPU Frequency
5.25
SLIMO
Mode=1
4.75
Vdd Voltage
SLIMO
Mode=0
SLIMO Mode=0
3.60
3.00
93 kHz
SLIMO
Mode=1
6 MHz
IMO Frequency
SLIMO
Mode=0
12 MHz24 MHz
Figure 3-1a. Voltage versus CPU Frequency Figure 3-1b. IMO Frequency Trim Options
The following table lists the units of measure that are used in this chapter.
µAmicroamperepppeak-to-peak
µFmicrofaradppmparts per million
µHmicrohenrypspicosecond
µsmicrosecondspssamples per second
µVmicrovoltsσsigma: one standard deviation
µVrmsmicrovolts root-mean-squareVvolts
degree Cels i usµWmicrowatts
C
November 12, 2004Document No. 38-12013 Rev. *G17
Page 18
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.1Absolute Maximum Ratings
Table 3-2: Absolute Maximum Ratings
SymbolDescriptionMinTypMaxUnitsNotes
T
STG
T
A
VddSupply Voltage on Vdd Relative to Vss-0.5–+6.0V
V
IO
V
IOZ
I
MIO
I
MAIO
ESDElectro Static Discharge Voltage2000––VHuman Body Model ESD.
LULatch-up C urrent––200mA
Storage Tempera ture -55–+100
Ambient Temperature with Power Applied-40–+85
DC Input VoltageVss - 0.5 –Vdd + 0.5 V
DC Voltage App lie d to Tri-stateVss - 0.5 –Vdd + 0.5 V
Maximum Current into any Port P in-25–+50mA
Maximum Cu rrent into any Port Pin Conf igured as Analog
Driver
-50–+50mA
o
C
o
C
Higher storage temperature s w ill re duce data
retention time.
The following table lists 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.
Table 3-5: DC GPIO Specifications
SymbolDescriptionMinTypMaxUnitsNotes
R
PU
R
PD
V
OH
V
OL
V
IL
V
IH
V
H
I
IL
C
IN
C
OUT
November 12, 2004Document No. 38-12013 Rev. *G19
≤ 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
Pull up Resistor45. 68kΩ
Pull down Resistor45.68kΩ
High Output LevelVdd - 1.0 ––VIOH = 10 mA, Vdd = 4.75 to 5.25V (8 total loads,
Low Output Level––0.75VIOL = 25 mA, Vd d = 4.75 to 5.25 V (8 to tal load s,
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.510pF
Capacitive Load on Pins as Output–3.510pF
4 on even port pins (for example, P0[2], P1[4]),
4 on odd port pins (for example, P0[3], P1 [5])).
80 mA maximum combined IOH budget.
4 on even port pins (for example, P0[2], P1[4]),
4 on odd port pins (for example, P0[3], P1 [5])).
150 mA maximum combined IOL budget.
Package and pin dependent. Temp = 25oC.
Package and pin dependent. Temp = 25oC.
Page 20
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.3.3DC Operational Ampli fier 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.
The Operatio nal Amplifier is a component of bo th the Analog Con tinuous Time PSoC bloc ks and the Analog Sw itched Capacitor
PSoC blocks. The guarant eed spe ci fic ati ons are mea sur ed i n the Anal og Continuous T i me PSoC block. Ty pic al p ara me ters app ly to
5V at 25°C and are for design guidance only.
Table 3-6: 5V DC Operational Amplifier Specifications
SymbolDescriptionMinTypMaxUnitsNotes
V
OSOA
TCV
OSOA
I
EBOA
C
INOA
V
CMOA
CMRR
OA
G
OLOA
V
OHIGHOA
V
OLOWOA
I
SOA
PSRR
OA
≤ 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
Input Offset Voltage (absolute value)
Power = Low, Opamp Bias = High
Power = Medium, Opamp Bias = High
Power = High, Opamp Bias = High
Average Input Offset Voltage Drift–7.035.0
Input Leakage Current (Port 0 Analog Pins)–200–pAGross tested to 1 µA.
Input Capacitance (Port 0 Analog Pins)–4.59.5pF
Common Mo de Voltage Range. A l l Cases, exce pt highest.
Power = High, Opamp Bias = High
Common Mode Rejection Ratio60––dB
Open Loop Gain80––dB
High Output Voltage Swing (internal signals)Vdd - .01 ––V
Low Output Voltage Swing (internal signals)––0.1V
Supply Current (including associate d A GND buffer)
Power = Low, Opamp Bias = Low
Power = Low, Opamp Bias = High
Power = Medium, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Power = High, Opamp Bias = Low
Power = High, Opamp Bias = High
Supply Volta g e Rejection Ratio6780–dBVss ≤ VIN ≤ (Vdd - 2.25) or (Vdd - 1.25V) ≤
–1.6
–
–
0.0–Vdd
–
–
–
–
–
–
1.3
1.2
150
300
600
1200
2400
4600
10
8
7.5
Vdd - 0.5VV0.5–
200
400
800
1600
3200
6400
mV
mV
mV
µV/
µA
µA
µA
µA
µA
µA
o
C
Package and pin dependent. Temp = 25
VIN ≤ Vdd.
o
C.
November 12, 2004Document No. 38-12013 Rev. *G20
Page 21
CY8C29x66 Final Data Sheet3. Electrical Specifications
Table 3-7: 3.3V DC Operational Amplifier Specifications
SymbolDescriptionMinTypMaxUnitsNotes
V
OSOA
TCV
OSOA
I
EBOA
C
INOA
V
CMOA
CMRR
G
OLOA
V
OHIGHOA
V
OLOWOA
I
SOA
PSRR
Input Offset Voltage (absolute value)
Power = Low, Opamp Bias = High
Power = Medium, Opamp Bias = High
–
–
1.65
1.32
10
8
mV
mV
High Power is 5 Volts Only
Average Input Offset Voltage Drift–7.035.0
µV/
o
C
Input Leakage Current (Port 0 Analog Pins)–200–pAGross tested to 1 µA.
Input Capacitance (Port 0 Analog Pins)–4.59.5pF
Package and pin dependent. Temp = 25
Common Mode Voltage Range0–VddV
Common Mode Rejection Ratio60––dB
OA
Open Loop Gain80––dB
High Output Voltage Swing (internal signals)Vdd - .01 ––V
Low Output Voltage Swing (internal signals)––.01V
Supply Current (including associate d A GND buffer)
Power = Low, Opamp Bias = Low
Power = Low, Opamp Bias = High
Power = Medium, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Power = High, Opamp Bias = Low
Power = High, Opamp Bias = High
Supply Volta ge R ejection Ratio5480–dBVss ≤ VIN ≤ (Vdd - 2.25) o r (Vdd - 1.25V ) ≤
OA
–
–
–
–
–
–
150
300
600
1200
2400
–
200
400
800
1600
3200
–
µA
µA
µA
µA
µA
Not Allowed
VIN ≤ Vdd
o
C.
November 12, 2004Document No. 38-12013 Rev. *G21
Page 22
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.3.4DC 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.
Table 3-8: 5V DC Analog Output Buffer Specifications
SymbolDescriptionMinTypMaxUnitsNotes
V
OSOB
TCV
OSOB
V
CMOB
R
OUTOB
V
OHIGHOB
V
OLOWOB
I
SOB
PSRR
OB
≤ 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
Input Offset Vo ltage (Absol ute Value)–312mV
Average I nput Offset Voltage Drift–+6–µV/°C
Common-Mode Input Voltage Range0.5–Vdd - 1.0V
Output Resistance
Power = Low
Power = High
High Output Voltage Swing (Load = 32 ohms to Vdd/2)
Power = Low
Power = High
–
–
0.5 x Vdd + 1.3
0.5 x Vdd
+ 1.3
–
–
–
–
1
1
–
–
Ω
Ω
V
V
Low Output Voltage Swing (Load = 32 ohms to Vdd/2)
Power = Low
Power = High
–
–
–
–
0.5 x Vdd - 1.3
0.5 x Vdd
- 1.3
V
V
Supply Current Including Bias Cell (No Load)
Power = Low
Power = High
–
–
1.1
2.6
2
5
mA
mA
Supply Voltage Rejection Ratio4064–dB
Table 3-9: 3.3V DC Analog Output Buffer Specifications
SymbolDescriptionMinTypMaxUnitsNotes
V
OSOB
TCV
OSOB
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
Common-Mode Input Voltage Range0.5-Vdd - 1.0V
Output Resistance
Power = Low
Power = High
–
–
–
–
10
10
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 Volta ge R ej ect io n R a tio6064–dB
OB
–
0.8
2.0
1
5
- 1.0
Ω
Ω
V
V
V
V
mA
mA
November 12, 2004Document No. 38-12013 Rev. *G22
Page 23
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.3.5DC Switch Mode Pump Specifications
The following table lists 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.
Table 3-10: DC Switch Mode Pump (SMP) Specifications
SymbolDescriptionMinTypMaxUnitsNotes
V
5V5V Output Voltage at Vdd from Pump4.755.05.25V
PUMP
V
3V3V Output Voltage at Vdd from Pump3.003.253.60V
PUMP
I
PUMP
5VInput Voltage Range from Battery1.8–5.0V
V
BAT
V
3VInput Voltage Range from Battery1.0–3.3V
BAT
V
BATSTART
∆V
PUMP_Line
∆V
PUMP_Load
∆V
PUMP_Ripple
E
3
F
PUMP
DC
PUMP
a. L1 = 2 µH inductor, C1 = 10 µF capacitor, D1 = Schottky diode. See Figure3-2.
≤ 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
Configuration of footnote.
a
Average, neglecting ripple. SMP
trip voltage is set to 5.0V.
a
Configuration of footnote.
Average, neglecting ripple. SMP
trip voltage is set to 3.25V.
Available Output Current
= 1.5V, V
V
BAT
= 1.8V, V
V
BAT
Minimum Input Voltage from Battery to
Start Pump
Line Regulation (over V
PUMP
PUMP
= 3.25V
= 5.0V
range)–5–%V
BAT
8
5
–
–
–
–
1.2––V
mA
mA
Configuration of footnote.
SMP trip voltage is set to 3.25V.
SMP trip voltage is set to 5.0V.
Configuration of footnote.
Configuration of footnote.
Configuration of footnote.
o
40
C.
O
Configuration of footnote.a VO is the “Vdd Value for PUMP
a
a
SMP trip voltage is set to 5.0V.
a
SMP trip voltage is set to 3.25V.
a 0o
C ≤ TA ≤ 100. 1.25V at TA = -
Trip” specified by the VM[2:0] setting in the DC POR and
LVD Specification, Table 3-14 on page 25.
Load Regulation–5–%V
Output Voltage Ripple (depends on capaci-
–100–mVpp
tor/load)
Efficiency3550–%
O
Configuration of footnote.a VO is the “Vdd Value for PUMP
Trip” specified by the VM[2:0] setting in the DC POR and
LVD Specification, Table 3-14 on page 25.
Configuration of footnote.
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.3.6DC Analog Reference 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.
The guaranteed specific ations are measure d throug h the Anal og Con tinuou s T im e PSoC block s. The powe r level s 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.
Reference control power is high.
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.3.9DC Programming Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ T
are for design guidance only.
Table 3-15: DC Programming Specifications
SymbolDescriptionMinTypMaxUnitsNotes
I
DDP
V
ILP
V
IHP
I
ILP
I
IHP
V
OLV
V
OHV
Flash
ENPB
Flash
ENT
Flash
DR
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 blocks of
25,000 maximum cycles each, or 36x4 blocks of 12,500 maximum cycles each (to limit the total number of cycles to 36x50,000 and that no single block ever sees more than
50,000 cycles).
For the full industrial range, the user must employ a temperature sensor user module (FlashTemp) and feed the result to the temperature argument before writing. Refer to
the Flash APIs Application Note AN2015 at http://www.cypress.com under Application Notes for more information.
≤ 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 During Programming or Verify–1030mA
Input Low Voltage During Programming or Verify––0.8V
Input High Voltage During Programming or Verify2.2––V
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 Ve rify––Vss + 0.75 V
Output High Voltage During Programming or VerifyVdd - 1.0–VddV
Flash Endurance (per block)50,000–––Erase/write cycles per block.
Flash Endurance (total)
Flash Data Retention10––Years
a
––0.2mADriving internal pull-down resistor.
––1.5mADriving internal pull-down resistor.
1,800,000 –––Erase/write cycles.
November 12, 2004Document No. 38-12013 Rev. *G26
Page 27
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.4AC Electrical Characteristics
3.4.1AC Chip-Level Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ T
are for design guidance only.
Note See the individual user module data sheets for information on maximum frequencies for user modules.
Table 3-16: AC Chip-Level Specifications
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 “Adjusting PSoC Microcontroller Trims for Dual Voltage-Range Operation” for information on tr im mi n g fo r op er a t i on at 3.3 V.
d. See the individual user module data sheets for information on maximum frequencies for user modules.
≤ 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
Internal Main Oscillator Frequency for 24 MHz23.424
Internal Main Oscillator Frequency for 6 MHz5.756
CPU Frequency (5V Nominal)0.9324
CPU Frequency (3.3V Nominal)0.9312
Digital PSoC Block Frequency048
Digital PSoC Block Frequency024
24.6
6.35
24.6
12.3
49.2
24.6
a,b,c
MHzTrimmed for 5V or 3.3 V operation us i ng
a,b,c
MHzTrimmed for 5V or 3.3 V operation us i ng
a,b
MHz
b,c
MHz
a,b,d
MHzRefer to the AC Digital Block Specifica-
b, d
MHz
factory trim values. See Figure 3-1b on
page 17. SLI MO Mo de = 0.
factory trim values. See Figure 3-1b on
page 17. SLI MO Mo de = 1.
tions below.
Internal Low Sp ee d Oscillator Frequency153264kHz
External Crystal Oscillator–32.768–kHz
Accuracy is capacitor and crystal dependent.
50% duty cycle.
PLL Frequency–23.986–MHz
PLL Lock Time0.5–10ms
PLL Lock Time for Low Gain Setting0.5–50ms
External Crystal Oscillator Startup to 1%–250500ms
External Crystal Oscillator Startup to 100 ppm–300600msThe crystal oscillator frequency is within 100 ppm
External Reset Pulse Width10––µs
a,c
49.2
MHzTrimmed. Utilizing f act ory trim values.
Maximum frequency of signal on row input or row output.––12.3MHz
Supply Ramp Time0––µs
A multiple (x732) of crystal frequency.
of its final val ue by the end of the T
Correct operat ion assu mes a pr operl y loade d 1 uW
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.4.3AC 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.
Settling times, slew rates, and gain bandw idth are based on the Analog Continuous Time PSoC block.
≤ 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
Power = High and Opamp Bias = High is not supported at 3.3V.
Table 3-18: 5V AC Operational Amplifier Specifications
SymbolDescriptionMinTypMaxUnitsNotes
T
T
SR
SR
BW
E
ROA
SOA
ROA
FOA
OA
NOA
Rising Settling Time to 0.1% for a 1V Step (10 pF load,
Unity Gain)
Power = Low, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Power = High, Opamp Bias = High
Falling Settling Time to 0.1% for a 1V Step (10 pF loa d ,
Unity Gain)
Power = Low, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Power = High, Opamp Bias = High
Rising Slew Rate (20% to 80%) of a 1V Step (10 pF load,
Unity Gain)
Power = Low, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Power = High, Opamp Bias = High
Falling Slew Rate (20% to 80%) of a 1V Step (10 pF load,
Unity Gain)
Power = Low, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Power = High, Opamp Bias = High
Gain Bandwidth Product
Power = Low, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Power = High, Opamp Bias = High
Noise at 1 kHz (Power = Med i um, Opamp Bias = High) –100–nV/rt-Hz
–
–
–
–
–
–
0.15
1.7
6.5
0.01
0.5
4.0
0.75
3.1
5.4
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
3.9
0.72
0.62
5.9
0.92
0.72
–
–
–
–
–
–
–
–
–
µs
µs
µs
µs
µs
µs
V/
V/
V/
V/
V/
V/
MHz
MHz
MHz
µs
µs
µs
µs
µs
µs
Table 3-19: 3.3V AC Operational Amplifier Specifications
SymbolDescriptionMinTypMaxUnitsNotes
T
T
SR
SR
BW
E
ROA
SOA
ROA
FOA
OA
NOA
Rising Settling Time to 0.1% of a 1V Step (10 pF load, Unity
Gain)
Power = Low, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Falling Settling Time to 0.1% of a 1V Step (10 pF lo ad ,
Unity Gain)
Power = Low, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Rising Slew Rate (20% to 80%) of a 1V Step (10 pF load,
Unity Gain)
Power = Low, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Falling Slew Rate (20% to 80%) of a 1V Step (10 pF load,
Unity Gain)
Power = Low, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Gain Bandwidth Product
Power = Low, Opamp Bias = Low
Power = Medium, Opamp Bias = High
Noise at 1 kHz (Power = Med i um, Opamp Bias = High) –100–nV/rt-Hz
–
–
–
–
0.31
2.7
0.24
1.8
0.67
2.8
–
–
–
–
–
–
–
–
–
–
3.92
0.72
5.41
0.72
–
–
–
–
–
–
µs
µs
µs
µs
V/
V/
V/
V/
MHz
MHz
µs
µs
µs
µs
November 12, 2004Document No. 38-12013 Rev. *G30
Page 31
CY8C29x66 Final Data Sheet3. Electrical Specifications
When bypassed by a capacitor on P2[4], the noise of the analog ground signal distributed to each block is reduced by a factor of up
to 5 (14 dB). This is at frequencies above the corner frequency defined by the on-chip 8.1k resistance and the external capacitor.
dBV/rtHz
10000
0
0.01
0.1
1.0
10
1000
100
0.0010.010.1110100Freq (kHz)
Figure 3-9. Typical AGND Noise with P2[4] Bypass
At low frequencies, the opamp noise is proporti ona l to 1/f, p ower in de pen dent, and determined by de vic e g eometry. At high frequencies, increased power level reduces the noise spectrum level.
nV/rtHz
10000
PH_BH
PH_BL
PM_BL
PL_BL
1000
100
10
0.0010.010.1110100
Freq (kHz)
Figure 3-10. Typical Opamp Noise
November 12, 2004Document No. 38-12013 Rev. *G31
Page 32
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.4.4AC Digital Block Specifications
The following table lists 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.
Table 3-20: AC Digital Block Specifications
FunctionDescriptionMinTypMaxUnitsNotes
All
Functions
TimerCaptu re Pu l se Width
CounterEnable Pulse Width
Dead Band Kill Pulse Width:
CRCPRS
(PRS Mode)
CRCPRS
(CRC Mode)
SPIMMaximum Input Clock Frequency––8.2MHzMaximum data rate at 4.1 MHz due to 2 x over
SPISMaximum Input Clock Frequency––4.1ns
TransmitterMaximum Input Clock Frequency––24.6MHzMaximum data rate at 3.08 MHz due to 8 x over
ReceiverMaximum Input Clock Fr eq uency––24.6MHzMaximum data rate at 3.08 MHz due to 8 x over
a. 50 ns minimum input pulse width is based on the input synchronizers running at 24 MHz (42 ns nominal period).
≤ 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
Maximum Block Clocking Frequency (> 4.75V)49.24.75V < Vdd < 5.25V.
Maximum Block Clocking Frequency (< 4.75V)24.63.0V < Vdd < 4.75V.
a
50
Maximum Frequency, No Capture––49.2MHz4.75V < Vdd < 5.25V .
Maximum Frequency, With Capture––24.6MHz
50
Maximum Frequency, No Enable Input––49.2MHz4.75V < Vdd < 5.25V.
Maximum Frequency, Enable Input––24.6MHz
Maximum Frequency––49.2MHz4.75V < Vdd < 5.25V.
Maximum Input Clock Frequency––49.2MHz4.75V < Vdd < 5.25V.
Maximum Input Clock Frequency––24.6MHz
Width of SS_ Negated Between Transmissions
50
50
50
––ns
a
––ns
a
––ns
a
––ns
a
––ns
clocking.
clocking.
clocking.
November 12, 2004Document No. 38-12013 Rev. *G32
Page 33
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.4.5AC 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.
Table 3-21: 5V AC Analog Output Buffer Specifications
SymbolDescriptionMinTypMaxUnitsNotes
T
ROB
T
SOB
SR
ROB
SR
FOB
BW
OB
BW
OB
≤ 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
Rising Settling Time to 0.1%, 1V Step, 100pF Load
Power = Low
Power = High
Falling Settling Time to 0.1%, 1V Step, 100pF Load
Power = Low
Power = High
Rising Slew Rate (20% to 80%), 1V Step, 100pF Load
Power = Low
Power = High
Falling Slew Rate (80% to 20%), 1V Step, 100pF Load
Power = Low
Power = High
Small Signal Bandwidth, 20mVpp, 3dB BW, 100pF Load
Power = Low
Power = High
Large Signal Bandwidth, 1Vpp, 3dB BW, 100pF Load
Power = Low
Power = High
–
–
–
–
0.5
0.5
0.55
0.55
0.8
0.8
300
300
–
–
–
–
–
–
–
–
–
–
–
–
4
4
3.4
3.4
–
–
–
–
–
–
–
–
µs
µs
µs
µs
V/µs
V/
V/µs
V/
MHz
MHz
kHz
kHz
µs
µs
Table 3-22: 3.3V AC Analog Output Buffer Specifications
SymbolDescriptionMinTypMaxUnitsNotes
T
T
SR
SR
BW
BW
ROB
SOB
Rising Settling Time to 0.1%, 1V Step, 100pF Load
Power = Low
Power = High
Falling Settling Time to 0.1%, 1V Step, 100pF Load
Power = Low
Power = High
Rising Slew Rate (20% to 80%), 1V Step, 100pF Load
ROB
Power = Low
Power = High
Falling Slew Rate (80% to 20%), 1V Step, 100pF Load
FOB
Power = Low
Power = High
Small Signal Bandwidth, 20mVpp, 3dB BW, 100pF Load
OB
Power = Low
Power = High
Large Signal Bandwidth, 1Vpp, 3dB BW, 100pF Load
OB
Power = Low
Power = High
–
–
–
–
.36
.36
.4
.4
0.7
0.7
200
200
–
–
–
–
–
–
–
–
–
–
–
–
4.7
4.7
4
4
–
–
–
–
–
–
–
–
µs
µs
µs
µs
V/µs
V/
V/µs
V/
MHz
MHz
kHz
kHz
µs
µs
November 12, 2004Document No. 38-12013 Rev. *G33
Page 34
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.4.6AC External Clock 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.
Table 3-23: 5V AC External Clo ck Specific ations
SymbolDescriptionMinTypMaxUnitsNotes
F
OSCEXT
–High Period20.6
–Low Period20.6
–Power Up IMO to Switch150
Table 3-24: 3.3V AC External Clock Specifications
SymbolDescriptionMinTypMaxUnitsNotes
F
OSCEXT
F
OSCEXT
–High Period with CPU Clock divide by 141.7
–Low Period with CPU Clock divide by 14 1. 7
–Power Up IMO to Switch150
≤ 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
Frequency0.093–24.6MHz
–5300ns
––ns
––µs
Frequency with CPU Clock divide by 10.093–12.3MHzMaximum CPU frequency is 12 MHz at 3.3V.
Frequency with CPU Clock divide by 2 or greater0.186–24.6MHzIf the frequency of the external clock is
–5300ns
––ns
––µs
With the CPU clock divider set to 1, the
external clock must adhere to the maximum
frequency and duty cycle requirements.
greater than 12 MHz, the CPU clock divider
must be set to 2 or greater. In this case, the
CPU clock divider will ensure tha t th e fifty
percent duty cycle requirement is met.
3.4.7AC Programming Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ T
are for design guidance only.
Table 3-25: AC Programming Specifications
SymbolDescriptionMinTypMaxUnitsNotes
T
RSCLK
T
FSCLK
T
SSCLK
T
HSCLK
F
SCLK
T
ERASEB
T
WRITE
T
DSCLK
T
DSCLK3
≤ 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
Rise Time of SCLK 1–20ns
Fall Time of SCLK 1–20ns
Data Set up Time to Falling Edge of SCLK40––ns
Data Hold T ime fro m Falling Edge of SCLK40––ns
Frequency of SCLK0–8MHz
Flash Erase Time (Block)–10–ms
Flash Block Write Time–10–ms
Data Out Delay from Falling Edge of SCLK––45nsVdd > 3.6
Data Out Delay from Falling Edge of SCLK––50ns3.0 ≤ Vdd ≤ 3.6
November 12, 2004Document No. 38-12013 Rev. *G34
Page 35
CY8C29x66 Final Data Sheet3. Electrical Specifications
3.4.8AC I2C Specifications
The following table lists guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V
and -40°C ≤ T
are for design guidance only.
Table 3-26: 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
the case if the device does not stretch the LOW period of the SCL signal. If such device does stretch the LOW period of the SCL signal, it must output the next data
bit to the SDA line t
≤ 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
2
C SDA and SCL Pins
Standard ModeFast Mode
UnitsNotesMinMaxMinMax
SCL Clock Frequency01000400kHz
Hold Time (repeated) START Condition. After this
period, the first clock pulse is gene rated.
LOW Period of the SCL Clock4.7–1.3–µs
HIGH Period of the SCL Clock4.0–0.6–µs
Set-up Time for a Repeated START Condition4.7–0.6–µs
Data Hold Time0–0–µs
Data Set-up Time250–
Set-up Time for STOP Condition4.0–0.6–µs
Bus Free Time Between a STOP and START Condition 4.7–1.3–µs
Pulse Width of spikes are suppressed by the input fil-
ter.
+ t
rmax
= 1000 + 250 = 1250 ns (according to the Standard-Mode I2C-bus specification) before the SCL line is released.
SU;DAT
4.0–0.6–µs
a
100
––050ns
–ns
≥ 250 ns must then be met. This will automatically be
SU;DAT
SD A
T
LOWI2C
T
SUDATI2C
T
HDSTAI2C
T
SPI2C
T
BUFI2C
SCL
S
T
HDSTAI2C
T
HDDATI2C
T
HIGHI2C
T
SUSTAI2C
SrSP
Figure 3-11. Definition for Timing for Fast/Standard Mode on the I
T
SUSTOI2C
2
C Bus
November 12, 2004Document No. 38-12013 Rev. *G35
Page 36
4.Packaging Information
This chapter illustrates the packaging specifications for the CY8C29x66 PSoC device, along with the thermal impedances for each
package and the typical package capacitance on crystal pins.
Important Note Emulation tools may require a larger area on the target PCB than the chip’s footprint. For a detailed description of
the emulation tools’ dimensions, refer to the document titled PSoC Emul ator Pod Dime ns ion s at
AX = TQFP Pb-Free
Speed: 24 MHz
Part Number
Family Code
Technology Code: C = CMOS
Marketing Code: 8 = Cypress MicroSystems
Company ID: CY = Cypress
XRES Pin
November 12, 2004Document No. 38-12013 Rev. *G41
Page 42
6.Sales and Service Information
To obtain informa tion ab out Cypress Micro System s or PSoC sa les an d techn ical supp ort, reference the fol lowing i nforma tion or go to
the section titled “Getting Started” on page 4 in this document.
Cypress Mi croSystem s
2700 162nd Street SW
Building D
Lynnwood, WA 98037
Phone: 800.669.0557
Facsimile: 425.787.4641
Web Sites:Company Information – http://www.cypress.com
Technical Support – http://www.cypress.com/support/login.cfm
6.1Revision History
Table 6-1. CY8C29X66 Data Sheet Revision History
Document Title: CY8C29466, CY8C29566, CY8C29666, and CY8C29866 PSoC Mixed-Signal Array Final Data Sheet
Document Number: 38-120 13
RevisionECN #Issue DateOrigin of ChangeDescription of Change
**13115111/13/2003 New SiliconNew document (Revision **).
*A13284801/21/2004 NWJNew information. First edition of preliminary data sheet.
*B13320501/27/2004 NWJChanged part numbers, increased SRAM data storage to 2K bytes.
*C13365602/09/2004 SFVChanged part numbers and removed a 28-pin SOIC.
*D22724006/01/2004 SFVChanges to Overview section, 48-pin MLF pinout, and significant changes to the Electrical Specs.
*E240108See ECNSFVAdded a 28-lead (300 mil) SOIC part.
*F247492See ECNSFVNew information added to the Elec tri c a l Specifications chapter.
*G288849See ECNHMTAdd DS standards, update device table, fine-tune pinouts, add Reflow Peak Temp. table. Finalize.
The information contained herein is subject to change without notice. Cypress MicroSystems assumes no responsibility for the use of any circuitry other than cir cuitry
embodied in a Cypress MicroSystems product. Nor does it convey or imply any license under patent or other rights. Cypress MicroSystems does n o t au tho riz e it s prod u ct s
for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of
Cypress MicroSystems products in life- support systems application impl ies that the manufacturer assumes all ri sk of such use and in doing so indemnifies Cypress
MicroSystems against all charges. Cypress MicroSystems products are not warranted nor intended to be used for medical, life-support, life-saving, critical control or safety
applications, unless pu rsuant to an e xpress writte n agreement with Cypress M icroSystems.
Flash Code Protection
Note the following details of the Flash code protection features on Cypress MicroSystems devices.
Cypress MicroSystems products meet the specifications contained in their particular Cypress MicroSystems Data Sheets. Cypress MicroSystems believes that its family of
products is one of the most secure families of it s kind on the market today, regardless of how they are used. There may be met hods, unknown to Cypress MicroSystems,
that can breach the c ode protect ion feat ures. An y of these meth ods, to ou r knowled ge, would b e dishone st and possi bly ill egal. Nei ther Cypress Micr oSystems nor any
other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as "unbreakable."
Cypress MicroSystems is willing to work with the customer who is concerned about the integrity of their code. Code protection is constantly evolving. We at Cypress MicroSystems are committed to continuously improving the code protection features of our products.