CY8CLED02-8SXIT

CY8CLED02-8SXIT Datasheet


CY8CLED02

Part Datasheet
CY8CLED02-8SXIT CY8CLED02-8SXIT CY8CLED02-8SXIT (pdf)
Related Parts Information
CY8CLED02-16SXI CY8CLED02-16SXI CY8CLED02-16SXI
CY8CLED02-16SXIT CY8CLED02-16SXIT CY8CLED02-16SXIT
CY8CLED02-8SXI CY8CLED02-8SXI CY8CLED02-8SXI
CY8CLED02-24LFXI CY8CLED02-24LFXI CY8CLED02-24LFXI
CY8CLED02-24LFXIT CY8CLED02-24LFXIT CY8CLED02-24LFXIT
PDF Datasheet Preview
CY8CLED02

EZ-Color HB LED Controller
• HB LED controller Configurable dimmers support up to 2 independent LED channels 8- to 32-bits of resolution per channel Dynamic reconfiguration enables LED controller plus other features Battery Charging, Motor Control
• Visual embedded design LED-Based drivers
• Binning compensation
• Temperature feedback
• Optical feedback
• DMX512
• PrISM modulation technology Reduces radiated EMI Reduces low frequency blinking
• Powerful Harvard-architecture processor M8C processor speeds up to 24 MHz V to V operating voltage Operating voltages down to V using on-chip switch mode pump SMP Industrial temperature range °C to +85 °C
• Flexible on-chip memory 4 KB flash program storage 50,000 erase/write cycles 256 Bytes static random access memory SRAM data storage In-system serial programming ISSP Partial flash updates Flexible protection modes EEPROM emulation in flash
• Advanced peripherals blocks Four digital PSoC blocks provide
• 8- to 32-bit timers, counters, and pulse-width modulator PWMs
• Full-duplex universal asynchronous receiver transmitter UART
• Multiple serial peripheral interface SPI masters or slaves
• Connectable to all general purpose I/O GPIO pins Four Rail-to-Rail analog PSoC blocks provide
• Up to 14-bit analog-to-digital ADCs
• Up to 9-bit digital-to-analog DACs
• Programmable gain amplifiers PGAs
• Programmable filters and comparators Complex peripherals by combining blocks
• Programmable pin configurations 25 mA sink, 10 mA source on all GPIO Pull-up, Pull-down, high Z, strong, or open drain drive modes on all GPIO Up to 12 analog inputs on GPIO Four 30 mA analog outputs on GPIO Configurable interrupt on all GPIO
• Complete development tools Free development software
• Designer Full-featured, in-circuit emulator ICE and Programmer Full-speed emulation Complex breakpoint structure 128 KB trace memory

Logic Block Diagram

PSoC CORE

Port 1 Port 0

System Bus

Global Digital Interconnect

Global Analog Interconnect

SRAM

Interrupt Controller

SROM

Flash

CPU Core M8C

Sleep and Watchdog

Clock Sources Includes IMO and ILO

DIGITAL SYSTEM

Digital PSoC Block

Array

ANALOG SYSTEM

Analog PSoC Block

Array

Analog Ref.

Digital Clocks

POR and LVD

Switch

Mode

System Resets

Pump

SYSTEM RESOURCES

Internal Voltage

Ref.
• San Jose, CA 95134-1709
• 408-943-2600

CY8CLED02
Ordering Information 36 Key Device Features 36 Ordering Code Definitions 36

Acronyms 37 Acronyms Used 37

Reference Documents 37 Document Conventions 38

Units of Measure 38 Numeric Conventions 38 Glossary 38 Document History Page 43 Sales, Solutions, and Legal Information 44 Worldwide Sales and Design Support 44 Products 44 PSoC Solutions 44

Page 2 of 44

CY8CLED02

EZ-Color Functional Overview

Cypress's EZ-Color family of devices offers the ideal control solution for High Brightness LED applications requiring intelligent dimming control. EZ-Color devices combine the power and flexibility of Programmable System-on-Chip with Cypress' precise illumination signal modulation PrISM drive technology providing lighting designers a fully customizable and integrated lighting solution platform.

