CYPRESS CY8C29466, CY8C29566, CY8C29666, CY8C29866 User Manual

PSoC™ Mixed-Signal Array Final Data Sheet
CY8C29466, CY8C29566, CY8C29666, and CY8C29866

Features

Powerful Harvard Architecture ProcessorM8C Processor Speeds to 24 MHzTwo 8x8 Multiply, 32-Bit AccumulateLow Power at High Speed3.0V to 5.25V Operating VoltageOperating Voltages Down to 1.0V Using On-
Chip Switch Mode Pump (SMP)
Industrial Temperature Range: -40°C to +85°C
Advanced Peripherals (PSoC Blocks)12 Rail-to-Rail Analog PSoC Blocks Provide:
- Up to 14-Bit ADCs
- Up to 9-Bit DACs
- Programmable Gain Amplifiers
- Programmable Filters and Comparators
16 Digital PSoC Blocks Provide:
- 8- to 32-Bit Timers, Counters, and PWMs
- CRC and PRS Modules
- Up to 4 Full-Duplex UARTs
- Multiple SPI Masters or Slaves
- Connectable to all GPIO Pins
Complex Peripherals by Combining Blocks
Port 7 Port 6 Port 5 Port 4 Port 3 Port 2 Port 1 Port 0
SYSTEM BUS
Global Digital Interconnect
SRAM
2K
Interrupt
Controller
Multiple C lock Sources
(Includes IMO, ILO, PLL, and ECO)
DIGITAL SYSTEM
Digital
Block Array
SROM Flash 32K
CPU Core (M8C)
Global Analog Interconnect
ANALOG SYSTEM
Analog
Block Array
Precision, Programmable ClockingInternal ±2.5% 24/48 MHz Oscillator24/48 MHz with Optional 32.768 kHz CrystalOptional External Oscillator, up to 24 MHzInternal Oscillator for Watchdog and Sleep
Flexible On-Chip Memory32K Bytes Flash Program Storage 50,000
Erase/Write Cycles
2K Bytes SRAM Data Stora geIn-System Serial Programming (ISSP™)Partial Flash UpdatesFlexible Protection Mode sEEPROM Emulation in Flash
Programmable Pin Configuration s25 mA Sink on all GPIOPull up, Pull down, High Z, Strong, or Open
Drain Drive Modes on all GPIO
Up to 12 Analog Inputs on GPIOFour 40 mA Analog Outputs on GPIOConfigurable 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 conve­nient 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 TimersUser-Configurable Low Voltage DetectionIntegrated Supervisory CircuitOn-Chip Precision Voltage Reference
Complete Developm en t ToolsFree Development Software
(PSoC™ De signer)
Full-Featured, In-Circuit Emulator and
Programmer
Full S peed EmulationComplex Breakpoint Structure128K Bytes Trace MemoryComplex EventsC Compilers, Assembler, and Linker
The PSoC Core is a powerful engine that supports a rich fea­ture 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 icro­processor. The CPU utilizes an interrupt controller with 25 vec-
November 12, 2004 © Cypress MicroSystems, Inc. 2003-2004 — Document No. 38-12013 Rev. *G 1
CY8C29x66 Final Data Sheet PSoC™ Overview
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 emu­lated 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 genera­tors, 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 r­rupt 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 com­bined 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 n­figurations 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 n­straints 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 opti­mum 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 flexi­ble and can be customized to support specific application requiremen ts. Some of the more comm on PSoC analog fun c­tions (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, 2004 Document No. 38-12013 Rev. *G 2
CY8C29x66 Final Data Sheet PSoC™ 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. Addi­tional resources include a multiplier, decimator, switch mode pump, low voltage detection, and power on reset. Brief state­ments describing the merits of each system resource are pre­sented 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]
ACB00 ACB01
ASC10
Interface to
Digital System
M8C Interface (Address Bus, Data Bus, Etc.)
ACI1[1:0] ACI2[1:0]
B l oc k Arra y
ACB02 ACB03
ASD11
ASC21
RefLo AGND
RefHi
ASC12 ASD13
ASD22 ASC23ASD20
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.
PSoC Device Characteristics
PSoC Device
Group
Digital Rows
Digital Blocks
Digital IO (max)
CY8C29x66 44 4 16 12 4 4 12 2K 32K
CY8C27x43 CY8C24794 56 1 4 48 2 2 6 1K 16K CY8C24x23 24 1 4 12 2 2 6 256 Bytes 4K CY8C24x23A 24 1 4 12 2 2 6 256 Bytes 4K CY8C21x34 28 1 4 28 0 2
CY8C21x23
a. Limited analog functionality.
44 2 8 12 4 4 12 256 Bytes 16K
16 1 4 8 0 2
Analog Inputs
Analog Outputs
Analog Blocks
Analog Columns
a
4
a
4
Amount of SRAM
512 Bytes 8K 256 Bytes 4K
Amount of Flash
November 12, 2004 Document No. 38-12013 Rev. *G 3
CY8C29x66 Final Data Sheet PSoC™ Overview

