CY8C21123, CY8C21223, CY8C21323 PSoC(R) Mixed Signal Array Features Powerful Harvard Architecture Processor M8C Processor Speeds to 24 MHz Low power at High Speed 2.4V to 5.25V Operating Voltage Operating Voltages down to 1.0V using On-Chip Switch Mode Pump (SMP) Industrial Temperature Range: -40C to +85C Advanced Peripherals (PSoC Blocks) Four Analog Type "E" PSoC Blocks Provide: * Two Comparators with DAC Refs * Single or Dual 8-Bit 8:1 ADC Four Digital PSoC Blocks Provide: * 8 to 32-Bit Timers, Counters, and PWMs * CRC and PRS Modules Full Duplex UART, SPITM Master or Slave * Connectable to All GPIO Pins Complex Peripherals by Combining Blocks Logic Block Diagram Port 1 Complete Development Tools TM Free Development Software (PSoC Designer ) Full Featured, In-Circuit Emulator and Programmer Full Speed Emulation Complex Breakpoint Structure 128 Bytes Trace Memory Precision, Programmable Clocking Internal 2.5% 24/48 MHz Oscillator Internal Oscillator for Watchdog and Sleep SystemBus Global Digital Interconnect * Flash CPU Core (M8C) Interrupt Controller Sleep and Watchdog Clock Sources (Includes IMO and ILO) DIGITAL SYSTEM Digital PSoC Block Array Digital Clocks 198 Champion Court Global Analog Interconnect SROM SRAM Programmable Pin Configurations 25 mA Drive on All GPIO Pull Up, Pull Down, High Z, Strong, or Open Drain Drive Modes on All GPIO Up to Eight Analog Inputs on GPIO Configurable Interrupt on all GPIO Cypress Semiconductor Corporation Document Number: 38-12022 Rev. *H Port 0 PSoC CORE Flexible On-Chip Memory 4K Flash Program Storage 50,000 Erase/Write Cycles 256 Bytes SRAM Data Storage In-System Serial Programming (ISSP) Partial Flash Updates Flexible Protection Modes EEPROM Emulation in Flash Additional System Resources 2 I CTM Master, Slave and MultiMaster to 400 kHz Watchdog and Sleep Timers User Configurable Low Voltage Detection Integrated Supervisory Circuit On-Chip Precision Voltage Reference ANALOG SYSTEM Analog PSoC Block Array POR and LVD I2C System Resets Sw itch Mode Pump Analog Ref. Internal Voltage Ref. SYSTEM RESOURCES * San Jose, CA 95134-1709 * 408-943-2600 Revised October 22, 2008 [+] Feedback CY8C21123, CY8C21223, CY8C21323 PSoC(R) Functional Overview Digital System The PSoC(R) family consists of many Mixed Signal Array with On-Chip Controller devices. These devices are designed to replace multiple traditional MCU-based system components with a low cost single-chip programmable component. A PSoC device includes configurable blocks of analog and digital logic, and programmable interconnect. This architecture allows the user to create customized peripheral configurations, to 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. The Digital System consists of four digital PSoC blocks. Each block is an 8-bit resource that can be used alone or combined with other blocks to form 8, 16, 24, and 32-bit peripherals, which are called user module references. Digital peripheral configurations include: The PSoC architecture, as shown in Figure 1, consists of four main areas: the Core, the System Resources, the Digital System, and the Analog System. Configurable global bus resources allow the combining of all device resources into a complete custom system. Each PSoC device includes four digital blocks. Depending on the PSoC package, up to two analog comparators and up to 16 general purpose IO (GPIO) are also included. The GPIO provide access to the global digital and analog interconnects. 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 four) SPI master and slave I2C slave, master, MultiMaster (one available as a System Resource) Cyclical Redundancy Checker/Generator (8 to 32 bit) IrDA (up to four) PSoC Core Pseudo Random Sequence Generators (8 to 32 bit) The PSoC Core is a powerful engine that supports a rich instruction set. It encompasses SRAM for data storage, an interrupt controller, sleep and watchdog timers, and IMO (internal main oscillator) and ILO (internal low speed oscillator). The CPU core, called the M8C, is a powerful processor with speeds up to 24 MHz. The M8C is a four MIPS 8-bit Harvard architecture microprocessor. The digital blocks can be connected to any GPIO through a series of global bus that can route any signal to any pin. The busses also allow for signal multiplexing and performing logic operations. This configurability frees your designs from the constraints of a fixed peripheral controller. System Resources provide additional capability, such as digital clocks to increase the flexibility of the PSoC mixed-signal arrays, I2C functionality for implementing an I2C master, slave, MultiMaster, an internal voltage reference that provides an absolute value of 1.3V to a number of PSoC subsystems, a switch mode pump (SMP) that generates normal operating voltages off a single battery cell, and various system resets supported by the M8C. Digital blocks are provided in rows of four, where the number of blocks varies by PSoC device family. This provides an optimum choice of system resources for your application. Family resources are shown in Table 1 on page 3. Figure 1. Digital System Block Diagram Port 1 Port 0 To System Bus DigitalClocks FromCore The Digital System consists of an array of digital PSoC blocks, which can be configured into any number of digital peripherals. The digital blocks can be connected to the GPIO through a series of global bus that can route any signal to any pin. This frees designs from the constraints of a fixed peripheral controller. To Analog System DIGITAL SYSTEM Digital PSoC Block Array Row Input Configuration Row 0 DBB00 DBB01 DCB02 4 DCB03 4 8 8 8 8 GIE[7:0] GIO[7:0] Document Number: 38-12022 Rev. *H Row Output Configuration The Analog System consists of four analog PSoC blocks, supporting comparators and analog-to-digital conversion up to 8 bits in precision. Global Digital Interconnect GOE[7:0] GOO[7:0] Page 2 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Analog System Additional System Resources The Analog System consists of four configurable blocks to allow creation of complex analog signal flows. Analog peripherals are very flexible and may be customized to support specific application requirements. Some of the more common PSoC analog functions (most available as user modules) are: System Resources, some of which listed in the previous sections, provide additional capability useful to complete systems. Additional resources include a switch mode pump, low voltage detection, and power on reset. Brief statements describing the merits of each system resource follow. Analog-to-digital converters (single or dual, with 8-bit resolution) Pin-to-pin comparators (one) Digital clock dividers provide three customizable clock frequencies for use in applications. The clocks can be routed to both the digital and analog systems. Additional clocks can be generated using digital PSoC blocks as clock dividers. Single-ended comparators (up to 2) with absolute (1.3V) reference or 8-bit DAC reference 1.3V reference (as a System Resource) 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 application of falling voltage levels, while the advanced POR (Power On Reset) circuit eliminates the need for a system supervisor. An internal 1.3 voltage reference provides an absolute reference for the analog system, including ADCs and DACs. An integrated switch mode pump (SMP) generates normal operating voltages from a single 1.2V battery cell, providing a low cost boost converter. In most PSoC devices, analog blocks are provided in columns of three, which includes one CT (Continuous Time) and two SC (Switched Capacitor) blocks. The CY8C21x23 devices provide limited functionality Type "E" analog blocks. Each column contains one CT block and one SC block. The number of blocks is on the device family which is detailed in Table 1. Figure 2. CY8C21x23 Analog System Block Diagram PSoC Device Characteristics Array Input Configuration Depending on your PSoC device characteristics, the digital and analog systems can have 16, 8, or 4 digital blocks, and 12, 6, or 4 analog blocks. Table 1 lists the resources available for specific PSoC device groups. The PSoC device covered by this data sheet is highlighted. PSoC Part Number ACOL1MUX Array ACE00 ACE01 ASE10 ASE11 Flash Size ACI1[1:0] Digital Rows Digital Blocks Analog Inputs Analog Outputs Analog Columns Analog Blocks SRAM Size ACI0[1:0] Digital IO Table 1. PSoC Device Characteristics CY8C29x66 up to 4 64 16 12 4 4 12 2K 32K CY8C27x43 up to 2 44 8 12 4 4 12 256 16K Bytes CY8C24x94 56 1 4 48 2 2 6 1K CY8C24x23A up to 1 24 4 12 2 2 6 256 4K Bytes 16K CY8C21x34 up to 1 28 4 28 0 2 4a 512 8K Bytes CY8C21x23 16 1 4 8 0 2 4a 256 4K Bytes CY8C20x34 up to 0 28 0 28 0 0 3b 512 8K Bytes a. Limited analog functionality. b. Two analog blocks and one CapSense. Document Number: 38-12022 Rev. *H Page 3 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Getting Started Development Tools The quickest path to understanding PSoC silicon is by reading this data sheet and using the PSoC Designer Integrated Development Environment (IDE). This data sheet is an overview of the PSoC integrated circuit and presents specific pin, register, and electrical specifications. For in depth information, along with detailed programming information, refer the PSoC Mixed Signal Array Technical Reference Manual, which can be found on http://www.cypress.com/psoc. PSoC Designer is a Microsoft(R) Windows-based, integrated development environment for the Programmable System-on-Chip (PSoC) devices. The PSoC Designer IDE and application runs on Windows NT 4.0, Windows 2000, Windows Millennium (Me), or Windows XP. Refer the PSoC Designer Functional Flow diagram (Figure 3). Development Kits Development Kits are available from the following distributors: Digi-Key, Avnet, Arrow, and Future. The Cypress Online Store contains development kits, C compilers, and all accessories for PSoC development. Go to the Cypress Online Store web site at Order >> Buy Kits at http://www.cypress.com/shop, click the Online Store shopping cart icon at the bottom of the web page, and click PSoC (Programmable System-on-Chip) to view a current list of available items. PSoC Designer also supports a high-level C language compiler developed specifically for the devices in the family. Figure 3. PSoC Designer Subsystems PSoC TM Designer Consultants Certified PSoC Consultants offer everything from technical assistance to completed PSoC designs. To contact or become a PSoC Consultant go to http://www.cypress.com, click on Support located at the top of the web page, and select CYPros Consultants. Technical Support PSoC application engineers take pride in fast and accurate response. They can be reached with a 4-hour guaranteed response at http://www.cypress.com/support. Context Sensitive Help Results Technical Training Modules Free On-Demand PSoC Training modules are available for new users to PSoC. Training modules cover designing, debugging, advanced analog, and CapSense. Go to http://www.cypress.com/techtrain. Graphical Designer Interface Commands For up to date Ordering, Packaging, and Electrical Specification information, refer to the latest PSoC device data sheets on the web at http://www.cypress.com. PSoC Designer helps the customer to select an operating configuration for 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. Importable Design Database Device Database Application Database PSoC TM Designer Core Engine Project Database PSoC Configuration Sheet Manufacturing Information File User Modules Library Application Notes A long list of application notes can assist you in every aspect of your design effort. To view the PSoC application notes, go to http://www.cypress.com and select Application Notes under Documentation located in the center of the web page. . Document Number: 38-12022 Rev. *H Emulation Pod In-Circuit Emulator Device Programmer Page 4 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 PSoC Designer Software Subsystems Device Editor The device editor subsystem allows the user to select different onboard analog and digital components called user modules using the PSoC blocks. Examples of user modules are ADCs, DACs, Amplifiers, and Filters. The device editor also supports easy development of multiple configurations and dynamic reconfiguration. Dynamic reconfiguration allows changing configurations at run time. PSoC Designer sets up power on initialization tables for selected PSoC block configurations and creates source code for an application framework. The framework contains software to operate the selected components and, if the project uses more than one operating configuration, contains routines to switch between different sets of PSoC block configurations at run time. PSoC Designer can print out a configuration sheet for a given project configuration for use during application programming in conjunction with the Device Data Sheet. After the framework is generated, the user can add application specific code to flesh out the framework. It is also possible to change the selected components and regenerate the framework. Design Browser The Design Browser allows users to select and import preconfigured designs into the user's project. Users can easily browse a catalog of preconfigured designs to facilitate time-to-design. Examples provided in the tools include a 300-baud modem, LIN Bus master and slave, fan controller, and magnetic card reader. Application Editor In the Application Editor you can edit C language and Assembly language source code. You can also assemble, compile, link, and build. Assembler. The macro assembler allows the seamless merging of the assembly code with C code. The link libraries automatically use absolute addressing or can be compiled in relative mode, and linked with other software modules to get absolute addressing. C Language Compiler. A C language compiler that supports PSoC family devices is available. Even if you have never worked in the C language before, the product helps you to quickly create complete C programs for the PSoC family devices. The embedded, optimizing C compiler provides all 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. Debugger The PSoC Designer Debugger subsystem provides hardware in-circuit emulation, which allows 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 the 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. Document Number: 38-12022 Rev. *H 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 can program single devices. The emulator consists of a base unit that connects to the PC through the parallel or USB port. The base unit is universal and operates with all PSoC devices. Emulation pods for each device family are available separately. The emulation pod takes the place of the PSoC device in the target board and performs full speed (24 MHz) operation Designing with User Modules The development process for the PSoC device differs from that of a traditional fixed function microprocessor. The configurable analog and digital hardware blocks give the PSoC architecture a unique flexibility that pays dividends in managing specification changes during development and by lowering inventory costs. These configurable resources, called PSoC Blocks, can implement a wide variety of user-selectable functions. Each block has several registers that determine its function and connectivity to other blocks, multiplexers, bus, and to the IO pins. Iterative development cycles permit you to adapt the hardware and the software. This substantially lowers the risk of having to select a different part to meet the final design requirements. To speed the development process, the PSoC Designer Integrated Development Environment (IDE) provides a library of pre-built, pre-tested hardware peripheral functions, called "User Modules." User modules make selecting and implementing peripheral devices simple, and come in analog, digital, and mixed signal varieties. The standard User Module library contains over 50 common peripherals such as ADCs, DACs, Timers, Counters, UARTs, and other uncommon peripherals, such as DTMF Generators and Bi-Quad analog filter sections. Each user module establishes the basic register settings that implement the selected function. It also provides parameters that allow you to tailor its precise configuration to your particular application. For example, a Pulse Width Modulator User Module configures one or more digital PSoC blocks, one for each 8 bits of resolution. The user module parameters permit you to establish the pulse width and duty cycle. User modules also provide tested software to cut your development time. The user module application programming interface (API) provides high-level functions to control and respond to hardware events at run time. The API also provides optional interrupt service routines that you can adapt as required. Page 5 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 The API functions are documented in user module data sheets that are viewed directly in the PSoC Designer IDE. These data sheets explain the internal operation of the user module and provide performance specifications. Each data sheet describes the use of each user module parameter and documents the setting of each register controlled by the user module. The development process starts when you open a new project and bring up the Device Editor, a graphical user interface (GUI) for configuring the hardware. Pick the user modules required for your project and map them onto the PSoC blocks with point-and-click simplicity. Next, build signal chains by interconnecting user modules to each other and the IO pins. At this stage, you can also configure the clock source connections and enter parameter values directly or by selecting values from drop-down menus. When you are ready to test the hardware configuration or move on to developing code for the project, perform the "Generate Application" step. This causes PSoC Designer to generate source code that automatically configures the device to your specification and provides high-level user module API functions. Figure 4. User Module and Source Code Development Flows Device Editor User Module Selection Placement and Parameter -ization The next step is to write the main program, and any sub-routine using PSoC Designer's Application Editor subsystem. The Application Editor includes a Project Manager that allows you to open the project source code files (including all generated code files) from a hierarchal view. The source code editor provides syntax coloring and advanced edit features for both C and assembly language. File search capabilities include simple string searches and recursive "grep-style" patterns. A single mouse click invokes the Build Manager. It employs a professional-strength "makefile" system to automatically analyze all file dependencies and run the compiler and assembler as necessary. Project-level options control optimization strategies used by the compiler and linker. Syntax errors are displayed in a console window. Double clicking the error message takes you directly to the offending line of source code. When all is correct, the linker builds a HEX file image suitable for programming. The last step in the development process takes place inside the PSoC Designer's Debugger subsystem. The Debugger downloads the HEX image to the In-Circuit Emulator (ICE) where it runs at full speed. Debugger capabilities rival those of systems costing many times more. In addition to traditional single-step, run-to-breakpoint and watch-variable features, the Debugger provides a large trace buffer and allows you define complex breakpoint events that include monitoring address and data bus values, memory locations, and external signals. Source Code Generator Generate Application Application Editor Project Manager Source Code Editor Build Manager Build All Debugger Interface to ICE Storage Inspector Event & Breakpoint Manager Document Number: 38-12022 Rev. *H Page 6 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Document Conventions Units of Measure Acronyms Used The following table lists the acronyms used in this data sheet. A units of measure table is located in the section Electrical Specifications on page 16. Table 11 on page 16 lists all the abbreviations used to measure the PSoC devices. Table 2. Acronyms Numeric Naming 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 EEPROM electrically erasable programmable read-only memory FSR full scale range GPIO general purpose IO IO input/output IPOR imprecise power on reset LSb least-significant bit LVD low voltage detect MSb most-significant bit PC program counter POR power on reset PPOR precision power on reset PSoC(R) Programmable System-on-Chip PWM pulse width modulator ROM read only memory SC switched capacitor SMP switch mode pump SRAM static random access memory Document Number: 38-12022 Rev. *H Hexadecimal numbers are represented with all letters in uppercase with an appended lowercase `h' (for example, `14h' or `3Ah'). Hexadecimal numbers may also be represented by a `0x' prefix, the C coding convention. Binary numbers have an appended lowercase `b' (for example, 01010100b' or `01000011b'). Numbers not indicated by an `h', `b', or 0x are decimal. Page 7 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Pin Information This section describes, lists, and illustrates the CY8C21x23 PSoC device pins and pinout configurations. Every port pin (labeled with a "P") is capable of Digital IO. However, Vss, Vdd, SMP, and XRES are not capable of Digital IO. 8-Pin Part Pinout Table 3. Pin Definitions - 8-Pin SOIC Pin No. Type Pin Analog Name Digital Description 1 IO I P0[5] Analog Column Mux Input 2 IO I P0[3] Analog Column Mux Input 3 IO P1[1] I2C Serial Clock (SCL), ISSP-SCLK* 4 Power Vss Ground Connection 5 IO P1[0] I2C Serial Data (SDA), ISSP-SDATA* 6 IO I P0[2] Analog Column Mux Input 7 IO I P0[4] Analog Column Mux Input 8 Power Vdd Supply Voltage Figure 5. CY8C21123 8-Pin PSoC Device A, I, P0[5] A, I, P0[3] I2C SCL, P1[1] Vss 1 8 2 7 SOIC6 3 5 4 Vdd P0[4], A, I P0[2], A, I P1[0], I2CSDA LEGEND: A = Analog, I = Input, and O = Output. * These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Mixed-Signal Array Technical Reference Manual for details. 16-Pin Part Pinout Table 4. Pin Definitions - 16-Pin SOIC Pin No. Type Digital Analog Pin Name Description 1 IO I P0[7] Analog Column Mux Input 2 IO I P0[5] Analog Column Mux Input 3 IO I P0[3] Analog Column Mux Input 4 IO I P0[1] Analog Column Mux Input 5 Power SMP Switch Mode Pump (SMP) Connection to required External Components 6 Power Vss Ground Connection 7 IO P1[1] I2C Serial Clock (SCL), ISSP-SCLK* 8 Power Vss Ground Connection 9 IO P1[0] I2C Serial Data (SDA), ISSP-SDATA* 10 IO P1[2] 11 IO P1[4] Optional External Clock Input (EXTCLK) 12 IO I P0[0] Analog Column Mux Input 13 IO I P0[2] Analog Column Mux Input 14 IO I P0[4] Analog Column Mux Input 15 IO I P0[6] Analog Column Mux Input 16 Power Vdd Supply Voltage Figure 6. CY8C21223 16-Pin PSoC Device A, I, P0[7] A, I, P0[5] A, I, P0[3] A, I, P0[1] SMP Vss I2CSCL, P1[1] Vss 1 2 3 4 5 6 7 8 SOIC 16 15 14 13 12 11 10 9 Vdd P0[6], A, I P0[4], A, I P0[2], A, I P0[0], A, I P1[4],EXTCLK P1[2] P1[0], I2CSDA LEGEND A = Analog, I = Input, and O = Output. * These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Mixed-Signal Array Technical Reference Manual for details. Document Number: 38-12022 Rev. *H Page 8 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Table 5. Pin Definitions - 16-Pin QFNa Analog P0[3] Figure 7. CY8C21223 16-Pin PSoC Device 1 IO 2 IO P0[1] Analog Column Mux Input 3 IO P0[7] I2C Serial Clock (SCL) 4 IO P1[5] I2C Serial Data (SDA) 5 IO P1[3] 6 IO P1[1] I2C Serial Clock (SCL), ISSP-SCLK* 7 Power Vss Ground Connection 8 IO P1[0] I2C Serial Data (SDA), ISSP-SDATA* 9 IO P1[4] Optional External Clock Input (EXCLK) 10 Input XRES Active High External Reset with Internal Pull Down 11 IO I P0[0] Analog Column Mux Input 12 IO I P0[4] Analog Column Mux Input 13 IO I P0[6] Analog Column Mux Input 14 Power Vdd Supply Voltage 15 IO I P0[7] Analog Column Mux Input 16 IO I P0[5] Analog Column Mux Input I Analog Column Mux Input P0[3], AI P0[1], AI I2C SCL, P1[7] I2C SDA, P1[5] 16 15 14 13 I Description 5 6 7 8 Digital Pin Name P0[5], AI P0[7], AI PWR P0[6], AI Type P1[3] I2C SCL, P1[1] GND I2C SDA, P1[0] Pin No. 1 12 2 QFN 11 3 (Top View)10 4 9 P0[4], AI P0[0], AI XRES P1[4], EXTCLK LEGEND A = Analog, I = Input, and O = Output. * These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Mixed-Signal Array Technical Reference Manual for details. a. The center pad on the QFN package must be connected to ground (Vss) for best mechanical, thermal, and electrical performance. If not connected to ground, it must be electrically floated and not connected to any other signal. Document Number: 38-12022 Rev. *H Page 9 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 20-Pin Part Pinout Table 6. Pin Definitions - 20-Pin SSOP 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Type Digital Analog IO I IO I IO I IO I Power IO IO IO IO Power IO IO IO IO Input P0[7] P0[5] P0[3] P0[1] Vss P1[7] P1[5] P1[3] P1[1] Vss P1[0] P1[2] P1[4] P1[6] XRES 16 17 18 19 20 IO IO IO IO Power P0[0] P0[2] P0[4] P0[6] Vdd Pin No. I I I I Pin Name Description Analog Column Mux Input Analog Column Mux Input Analog Column Mux Input Analog Column Mux Input Ground Connection I2C Serial Clock (SCL) I2C Serial Data (SDA) Figure 8. CY8C21323 20-Pin PSoC Device A, I, P0[7] A, I, P0[5] A, I, P0[3] A, I, P0[1] Vss I2C SCL, P1[7] I2C SDA, P1[5] P1[3] I2C SCL, P1[1] Vss 1 2 3 4 5 6 7 8 9 10 SSOP 20 19 18 17 16 15 14 13 12 11 Vdd P0[6], A, I P0[4], A, I P0[2], A, I P0[0], A, I XRES P1[6] P1[4],EXTCLK P1[2] P1[0],I2C SDA I2C Serial Clock (SCL), ISSP-SCLK* Ground connection I2C Serial Data (SDA), ISSP-SDATA* Optional External Clock Input (EXTCLK) Active High External Reset with Internal Pull Down Analog Column Mux Input Analog Column Mux Input Analog Column Mux Input Analog Column Mux Input Supply Voltage LEGEND A = Analog, I = Input, and O = Output. * These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Mixed-Signal Array Technical Reference Manual for details. Document Number: 38-12022 Rev. *H Page 10 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 24-Pin Part Pinout Table 7. Pin Definitions - 24-Pin QFN*a 15 16 17 18 19 20 21 22 23 24 Vss P1[7] P1[5] P1[3] P1[1] NC Vss P1[0] P1[2] P1[4] P1[6] XRES Power IO IO IO IO Input IO IO IO IO Power Power IO IO IO I I I I I I I NC P0[0] P0[2] P0[4] P0[6] Vdd Vss P0[7] P0[5] P0[3] I2C Serial Clock (SCL), ISSP-SCLK* No Connection Ground Connection I2C Serial Data (SDA), ISSP-SDATA* Optional External Clock Input (EXTCLK) Vdd P0[6], A, I P0[3], A, I P0[5], A, I P0[7], A, I Vss A, I, P0[1] SMP Vss I2C SCL, P1[7] I2C SDA, P1[5] P1[3] 1 2 3 4 5 6 18 17 16 MLF (Top View ) 15 14 13 P0[4], A, I P0[2], A, I P0[0], A, I NC XRES P1[6] Vss I2C SDA, P1[0] P1[2] EXTCLK, P1[4] Power IO IO IO IO Analog Column Mux Input Switch Mode Pump (SMP) Connection to required External Components Ground connection I2C Serial Clock (SCL) I2C Serial Data (SDA) Figure 9. CY8C21323 24-Pin PSoC Device 24 23 22 21 20 19 3 4 5 6 7 8 9 10 11 12 13 14 Description 7 8 9 10 11 12 1 2 Type Pin Digital Analog Name IO I P0[1] Power SMP I2C SCL, P1[1] NC Pin No. Active High External Reset with Internal Pull Down No Connection Analog Column Mux Input Analog Column Mux Input Analog Column Mux Input Analog Column Mux Input Supply Voltage Ground Connection Analog Column Mux Input Analog Column Mux Input Analog Column Mux Input LEGEND A = Analog, I = Input, and O = Output. * These are the ISSP pins, which are not High Z at POR (Power On Reset). See the PSoC Mixed-Signal Array Technical Reference Manual for details. a. The center pad on the QFN package must be connected to ground (Vss) for best mechanical, thermal, and electrical performance. If not connected to ground, it must be electrically floated and not connected to any other signal. Document Number: 38-12022 Rev. *H Page 11 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Register Reference Register Mapping Tables This section lists the registers of the CY8C21x23 PSoC device. For detailed register information, refer the PSoCTM Mixed-Signal Array Technical Reference Manual. The PSoC device has a total register address space of 512 bytes. The register space is referred to as IO space and is divided into two banks. The XOI bit in the Flag register (CPU_F) determines which bank the user is currently in. When the XOI bit is set the user is in Bank 1. Register Conventions The register conventions specific to this section are listed in the following table. Note In the following register mapping tables, blank fields are Reserved and must not be accessed. Table 8. Register Conventions Convention R Description Read register or bit(s) W Write register or bit(s) L Logical register or bit(s) C Clearable register or bit(s) # Access is bit specific Document Number: 38-12022 Rev. *H Page 12 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Table 9. Register Map Bank 0 Table: User Space Name Addr (0,Hex) Access Name Addr (0,Hex) Access Name Name Access 00 RW 40 01 RW 41 81 C1 PRT0GS 02 RW 42 82 C2 PRT0DM2 03 RW 43 83 PRT1DR 04 RW 44 PRT1IE 05 RW 45 85 C5 PRT1GS 06 RW 46 86 C6 PRT1DM2 07 RW 47 87 C7 08 48 88 C8 09 49 89 C9 0A 4A 8A CA 0B 4B 8B CB 0C 4C 8C CC 0D 4D 8D CD 0E 4E 8E CE 0F 4F 8F CF 10 50 90 D0 11 51 91 D1 12 52 92 D2 13 53 93 D3 14 54 94 D4 15 55 95 16 56 96 I2C_CFG D6 RW 17 57 97 I2C_SCR D7 # 18 58 98 I2C_DR D8 RW 19 59 99 I2C_MSCR D9 # 1A 5A 9A INT_CLR0 DA RW 1B 5B 9B INT_CLR1 DB RW 1C 5C 9C 1D 5D 9D INT_CLR3 DD RW 1E 5E 9E INT_MSK3 DE RW 1F 5F 9F 60 RW 84 RW Addr (0,Hex) PRT0IE ASE11CR0 80 Access PRT0DR AMX_IN ASE10CR0 Addr (0,Hex) C0 C3 RW C4 D5 DC DF DBB00DR0 20 # DBB00DR1 21 W DBB00DR2 22 RW DBB00CR0 23 # DBB01DR0 24 # DBB01DR1 25 W DBB01DR2 26 RW DBB01CR0 27 # DCB02DR0 28 # ADC0_CR 68 # A8 E8 DCB02DR1 29 W ADC1_CR 69 # A9 E9 DCB02DR2 2A RW 6A AA EA DCB02CR0 2B # 6B AB EB DCB03DR0 2C # TMP_DR0 6C RW AC EC DCB03DR1 2D W TMP_DR1 6D RW AD ED DCB03DR2 2E RW TMP_DR2 6E RW AE EE 61 PWM_CR 62 RW 63 CMP_CR0 64 # 65 CMP_CR1 66 Document Number: 38-12022 Rev. *H INT_MSK0 E0 RW A1 INT_MSK1 E1 RW A2 INT_VC E2 RC A3 RES_WDT E3 W A4 E4 A5 RW 67 Blank fields are Reserved and must not be accessed. A0 E5 A6 DEC_CR0 E6 RW A7 DEC_CR1 E7 RW # Access is bit specific. Page 13 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Table 9. Register Map Bank 0 Table: User Space (continued) Name DCB03CR0 Addr (0,Hex) 2F Access # Name TMP_DR3 Addr (0,Hex) 6F Access Name RW Addr (0,Hex) Access Name AF Addr (0,Hex) EF 30 70 RDI0RI B0 RW F0 31 71 RDI0SYN B1 RW F1 32 ACE00CR1 72 RW RDI0IS B2 RW F2 33 ACE00CR2 73 RW RDI0LT0 B3 RW F3 34 74 RDI0LT1 B4 RW F4 35 75 RDI0RO0 B5 RW F5 RDI0RO1 B6 RW 36 ACE01CR1 76 RW 37 ACE01CR2 77 RW Access B7 F6 CPU_F F7 RL 38 78 B8 F8 39 79 B9 F9 3A 7A BA FA 3B 7B BB FB 3C 7C BC FC 3D 7D BD 3E 7E BE CPU_SCR1 FE # 3F 7F BF CPU_SCR0 FF # Blank fields are Reserved and must not be accessed. FD # Access is bit specific. Table 10. Register Map Bank 1 Table: Configuration Space Name Addr (1,Hex) Access Name Addr (1,Hex) Access Name Name Access 00 RW 40 01 RW 41 81 C1 PRT0IC0 02 RW 42 82 C2 PRT0IC1 03 RW 43 83 PRT1DM0 04 RW 44 PRT1DM1 05 RW 45 85 C5 PRT1IC0 06 RW 46 86 C6 PRT1IC1 07 RW 47 87 C7 08 48 88 C8 09 49 89 C9 0A 4A 8A CA 0B 4B 8B CB 0C 4C 8C CC 0D 4D 8D CD 0E 4E 8E CE 0F 4F 8F 10 50 90 GDI_O_IN D0 RW 11 51 91 GDI_E_IN D1 RW 12 52 92 GDI_O_OU D2 RW 13 53 93 GDI_E_OU D3 RW 14 54 94 D4 15 55 95 D5 16 56 96 D6 17 57 97 D7 18 58 98 D8 19 59 99 D9 Document Number: 38-12022 Rev. *H 84 RW Addr (1,Hex) PRT0DM1 ASE11CR0 80 Access PRT0DM0 Blank fields are Reserved and must not be accessed. ASE10CR0 Addr (1,Hex) C0 C3 RW C4 CF # Access is bit specific. Page 14 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Table 10. Register Map Bank 1 Table: Configuration Space (continued) Name Addr (1,Hex) Access Name Addr (1,Hex) Access Name Addr (1,Hex) Access Name Addr (1,Hex) Access 1A 5A 9A DA 1B 5B 9B DB 1C 5C 9C 1D 5D 9D OSC_GO_EN DD RW 1E 5E 9E OSC_CR4 DE RW 1F 5F 9F OSC_CR3 DF RW DC DBB00FN 20 RW CLK_CR0 60 RW A0 OSC_CR0 E0 RW DBB00IN 21 RW CLK_CR1 61 RW A1 OSC_CR1 E1 RW DBB00OU 22 RW ABF_CR0 62 RW A2 OSC_CR2 E2 RW AMD_CR0 63 RW A3 VLT_CR E3 RW CMP_GO_EN 64 RW A4 VLT_CMP E4 R A5 ADC0_TR E5 RW ADC1_TR E6 RW 23 DBB01FN 24 RW DBB01IN 25 RW DBB01OU 26 RW 27 65 AMD_CR1 66 RW A6 ALT_CR0 67 RW A7 E7 DCB02FN 28 RW 68 A8 IMO_TR E8 W DCB02IN 29 RW 69 A9 ILO_TR E9 W 2A RW DCB02OU 2B AA BDG_TR EA RW CLK_CR3 6A 6B RW AB ECO_TR EB W DCB03FN 2C RW TMP_DR0 6C RW AC EC DCB03IN 2D RW TMP_DR1 6D RW AD ED DCB03OU 2E RW TMP_DR2 6E RW AE EE TMP_DR3 6F RW AF 2F EF 30 70 RDI0RI B0 RW F0 31 71 RDI0SYN B1 RW F1 32 ACE00CR1 72 RW RDI0IS B2 RW F2 33 ACE00CR2 73 RW RDI0LT0 B3 RW F3 34 74 RDI0LT1 B4 RW F4 35 75 RDI0RO0 B5 RW F5 RDI0RO1 B6 RW 36 ACE01CR1 76 RW 37 ACE01CR2 77 RW B7 F6 CPU_F F7 RL 38 78 B8 39 79 B9 3A 7A BA 3B 7B BB FB 3C 7C BC FC 3D 7D BD 3E 7E BE CPU_SCR1 FE # 3F 7F BF CPU_SCR0 FF # Blank fields are Reserved and must not be accessed. Document Number: 38-12022 Rev. *H F8 F9 FLS_PR1 FA RW FD # Access is bit specific. Page 15 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Electrical Specifications This section presents the DC and AC electrical specifications of the CY8C21x23 PSoC device. For up to date electrical specifications, check if you have the latest data sheet by visiting the web at http://www.cypress.com/psoc. Specifications are valid for -40oC TA 85oC and TJ 100oC, except where noted. Refer to Table 25 on page 26 for the electrical specifications on the internal main oscillator (IMO) using SLIMO mode. 5.25 SLIMO Mode = 0 Figure 11. Voltage versus IMO Frequency Figure 10. Voltage versus CPU Frequency 5.25 SLIMO Mode=1 4.75 Vdd Voltage Vdd Voltage lid ng Va rati n e io Op Reg 4.75 3.60 3.00 3.00 2.40 2.40 93 kHz 12 MHz 3 MHz 24 MHz SLIMO Mode=0 SLIMO SLIMO Mode=1 Mode=0 SLIMO SLIMO Mode=1 Mode=1 93 kHz 6 MHz 12 MHz 24 MHz IMO Frequency CPU Frequency The following table lists the units of measure that are used in this section. Table 11. Units of Measure Symbol oC dB fF Hz KB Kbit kHz k MHz M A F H s V Vrms Unit of Measure degree Celsius decibels femto farad hertz 1024 bytes 1024 bits kilohertz kilohm megahertz megaohm microampere microfarad microhenry microsecond microvolts microvolts root-mean-square Document Number: 38-12022 Rev. *H Symbol W mA ms mV nA ns nV W pA pF pp ppm ps sps s V Unit of Measure microwatts milli-ampere milli-second milli-volts nanoampere nanosecond nanovolts ohm picoampere picofarad peak-to-peak parts per million picosecond samples per second sigma: one standard deviation volts Page 16 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Absolute Maximum Ratings Table 12. Absolute Maximum Ratings Symbol Description TSTG Storage Temperature TA Vdd VIO VIOZ IMIO ESD LU Ambient Temperature with Power Applied Supply Voltage on Vdd Relative to Vss DC Input Voltage DC Voltage Applied to Tri-state Maximum Current into any Port Pin Electro Static Discharge Voltage Latch-up Current Min -55 Typ - -40 -0.5 Vss - 0.5 Vss - 0.5 -25 2000 - - - - - - - - Min -40 -40 Typ - - Max +100 Units Notes o C Higher storage temperatures reduce data retention time. Recommended storage temperature is +25C 25C. Extended duration storage temperatures above 65C degrade reliability. o +85 C +6.0 V Vdd + 0.5 V Vdd + 0.5 V +50 mA - V Human Body Model ESD 200 mA Operating Temperature Table 13. Operating Temperature Symbol Description TA Ambient Temperature TJ Junction Temperature Document Number: 38-12022 Rev. *H Max +85 +100 Units Notes oC oC The temperature rise from ambient to junction is package specific. SeeTable 37 on page 35. The user must limit the power consumption to comply with this requirement. Page 17 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 DC Electrical Characteristics DC Chip-Level Specifications Table 14 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, or 2.4V to 3.0V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 14. DC Chip-Level Specifications Symbol Description Vdd Supply Voltage Min 2.40 Typ - Max 5.25 Units Notes V See DC POR and LVD specifications, Table 21 on page 22. mA Conditions are Vdd = 5.0V, 25oC, CPU = 3 MHz, SYSCLK doubler disabled. VC1 = 1.5 MHz VC2 = 93.75 kHz VC3 = 0.366 kHz. mA Conditions are Vdd = 3.3V, 25oC, CPU = 3 MHz, clock doubler disabled. VC1 = 375 kHz VC2 = 23.4 kHz VC3 = 0.091 kHz mA Conditions are Vdd = 2.55V, 25oC, CPU = 3 MHz, clock doubler disabled. VC1 = 375 kHz VC2 = 23.4 kHz VC3 = 0.091 kHz A Vdd = 2.55V, 0oC to 40oC IDD Supply Current, IMO = 24 MHz - 3 4 IDD3 Supply Current, IMO = 6 MHz - 1.2 2 IDD27 Supply Current, IMO = 6 MHz - 1.1 1.5 ISB27 - 2.6 4 - 2.8 5 A Vdd = 3.3V, -40oC TA 85oC VREF Sleep (Mode) Current with POR, LVD, Sleep Timer, WDT, and internal slow oscillator active. Mid temperature range. Sleep (Mode) Current with POR, LVD, Sleep Timer, WDT, and internal slow oscillator active. Reference Voltage (Bandgap) 1.28 1.30 1.32 V VREF27 Reference Voltage (Bandgap) 1.16 1.30 1.330 V Trimmed for appropriate Vdd. Vdd = 3.0V to 5.25V Trimmed for appropriate Vdd. Vdd = 2.4V to 3.0V AGND Analog Ground VREF - 0.003 VREF VREF+ 0.003 V ISB Document Number: 38-12022 Rev. *H Page 18 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 DC General Purpose IO Specifications Table 15 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 15. 5V and 3.3V DC GPIO Specifications Symbol Description Min Typ Max Units Notes RPU Pull up Resistor 4 5.6 8 k RPD Pull down Resistor 4 5.6 8 k VOH High Output Level Vdd 1.0 - - V IOH = 10 mA, Vdd = 4.75 to 5.25V (8 total loads, 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. VOL Low Output Level - - 0.75 V IOL = 25 mA, Vdd = 4.75 to 5.25V (8 total loads, 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. VIL Input Low Level - - 0.8 V Vdd = 3.0 to 5.25 V Vdd = 3.0 to 5.25 - mV VIH Input High Level 2.1 - VH Input Hysteresis - 60 IIL Input Leakage (Absolute Value) - 1 - nA Gross tested to 1 A CIN Capacitive Load on Pins as Input - 3.5 10 pF Package and pin dependent. Temp = 25oC COUT Capacitive Load on Pins as Output - 3.5 10 pF Package and pin dependent. Temp = 25oC Table 16 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 2.4V to 3.0V and -40C TA 85C. Typical parameters apply to 2.7V at 25C and are for design guidance only. Table 16. 2.7V DC GPIO Specifications Symbol Description Pull up Resistor RPU Pull down Resistor RPD High Output Level VOH VOL Low Output Level VIL VIH VH IIL CIN Input Low Level Input High Level Input Hysteresis Input Leakage (Absolute Value) Capacitive Load on Pins as Input COUT Capacitive Load on Pins as Output Document Number: 38-12022 Rev. *H Min 4 4 Vdd 0.4 Typ 5.6 5.6 - Max 8 8 - - - 0.75 - 2.0 - - - - - 60 1 3.5 0.75 - - - 10 - 3.5 10 Units Notes k k V IOH = 2.5 mA (6.25 Typ), Vdd = 2.4 to 3.0V (16 mA maximum, 50 mA Typ combined IOH budget). V IOL = 10 mA, Vdd = 2.4 to 3.0V (90 mA maximum combined IOL budget). V Vdd = 2.4 to 3.0 V Vdd = 2.4 to 3.0 mV nA Gross tested to 1 A pF Package and pin dependent. Temp = 25oC pF Package and pin dependent. Temp = 25oC Page 19 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 DC Amplifier Specifications The following tables list the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, or 2.4V to 3.0V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 17. 5V DC Amplifier Specifications Symbol Min Typ Max Units - 2.5 15 mV TCVOSOA Average Input Offset Voltage Drift - 10 - V/oC IEBOA Input Leakage Current (Port 0 Analog Pins) - 200 - pA Gross tested to 1 A CINOA Input Capacitance (Port 0 Analog Pins) - 4.5 9.5 pF Package and pin dependent. Temp = 25oC VCMOA Common Mode Voltage Range 0.0 - Vdd - 1 V GOLOA Open Loop Gain 80 - - dB ISOA Amplifier Supply Current - 10 30 A Min Typ Max Units VOSOA Description Input Offset Voltage (absolute value) Notes Table 18. 3.3V DC Amplifier Specifications Symbol VOSOA Description Input Offset Voltage (absolute value) TCVOSOA Average Input Offset Voltage Drift - 2.5 15 mV - 10 - V/oC Notes IEBOA Input Leakage Current (Port 0 Analog Pins) - 200 - pA Gross tested to 1 A CINOA Input Capacitance (Port 0 Analog Pins) - 4.5 9.5 pF Package and pin dependent. Temp = 25oC VCMOA Common Mode Voltage Range 0 - Vdd - 1 V GOLOA Open Loop Gain 80 - - dB ISOA Amplifier Supply Current - 10 30 A Min Typ Max Units - 2.5 15 mV TCVOSOA Average Input Offset Voltage Drift - 10 - V/oC IEBOA Input Leakage Current (Port 0 Analog Pins) - 200 - pA Gross tested to 1 A CINOA Input Capacitance (Port 0 Analog Pins) - 4.5 9.5 pF Package and pin dependent. Temp = 25oC VCMOA Common Mode Voltage Range 0 - Vdd - 1 V GOLOA Open Loop Gain 80 - - dB ISOA Amplifier Supply Current - 10 30 A Table 19. 2.7V DC Amplifier Specifications Symbol VOSOA Description Input Offset Voltage (absolute value) Document Number: 38-12022 Rev. *H Notes Page 20 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 DC Switch Mode Pump Specifications Table 20 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, or 2.4V to 3.0V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 20. DC Switch Mode Pump (SMP) Specifications Symbol Description Min Typ Max Units Notes VPUMP5V 5V Output Voltage from Pump 4.75 5.0 5.25 V Configuration of footnote.a Average, neglecting ripple. SMP trip voltage is set to 5.0V. VPUMP3V 3.3V Output Voltage from Pump 3.00 3.25 3.60 V Configuration of footnote.a Average, neglecting ripple. SMP trip voltage is set to 3.25V. VPUMP2V 2.6V Output Voltage from Pump 2.45 2.55 2.80 V Configuration of footnote.a Average, neglecting ripple. SMP trip voltage is set to 2.55V. IPUMP Available Output Current VBAT = 1.8V, VPUMP = 5.0V VBAT = 1.5V, VPUMP = 3.25V VBAT = 1.3V, VPUMP = 2.55V VBAT5V Configuration of footnote.a SMP trip voltage is set to 5.0V. SMP trip voltage is set to 3.25V. SMP trip voltage is set to 2.55V. 5 8 8 - - - - - - mA mA mA Input Voltage Range from Battery 1.8 - 5.0 V Configuration of footnote.a SMP trip voltage is set to 5.0V. VBAT3V Input Voltage Range from Battery 1.0 - 3.3 V Configuration of footnote.a SMP trip voltage is set to 3.25V. VBAT2V Input Voltage Range from Battery 1.0 - 2.8 V Configuration of footnote.a SMP trip voltage is set to 2.55V. VBATSTART Minimum Input Voltage from Battery to Start Pump 1.2 - - V Configuration of footnote.a 0oC TA 100. 1.25V at TA = -40oC. VPUMP_Line Line Regulation (over Vi range) - 5 - %VO 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 21 on page 22. VPUMP_Load Load Regulation - 5 - %VO 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 21 on page 22. VPUMP_Ripple Output Voltage Ripple (depends on cap/load) - 100 - mVpp Configuration of footnote.a Load is 5 mA. E3 Efficiency 35 50 - % Configuration of footnote.a Load is 5 mA. SMP trip voltage is set to 3.25V. E2 Efficiency 35 80 - % For I load = 1mA, VPUMP = 2.55V, VBAT = 1.3V, 10 uH inductor, 1 uF capacitor, and Schottky diode. FPUMP Switching Frequency - 1.3 - MHz DCPUMP Switching Duty Cycle - 50 - % a. L1 = 2 mH inductor, C1 = 10 mF capacitor, D1 = Schottky diode. See Figure 12 on page 22. Document Number: 38-12022 Rev. *H Page 21 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Figure 12. Basic Switch Mode Pump Circuit D1 Vdd L1 V BAT + VPUMP C1 SMP Battery PSoCTM V ss DC POR and LVD Specifications Table 21 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, or 2.4V to 3.0V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 21. DC POR and LVD Specifications Symbol Description Min Typ Max Units - 2.36 2.82 4.55 2.40 2.95 4.70 V V V VPPOR0 VPPOR1 VPPOR2 Vdd Value for PPOR Trip PORLEV[1:0] = 00b PORLEV[1:0] = 01b PORLEV[1:0] = 10b VLVD0 VLVD1 VLVD2 VLVD3 VLVD4 VLVD5 VLVD6 VLVD7 Vdd Value for LVD Trip VM[2:0] = 000b VM[2:0] = 001b VM[2:0] = 010b VM[2:0] = 011b VM[2:0] = 100b VM[2:0] = 101b VM[2:0] = 110b VM[2:0] = 111b 2.40 2.85 2.95 3.06 4.37 4.50 4.62 4.71 2.45 2.92 3.02 3.13 4.48 4.64 4.73 4.81 2.51a 2.99b 3.09 3.20 4.55 4.75 4.83 4.95 V V V V V V V V VPUMP0 VPUMP1 VPUMP2 VPUMP3 VPUMP4 VPUMP5 VPUMP6 VPUMP7 Vdd Value for PUMP Trip VM[2:0] = 000b VM[2:0] = 001b VM[2:0] = 010b VM[2:0] = 011b VM[2:0] = 100b VM[2:0] = 101b VM[2:0] = 110b VM[2:0] = 111b 2.45 2.96 3.03 3.18 4.54 4.62 4.71 4.89 2.55 3.02 3.10 3.25 4.64 4.73 4.82 5.00 2.62c 3.09 3.16 3.32d 4.74 4.83 4.92 5.12 V V V V V V V V a. b. c. d. Notes Vdd must be greater than or equal to 2.5V during startup, reset from the XRES pin, or reset from Watchdog. Always greater than 50 mV above VPPOR (PORLEV = 00) for falling supply. Always greater than 50 mV above VPPOR (PORLEV = 01) for falling supply. Always greater than 50 mV above VLVD0. Always greater than 50 mV above VLVD3. Document Number: 38-12022 Rev. *H Page 22 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 DC Programming Specifications Table 22 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, or 2.4V to 3.0V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 22. DC Programming Specifications Symbol VddIWRITE IDDP VILP FlashENPB Description Supply Voltage for Flash Write Operations Supply Current During Programming or Verify Input Low Voltage During Programming or Verify Input High Voltage During Programming or Verify Input Current when Applying Vilp to P1[0] or P1[1] During Programming or Verify Input Current when Applying Vihp to P1[0] or P1[1] During Programming or Verify Output Low Voltage During Programming or Verify Output High Voltage During Programming or Verify Flash Endurance (per block) FlashENT Flash Endurance (total)a FlashDR Flash Data Retention VIHP IILP IIHP VOLV VOHV Min 2.70 - - Typ - 5 - Max - 25 0.8 Units V mA V 2.2 - - V - - 0.2 mA - - 1.5 mA - - Vss + 0.75 V Vdd - 1.0 - Vdd V 50,000 - - - 1,800,000 -0 -0 -0 10 - - Years 0 Notes Driving internal pull down resistor Driving internal pull down resistor Erase/write cycles per block. Erase/write cycles.0 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 (and so forth to limit the total number of cycles to 36x50,000 and that no single block ever sees more than 50,000 cycles). For the full industrial range, the user must employ a temperature sensor user module (FlashTemp) and feed the result to the temperature argument before writing. Refer to the Flash APIs Application Note AN2015 at http://www.cypress.com under Application Notes for more information. Document Number: 38-12022 Rev. *H Page 23 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 AC Electrical Characteristics AC Chip-Level Specifications Table 23 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, or 2.4V to 3.0V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 23. 5V and 3.3V AC Chip-Level Specifications Symbol Description Min Typ Max Units Notes a,b,c FIMO24 Internal Main Oscillator Frequency for 24 MHz 23.4 24 24.6 MHz Trimmed for 5V or 3.3V operation using factory trim values. See Figure 11 on page 16. SLIMO mode = 0. FIMO6 Internal Main Oscillator Frequency for 6 MHz 5.75 6 6.35a,b,c MHz Trimmed for 3.3V operation using factory trim values. See Figure 11 on page 16. SLIMO mode = 1. FCPU1 CPU Frequency (5V Nominal) 0.93 24 24.6a,b MHz 24 MHz only for SLIMO mode = 0. FCPU2 CPU Frequency (3.3V Nominal) 0.93 12 12.3b,c MHz 0 48 49.2a,b,d MHz Frequency0(5V FBLK5 Digital PSoC Block FBLK33 Digital PSoC Block Frequency (3.3V Nominal) 0 24 24.6b,d MHz F32K1 Internal Low Speed Oscillator Frequency 15 32 64 kHz Jitter32k 32 kHz RMS Period Jitter - 100 200 ns Jitter32k 32 kHz Peak-to-Peak Period Jitter - 1400 - ns TXRST External Reset Pulse Width 10 - - s DC24M 24 MHz Duty Cycle 40 50 60 % Step24M 24 MHz Trim Step Size Fout48M 48 MHz Output Frequency Jitter24M1 Nominal) - 50 - kHz 46.8 48.0 49.2a,c MHz 24 MHz Peak-to-Peak Period Jitter (IMO) - 300 FMAX Maximum frequency of signal on row input or row output. - - 12.3 MHz TRAMP Supply Ramp Time 0 - - s Refer to the AC Digital Block Specifications. Trimmed. Using factory trim values. ps 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 trimming for operation at 3.3V. d. See the individual user module data sheets for information on maximum frequencies for user modules. Document Number: 38-12022 Rev. *H Page 24 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Table 24. 2.7V AC Chip-Level Specifications Symbol Description Min Typ 0 Max Units Notes a,b,c 12.7 MHz Trimmed for 2.7V operation using factory trim values. See Figure 11 on page 16. SLIMO mode = 1. FIMO12 Internal Main Oscillator Frequency for 12 MHz 11.5 12 FIMO6 Internal Main Oscillator Frequency for 6 MHz 5.5 6 6.35a,b,c MHz Trimmed for 2.7V operation using factory trim values. See Figure 11 on page 16. SLIMO mode = 1. FCPU1 CPU Frequency (2.7V Nominal) 0.093 3 3.15a,b MHz 24 MHz only for SLIMO mode = 0. a,b,c FBLK27 Digital PSoC Block Frequency (2.7V Nominal) 0 12 F32K1 Internal Low Speed Oscillator Frequency 8 32 96 kHz Jitter32k 32 kHz RMS Period Jitter - 150 200 ns Jitter32k 32 kHz Peak-to-Peak Period Jitter - 1400 - ns TXRST External Reset Pulse Width 10 - - s FMAX Maximum frequency of signal on row input or row output. - - 12.3 MHz TRAMP Supply Ramp Time 0 - - s 12.5 MHz Refer to the AC Digital Block Specifications. a. 2.4V < Vdd < 3.0V. b. Accuracy derived from Internal Main Oscillator with appropriate trim for Vdd range. c. See application note AN2012 "Adjusting PSoC Microcontroller Trims for Dual Voltage-Range Operation" for information on maximum frequency for user modules. Figure 13. 24 MHz Period Jitter (IMO) Timing Diagram Jitter24M1 F 24M Figure 14. 32 kHz Period Jitter (ILO) Timing Diagram Jitter32k F32K1 Document Number: 38-12022 Rev. *H Page 25 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 AC General Purpose IO Specifications Table 25 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, or 2.4V to 3.0V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 25. 5V and 3.3V AC GPIO Specifications Symbol Description Min Typ Max Units Notes FGPIO GPIO Operating Frequency 0 - 12 MHz TRiseF Rise Time, Normal Strong Mode, Cload = 50 pF 3 - 18 ns Vdd = 4.5 to 5.25V, 10% - 90% Normal Strong Mode TFallF Fall Time, Normal Strong Mode, Cload = 50 pF 2 - 18 ns Vdd = 4.5 to 5.25V, 10% - 90% TRiseS Rise Time, Slow Strong Mode, Cload = 50 pF 10 27 - ns Vdd = 3 to 5.25V, 10% - 90% TFallS Fall Time, Slow Strong Mode, Cload = 50 pF 10 22 - ns Vdd = 3 to 5.25V, 10% - 90% Min Typ Max Units Table 26. 2.7V AC GPIO Specifications Symbol Description FGPIO GPIO Operating Frequency 0 - 3 MHz TRiseF Rise Time, Normal Strong Mode, Cload = 50 pF 6 - 50 ns Notes Normal Strong Mode Vdd = 2.4 to 3.0V, 10% - 90% TFallF Fall Time, Normal Strong Mode, Cload = 50 pF 6 - 50 ns Vdd = 2.4 to 3.0V, 10% - 90% TRiseS Rise Time, Slow Strong Mode, Cload = 50 pF 18 40 120 ns Vdd = 2.4 to 3.0V, 10% - 90% TFallS Fall Time, Slow Strong Mode, Cload = 50 pF 18 40 120 ns Vdd = 2.4 to 3.0V, 10% - 90% Figure 15. GPIO Timing Diagram 90% GPIO Pin 10% TRiseF TRiseS TFallF TFallS AC Amplifier Specifications The following tables list the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, or 2.4V to 3.0V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Settling times, slew rates, and gain bandwidth are based on the Analog Continuous Time PSoC block. Table 27. 5V and 3.3V AC Amplifier Specifications Symbol Description Min Typ Max Units TCOMP1 Comparator Mode Response Time, 50 mVpp Signal Centered on Ref 100 ns TCOMP2 Comparator Mode Response Time, 2.5V Input, 0.5V Overdrive 300 ns Table 28. 2.7V AC Amplifier Specifications Max Units TCOMP1 Symbol Comparator Mode Response Time, 50 mVpp Signal Centered on Ref Description 600 ns TCOMP2 Comparator Mode Response Time, 1.5V Input, 0.5V Overdrive 300 ns Document Number: 38-12022 Rev. *H Min Typ Page 26 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 AC Digital Block Specifications Table 29 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, or 2.4V to 3.0V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 29. 5V and 3.3V AC Digital Block Specifications Function All Functions Timer Description Max Units Notes Maximum Block Clocking Frequency (> 4.75V) 49.2 MHz 4.75V < Vdd < 5.25V. Maximum Block Clocking Frequency (< 4.75V) 24.6 MHz 3.0V < Vdd < 4.75V. Capture Pulse Width Min - - ns - - 49.2 MHz Maximum Frequency, With or Without Capture - - 24.6 MHz Enable Pulse Width 50 - - ns Maximum Frequency, No Enable Input - - 49.2 MHz Maximum Frequency, Enable Input - - 24.6 MHz Asynchronous Restart Mode 20 - - ns Synchronous Restart Mode 50 - - ns Disable Mode 50 - - ns Maximum Frequency - - 49.2 MHz 4.75V < Vdd < 5.25V. Maximum Input Clock Frequency - - 49.2 MHz 4.75V < Vdd < 5.25V. CRCPRS Maximum Input Clock Frequency (CRC Mode) - - 24.6 MHz SPIM Maximum Input Clock Frequency - - 8.2 MHz SPIS Maximum Input Clock Frequency - - 4.1 MHz Maximum Frequency, No Capture Counter Dead Band CRCPRS (PRS Mode) 50 a Typ 4.75V < Vdd < 5.25V. 4.75V < Vdd < 5.25V. Kill Pulse Width: Maximum data rate at 4.1 MHz due to 2 x over clocking. Width of SS_ Negated Between Transmissions 50 - - ns Transmitter Maximum Input Clock Frequency - - 24.6 MHz Maximum data rate at 3.08 MHz due to 8 x over clocking. Receiver Maximum Input Clock Frequency - - 24.6 MHz Maximum data rate at 3.08 MHz due to 8 x over clocking. a. 50 ns minimum input pulse width is based on the input synchronizers running at 12 MHz (84 ns nominal period). Document Number: 38-12022 Rev. *H Page 27 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Table 30. 2.7V AC Digital Block Specifications Function Description All Functions Maximum Block Clocking Frequency Timer Capture Pulse Width Maximum Frequency, With or Without Capture Counter Dead Band Enable Pulse Width Min Typ Max Units 12.7 MHz 100a - - ns - - 12.7 MHz 100 - - ns Maximum Frequency, No Enable Input - - 12.7 MHz Maximum Frequency, Enable Input - - 12.7 MHz Asynchronous Restart Mode 20 - - ns Synchronous Restart Mode 100 - - ns Disable Mode Notes 2.4V < Vdd < 3.0V. Kill Pulse Width: 100 - - ns Maximum Frequency - - 12.7 MHz CRCPRS (PRS Mode) Maximum Input Clock Frequency - - 12.7 MHz CRCPRS (CRC Mode) Maximum Input Clock Frequency - - 12.7 MHz SPIM Maximum Input Clock Frequency - - 6.35 MHz SPIS Maximum Input Clock Frequency Width of SS_ Negated Between Transmissions - - 4.1 MHz 100 - - ns Maximum data rate at 3.17 MHz due to 2 x over clocking. Transmitter Maximum Input Clock Frequency - - 12.7 MHz Maximum data rate at 1.59 MHz due to 8 x over clocking. Receiver Maximum Input Clock Frequency - - 12.7 MHz Maximum data rate at 1.59 MHz due to 8 x over clocking. a. 100 ns minimum input pulse width is based on the input synchronizers running at 12 MHz (84 ns nominal period). Document Number: 38-12022 Rev. *H Page 28 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 AC External Clock Specifications The following tables list the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, or 3.0V to 3.6V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 31. 5V AC External Clock Specifications Symbol Description Min Typ Max Units Notes FOSCEXT Frequency 0.093 - 24.6 MHz - High Period 20.6 - 5300 ns - Low Period 20.6 - - ns - Power Up IMO to Switch 150 - - s Min Typ Max Units Notes Table 32. 3.3V AC External Clock Specifications Symbol Description FOSCEXT Frequency with CPU Clock divide by 1 0.093 - 12.3 MHz Maximum CPU frequency is 12 MHz at 3.3V. With the CPU clock divider set to 1, the external clock must adhere to the maximum frequency and duty cycle requirements. FOSCEXT Frequency with CPU Clock divide by 2 or greater 0.186 - 24.6 MHz If the frequency of the external clock is greater than 12 MHz, the CPU clock divider must be set to 2 or greater. In this case, the CPU clock divider ensures that the fifty percent duty cycle requirement is met. - High Period with CPU Clock divide by 1 41.7 - 5300 ns - Low Period with CPU Clock divide by 1 41.7 - - ns - Power Up IMO to Switch 150 - - s Min Typ Max Units Notes MHz Maximum CPU frequency is 3 MHz at 2.7V. With the CPU clock divider set to 1, the external clock must adhere to the maximum frequency and duty cycle requirements. If the frequency of the external clock is greater than 3 MHz, the CPU clock divider must be set to 2 or greater. In this case, the CPU clock divider ensures that the fifty percent duty cycle requirement is met. Table 33. 2.7V AC External Clock Specifications Symbol Description FOSCEXT Frequency with CPU Clock divide by 1 0.093 - 6.060 FOSCEXT Frequency with CPU Clock divide by 2 or greater 0.186 - 12.12 MHz - High Period with CPU Clock divide by 1 83.4 - 5300 ns - Low Period with CPU Clock divide by 1 83.4 - - ns - Power Up IMO to Switch 150 - - s Document Number: 38-12022 Rev. *H Page 29 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 AC Programming Specifications Table 34 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, or 3.0V to 3.6V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 34. AC Programming Specifications Symbol TRSCLK TFSCLK TSSCLK THSCLK FSCLK TERASEB TWRITE TDSCLK3 TDSCLK2 Description Rise Time of SCLK Fall Time of SCLK Data Set up Time to Falling Edge of SCLK Data Hold Time from Falling Edge of SCLK Frequency of SCLK Flash Erase Time (Block) Flash Block Write Time Data Out Delay from Falling Edge of SCLK Data Out Delay from Falling Edge of SCLK Min 1 1 40 40 0 - - - - Typ - - - - - 15 30 - - Max 20 20 - - 8 - - 50 70 Units ns ns ns ns MHz ms ms ns ns Notes 3.0 Vdd 3.6 2.4 Vdd 3.0 AC I2C Specifications Table 35 lists the guaranteed maximum and minimum specifications for the voltage and temperature ranges: 4.75V to 5.25V and -40C TA 85C, 3.0V to 3.6V and -40C TA 85C, or 2.4V to 3.0V and -40C TA 85C, respectively. Typical parameters apply to 5V, 3.3V, or 2.7V at 25C and are for design guidance only. Table 35. AC Characteristics of the I2C SDA and SCL Pins for Vcc 3.0V Symbol FSCLI2C Description SCL Clock Frequency Standard Mode Min Max 0 100 Fast Mode Min Max 0 400 Units kHz THDSTAI2C Hold Time (repeated) START Condition. After this period, the first clock pulse is generated. TLOWI2C LOW Period of the SCL Clock 4.0 - 0.6 - s 4.7 - 1.3 - s THIGHI2C HIGH Period of the SCL Clock 4.0 - 0.6 - s TSUSTAI2C Setup Time for a Repeated START Condition 4.7 - 0.6 - s THDDATI2C Data Hold Time TSUDATI2C Data Setup Time0 0 - 0 - s 2500 -0 100a -0 ns0 4.0 - 0.6 - s TBUFI2C Bus Free Time Between a STOP and START Condition 4.7 - 1.3 - s TSPI2C Pulse Width of spikes are suppressed by the input filter. - - 0 50 ns TSUSTOI2C Setup Time for STOP Condition a. A Fast-Mode I2C-bus device can be used in a Standard-Mode I2C-bus system, but the requirement tSU;DAT 250 ns must then be met. This automatically becomes the case if the device does not stretch the LOW period of the SCL signal. If such device does stretch the LOW period of the SCL signal, it must output the next data bit to the SDA line trmax + tSU;DAT = 1000 + 250 = 1250 ns (according to the Standard-Mode I2C-bus specification) before the SCL line is released. Document Number: 38-12022 Rev. *H Page 30 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Table 36. 2.7V AC Characteristics of the I2C SDA and SCL Pins (Fast Mode Not Supported) Symbol FSCLI2C Standard Mode Min Max 0 100 Description SCL Clock Frequency THDSTAI2C Hold Time (repeated) START Condition. After this period, the first clock pulse is generated. TLOWI2C LOW Period of the SCL Clock Fast Mode Min Max - - Units kHz 4.0 - - - s 4.7 - - - s THIGHI2C HIGH Period of the SCL Clock 4.0 - - - s TSUSTAI2C Setup Time for a Repeated START Condition 4.7 - - - s THDDATI2C Data Hold Time 0 - - - s TSUDATI2C Data Setup Time 250 - - - ns TSUSTOI2C Setup Time for STOP Condition 4.0 - - - s TBUFI2C Bus Free Time Between a STOP and START Condition 4.7 - - - s TSPI2C Pulse Width of spikes are suppressed by the input filter. - - - - ns Figure 16. Definition for Timing for Fast/Standard Mode on the I2C Bus SDA TLOWI2C TSUDATI2C THDSTAI2C TSPI2C TBUFI2C SCL S THDSTAI2C THDDATI2C THIGHI2C Document Number: 38-12022 Rev. *H TSUSTAI2C Sr TSUSTOI2C P S Page 31 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Packaging Information This section illustrates the packaging specifications for the CY8C21x23 PSoC device, along with the thermal impedances for each package and minimum solder reflow peak temperature. 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 Emulator Pod Dimensions at http://www.cypress.com/design/MR10161. Packaging Dimensions Figure 17. 8-Pin (150-Mil) SOIC PIN 1 ID 4 1 1. DIMENSIONS IN INCHES[MM] MIN. MAX. 2. PIN 1 ID IS OPTIONAL, ROUND ON SINGLE LEADFRAME RECTANGULAR ON MATRIX LEADFRAME 0.150[3.810] 0.157[3.987] 3. REFERENCE JEDEC MS-012 0.230[5.842] 0.244[6.197] 4. PACKAGE WEIGHT 0.07gms PART # S08.15 STANDARD PKG. 5 SZ08.15 LEAD FREE PKG. 8 0.189[4.800] 0.196[4.978] 0.010[0.254] 0.016[0.406] SEATING PLANE X 45 0.061[1.549] 0.068[1.727] 0.004[0.102] 0.050[1.270] BSC 0.004[0.102] 0.0098[0.249] 0.0138[0.350] 0.0192[0.487] Document Number: 38-12022 Rev. *H 0~8 0.016[0.406] 0.035[0.889] 0.0075[0.190] 0.0098[0.249] 51-85066 *C Page 32 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Figure 18. 16-Pin (150-Mil) SOIC 51-85022 *B Figure 19. 16-Pin COL 001-09116 *D Document Number: 38-12022 Rev. *H Page 33 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Figure 20. 20-Pin (210-MIL) SSOP 51-85077 *C Figure 21. 24-Pin (4x4) QFN SIDE VIEW TOP VIEW BOTTOM VIEW 0.05 3.90 4.10 1.00 MAX. 0.230.05 0.05 MAX. 3.70 3.80 O0.50 C 0.80 MAX. 2.49 0.20 REF. N PIN1 ID 0.20 R. N 1 1 2 2.45 2.55 3.90 4.10 3.70 3.80 2 2.49 SOLDERABLE EXPOSED PAD 0.45 0.30-0.50 0.420.18 (4X) 0-12 C SEATING PLANE 0.50 2.45 2.55 NOTES: 1. HATCH IS SOLDERABLE EXPOSED METAL. 2. REFERENCE JEDEC#: MO-220 3. PACKAGE WEIGHT: 0.042g 4. ALL DIMENSIONS ARE IN MM [MIN/MAX] 5. PACKAGE CODE PART # DESCRIPTION LF24A LY24A STANDARD LEAD FREE 51-85203 *A Important Note For information on the preferred dimensions for mounting QFN packages, see the following Application Note at http://www.amkor.com/products/notes_papers/MLFAppNote.pdf. It is important to note that pinned vias for thermal conduction are not required for the low power 24, 32, and 48-pin QFN PSoC devices. Document Number: 38-12022 Rev. *H Page 34 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Thermal Impedances Table 37. Thermal Impedances per Package Typical JA * Package o 8 SOIC 186 C/W 16 SOIC 125 oC/W 16 QFN 46 C/W 20 SSOP 117 oC/W 24 MLF** 40 oC/W * TJ = TA + POWER x JA **To achieve the thermal impedance specified for the QFN package, the center thermal pad must be soldered to the PCB ground plane. Solder Reflow Peak Temperature Table 38 lists the minimum solder reflow peak temperature to achieve good solderability. Table 38. Solder Reflow Peak Temperature Package Minimum Peak Temperature* Maximum Peak Temperature 8 SOIC 240oC 260oC 16 SOIC 240oC 260oC 16 QFN 240oC 260oC 20 SSOP 240oC 260oC 24 MLF 240oC 260oC *Higher temperatures may be required based on the solder melting point. Typical temperatures for solder are 220+/-5oC with Sn-Pb or 245+/-5oC with Sn-Ag-Cu paste. Refer to the solder manufacturer specifications. Document Number: 38-12022 Rev. *H Page 35 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Ordering Information The following table lists the CY8C21x23 PSoC device's key package features and ordering codes. Table 39. CY8C21x23 PSoC Device Key Features and Ordering Information Package Ordering Code Flash (Bytes) RAM (Bytes) Switch Mode Pump Temperature Range Digital PSoC Blocks Analog Blocks Digital IO Pins Analog Inputs Analog Outputs XRES Pin 8-Pin (150-Mil) SOIC CY8C21123-24SXI 4K 256 No -40C to +85C 4 4 6 4 0 No 8-Pin (150-Mil) SOIC (Tape and Reel) CY8C21123-24SXIT 4K 256 No -40C to +85C 4 4 6 4 0 No 16-Pin (150-Mil) SOIC CY8C21223-24SXI 4K 256 Yes -40C to +85C 4 4 12 8 0 No 16-Pin (150-Mil) SOIC (Tape and Reel) CY8C21223-24SXIT 4K 256 Yes -40C to +85C 4 4 12 8 0 No 16-Pin (3x3) QFN CY8C21223-LGXI 4K 256 Yes -40C to +85C 4 4 12 8 0 No 20-Pin (210-Mil) SSOP CY8C21323-24PVXI 4K 256 No -40C to +85C 4 4 16 8 0 Yes 20-Pin (210-Mil) SSOP (Tape and Reel) CY8C21323-24PVXIT 4K 256 No -40C to +85C 4 4 16 8 0 Yes 24-Pin (4x4) QFN CY8C21323-24LFXI 4K 256 Yes -40C to +85C 4 4 16 8 0 Yes 24-Pin (4x4) QFN (Tape and Reel) CY8C21323-24LFXIT 4K 256 Yes -40C to +85C 4 4 16 8 0 Yes Ordering Code Definitions CY 8 C 21 xxx-24xx Package Type: PX = PDIP Pb-Free SX = SOIC Pb-Free PVX = SSOP Pb-Free LFX = QFN Pb-Free AX = TQFP Pb-Free Thermal Rating: C = Commercial I = Industrial E = Extended Speed: 24 MHz Part Number Family Code Technology Code: C = CMOS Marketing Code: 8 = Cypress Semiconductor Company ID: CY = Cypress Document Number: 38-12022 Rev. *H Page 36 of 37 [+] Feedback CY8C21123, CY8C21223, CY8C21323 Document History Page Document Title: CY8C21123/CY8C21223/CY8C21323 PSoC(R) Mixed Signal Array Document Number:38-12022 Revision ECN Orig. of Change Submission Date Description of Change ** 133248 NWJ See ECN New silicon and document (Revision **). *A 208900 NWJ See ECN Add new part, new package and update all ordering codes to Pb-free. *B 212081 NWJ See ECN Expand and prepare Preliminary version. *C 227321 CMS Team See ECN Update specs., data, format. *D 235973 SFV See ECN Updated Overview and Electrical Spec. chapters, along with 24-pin pinout. Added CMP_GO_EN register (1,64h) to mapping table. *E 290991 HMT See ECN Update data sheet standards per SFV memo. Fix device table. Add part numbers to pinouts and fine tune. Change 20-pin SSOP to CY8C21323. Add Reflow Temp. table. Update diagrams and specs. *F 301636 HMT See ECN DC Chip-Level Specification changes. Update links to new CY.com Portal. *G 324073 HMT See ECN Obtained clearer 16 SOIC package. Update Thermal Impedances and Solder Reflow tables. Re-add pinout ISSP notation. Fix ADC type-o. Fix TMP register names. Update Electrical Specifications. Add CY logo. Update CY copyright. Make data sheet Final. *H 2588457 KET/HMI/ AESA 10/22/2008 New package information on page 9. Converted data sheet to new template. Added 16-Pin OFN package diagram. Sales, Solutions, and Legal Information Worldwide Sales and Design Support Cypress maintains a worldwide network of offices, solution centers, manufacturer's representatives, and distributors. To find the office closest to you, visit us at cypress.com/sales. Products PSoC Clocks & Buffers PSoC Solutions psoc.cypress.com clocks.cypress.com General Low Power/Low Voltage psoc.cypress.com/solutions psoc.cypress.com/low-power Wireless wireless.cypress.com Precision Analog Memories memory.cypress.com LCD Drive psoc.cypress.com/lcd-drive image.cypress.com CAN 2.0b psoc.cypress.com/can USB psoc.cypress.com/usb Image Sensors psoc.cypress.com/precision-analog (c) Cypress Semiconductor Corporation, 2004-2008. The information contained herein is subject to change without notice. Cypress Semiconductor Corporation assumes no responsibility for the use of any circuitry other than circuitry embodied in a Cypress product. Nor does it convey or imply any license under patent or other rights. Cypress products are not warranted nor intended to be used for medical, life support, life saving, critical control or safety applications, unless pursuant to an express written agreement with Cypress. Furthermore, Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress products in life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Any Source Code (software and/or firmware) is owned by Cypress Semiconductor Corporation (Cypress) and is protected by and subject to worldwide patent protection (United States and foreign), United States copyright laws and international treaty provisions. Cypress hereby grants to licensee a personal, non-exclusive, non-transferable license to copy, use, modify, create derivative works of, and compile the Cypress Source Code and derivative works for the sole purpose of creating custom software and or firmware in support of licensee product to be used only in conjunction with a Cypress integrated circuit as specified in the applicable agreement. Any reproduction, modification, translation, compilation, or representation of this Source Code except as specified above is prohibited without the express written permission of Cypress. Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cypress reserves the right to make changes without further notice to the materials described herein. Cypress does not assume any liability arising out of the application or use of any product or circuit described herein. Cypress does not authorize its products for use as critical components in life-support systems where a malfunction or failure may reasonably be expected to result in significant injury to the user. The inclusion of Cypress' product in a life-support systems application implies that the manufacturer assumes all risk of such use and in doing so indemnifies Cypress against all charges. Use may be limited by and subject to the applicable Cypress software license agreement. Document Number: 38-12022 Rev. *H Revised October 22, 2008 Page 37 of 37 PSoC DesignerTM, Programmable System-on-ChipTM, and PSoC ExpressTM are trademarks and PSoC(R) is a registered trademark of Cypress Semiconductor Corp. All other trademarks or registered trademarks referenced herein are property of the respective corporations. Purchase of I2C components from Cypress or one of its sublicensed Associated Companies conveys a license under the Philips I2C Patent Rights to use these components in an I2C system, provided that the system conforms to the I2C Standard Specification as defined by Philips. [+] Feedback