The EZ-Color family supports a range of independent LED channels from 4 channels at 32 bits of resolution each, up to 16 channels at 8 bits of resolution each. This enables lighting designers the flexibility to choose the LED array size and color quality. PSoC Designer software, with lighting specific drivers, can significantly cut development time and simplify implementation of fixed color points through temperature, optical, and LED binning compensation. EZ-Color's virtually limitless analog and digital customization enables the simple integration of features in addition to intelligent lighting, such as Battery Charging, Image Stabilization, and Motor Control during the development process. These features, along with Cypress's best-in-class quality and design support, make EZ-Color the ideal choice for intelligent HB LED control applications.

Target Applications
• LCD Backlight
• Large Signs
• General Lighting
• Architectural Lighting
• Camera/Cell Phone Flash
• Flashlights

The PSoC Core

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 an internal main oscillator IMO and an internal low-speed oscillator ILO . The CPU core, called the M8C, is a powerful, four-million instructions per second MIPS , 8-bit Harvard-architecture microprocessor with speeds up to 24 MHz.

System resources provide additional capability, such as digital clocks to increase the flexibility of the PSoC I2C functionality for implementing an I2C master, slave, or multi-master an internal voltage reference that provides an absolute value of V 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.

The digital system is composed of an array of digital 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 busses that can route any signal to any pin, freeing designers from the constraints of a fixed peripheral controller.

The analog system consists of four analog blocks, supporting comparators, and analog-to-digital conversion up to 10 bits of precision.

The Digital System

The digital system is composed of four digital PSoC blocks. Each block is an 8-bit resource that can be used alone or combined with other blocks to form 8-, 16-, 24-, and 32-bit peripherals, which are called user modules. Digital peripheral configurations include those listed below.
• PrISM 8- to 32-bit
• 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
• SPI master and slave
• I2C slave, master, multi-master one available as a system resource
• Cyclical redundancy checker CRC /generator 8- to 32-bit
• IrDA up to four
• Generators 8- to 32-bit

Connect the digital blocks to any GPIO through a series of global busses that can route any signal to any pin. The buses also allow for signal multiplexing and for performing logic operations. This configurability frees your designs from the constraints of a fixed peripheral controller.

Digital blocks are provided in rows of four, where the number of blocks varies by device family. This allows you the optimum choice of system resources for your application. Family resources are shown in the table titled EZ-Color Device Characteristics.

Figure Digital System Block Diagram

Port 1

Port 0

Digital Clocks To System Bus From Core

To Analog System
For up-to-date ordering, packaging, and electrical specification information, reference the latest device datasheets on the cypress website at

Application Notes

Cypress application notes are an excellent introduction to the wide variety of possible PSoC designs.

Development Kits

PSoC Development Kits are available online from and through a growing number of regional and global distributors, which include Arrow, Avnet, Digi-Key, Farnell, Future Electronics, and Newark.

Training

Free PSoC technical training on demand, webinars, and workshops , which is available online via covers a wide variety of topics and skill levels to assist you in your designs.

CYPros Consultants

Certified PSoC consultants offer everything from technical assistance to completed PSoC designs. To contact or become a PSoC consultant go to the CYPros Consultants website.

Solutions Library

Visit our growing library of solution focused designs. Here you can find various application designs that include firmware and hardware design files that enable you to complete your designs quickly.

Technical Support

Technical support including a searchable Knowledge Base articles and technical forums is also available online. If you cannot find an answer to your question, call our Technical Support hotline at

Page 5 of 44

CY8CLED02

Development Tools
• Application editor graphical user interface GUI for device and user module configuration and dynamic reconfiguration
• Extensive user module catalog
• Integrated source-code editor C and assembly
• Free C compiler with no size restrictions or time limits
• Built-in debugger
• In-circuit emulation
• Built-in support for communication interfaces Hardware and software I2C slaves and masters Full-speed USB Up to four full-duplex universal asynchronous receiver/transmitters UARTs , SPI master and slave, and wireless

PSoC Designer supports the entire library of PSoC 1 devices and runs on Windows XP, Windows Vista, and Windows

PSoC Designer Software Subsystems

Design Entry

In the chip-level view, choose a base device to work with. Then select different onboard analog and digital components that use the PSoC blocks, which are called user modules. Examples of user modules are analog-to-digital converters ADCs , digital-to-analog converters DACs , amplifiers, and filters. Configure the user modules for your chosen application and connect them to each other and to the proper pins. Then generate your project. This prepopulates your project with APIs and libraries that you can use to program your application.

