D ts e t
aa h e
R c e t r lc r nc
o h se Ee to is
Ma u a t r dCo o e t
n fc u e
mp n n s
R c e tr b a d d c mp n ns ae
o h se rn e
o oet r
ma ua trd u ig ete dewaes
n fcue sn i r i/ fr
h
p rh s d f m te oiia s p l r
uc a e r
o h r n l u pi s
g
e
o R c e tr waes rce td f m
r o h se
fr e rae r
o
te oiia I. Al rce t n ae
h
r nl P
g
l e rai s r
o
d n wi tea p o a o teOC
o e t h p rv l f h
h
M.
P r aetse u igoiia fcoy
at r e td sn r n la tr
s
g
ts p o rmso R c e tr e eo e
e t rga
r o h se d v lp d
ts s lt n t g aa te p o u t
e t oui s o u rne
o
rd c
me t o e c e teOC d t s e t
es r x e d h
M aa h e.
Qu l yOv riw
ai
t
e ve
• IO- 0 1
S 90
•A 92 cr ct n
S 1 0 et ai
i
o
• Qu l e Ma ua trr Ls (
ai d
n fcues it QML MI- R -
) LP F
385
53
•C a sQ Mitr
ls
lay
i
•C a sVS a eL v l
ls
p c ee
• Qu l e S p l r Ls o D sr uos( L )
ai d u pi s it f it b tr QS D
e
i
•R c e trsacic l u pir oD A a d
o h se i
r ia s p l t L n
t
e
me t aln u t a dD A sa d r s
es lid sr n L tn ad .
y
R c e tr lcrnc , L i c mmi e t
o h se Ee t is L C s o
o
tdo
t
s p ligp o u t ta s t f c so r x e t-
u pyn rd cs h t ai y u tme e p ca
s
t n fr u lya daee u loto eoiial
i s o q ai n r q a t h s r n l
o
t
g
y
s p l db id sr ma ua trr.
u pi
e yn ut
y n fcues
T eoiia ma ua trr d ts e t c o a yn ti d c me t e e t tep r r n e
h r n l n fcue’ aa h e a c mp n ig hs o u n r cs h ef ma c
g
s
o
a ds e ic t n o teR c e tr n fcue v rino ti d vc . o h se Ee t n
n p c ai s f h o h se ma ua trd eso f hs e ie R c e tr lcr -
o
o
isg aa te tep r r n eo i s mio d co p o u t t teoiia OE s e ic -
c u rne s h ef ma c ft e c n u tr rd cs o h r n l M p c a
o
s
g
t n .T pc lv le aefr eee c p r o e o l. eti mii m o ma i m rt g
i s ‘y ia’ au s r o rfrn e up s s ny C r n nmu
o
a
r xmu ai s
n
ma b b s do p o u t h rceiain d sg , i lt n o s mpetsig
y e a e n rd c c aa tr t , e in smuai , r a l e t .
z o
o
n
© 2 1 R cetr l t n s LC Al i t R sre 0 1 2 1
0 3 ohs E cr i , L . lRg s eevd 7 1 0 3
e e oc
h
T l r m r, l s v iw wrcl . m
o e n oe p ae it w . e c o
a
e
s
o ec
CY8CLED16
EZ-Color™ HB LED Controller
Features
■
HB LED Controller
❐
Configurable dimmers support up to 16
Independent LED channels
❐
8-to 32-bits of resolution per channel
❐
Dynamic reconfiguration Enables LED controller Plus Other
Features: CapSense
®
, 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
Powerful Harvard-architecture Processor
❐
M8C processor speeds to 24 MHz
❐
3.0 to 5.25 V operating voltage
❐
Operating voltages down to 1.0 V using
On-Chip switch mode pump (SMP)
❐
Industrial temperature range: –40 °C to +85 °C
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 eight analog Inputs on GPIO
❐
Configurable interrupt on all GPIO
■
■
Advanced peripherals (PSoC
®
Blocks)
❐
16 Digital PSoC Blocks Provide:
• 8-to 32-bit timers, counters, and PWMs
• Up to 4 Full-Duplex UARTs
• Multiple SPI masters or slaves
• Connectable to all GPIO Pins
❐
12 Rail-to-Rail Analog PSoC Blocks Provide:
• Up to 14-Bit ADCs
• Up to 9-Bit DACs
• Programmable gain amplifiers
• Programmable filters and comparators
❐
Complex peripherals by combining blocks
Flexible on-chip memory
❐
32K flash program storage 50,000 Erase/Write Cycles
❐
2K SRAM Data Storage
❐
In-system serial programming (ISSP)
❐
Partial flash updates
❐
Flexible Protection Modes
❐
■
■
■
electrically erasable programmable read-only memory
(
EEPROM) emulation in flash
■
■
EZ-Color HB LED Controller
Preliminary Data Sheet
Complete development tools
❐
Free development software
• PSoC Designer™
❐
Full-featured, In-circuit emulator and programmer
❐
Full speed emulation
❐
Complex breakpoint structure
❐
128 KB trace memory
Cypress Semiconductor Corporation
Document Number: 001-13105 Rev. *H
•
198 Champion Court
•
San Jose
,
CA 95134-1709
•
408-943-2600
Revised June 24, 2011
CY8CLED16
Logic Block Diagram
Port 7 Port 6 Port 5 Port 4 Port 3 Port 2 Port 1 Port 0
Analog
Drivers
SYSTEM BUS
Global Digital Interconnect
SRAM
2K
Interrupt
Controller
Global Analog Interconnect
Flash 32K
SROM
PSoC CORE
Sleep and
Watchdog
CPU Core (M8C)
Multiple Clock Sources
(Includes IMO, ILO, PLL, and ECO)
DIGITAL SYSTEM
Digital
Block
Array
ANALOG SYSTEM
Analog
Ref.
Analog
Block
Array
Analog
Input
Muxing
Digital
Clocks
Two
Multiply
Accums.
POR and LVD
Decimator
I
2
C
System Resets
Internal
Voltage
Ref.
Switch
Mode
Pump
SYSTEM RESOURCES
Document Number: 001-13105 Rev. *H
Page 2 of 53
CY8CLED16
Contents
EZ-Color™ Functional Overview ..................................... 4
Target Applications ...................................................... 4
The PSoC Core ........................................................... 4
The Digital System ...................................................... 4
The Analog System ..................................................... 5
Additional System Resources ..................................... 6
EZ-Color Device Characteristics ................................. 6
Getting Started .................................................................. 6
Application Notes ........................................................ 6
Development Kits ........................................................ 6
Training ....................................................................... 6
CYPros Consultants .................................................... 6
Solutions Library .......................................................... 6
Technical Support ....................................................... 6
Development Tools .......................................................... 7
PSoC Designer Software Subsystems ........................ 7
Designing with PSoC Designer ....................................... 8
Select User Modules ................................................... 8
Configure User Modules .............................................. 8
Organize and Connect ................................................ 8
Generate, Verify, and Debug ....................................... 8
Pin Information ................................................................. 9
Pinouts ........................................................................ 9
Register Reference ......................................................... 11
Register Conventions ................................................ 11
Register Mapping Tables .......................................... 11
Electrical Specifications ................................................ 14
Absolute Maximum Ratings ....................................... 15
Operating Temperature ............................................. 15
DC Electrical Characteristics ..................................... 16
AC Electrical Characteristics ..................................... 31
Packaging Information ................................................... 41
Packaging Dimensions .............................................. 41
Thermal Impedances ................................................. 42
Capacitance on Crystal Pins ..................................... 42
Solder Reflow Peak Temperature ............................. 42
Development Tool Selection ......................................... 43
Software .................................................................... 43
Evaluation Tools ........................................................ 43
Device Programmers ................................................. 44
Accessories (Emulation and Programming) .............. 44
Ordering Information ...................................................... 45
Key Device Features ................................................. 45
Ordering Code Definitions ......................................... 45
Acronyms ........................................................................ 46
Acronyms Used ......................................................... 46
Reference Documents .................................................... 46
Document Conventions ............................................. 47
Units of Measure ....................................................... 47
Numeric Conventions ................................................ 47
Glossary .......................................................................... 47
Document History Page ................................................. 52
Sales, Solutions, and Legal Information ...................... 53
Worldwide Sales and Design Support ....................... 53
Products .................................................................... 53
PSoC® Solutions ...................................................... 53
Document Number: 001-13105 Rev. *H
Page 3 of 53
CY8CLED16
EZ-Color™ Functional Overview
Cypress's EZ-Color family of devices offers the ideal control
solution for High Brightness LED applications requiring intel-
ligent dimming control. EZ-Color devices combine the power and
flexibility of Programmable System-on-Chip (PSoC); 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 allow for 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'
best-in-class quality and design support, make EZ-Color the
ideal choice for intelligent HB LED control applications.
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. If crystal accuracy is desired, the 32.768
kHz external crystal oscillator (ECO) is available for use as a
real time clock (RTC) and can optionally generate a
crystal-accurate 24 MHz system clock using a PLL. 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.
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 also has the capability to generate a
system interrupt on high level, low level, and change from last
read.
The Digital System
The digital system is composed of 16 digital PSoC blocks. Each
block is an 8-bit resource that can be used alone or combined
with other 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 (up to 4)
SPI master and slave (up to 4 each)
I
2
C slave and multi-master (1 available as a System Resource)
Cyclical Redundancy Checker/Generator (8- to 32-bit)
IrDA (up to 4)
Generators (8-to 32-bit)
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 central processing unit (CPU), memory,
clocks, and configurable general purpose I/O (GPIO).
The M8C CPU core is a powerful processor with speeds up to 48
MHz, providing a four million instructions per second (MIPS) 8-bit
Harvard-architecture microprocessor. The CPU utilizes an
interrupt controller with 25 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 32 KB of flash for program storage, 2 KB
of SRAM for data storage, and up to 2 KB of EEPROM emulated
using the flash. Program flash utilizes four protection levels on
blocks of 64 bytes, allowing customized software IP protection.
The EZ-Color family incorporates flexible internal clock gener-
ators, including a 24 MHz internal main oscillator (IMO) accurate
to 2.5% over temperature and voltage. The 24 MHz IMO can also
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
Table 1
on page 6.
Document Number: 001-13105 Rev. *H
Page 4 of 53