Getting Started

The quickest path to understanding the PSoC silicon is by rea d­ing this data sheet and using the PSoC Designer Integrated Development Environment (IDE). This data sheet is an over­view 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 develop­ment. 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 cover­ing 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, Win­dows 2000, Windows Millennium (Me), or Windows XP. (Refer­ence the PSoC Designer Functional Flow diagram below.)
PSoC Designer helps the customer to select an operating con­figuration 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, 2004 Document No. 38-12013 Rev. *G 4
CY8C29x66 Final Data Sheet PSoC™ 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 configu­ration 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 pro­gramming 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 precon­figured 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, com­pile, 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 break­points, 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 avail­able 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 auto­matically 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, 2004 Document No. 38-12013 Rev. *G 5
CY8C29x66 Final Data Sheet PSoC™ 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 hard­ware 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 Inte­grated 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 con­tains over 50 common peripherals such as ADCs, DACs Tim­ers, 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 Mod­ule configures one or more digital PSoC blocks, one for each 8 bits of resolution. The user module parameters permit you to establish the pulse width and duty cycle. User modules also provide tested software to cut your development time. The user module application programming interface (API) provides high­level functions to control and respond to hardware events at run-time. The API als o provides o ptional inte rrupt servic e rou­tines 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 set­ting 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 inter­connecting 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-rou­tines 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 gener­ated 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 profes­sional-strength “makefile” system to automatically analyze all file dependencies and run the compiler and assembler as nec­essary. 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 down­loads 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, 2004 Document No. 38-12013 Rev. *G 6
CY8C29x66 Final Data Sheet PSoC™ Overview

Document Conventions