The tool also supports easy development of multiple configurations and dynamic reconfiguration. Dynamic reconfiguration makes it possible to change configurations at run time. In essence, this lets you to use more than 100 percent of PSoC's resources for an application.

Code Generation Tools

The code generation tools work seamlessly within the PSoC Designer interface and have been tested with a full range of debugging tools. You can develop your design in C, assembly, or a combination of the two.

Assemblers. The assemblers allow you to merge assembly code seamlessly with C code. Link libraries automatically use absolute addressing or are compiled in relative mode, and linked with other software modules to get absolute addressing.

C Language Compilers. C language compilers are available that support the PSoC family of devices. The products allow you to create complete C programs for the PSoC family devices. The optimizing C compilers provide all of the features of C, tailored to the PSoC architecture. They come complete with embedded libraries providing port and bus operations, standard keypad and display support, and extended math functionality.

Debugger

PSoC Designer has a debug environment that provides hardware in-circuit emulation, allowing you to test the program in a physical system while providing an internal view of the PSoC device. Debugger commands allow you to read and program and read and write data memory, and read and write I/O registers. You can read and write CPU registers, set and clear breakpoints, and provide program run, halt, and step control. The debugger also lets you to create a trace buffer of registers and memory locations of interest.

Online Help System

The online help system displays online, context-sensitive help. 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-Circuit Emulator

A low-cost, high-functionality in-circuit emulator ICE is available for development support. This hardware can program single devices.

The emulator consists of a base unit that connects to the PC using a 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.

Page 6 of 44

CY8CLED02
Ordering Information
Key Device Features The following table lists the CY8CLED02 EZ-Color devices’ key package features and ordering codes. Table Device Key Features and Ordering Information
Package Ordering

Code Flash Bytes RAM Bytes Switch Mode Pump Temperature Range Digita l Blocks Analog Blocks Digital I/O Pins Analog Inputs Analog Outputs XRES Pin
16-Pin 150-Mil SOIC CY8CLED02-16SXI
4 K 256 Yes °C to +85 °C 4
16-Pin 150-Mil SOIC CY8CLED02-16SXIT 4 K 256 Yes °C to +85 °C 4

Tape and Reel
24-Pin 4x4 QFN

CY8CLED02-24LFXI
4 K 256 Yes °C to +85 °C 4
24-Pin 4x4 QFN Tape and Reel

CY8CLED02-24LFXIT 4 K 256 Yes °C to +85 °C 4
Ordering Code Definitions CY 8 C LED xx - xx xxxx

Package Type:

SX = SOIC Pb-free LFX = QFN Pb-free

Thermal Rating C = Commercial I = Industrial E = Extended
12 8 12 8
16 8 16 8
0 No 0 No
0 Yes 0 Yes

Pin Count Part Number LED Family Code Technology Code C = CMOS Marketing Code 8 = Cypress PSoC Company ID CY = Cypress
Notes Flex-Pod kit includes a practice flex-pod and a practice PCB, in addition to two flex-pods. Foot kit includes surface mount feet that can be soldered to the target PCB. Programming adapter converts non-DIP package to DIP footprint. Specific details and ordering information for each of the adapters can be found at

Page 36 of 44

CY8CLED02

Acronyms

Table 40 lists the acronyms that are used in this document.

Table Acronyms Used in this Datasheet

Acronym AC ADC API

CMOS CPU CRC CT DAC DC EEPROM

GPIO I/O ICE IDE ILO IMO IrDA ISSP LCD LED LVD

Description alternating current analog-to-digital converter application programming interface complementary metal oxide semiconductor central processing unit cyclic redundancy check continuous time digital-to-analog converter direct current electrically erasable programmable read-only memory general purpose I/O input/output in-circuit emulator integrated development environment internal low speed oscillator internal main oscillator infrared data association in-system serial programming liquid crystal display light-emitting diode low-voltage detect

Acronym LPC MIPS PCB PDIP POR PPOR PRS

PWM QFN

Description low power comparator million instructions per second printed circuit board plastic dual-in-line package power-on reset precision power on reset pseudo-random sequence Programmable System-on-Chip pulse-width modulator quad flat no leads

