CY8CLED04-68LTXI

CY8CLED04-68LTXI Datasheet


CY8CLED04

Part Datasheet
CY8CLED04-68LTXI CY8CLED04-68LTXI CY8CLED04-68LTXI (pdf)
Related Parts Information
CY8CLED04-68LFXIT CY8CLED04-68LFXIT CY8CLED04-68LFXIT
CY8CLED04-68LFXI CY8CLED04-68LFXI CY8CLED04-68LFXI
CY8CLED04-68LTXIT CY8CLED04-68LTXIT CY8CLED04-68LTXIT
PDF Datasheet Preview
CY8CLED04

EZ-Color HB LED Controller
• HB LED Controller Configurable dimmers support up to four independent LED channels 8- to 32-bits of resolution per channel Dynamic reconfiguration enables led controller plus other features Battery Charging, and 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
• Advanced peripherals blocks Four digital PSoC blocks provide
• 8 to 32-bit timers, counters, and PWMs
• Full-duplex UART
• Multiple SPI Masters or Slaves
• Connectable to all GPIO pins Six Rail-to-Rail analog PSoC blocks provide
• Up to 14-bit ADCs
• Up to 9-bit DACs
• Programmable gain amplifiers PGA
• Programmable filters and comparators Complex peripherals by combining blocks Capacitive sensing application capability
• Complete development tools Free development software
• PSoC Designer Full featured, in-circuit emulator ICE and programmer Full speed emulation Complex breakpoint structure 128 KB trace memory
• 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
• Flexible on-chip memory 16K flash program storage 50,000 erase/write cycles 1K SRAM data storage In-system serial programming ISSP Partial flash updates Flexible protection modes EEPROM emulation in flash
• Full speed USB 12 Mbps Four uni-directional endpoints One bi-directional control endpoint USB compliant Dedicated 256 byte buffer No external crystal required
• San Jose, CA 95134-1709
• 408-943-2600

CY8CLED04

Logic Block Diagram

Port 7

Port 5 Port 4

Port 3

Port 2 Port 1

Port 0

Analog Drivers

System Bus

Global Digital Interconnect

Global Analog Interconnect

PSoC CORE

SRAM 1K

Interrupt Controller

SROM Flash 16 K

CPU Core M8C

Sleep and Watchdog

Clock Sources Includes IMO and ILO

DIGITAL SYSTEM

Digital Block Array

ANALOG SYSTEM

Analog Block Array

Analog Ref.

Digital 2 Decimator Clocks MACs Type 2

POR and LVD System Resets

Internal Voltage

Ref.

SYSTEM RESOURCES

Analog Input Muxing

Page 2 of 49
Ordering Information 41 Key Device Features 41 Ordering Code Definitions 41

Acronyms 42 Acronyms Used 42

Reference Documents 42 Document Conventions 43

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

Page 3 of 49

CY8CLED04

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's precise illumination signal modulation PrISM modulation 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 enable simple integration of features in addition to intelligent lighting, such as CapSense, 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 feature set. The core includes a CPU, memory, clocks, and configurable General Purpose I/O GPIO .

The M8C CPU core is a powerful processor with speeds up to 68 MHz, providing a four MIPS 8-bit Harvard-architecture microprocessor. The CPU uses an interrupt controller with up to 20 vectors, to simplify programming of real time embedded events. Program execution is timed and protected using the included Sleep and watchdog timers WDT .

Memory encompasses 16K of flash for program storage, 1K of SRAM for data storage, and up to 2K of EEPROM emulated using the flash. Program flash uses four protection levels on blocks of 64 bytes, allowing customized software IP protection.

The EZ-Color family incorporates flexible internal clock generators, including a 24 MHz internal main oscillator IMO accurate to 8 percent over temperature and voltage. The 24 MHz IMO can also be doubled to 48 MHz for use by the digital system. A low power 32 kHz internal low speed oscillator ILO is provided for the sleep timer and WDT. The clocks, together with programmable clock dividers as a system resource , provide the flexibility to integrate almost any timing requirement into the EZ-Color device. In USB systems, the IMO self-tunes to ± accuracy for USB communication.

EZ-Color GPIOs provide connection to the CPU, digital and analog resources of the device. Each pin’s drive mode may be selected from eight options, allowing great flexibility in external interfacing. Every pin can also generate a system interrupt on high level, low level, and change from last read.

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 module references.

Digital peripheral configurations include:
• PrISM 8- to 32-bit
• Full speed USB 12 Mbps
• PWMs 8- to 32-bit
• PWMs with Dead band 8- to 24-bit
• Counters 8- to 32-bit
• Timers 8- to 32-bit
• UART 8-bit with selectable parity
• SPI master and slave
• I2C slave and multi-master
• Cyclical Redundancy Checker CRC /Generator 8- to 32-bit
• IrDA
• Generators 8- to 32-bit