Acronyms Used
The following table lists the acronyms that are used in this doc­ument.
Acronym Description
AC alternating current ADC analog-to-digital converter API application programming interface CPU central processing unit CT continuous time DAC digital-to- analog converter DC direct current ECO external crystal oscillator EEPROM electrically erasable programmable read-only memory FSR full scale range GPIO general purpose IO GUI graphical user interface HBM human body model ICE in-circuit emul ato r ILO internal low speed oscillator IMO internal main oscillator IO input/output IPOR imprecise power on reset LSb least-significant bit LVD low voltage detect MSb most-significant bit PC program counter PLL phase-locked loop POR power on reset PPOR precision power on reset PSoC™ Programmable System-on-Chip™ PWM pulse width modulator SC switched capacitor SLIMO slow IMO SMP switch mode pump SRAM static random access memory
Units of Measure
A units of measure table is located in the Electrical Specifica­tions 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 upper­case 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
1.1 Pinouts ................................................................... 8
1.1.1 28-Pin Part Pinout ...................................... 8
1.1.2 44-Pin Part Pinout ...................................... 9
1.1.3 48-Pin Part Pinouts ...................................10
1.1.4 100-Pin Part Pinout ..................................12
2. Register Reference ..................................................... 14
2.1 Register Conventions ........................................... 14
2.1.1 Abbreviations Used .................................. 14
2.2 Register Mapping Tables ..................................... 14
3. Electrical Specifications ............................................ 17
3.1 Absolute Maximum Ratings ................................. 18
3.2 Operating Temperature ........................................ 18
3.3 DC Electrical Characteristics ................................19
3.3.1 DC Chip-Level Specifications ................... 19
3.3.2 DC General Purpose IO Specifications .... 19
3.3.3 DC Operational Amplifier Specifications ... 20
3.3.4 DC Analog Output Buffer Specifications ... 22
3.3.5 DC Switch Mode Pump Specifications ..... 23
3.3.6 DC Analog Reference Specifications ....... 24
3.3.7 DC Analog PSoC Block Specifications ..... 25
3.3.8 DC POR, SMP, and LVD Specifications ... 25
3.3.9 DC Programming Specifications ............... 26
3.4 AC Electrical Characteristics ................................ 27
3.4.1 AC Chip-Level Specifications ................... 27
3.4.2 AC General Purpose IO Specifications .... 29
3.4.3 AC Operational Amplifier Specifications ... 30
3.4.4 AC Digital Block Specifications ................. 32
3.4.5 AC Analog Output Buffer Specifications ... 33
3.4.6 AC External Clock Specifications ............. 34
3.4.7 AC Programming Specifications ............... 34
3.4.8 AC I2C Specifications ...............................35
4. Packaging Information ...............................................36
4.1 Packaging Dimensions .........................................36
4.2 Thermal Impedances ........................................... 40
4.3 Capacitance on Crystal Pins ................................40
4.4 Solder Reflow Peak Temperature ........................ 40
5. Ordering Information .................................................. 41
5.1 Ordering Code Definitions .................................... 41
6. Sales and Service Information .................................. 42
6.1 Revision History ...................................................42
6.2 Copyrights and Code Protection .......................... 42
November 12, 2004 Document No. 38-12013 Rev. *G 7

1. Pin Information

This chapter describes, lists, and illustrates the CY8C29x66 PSoC device pins and pinout configurations.

1.1 Pinouts

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.

1.1.1 28-Pin Part Pinout

Table 1-1. 28-Pin Part Pinout (PDIP, SSOP, SOIC)
Pin No.
1 IO I P0[7] Analog column mux input. 2 IO IO P0[5] Analog column mux input and column output. 3 IO IO P0[3] Analog column mux input and column output. 4 IO I P0[1] Analog column mux input. 5 IO P2[7] 6 IO P2[5] 7 IO I P2[3] Direct switched capacitor block input. 8 IO I P2[1] Direct switched capacitor block input. 9 Power SMP Switch Mode Pump (SMP) connection to
10 IO P1[7] I2C Serial Clock (SCL). 11 IO P1[5] I2C Serial Data (SDA). 12 IO P1[3] 13 IO P1[1] Crystal (XTALin), I2C Serial Clock (SCL). 14 Power Vss Ground connection. 15 IO P1[0] Crystal (XTALout), I2C Serial Data (SDA). 16 IO P1[2] 17 IO P1[4] Optional External Clock Input (EXT CLK). 18 IO P1[6] 19 Input XRES Active high external reset with internal pull
20 IO I P2[0] Direct switched capacitor block input. 21 IO I P2[2] Direct switched capacitor block input. 22 IO P2[4] External Analog Ground (AGND). 23 IO P2[6] External Voltage Reference (VREF). 24 IO I P0[0] Analog column mux input. 25 IO IO P0[2] Analog column mux input and column output. 26 IO IO P0[4] Analog column mux input and column output. 27 IO I P0[6] Analog column mux input. 28 Power Vdd Supply voltage.
Type
Digital Analog
Pin
Name
external components required.
down.
Description
CY8C29466 28-Pin PSoC Device
A, I, P0[7] A, IO, P0[5] A, IO, P0[3]
A, I, P0[1]
A, I, P2[3]
A, I, P2[1]
I2C SCL, P1[7]
I2C SDA, P1[5]
I2C SCL, XTALin, P1[1]
P2[7] P2[5]
SMP
P1[3]
Vss
10 11 12 13 14
1 2 3 4 5 6 7 8 9
PDIP
SSOP
SOIC
Vdd
28 27
P0[6], A, I P0[4], A, IO
26
P0[2], A, IO
25
P0[0], A, I
24 23
P2[6], External VREF P2[4], External AGND
22
P2[2], A, I
21 20
P2[0], A, I XRES
19
P1[6]
18
P1[4], EXTCLK
17 16
P1[2] P1[0], XTALout, I2C SDA
15
LEGEND: A = Analog, I = Input, and O = Output.
November 12, 2004 Document No. 38-12013 Rev. *G 8
CY8C29x66 Final Data Sheet 1. Pin Information

