AN60934 Remote, High Brightness LED Control Using Powerpsoc And Powerline Communication (PLC).pdf

AN60934
Remote, High Brightness LED Control Using Powerpsoc® And Powerline
Communication (PLC)
Associated Project: Yes
Associated Part Family: CY8CPLC20
Software Version: PSoC® Designer™ 5.4
Associated Application Notes: AN52478, AN51012
®
AN60934 describes how to implement a lighting solution with Cypress’s PowerPSoC High Brightness LED Controller
and Cypress’s Powerline Communication (PLC) solution. The attached code example controls up to four High Brightness
(HB) LEDs based on the color information received from a PLC device (for example, CY8CPLC20). This code example
uses the Master/Transmitter and Slave/Receiver auto-node discovery code example from the Application Note “PLC LED Lighting Control using Powerline Communication - AN58717.”
Introduction
In recent years, lighting technology has been evolving at a
much faster pace than ever before. Consumers are more
conscious about energy efficiency and have been shifting
from incandescent light bulbs to compact fluorescent light
bulbs (CFLs), and recently to High Brightness (HB) LED
light bulbs. While the main benefit is energy efficiency,
LED lighting has an additional feature of being able to emit
different colors from the same bulb. The traditional method
of implementing HB-LED lighting systems involves using a
microcontroller or a system-on-chip to interface with highpower discrete devices such as constant current drivers
and MOSFET switches.
®
PowerPSoC combines the classic PSoC core with highperformance power electronics. The result is an
integrated, intelligent power electronics solution in a single
QFN package. PowerPSoC significantly reduces the cost,
part count, and board space while retaining performance,
which makes it ideal to use in lighting systems to control
multiple light fixtures.
Typically, lighting designs require a color controller, which
sets the dimming values for the LEDs. The control
mechanism can be on the PowerPSoC itself or at a
remote location. When the controller is at a remote
location, the system requires a communication interface
between the controller and the PowerPSoC. The interface
can be wired or wireless (for example, LAN, UART, DALI,
and so on). However, wired interfaces require additional
wiring to connect the different light fixtures to the color
controller and this adds to the installation cost. For a light
fixture to be controlled by one of these protocols,
additional wires need to be installed behind the walls and
junction boxes need to be rewired. Connecting a new light
fixture afterwards also requires additional effort.
A technology that addresses the problem of installation
cost is PLC, which uses the existing powerlines to send
the lighting control information. With Cypress’s easy-touse PLC solution, an LED lighting system with color
control (shown in Figure 1) can be developed without any
modifications to the infrastructure.
Figure 1. LED Lighting System With Powerline Communication Color Control
Color Controller
LED Controller +
HB LEDs
LED Controller +
HB LEDs
LED Controller +
HB LEDs
PLC Device
PLC Device
PLC Device
PLC Device
....
Powerline
www.cypress.com
Document No. 001-60934 Rev. *B
1
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
Cypress PowerPSoC Overview
Cypress PLC Solution Overview
The PowerPSoC family of devices combines up to four
independent channels of constant current drivers. These
drivers feature hysteretic controllers with PSoC, which
contains an 8-bit microcontroller, configurable digital and
analog peripherals, and embedded flash memory. The
LED drivers operate from 7 V to 32 V and drive up to 1 A
of current per channel using internal MOSFET switches. It
also drives more than 1 A of current by using external
switches. The device supports common power topologies
such as buck and boost.
Cypress provides a robust solution to implement PLC for
low-bandwidth
applications.
CY8CPLC10
and
CY8CPLC20 (Cypress’s PLC chips) integrate an FSK
modem and powerline network protocol into a single-chip
2
solution. CY8CPLC10 is a fixed-function device with I C
interface, whereas CY8CPLC20 is programmable device
with multiple interface options (UART, I2C, SPI, etc).
Solutions using either of these devices complies with key
standards governing the use of powerline for
communication in Europe and North America.
PowerPSoC features three options of hardware
modulators, including the Cypress’s patented Precise
Illumination Signal Modulation (PrISM™) scheme, which
interfaces with hysteretic controllers and modulates the
signal to provide dimming.
CY8CPLC10 and CY8CPLC20 are designed for systems
that require a communication interface over commercial
high voltage (HV) or low voltage (LV) powerlines.
Typically, these systems consist of a microcontroller or
processor along with other electronic components that
implement the host application functionality. The PLC
interface is provided by integrating the CY8CPLC10
orCY8CPLC20 with a powerline coupling circuit. In this
system, the host application is running on the PowerPSoC
2
device and connects to the CY8CPLC20 via an I C
interface.
For more information on PowerPSoC, refer to the
datasheets and application notes available at
http://www.cypress.com/powerpsoc.
For more information on CY8CPLC10, refer to the data
sheet available at http://www.cypress.com/?rID=38236.
For more information on CY8CPLC20, refer to the data
sheet available at http://www.cypress.com/?rID=38201.
Node #2
PSoCTM /
PowerPSoCTM /
External Microcontroller
PSoCTM /
PowerPSoCTM /
External Microcontroller
www.cypress.com
MasterDevice
Slave device
Slave Device
I2C Interface
I2C Interface
I2C Interface
CY8CPLC10
Cypress PLC Device
Powerline
Coupling Circuit &
Transmit Amplifier
CY8CPLC10
Cypress PLC Device
Powerline
Coupling Circuit &
Transmit Amplifier
CY8CPLC10
Cypress PLC Device
Powerline
Coupling Circuit &
Transmit Amplifier
Document No. 001-60934 Rev. *B
POWERLINE
Node #1
PSoCTM /
External Microcontroller
Node #3
Figure 2. Cypress PowerPSoC Overview
2
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
LED Control System Implementation
A typical LED system is composed of a controller and multiple light fixtures. A system diagram of this is shown in Figure 3.
There are multiple ways to implement a PLC-enabled light fixture using Cypress’s PLC solution.This application note describes
how to implement this solution usingPowerPSoC with CY8CPLC20: The PowerPSoC directly drives the high-brightness LEDs
2
and reads the data from the CY8CPLC20 device via an I C interface
Figure 3. Block Diagram of LED Controller and Light Fixtures
Controller
Light Fixture 1
Light Fixture 2
Light Fixture 3
DIP Switches and
POT
PowerPSoC
Device + LEDs
PowerPSoC
Device + LEDs
PowerPSoC
Device + LEDs
PLC Device
PLC Device
PLC Device
PLC Device
Powerline
Sending Color Information
Addressing Light Fixtures
An addressing method is employed to control each light
fixture individually on the line. Because all the fixtures
share the same communication line (powerline), they will
receive all messages from the controller. If each fixture
has a unique address, then it will only process messages
that have a destination address that matches its own
address.
The Cypress PLC solution has several options for
addressing. They are logical (8-bit), extended logical (16bit), and physical (64-bit). Each Cypress PLC device
comes with a unique physical address, which simplifies
the initialization process for mapping the devices in the
network. The most commonly used mode is the logical
addressing because it reduces the packet size and most
systems have less than 256 devices.
The controller changes the light fixture’s color by sending
data in the PLC packet. There are two common ways to
send the color information (using the standards published
by the International Commission on Illumination, or CIE):
1)
CIE Coordinates: The color is represented by x and y
coordinates of the color on the CIE color chart and the
intensity of that color.
2)
Direct LED Control: The intensity of each LED is
represented by a byte of data.
The PLC packet (see Figure 4) contains a command ID,
which is used to indicate the type of message and data
payload, which contains the color information. For more
information on all the fields in the PLC packet, refer to the
CY8CPLC20 datasheet.
CY8CPLC20 can have the address set in the firmware
itself or using external dual inline package (DIP) switches,
depending on firmware implementation. The Cypress
CY3274 PLC evaluation kits have on-board DIP switches
that can be used as logical address select pins.
www.cypress.com
Document No. 001-60934 Rev. *B
3
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
Figure 4. PLC Packet Structure
The Master example project in this application note will
send Direct LED control data to slave.
Interfacing PowerPSoC to PLC
The PLC family of devices uses a memory array structure
that sets the configuration of the powerline communication
interface, contains the transmit data and receive data, and
reports the status of operation. The memory array is
2
exposed to the host microcontroller via an I C interface.
When the PLC device receives a packet, it extracts the
payload length, source address, command ID, and the
data from the packet. Then, it copies the values to the
memory array at the registers shown in Table 1. The
PowerPSoC can either access this array directly for LED
data or the CY8CPLC20 can extract the actual LED color
2
data values, which is then read by PowerPSoC over I C.
To send the CIE coordinates and intensity for individual
LEDs, the application uses a Command ID of 0x31. The
payload in this case contains the 16-bit x-coordinate, 16bit y-coordinate, and 8-bit intensity. This method is
preferred because each light fixture may have a different
number or type of LEDs. These differences can be
managed by the light fixture when performing the color
mixing algorithm to determine the brightness level of each
LED.
In the implementation of project in this application note,
the CY8CPLC20 device extracts the LED color data and
places it into separate buffer for the PowerPSoC to read.
The PowerPSoC device polls the PLC device for new
packets. When it reads that the data ready byte is set, it
reads the packet for the color information to control the
individual LED channels.
In case you need to design a system where the PLC
2
memory array has to be directly accessed using the I C
interface, refer to the application note “Designing an
External Host Application for Cypress’s Powerline
Communication IC CY8CPLC10 – AN52478”.
To send the direct LED dimming values for individual
LEDs, the application uses a Command ID of 0x30. The
payload in this case contains the dimming values for
individual channels. To control three LED channels (Red,
Green, and Blue) the payload contains three bytes. To
control four LED channels (Red, Green, Blue, and Amber)
the payload contains four bytes.
Table 1. PLC Application level Memory Array for RGB color information only
Register Name
Acces
s
0x00
Data Ready
RW
Non-Zero value when a new PLT packet from Master is received
0x01
RED
RW
8-bit Red color intensity value
0x02
GREEN
RW
0x03
BLUE
RW
Offset
7
6
5
4
3
2
1
0
8-bit Green color intensity value
8-bit Blue color intensity value
The following tables provide information on direct PLC memory array access, if needed.
The PLC memory array settings for receiving the CIE color coordinates are shown in Table 2. The local logical address
(Local_LA_LSB) must be set to 0x02, 0x03, or 0x04 if it is to be compatible with the CapSense application note. The
RX_Override bit is set to ‘1’ so that any new message overwrites the existing message in the memory array. Therefore, the
most recent data is available.
www.cypress.com
Document No. 001-60934 Rev. *B
4
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
Table 2. Receiver Memory Array Settings for CIE Coordinates
Offset
Register Name
Access
0x01
Local_LA_LSB
RW
7
6
5
4
0x05
PLC_Mode
RW
TX_Enable
= ‘1’
0x40
RX_Message_INFO
RW
New_RX_Msg
= ‘1’
0x41
RX_SA
R
0x49
RX_CommandID
R
0x31
0x4a
RX_Data[0]
R
MSB of CIE x-coordinate
0x4b
RX_Data[1]
R
LSB of CIE x-coordinate
0x4c
RX_Data[2]
R
MSB of CIE y-coordinate
0x4d
RX_Data[3]
R
LSB of CIE y-coordinate
0x4e
RX_Data[4]
R
Brightness value
3
2
1
0
0x02 – 0x04 (depending on the address select pins)
RX_Enable
RX_Override
= ‘1’
= ‘1’
RX_DA_Type
RX_SA_Type
RX_Msg_Length
=’0’ (Direct) or
= ‘0’ (Logical)
= ‘00101’
‘1’ (Broadcast)
Remote Node Source Address(8 Bytes)
= 0x01
The PLC memory array settings for receiving the RGB Direct Control message are shown in Table 3. Note the different
message length, command ID, and data payload.
Table 3. Receiver Memory Array Settings for Direct RBG Control
Offset
Register Name
Access
0x01
Local_LA_LSB
RW
7
6
0x05
PLC_Mode
RW
TX_Enable
= ‘1’
0x40
RX_Message_INFO
RW
New_RX_Msg
= ‘1’
0x41
RX_SA
R
0x49
RX_CommandID
R
0x30
0x4a
RX_Data[0]
R
Red Dimming Value
0x4b
RX_Data[1]
R
Green Dimming Value
0x4c
RX_Data[2]
R
Blue Dimming Value
0x4d
RX_Data[3]
R
Amber Dimming Value
4
3
2
1
0
RX_Enable
RX_Override
= ‘1’
= ‘1’
RX_DA_Type
RX_SA_Type
RX_Msg_Length
=’0’ (Direct) or
= ‘0’ (Logical)
= ‘00011’ or ‘00100’
‘1’ (Broadcast)
Remote Node Source Address(8 Bytes)
= 0x01
Code Example
The code example is developed using Cypress’s CY3267
– PowerPSoC Lighting Evaluation Kit and CY3274 –
Programmable High Voltage Powerline Communication
Development Kit.
The PowerPSoC device in this application performs two
tasks:
1.
LED Color Control: The PowerPSoC device controls
three LEDs independently using the PowerPSoC
resources.
2.
Interface to the CY8CPLC20: The PowerPSoC
device interfaces to the powerline using the
CY8CPLC20. It receives the color information from
2
this PLC device over I C.
There are three sections to the complete project
implementation:
www.cypress.com
5
0x02 – 0x04 (depending on the address select pins)
Master/Transmitter: This project works on the CY3274 kit
and is responsible for auto node discovery, binding and
sending the individual intensity values for RGB LED over
powerline.
Slave/Transmitter: This project works on the CY3274 kit
and binds with the Master PLC kit. Also, it receives the
PLT packets with LED values, extracts the content and
updates the application-level memory array for
2
PowerPSoC to read. It acts as an I C slave.
PowerPSoC: This project works on the CY3267 kit and
drives the three LEDs after reading updated values from
2
the Slave PLC kit over an I C interface. This project serves
2
as an I C Master.
All the firmware is developed using Cypress’s PSoC
TM
IDE. The PowerPSoC device used is the
Designer
CY8CLED04OCD, whereas the PLC device used is the
CY8CPLC20.
The following user modules are used in this application.
Document No. 001-60934 Rev. *B
5
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
1.
PRISM16HW (Three Instances)
This user module controls the brightness of the
individual LEDs by modulating the pulse width of the
signal that controls the LED driver. Precision
Illumination Signal Modulation (PrISM) technology is
implemented using a high-resolution Stochastic
Signal Density modulation (SSDM) technique. This is
accomplished by comparing the output of a pseudorandom counter with a signal density value. PrISM
spreads the energy at all higher frequencies to reduce
the EMI. Three instances of this user module are
required to control three LED channels. The project is
capable of driving one more LED in case 4-LED
control is supported by the Master.
2.
CURSENSEHW (Three Instances)
The high-side Current Sense Amplifiers (CSA)
provides a differential sense capability to measure the
voltage across the current sense resistors in this
application. This is needed for the constant current
control of the LEDs. Again, three instances of this
user module are required to control three LED
channels, but can be easily extended to use four LED
channels.
3.
HYSTCTRL (Three Instances)
This user module is configured to drive the internal
PowerPSoC FET with default gate drive strength and
get its feedback from the CSAs.
®
4.
Refer to application note, PowerPSoC Firmware
Design Guidelines – AN51012 for more details on
PWM16HW, CURSENSEHW and HYSTCTRL user
modules.
I2CHW (One Instance)
2
The CY8CPLC20 device is interfaced through I C.
This user module enables the PowerPSoC device to
interface to the PLC device.
The following figure shows the interconnect view for this
application. Refer to the section User Module Properties
for the user module parameters and color control using
PowerPSoC.
Figure 5. Interconnect View
User Module Properties
Properties for CURSENSEHW
The Bandwidth is set to the highest setting.
www.cypress.com
Document No. 001-60934 Rev. *B
6
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
I peak = 250mA
Figure 6. CURSENSEHW Properties
I valley = 200mA
I avg = 225mA
On the CY3267 board, sense resisto is 0.1 ohms.
Properties for PRISM16HW
The Clock Scalar is set to 200 and the dimming resolution
is set to 8 bits, which means the signal density (dimming
value) range is 0-255. The input to the PRISM16HW block
is SysClk (24 MHz). With these settings, the frequency of
the PWM output is:
PWMout =
When using the CY3267 board with R sense
= 0.10Ω , the
peak and valley voltages are.
V( I = Ipeak ) = I peak * Rsense * CSAgain
V( I = Ivalley ) = I valley * Rsense * CSAgain
SysClk
(ClockScalar * Period )
This results in a frequency of 469 Hz. The signal density
(average pulse width) is controlled through the application
code.
Figure 7. PRISM16HW Properties
V( I = Ipeak ) = 0.5V
V( I = Ivalley ) = 0.4V
The DAC reference values are:
REFhigh = V( I = Ipeak ) / DACrange * 255
REFvalley = V( I = Ivalley ) / DACrange * 255
REFhigh = 0.5 / 2.6 * 255 = 49
REFvalley = 0.4 / 2.6 * 255 = 39
Figure 8. HYSTCTRL Properties
Properties for HYSTCTRL
The Gate Driver is set to Internal (using internal FETs)
The Feedback Input is set to the corresponding current
sense amplifier (CSA), so that there is a closed loop for
current control. The CSA gain is fixed at 20.
The DAC Voltage range is set to 2.6 VStep10 mV.
The following calculations determine the RefHigh and RefLow
values for this user module. The system is designed for a
maximum system current of 1 A. Assuming the total
current required by the PowerPSoC low voltage circuitry is
100 mA, this gives 900 mA current available for the four
LED channels. That is, 225 mA for each LED channel.
The LED current oscillates between a minimum (known as
valley) and a maximum (known as peak) with an average
of 225 mA. For ripple less than 25%, the current values
should be:
The RefHigh and RefLow values are reset to 89 and 39 in
firmware.
Application Code Flow
Figure 9 explains the workflow of this application.
www.cypress.com
Document No. 001-60934 Rev. *B
7
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
Figure 9. Flowchart Showing the Workflow of the Application
Initialize
Check the I2C link
Link working?
False
True
New message?
False
True
Clear New Data Ready
byte
Read 3 bytes of the
payload to control 3
channels
Amber LED is OFF
Description
When PowerPSoC starts up, it initializes all the user
modules.
After initializing the user modules, the PowerPSoC writes
2
a message over I C to the memory array in the PLC
device. It then reads back from the same memory location
and compares with the written value. During this time, the
2
PowerPSoC drives the Red LED to indicate that the I C
link has not yet been verified. If the write and read values
2
match, it means that the I C link between the PowerPSoC
and the PLC is working. At this point, the red LED will be
2
turned off to indicate that the I C link has been verified.
Once the link has been established, the PowerPSoC
device keeps checking for a new message by continuously
polling the “Data ready” byte in the application
leverlmemory array of the Slave PLC. If the byte is set, the
PowerPSoC reads the next 3 bytes of data, which is
interpreted as R,G and B color values.
The amber LED in this case is turned OFF.
On completion of this operation, the PowerPSoC device
clears the ”Data Ready” byte.
www.cypress.com
Hardware Implementation
This application is developed using Cypress’s CY3267 kit,
which has the CY8CLED04DOCD part and LED Daughter
board. The PLC interface is provided by using Cypress’s
CY3274 kit, which has the CY8CPLC20 part. The
following figure shows the connections for this application
on the light fixture side. Follow these steps to evaluate the
code example.
1.
Connect the MiniProg programmer (included in the
PowerPSoC kit) from the USB port on the PC to the
5-pin programming header on the PowerPSoC board.
2.
Open the PowerPSoC_PLC project from the attached
zip file. Ensure you have PSoC Designer 5.4. If not,
then download and intstall the IDE from here.
3.
Go to Build and click on “Generate/Build”. After that,
click on Program -> Program Part. Slect ‘Power Cycle’
as acquire mode and click the Program button.
4.
After the programming step is successful, remove the
MiniProg from the board.
5.
Take one CY3274 kit (which is to act as master) and
connect jumper wires between following pins on the
kit:
J12-1
J9-P30
J12-2
J9-P31
Document No. 001-60934 Rev. *B
8
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
J12-3
J9-P32
J18-LED1
J9-P30
J12-4
J9-P33
J18-LED2
J9-P31
J12-5
J9-P34
J18-LED3
J9-P32
J12-6
J9-P35
J12-7
J9-P36
J18-VR
J13-P07
J18-SW
J9-P37
J18-LED1
J17-P50
J18-LED2
J17-P51
J18-LED3
J17-P52
J18-LED4
J17-P53
J18-LED1 to J18-LED3 are LED control status LEDs.
11. Connect the MiniProg to ISSP connector (J21) on the
Cy3274 kit.
12. Open the “LED16_Auto_Node_Discovery_RX” project
from the attached ZIP with PSoC Designer 5.4 or
greater. Click on Build -> Generate/Build.
13. After a successful build, click on Program -> Program
part. Select acquire mode as power Cycle and click
on Program icon.
J12-1 to J12-4 are DIP switches to set the logical
address. J12-5 to J12-7 are on/off control for three
LEDs; RGB.
J18-VR is the onboard Potentiometer connection,
which will control the intensity of the RGB LEDs.
14. After the programming is completed, remove the
MiniProg from J21 connector and power the CY3274
kit using the power cable. The onboard Character
LCD will show User message “PLC RGB Control”.
Figure 11: Slave/Receiver PLC Kit setup
J18-SW is the onboard user switch (S4) that allows
you to look for a node, bind to it and start the user
control for RGB LED.
J18-LED1 to J18-LED4 are status LEDs.
6.
Connect the MiniProg to ISSP connector (J21) on the
CY3274 kit.
7.
Open the project ‘PLC20_Auto_Node_Discovery_TX’
in the attached ZIP with PSoC Designer 5.4 or
greater. Click on Build -> Generate/Build.
8.
After a successful build, click on Program -> Program
Part. Select acquire mode as Power Cycle and click
on Program Icon.
9.
After the programming is completed, remove the
MiniProg from J21 connector and power the CY3274
kit using the power cable. The onboard Character
LCD will show User message.
Figure 10: Master/Transmitter PLC Kit setup
15. Connect 3 jumper wires from CY3274 kit to CY3267
kit between the following headers to complete the I2C
connection:
J15-4
(Ground
CY3274)
on
J12-4
(Ground
CY3267)
2
Data
on
J12-2 (I C
Cy3267)
2
Clock
on
J12-1 (I C
CY3267)
J15-2 (I C
CY3274)
J15-1 (I C
CY3274)
on
2
Data
on
2
Clock
on
16. Connect the two jumpers on JP3 and JP4 on CY3274
2
kit. This connects the I C Clock and Data lines to pullup resistor onboard, required for I2C Communication.
17. Connect the 12 V wall wart adapter to the mains and
the other end to the 12 V connector on the
PowerPSoC board.
10. Take the other CY3274 kit (which is to act as PLC
slave) and connect jumper wires between the
following pins on the kit:
www.cypress.com
Document No. 001-60934 Rev. *B
9
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
Figure 12: Board setup
20. If no action is taken on the CY3274 Master kit for 10
seconds, then then system returns to User Control
ON Message on Character LCD. To control LEDs
further, press S4 switch again to unter the user
control mode.
Figure 10. LED Control in action
18. Press the reset button on either the PowerPSoC or
PLC board. The red LED should briefly flash on, and
then turn off.
19. Press the S4 switch on Master PLC kit. The same
user button will initiate binding with Slave PLC kit as
well as entering the User control mode. Only after
entering the user control mode will the DIP switches
5-7 on S3 as well as the R47 Potentiometer on
Master CY3274 kit control the RGB LEDs on the
Power PSoC kit.
Summary
The design presented here is intended to be a ready-touse PLC controlled lighting solution. The implementation is
simple and covers direct LED control, using color control
through CIE coordinates. The application uses Cypress’s
state of the art PLC solution to reliably communicate the
color information from the LED controller to the LED light
fixtures with Cypress’s PowerPSoC device performing
high brightness LED Control. The system in this
application is developed in a modular way to enable easy
changes of the architecture and reuse of the relevant
code.
www.cypress.com
For more information (data sheets, application notes,
evaluation GUIs) on PowerPSoC, please visit
www.cypress.com/go/powerpsoc. Similarly, for more
information on PLC, please visit www.cypress.com/go/plc .
Document No. 001-60934 Rev. *B
10
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
Document History
Document Title: Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC) - AN60934
Document Number: 001-60934
Revision
**
*A
*B
ECN
2912098
3247568
4400077
www.cypress.com
Orig. of
Change
ROSG
FRE
ROIT
Submission
Date
04/13/10
05/03/11
6/3/2014
Description of Change
New Application Note.
Updated to PSoC Designer 5.1
Updated to PSoC Designer 5.4
Obsolete kit CY3272 and CY3268 references replaced by CY3274 and
CY3267 kits
Example project modified completely to showcase LED control using
CY8CPLC20 device.
Images of setup added
Document No. 001-60934 Rev. *B
11
Remote, High Brightness LED Control Using PowerPSoC® and Powerline Communication (PLC)
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.
PSoC® Solutions
Products
Automotive
cypress.com/go/automotive
psoc.cypress.com/solutions
Clocks & Buffers
cypress.com/go/clocks
PSoC 1 | PSoC 3 | PSoC 4 | PSoC 5LP
Interface
cypress.com/go/interface
Lighting & Power Control
cypress.com/go/powerpsoc
cypress.com/go/plc
Memory
cypress.com/go/memory
PSoC
cypress.com/go/psoc
Touch Sensing
cypress.com/go/touch
USB Controllers
cypress.com/go/usb
Wireless/RF
cypress.com/go/wireless
Cypress Developer Community
Community | Forums | Blogs | Video | Training
Technical Support
cypress.com/go/support
PSoC is a registered trademark and PSoC Creator is a trademark of Cypress Semiconductor Corp. All other trademarks or registered trademarks
referenced herein are the property of their respective owners.
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone
Fax
Website
: 408-943-2600
: 408-943-4730
: www.cypress.com
© Cypress Semiconductor Corporation, 2010-2014. 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.
This 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.
www.cypress.com
Document No. 001-60934 Rev. *B
12