The digital blocks can be connected to any GPIO through a series of global buses that can route any signal to any pin. The buses also allow for signal multiplexing and for performing logic operations. This 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 EZ-Color 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 7

Port 5
For up-to-date ordering, packaging, and electrical specification information, see the latest PSoC device data sheets on the web 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 web site.

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

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.

Page 7 of 49

CY8CLED04

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 8 of 49
Ordering Information
Key Device Features The following table lists the CY8CLED04 EZ-Color device key package features and ordering codes. Table Device Key Features and Ordering Information
Package Ordering

Code Flas h Bytes SRAM Bytes Temperature Range Digital Blocks Analog Blocks Digital I/O Pins Analog Inputs Analog Outputs XRES Pin
68-pin 8 x 8 mm Sawn
68-pin 8 x 8 mm Sawn Tape and Reel

CY8CLED04-68LTXI CY8CLED04-68LTXIT
16 K 1 K C to +85 C 4 16 K 1 K C to +85 C 4
6 56 48 2 Yes 6 56 48 2 Yes
Ordering Code Definitions CY 8 C LED xx - xx xxxx

Package Type:

Thermal Rating:

PX = PDIP Pb-free

C = Commercial

SX = SOIC Pb-free

I = Industrial

PVX = SSOP Pb-free

E = Extended

LTX/LKX = QFN Pb-free

AX = TQFP Pb-free

Pin Count

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.
Programming adapter converts non-DIP package to DIP footprint. Specific details and ordering information for each of the adapters can be found at

Page 41 of 49

CY8CLED04

Acronyms

Acronyms Used The following table lists the acronyms that are used in this document.

Acronym
alternating current
analog-to-digital converter
application programming interface

CMOS complementary metal oxide semiconductor
central processing unit
cyclic redundancy check
continuous time
digital-to-analog converter
direct current

DTMF dual-tone multi-frequency

EEPROM electrically erasable programmable read-only memory

GPIO
general purpose I/O
input/output
in-circuit emulator
integrated development environment
internal low speed oscillator
internal main oscillator

IrDA
infrared data association

ISSP

In-System Serial Programming
liquid crystal display
light-emitting diode
low power comparator
low-voltage detect

Acronym
multiply-accumulate

MIPS
million instructions per second
printed circuit board

PDIP
plastic dual-in-line package
programmable gain amplifier
power-on reset
*A 2657959 DPT/PYRS 02/11/2009 Added package diagram 001-09618 and updated Ordering Information table
*B 2794355
10/28/2009

Added “Contents” on page Updated “Development Tools” on page Corrected FCPU1 and FCPU2 parameters in “AC Chip-Level Specifications” on page
*C 2850593 FRE/DSG/HMT 01/14/2010 Removed pruned/obsolete parts CY8CLED04-68LFXI . Updated DC GPIO, AC Chip-Level, and AC Programming Specifications as follows Modified TWRITE specifications. Replaced TRAMP time specification with SRPOWER_UP slew rate specification. Added note to Flash Endurance specification. Added IOH, IOL, DCILO, F32K_U, TPOWERUP, TERASEALL, TPROGRAM_HOT, and TPROGRAM_COLD specifications. Corrected the Pod Kit part numbers. Updated Development Tools. Updated copyright and Sales, Solutions, and Legal Information URLs. Updated 68-Pin QFN Sawn Type package diagram.
*D 2900748 *E 3111560

CGX NJF
03/31/2010 12/15/10
Removed inactive parts from Ordering Information table.
Added active parts in Ordering Information table.

Added DC I2C Specifications table. Added F32K_U max limit. Added Tjit_IMO specification, removed existing jitter specifications. Updated Units of Measure, Acronyms, Glossary, and References sections. Updated solder reflow specifications. No specific changes were made to AC Digital Block Specifications table and I2C Timing Diagram. They were updated for clearer understanding. Updated Figure 6 since the labelling for y-axis was incorrect. Template and styles update.
*F 3283777

DIVA
07/13/11

Updated Getting Started, Development Tools, and Designing with PSoC Designer.

Removed obsolete kits. Removed reference to obsolete spec AN2012.

Page 48 of 49

CY8CLED04

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

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

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

Page 49 of 49

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: 2873 | CY7C12681KV18-400BZXC | CY7C12681KV18-400BZC | CY7C12681KV18-450BZXC | CY7C12701KV18-400BZXC | SJD-3511-33 | AT86RF211DAI-R | AT86RF211DAI | AD9834BRU-REEL | CY3273


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 CY8CLED04-68LTXI Datasheet file may be downloaded here without warranties.

Datasheet ID: CY8CLED04-68LTXI 508181