1.1.2 44-Pin Part Pinout

Table 1-2. 44-Pin Part Pinout (TQFP)
Pin No.
1 IO P2[5] 2 IO I P2[3] Direct switched capacitor block input. 3 IO I P2[1] Direct switched capacitor block input. 4 IO P4[7] 5 IO P4[5] 6 IO P4[3] 7 IO P4[1] 8 Power SMP Switch Mode Pump (SMP) connection to
9 IO P3[7] 10 IO P3[5] 11 IO P3 [3] 12 IO P3[1] 13 IO P1[7] I2C Serial Clock (SCL). 14 IO P1[5] I2C Serial Data (SDA). 15 IO P1[3] 16 IO P1[1] Crystal (XTALin), I2C Serial Clock (SCL). 17 Power Vss Ground connection. 18 IO P1[0] Crystal (XTALout), I2C Serial Data (SDA). 19 IO P1[2] 20 IO P1[4] Optional External Clock Input (EXTCLK). 21 IO P1[6] 22 IO P3[0] 23 IO P3[2] 24 IO P3[4] 25 IO P3[6] 26 Input XRES Active high external reset with internal pull
27 IO P4[0] 28 IO P4[2] 29 IO P4[4] 30 IO P4[6] 31 IO I P2[0] Direct switched capacitor block input. 32 IO I P2[2] Direct switched capacitor block input. 33 IO P2 [4] External Analog Ground (AGND). 34 IO P2[6] External Voltage Reference (VREF). 35 IO I P0[0] Analog column mux input. 36 IO IO P0[2] Analog column mux input and c olumn outpu t. 37 IO IO P0[4] Analog column mux input and c olumn outpu t. 38 IO I P0[6] Analog column mux input. 39 Power Vdd Supply voltage. 40 IO I P0[7] Analog column mux input. 41 IO IO P0[5] Analog column mux input and c olumn outpu t. 42 IO IO P0[3] Analog column mux input and c olumn outpu t. 43 IO I P0[1] Analog column mux input. 44 IO P2[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]
SMP XRES 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, 2004 Document No. 38-12013 Rev. *G 9
CY8C29x66 Final Data Sheet 1. Pin Information

1.1.3 48-Pin Part Pinouts