SC SRAM SLIMO SMP SOIC SPITM SROM UART USB XRES WDT
switched capacitor static random access memory slow IMO switch mode pump small-outline integrated circuit serial peripheral interface supervisory read only memory universal asynchronous receiver / transmitter universal serial bus external reset watchdog timer

Reference Documents

Design Aids Reading and Writing Flash AN2015 001-40459 Understanding Datasheet Jitter Specifications for Cypress Timing Products AN5054 001-14503 Application Notes for Surface Mount Assembly of Amkor's MicroLeadFrame MLF Packages available at

Page 37 of 44

CY8CLED02

Document Conventions

Units of Measure Table 41 lists the units of measure.

Table Units of Measure

Symbol °C dB kHz kΩ mA mH MHz nA pA pF µA µF

Unit of Measure degree Celsius decibels kilohertz kilo ohm milliampere millihenry megahertz nano ampere pico ampere picofarad microampere microfarad

Symbol µs µH ps mV V % µV W mm ns
mVpp ms

Unit of Measure microsecond micro henry picosecond millivolt volt percent microvolt watt millimeter nanosecond millivolts peak-to-peak millisecond

Numeric Conventions

Hexadecimal numbers are represented with all letters in uppercase with an appended lowercase ‘h’ for example, ‘14h’ or ‘3Ah’ . Hexadecimal numbers may also be represented by a ‘0x’ prefix, the C coding convention. Binary numbers have an appended lowercase ‘b’ for example, 01010100b’ or ‘01000011b’ . Numbers not indicated by an ‘h’ or ‘b’ are decimals.

Glossary
active high

A logic signal having its asserted state as the logic 1 state. A logic signal having the logic 1 state as the higher voltage of the two states.
analog blocks

The basic programmable opamp circuits. These are switched capacitor SC and continuous time CT blocks. These blocks can be interconnected to provide ADCs, DACs, multi-pole filters, gain stages, and much more.
analog-to-digital A device that changes an analog signal to a digital signal of corresponding magnitude. Typically, an ADC converts

Application programming interface API

A series of software routines that comprise an interface between a computer application and lower level services and functions for example, user modules and libraries . APIs serve as building blocks for programmers that create software applications.
asynchronous A signal whose data is acknowledged or acted upon immediately, irrespective of any clock signal.
bandgap reference

A stable voltage reference design that matches the positive temperature coefficient of VT with the negative temperature coefficient of VBE, to produce a zero temperature coefficient ideally reference.
bandwidth
Removed the following pruned parts from the Ordering Information and Accessories Emulation and Programming sections. CY8CLED02-8SXI CY8CLED02-8SXIT

Page 43 of 44

CY8CLED02

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 Locations.

Products Automotive Clocks & Buffers Interface Lighting & Power Control

Memory Optical & Image Sensing PSoC Touch Sensing USB Controllers Wireless/RF
cypress.com/go/automotive cypress.com/go/clocks
cypress.com/go/interface cypress.com/go/powerpsoc
cypress.com/go/plc cypress.com/go/memory
cypress.com/go/image cypress.com/go/psoc cypress.com/go/touch cypress.com/go/USB
cypress.com/go/wireless

PSoC Solutions psoc.cypress.com/solutions PSoC 1 | PSoC 3 | PSoC 5

Cypress Semiconductor Corporation, 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.

Page 44 of 44

PSoC Designer and EZ-Color are trademarks and is a registered trademark of Cypress Semiconductor Corporation. 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. As from October 1st, 2006 Philips Semiconductors has a new trade name - NXP Semiconductors.

All products and company names mentioned in this document may be the trademarks of their respective holders.
More datasheets: 3M 200 2" X 60YD | 3M 200 1.5" X 60YD | 3M 200 11.5" X 11.5"-25 | 3M 200 4.72" X 60YD | 3M 200 0.5" X 9"-500 | CY8CLED02-16SXI | CY8CLED02-16SXIT | CY8CLED02-8SXI | CY8CLED02-24LFXI | CY8CLED02-24LFXIT


Notice: we do not provide any warranties that information, datasheets, application notes, circuit diagrams, or software stored on this website are up-to-date or error free. The archived CY8CLED02-8SXIT Datasheet file may be downloaded here without warranties.

Datasheet ID: CY8CLED02-8SXIT 508180