Table 1-3. 48-Pin Part Pinout (SSOP)
Pin No.
1 IO I P0[7] Analog column mux input. 2 IO IO P0[5] Analog co l umn mux input and column ou tput. 3 IO IO P0[3] Analog co l umn mux input and column ou tput. 4 IO I P0[1] Analog column mux input. 5 IO P2[7] 6 IO P2[5] 7 IO I P2[3] Direct switched capacitor block input. 8 IO I P2[1] Direct switched capacitor block input. 9 IO P4[7] 10 IO P4[5] 11 IO P4[3] 12 IO P4[1] 13 Power SMP Switch Mode Pump (SMP) conne ct ion to
14 IO P3[7] 15 IO P3[5] 16 IO P3[3] 17 IO P3[1] 18 IO P5[3] 19 IO P5[1] 20 IO P1[7] I2C Serial Clock (SCL). 21 IO P1[5] I2C Serial Data (SDA). 22 IO P1[3] 23 IO P1[1] Crystal (XTALin), I2C Serial Clock (SCL). 24 Power Vss Ground connection. 25 IO P1[0] Crystal (XTALout), I2C Serial Data (SDA). 26 IO P1[2] 27 IO P1[4] Optional External Clock Input (EXTCLK). 28 IO P1[6] 29 IO P5[0] 30 IO P5[2] 31 IO P3[0] 32 IO P3[2] 33 IO P3[4] 34 IO P3[6] 35 Input XRES Active high external reset with internal pul l
36 IO P4[0] 37 IO P4[2] 38 IO P4[4] 39 IO P4[6] 40 IO I P2[0] Direct switched capacitor block input. 41 IO I P2[2] Direct switched capacitor block input. 42 IO P2[4] External Analog Ground (AGND). 43 IO P2[6] External Voltage Reference (VREF). 44 IO I P0[0] Analog column mux input. 45 IO IO P0[2] Analog column mux input and c olumn outpu t. 46 IO IO P0[4] Analog column mux input and c olumn outpu t. 47 IO I P0[6] Analog column mux input. 48 Power Vdd Supply voltage.
Type
Digital Analog
Pin
Name
external components required.
down.
Description
I2C SCL, XTAL in, P1[1]
CY8C29666 48-Pin PSoC Device
A, I, P0[7] A, IO, P0[5] A, IO, P0[3]
P2[7]
P2[5] A, I, P2[3] A, I, P2[1]
P4 [7 ] P2[0 ], A, I
P4[5]
P4[3]
P4[1]
SMP P3[7] P3[5] P3[3] P3[4] P3[1] P5[3] P5[1]
I2C SCL, P1 [7]
I2C SDA, P1[5]
P1[3]
Vss
1 2 3 4
5
6 7
8
9
10 11 12
SSOP
13 14 15 16 17 18 19 20 21 22
23
24
Vdd
48
P0 [6 ], A , I
47
P0 [4 ], A , IO
46
P0 [2 ], A , IOA, I, P0[1]
45
P0 [0 ], A , I
44
P2 [6], Exte rna l VREF
43 42
P2 [4], Exte rna l AGND P2 [2 ], A , I
41 40 39
P4[6] P4[4]
38
P4[2]
37 36
P4[0] XRES
35
P3[6]
34 33
P3[2]
32
P3[0]
31
P5[2]
30
P5[0]
29
P1[6]
28
P1[4], EX TCLK
27
P1[2]
26
P1[0], XTALout, I2 C SDA
25
LEGEND: A = Analog, I = Input, and O = Output.
November 12, 2004 Document No. 38-12013 Rev. *G 10
CY8C29x66 Final Data Sheet 1. Pin Information
D
Table 1-4. 48-Pin Part Pinout (MLF*)
Pin No.
1 IO I P2[3] Direct switched capacitor block input. 2 IO I P2[1] Direct switched capacitor block input. 3 IO P4[7] 4 IO P4[5] 5 IO P4[3] 6 IO P4[1] 7 Power SMP Switch Mode Pump (SMP) connection to
8 IO P3[7] 9 IO P3[5] 10 IO P3[3] 11 IO P3 [1] 12 IO P5[3] 13 IO P5[1] 14 IO P1[7] I2C Serial Clock (SCL). 15 IO P1[5] I2C Serial Data (SDA). 16 IO P1[3] 17 IO P1[1] Crystal (XTALin), I2C Serial Clock (SCL). 18 Power Vss Ground connection. 19 IO P1[0] Crystal (XTALout), I2C Serial Data (SDA). 20 IO P1[2] 21 IO P1[4] Optional External Clock Input (EXTCLK). 22 IO P1[6] 23 IO P5[0] 24 IO P5[2] 25 IO P3[0] 26 IO P3[2] 27 IO P3[4] 28 IO P3[6] 29 Input XRES Active high external reset with internal pull
30 IO P4[0] 31 IO P4[2] 32 IO P4[4] 33 IO P4[6] 34 IO I P2[0] Direct switched capacitor block input. 35 IO I P2[2] Direct switched capacitor block input. 36 IO P2 [4] External Analog Ground (AGND). 37 IO P2[6] External Voltage Reference (VREF). 38 IO I P0[0] Analog column mux input. 39 IO IO P0[2] Analog column mux input and c olumn outpu t. 40 IO IO P0[4] Analog column mux input and c olumn outpu t. 41 IO I P0[6] Analog column mux input. 42 Power Vdd Supply voltage. 43 IO I P0[7] Analog column mux input. 44 IO IO P0[5] Analog column mux input and c olumn outpu t. 45 IO IO P0[3] Analog column mux input and c olumn outpu t. 46 IO I P0[1] Analog column mux input. 47 IO P2[7] 48 IO P2[5]
Type
Digital Analog
Pin
Name
external components required.
down.
Description
A, I, P2[3] A, I, P2[1]
CY8C29666 48-Pin PSoC Device
P2[5]
P2[7]
P0[1], A, I
P0[3], A, IO
P0[5], A, IO
P0[7], A, I
Vdd
4847464544434241403938
1 2
P4[7]
3
P4[5]
4
P4[3]
5 6
P4[1]
SMP P3[7] P3[5] P3[3] P3[1] P5[3]
7 8
9 10 11 12
1314151617181920212223
P5[1]
I2C SC L, P1 [7]
MLF
(Top View )
P1[3]
I2C S DA, P1[ 5]
I2C SC L, XTALin, P1[1]
Vss
I2C SD A, XTALout, P1[0 ]
P0[6], A, I
P0[4], A, IO
P0[2], A, IO
P0[0], A, I
P2[6], Exte rnal VREF
36
P2 [4], Exte rna l AGN
37
35
P2 [2 ], A , I
34
P2 [0 ], A , I
33
P4[6]
32
P4[4]
31
P4[2]
30
P4[0]
29
XRES
28
P3[6]
27
P3[4]
26
P3[2]
25
P3[0]
24
P1[2]
P1[6]
P5[0]
P5[2]
EXTCLK, P1[4]
LEGEND: A = Analog, I = Input, and O = Output.
* The MLF package has a center pad that must be connected to ground (Vss).
November 12, 2004 Document No. 38-12013 Rev. *G 11
CY8C29x66 Final Data Sheet 1. Pin Information

1.1.4 100-Pin Part Pinout

Table 1-5. 100-Pin Part Pinout (TQFP)
Pin No.
1 NC No connection. 51 NC No connection. 2 NC No connection. 52 IO P5[0] 3 IO I P0[1] Analog column mux input. 53 IO P5[2] 4 IO P2[7] 54 IO P5[4] 5 IO P2[5] 55 IO P5[6] 6 IO I P2[3] Direct switched capacitor block input. 56 IO P3[0] 7 IO I P2[1] Direct switched capacitor block input. 57 IO P3[2] 8 IO P4[7] 58 IO P3[4] 9 IO P4[5] 59 IO P3[6] 10 IO P4[3] 60 NC No connection. 11 IO P4[1] 61 NC No connection. 12 NC No connection. 62 Input XRES Active high external reset with internal pull
13 NC No connection. 63 IO P4[0] 14 Power SMP Switch Mode Pump (SMP) connection to
15 Power Vss Ground connection. 65 Power V ss Ground connection. 16 IO P3[7] 66 IO P4[4] 17 IO P3[5] 67 IO P4[6] 18 IO P3[3] 68 IO I P2[0] Direct switched capacitor block input. 19 IO P3[1] 69 IO I P2[2] Direct switched capacitor block input. 20 IO P5[7] 70 IO P2[4] External Analog Ground (AGND). 21 IO P5[5] 71 NC No connection. 22 IO P5[3] 72 IO P2[6] External Voltage Reference (VREF). 23 IO P5[1] 73 NC No connection. 24 IO P1[7] I2C Serial Clock (SCL). 74 IO I P0[0] Analog column mux input. 25 NC No connection. 75 NC No connection. 26 NC No connection. 76 NC No connection. 27 NC No connection. 77 IO IO P0[2] Analog column mux input and column output. 28 IO P1[5] I2C Serial Data (SDA). 78 NC No connection. 29 IO P1[3] 79 IO IO P0[4] Analog column mux input and column output. 30 IO P1[1] Crystal (XTALin), I2C Serial Clock (SCL). 80 NC No connection. 31 NC No connection. 81 IO I P0[6] Analog column mux input. 32 Power Vdd Supply voltage. 82 Power Vdd Supply voltage. 33 NC No connection. 83 Power Vdd Supply voltage. 34 Power Vss Ground connection. 84 Power Vss Ground connection. 35 NC No connection. 85 Power Vss Ground connection. 36 IO P7[7] 86 IO P6[0] 37 IO P7[6] 87 IO P6[1] 38 IO P7[5] 88 IO P6[2] 39 IO P7[4] 89 IO P6[3] 40 IO P7[3] 90 IO P6[4] 41 IO P7[2] 91 IO P6[5] 42 IO P7[1] 92 IO P6[6] 43 IO P7[0] 93 IO P6[7] 44 IO P1[0] Crystal (XTALout), I2C Serial Data (SDA). 94 NC No connection. 45 IO P1[2] 95 IO I P0[7] Analog column mux input. 46 IO P1[4] Optional External Clock Input (EXTCLK). 96 NC No connection. 47 IO P1[6] 97 IO IO P0[5] Analog column mux input and column output. 48 NC No connection. 98 NC No connection. 49 NC No connection. 99 IO IO P0[3] Analog column mux input and column output. 50 NC No connection. 100 NC No connection.
Type
Digital Analog Digital Analog
Name Description
external componen ts requ i red.
Pin No.
64 IO P4[2]
Type
Name Description
down.
LEGEND: A = Analog, I = Input, and O = Output.
November 12, 2004 Document No. 38-12013 Rev. *G 12
CY8C29x66 Final Data Sheet 1. Pin Information
CY8C29866 100-Pin PSoC Device
NC
P0 [3 ], A , IONCP0 [5 ], A , IONCP0 [7 ], A , INCP6[7]
P6[6]
P6[5]
P6[4]
P6[3]
P6[2]
P6[1]
P6[0]
Vss
Vss
Vdd
Vdd
P0 [6 ], A , INCP0 [4 ], A , IONCP0 [2 ], A , IO
NC
NC NC
A, I, P0[1 ]
P2[7] P2[5]
A, I, P2[3 ] A, I, P2[1 ]
P4[7] P4[5] P4[3]
P4[1]
NC NC
SMP
Vss P3[7] P3[5] P3[3] P3[1] P5[7] P5[5] P5[3] P5[1]
I2C SCL , P1[7]
NC
9998979695949392919089888786858483828180797877
100
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16 17 18 19
20 21 22 23 24 25
26272829303132333435363738394041424344454647485049
NC
NC
NC
NC
Vdd
P1[3]
TQFP
NC
Vss
P7[7]
P7[3]
P7[6]
P7[5]
P7[4]
P7[2]
P7[1]
P7[0]
P1[2]
NCNCNC
P1[6]
76
NC
75 74
P0[0], A, I NC
73
P2[6], External VREF
72 71
NC
70
P2[4], External AGND P2[2], A, I
69
P2[0], A, I
68
P4[6]
67
P4[4]
66
Vss
65
P4[2]
64
P4[0]
63 62
XRES
61
NC NC
60
P3[6]
59
P3[4]
58
P3[2]
57
P3[0]
56
P5[6]
55
P5[4]
54
P5[2]
53
P5[0]
52 51
NC
I2C SDA, P1[5]
XTALin, I2C SCL , P1[1]
EXTCLK, P1[4]
XTALout, I2C SDA , P1[0]
November 12, 2004 Document No. 38-12013 Rev. *G 13
Loading...
+ 30 hidden pages