Quick Start Guide
SPRUGV0 – May 2010
TMS320C2000™ DC/DC LED Lighting Developer's Kit
Quick Start Guide
This document provides instructions to run a GUI that controls the DC/DC LED Lighting Developer’s Kit
board using the Piccolo F28035 microcontroller.
Contents of the DC/DC LED Lighting Developer’s Kit include:
• DC/DC LED Lighting power board
• Piccolo F28035 controlCARD.
• LED panel
• 12V power adapter
• Banana Plug Cable
• USB Cable
• USB drive with GUI executable
• CCS4 Installation CD
Features of the DC/DC LED Lighting Developer’s Kit include:
• Independent closed-loop brightness control of eight LED strings (six strings included with kit) with
PWM dimming
• Closed-loop voltage control of the LED bus using a shared SEPIC stage
• On-board isolated JTAG emulation
• Over-current and over-voltage protection for the SEPIC stage using the F28x trip-zone (TZ) submodule
• UART communication available for host-control
• Hardware Developer’s Package is available and includes schematics, bill of materials, Gerber files, etc.
1 Overview
The DC/DC LED Lighting Developer’s Kit uses a 12 to 36V DC input. This voltage is then regulated to a
different level by a SEPIC converter. SEPIC, as a buck-boost topology, is able to increase or decrease the
input voltage. For our application, we will be setting the SEPIC output voltage to approximately 20V,
independent of the board input. The SEPIC output is then connected to each of the LED strings. To
SPRUGV0 – May 2010 TMS320C2000™ DC/DC LED Lighting Developer's Kit Quick Start Guide 1
Copyright © 2010, Texas Instruments Incorporated
Overview www.ti.com
perform independent LED string dimming, a MOSFET is placed in series with each string, and the on-time
of this string’s MOSFET will control the average current through an LED string. Since the brightness of an
LED is roughly proportional to the LED current, we use the duty cycle of each string’s PWM to control the
average current drawn. The figure below illustrates the hardware that is present on the DC/DC LED
Lighting Developer’s Kit.
Sepic 1
DC
12- 36V
Piccolo-B
A 1 2 3 8
CPU PWM- 1
B 2
3 4 9
32 bit
A 3
PWM- 2
1 B 4
2 A 5
ADC PWM- 3
3 B 6
12 bit A 7
PWM- 4
13 Vref B 8
A 9
I 2C PWM- 5
SPI B 10
UART
A typical power conversion board is made up of several power stages. On the Lighting_DCDC board,
each of these power stages takes the form of a macro section. Each of these macro sections is bounded
by its own silkscreen area. Below is a list of all the macro blocks’ names and a short description of their
functions. Refer to the image on the next page for placement of macro areas.
Lighting_DCDC Main Board - Consists of a controlCARD socket, a few communications jumpers,
[Main] and the routing of signals between the controlCARD and the macro
blocks. This section includes all of the area outside of the macro
blocks.
DC-PwrEntry Macro – [M1] Generates the 15V, 5V, and 3.3V DC rails from a 12V supply
included with the kit or an external DC power supply.
Isolated-USB-to-JTAG Macro – Provides on-board isolated JTAG connection through USB to the
[M2] host. It is also used to provide isolated SCI (UART) communication
for connection with the GUI.
SEPIC-LV Macro – [M3] A SEPIC DC/DC conversion stage, used to increase or decrease the
input voltage to the voltage needed by the LED strings.
LED-dimming Macro – [M4]-[M7] Stages used to individually dim an LED string. Each macro consists
of the components needed to control two strings.
In this guide, each component is named first with its macro number, followed by the reference name. For
example, [M2]-J1 would refer to the jumper J1 located in the macro M2, and [Main]-J1 would refer to the
J1 located on the board outside of the other defined macro blocks.
2 TMS320C2000™ DC/DC LED Lighting Developer's Kit Quick Start Guide SPRUGV0 – May 2010
Copyright © 2010, Texas Instruments Incorporated
www.ti.com Quick Start GUI
2 Quick Start GUI
This kit comes with a GUI which provides a convenient way to evaluate the functionality of this kit and the
F28035 device, without having to learn and configure the underlying project software or install Code
Composer Studio™. The interactive interface using sliders, buttons, and text boxes, allows LED lighting
with the C2000 device to be demonstrated quickly and easily.
2.1 Hardware Setup
Listed below are some of the major connectors and features of the DC/DC LED Lighting board.
LED Panel
Connectors
[Main]-BS3
LED Bus
[Main]-J6
M4 M5 M6 M7 Connector
Emulation
Enable/Disable
Jumper
[Main]-BS2
Sepic Out
Connector
M2 M1 M3
[M2]-JP1 USB
Emulator
Connector
[M1]-SW1 [M1]-JP1 12V
[M1]-TB1 [M1]-J1 Input Connector
Main Power External DC
Switch JP1=DcBus
Supply (not used) Enable/Disable
Step 1. On the Piccolo F28035 controlCARD, check the following switches:
• SW1, make sure this switch is in the “OFF” (down) position
• SW2, make sure position 1 and 2 are both in the “ON” (up) position
Step 2. Put a F28035 control card into the socket on the LED Lighting board, and connect a cable
from the USB connector on the board to the computer. [M2]-LD1, near the LED Lighting
board’s USB connector, should turn on.
SPRUGV0 – May 2010 TMS320C2000™ DC/DC LED Lighting Developer's Kit Quick Start Guide 3
Copyright © 2010, Texas Instruments Incorporated
Quick Start GUI www.ti.com
NOTE: If Code Composer Studio has never been installed, it may be necessary to
install drivers to make the board work correctly. If a popup comes up when the USB
cable is connected from the board to the computer, have the install wizard install
drivers from the XDS100v1 directory of the USB drive included with this kit.
1) When Windows asks to search Windows Update, select “No, not at this time”
and click Next
2) On the next screen select “Install from specific location” and click Next
3) Select “Search for Best Driver”, uncheck search removable media, and check
include specific location and browse to [USB Drive]:\XDS100 Drivers
4) Click next and the drivers will be installed. The driver install screen will appear
three times, repeat this procedure each time.
Step 3. Connect the LED panel to the LED Lighting board via [Main]-TB1 to TB8.
Step 4. Connect of verify the following:
• Connect a jumper on [M1]-J1
• Connect a jumper on [M2]-J4
• Remove any jumpers placed on [Main]-J6
Step 5. Connect the banana-to-banana plug wire that came with the kit between the SEPIC-out
Connector (BS2) and the LED Bus connector (BS3).
Step 6. Place [M1]-SW2 into the "OFF" position. This switch will not be used in this demonstration.
Step 7. Connect a 12V power supply to power up to [M1]-JP1 of the board. Turn [M1]-SW1 to the
"ON" position. When on, [M1]-LD1 and [M1]-LD2 should turn on.
2.2 Software Setup
The GUI used to conveniently evaluate the kit can be found on the USB drive that is included with this kit.
It is named Lighting_DCDC.exe. This .exe contains all the software necessary to do a quick evaluation of
this kit. To explore deeper, the underlying reference software can be found as a Code Composer Studio
project within controlSUITE.
NOTE: The GUI requires Microsoft .NET framework 3.0 to run. Please ensure that this software is
installed prior to running this program.
• To install the CCS4 project built to run with this kit, use the most up-to-date software, and find all
reference software for the C2000 MCU. Please install controlSUITE which can be downloaded at:
http://www.ti.com/controlSUITE
• Once controlSUITE is installed, the GUI mentioned in this guide can be found at the following location:
ccontrolSUITE/development_kits/Lighting_DCDC_vX.X/~GUI/Lighting_DCDC.exe
4 TMS320C2000™ DC/DC LED Lighting Developer's Kit Quick Start Guide SPRUGV0 – May 2010
Copyright © 2010, Texas Instruments Incorporated
www.ti.com Quick Start GUI
• The source code for this GUI was written in C# using Microsoft Visual Studio .NET and can be found
at:
controlSUITE/development_kits/Lighting_DCDC_vX.X/~GUI/~Source/
• The kit ships with a F28035 controlCARD that has been pre-flashed with the code that enables it to run
with the GUI that comes with this kit. If for any reason, the software needs to be reflashed so that it
works with the GUI again, this flash image can be found at:
controlSUITE/development_kits/Lighting_DCDC_vX.X/~GUI/Lighting_DCDC-FlashImage_v1.0.out
• The underlying Code Composer Studio 4 project documentation and how to run guide can be found at:
controlSUITE/development_kits/Lighting_DCDC_vX.X/Lighting_DCDC/~Docs/Lighting_DCDC.pdf
2.3 Running the GUI
The following steps will allow you to run the GUI:
1. Browse to and double-click on Lighting_DCDC.exe. If this is the first time that the GUI is run, the GUI
will ask the user to read a license agreement. Assuming that the license is accepted, the image below
will be seen:
2. Click “Setup Connection” on the GUI and ensure the Baud Rate is set to 57600 and that the “Boot on
Connect” box is unchecked.
3. Next you will need to select your serial comport. This can be found by going to:
Control Panel->System->Hardware tab->Device Manager->Ports(COM & LPT)
Look for the comport that is named “USB Serial Port” or similar, then select this comport in the “Setup
Connection” window.
4. Click “OK.” This will close the “Setup Connection” window.
5. Turn on the board by switching [M1]-SW1 to the “ON” position.
6. On the Main Window, click “Connect.” When connected, the status bar at the bottom left of the GUI
should say “Connected.”
SPRUGV0 – May 2010 TMS320C2000™ DC/DC LED Lighting Developer's Kit Quick Start Guide 5
Copyright © 2010, Texas Instruments Incorporated
References www.ti.com
7. Move the “Sepic Output” slider to approximately 20V. This sets the reference to which the controller
will try to regulate the output of the Sepic.
8. Change the value of LED string 1’s target current to 0.04A. Note that the “LED String 1 Current” ramps
until it reaches approximately 0.04A.
9. Edit the other strings’ target currents as desired. Note that the average LED current draw is
proportional to LED lumen output for most high brightness LEDs. Therefore, in this program, the
brightness of the LEDs is being controlled.
NOTE: Near the bottom of the GUI there is a checkbox control named “Merge LED controls.” This
control enables/disables individual control of each LED string and has the controller try and
output the same current for each string. This reference is set by a slider.
NOTE: There will be some variation from LED to LED from 0.0 to approximately 0.02A. This is
because the LEDs used are not guaranteed, from the manufacturer, to be identical until the
LED current is greater than 0.05A.
10. When finished, set the “Sepic Output” to 0V then click “Disconnect.”
11. Power off the board by switching [M1]-SW1 to the "OFF" position.
3 References
For more information, please see the following guides:
• Lighting_DCDC – provides detailed information on the CCS4 Lighting_DCDC project within an easy to
use lab-style format.
C:\TI\controlSUITE\development_kits\Lighting_DCDC_vX.X\Lighting_DCDC\~Docs\Lighting_DCDC.pdf
• Lighting_DCDC-HWdevPkg – a folder containing various files related to the hardware on the Motor
Control and PFC Developer’s Kit board (schematics, bill of materials, Gerber files, PCB layout, etc).
C:\TI\controlSUITE\development_kits\Lighting_DCDC_vX.X\~Lighting_DCDC-HwdevPkg\
• Lighting_DCDC-HWGuide – presents full documentation on the hardware found on the Lighting_DCDC
board.
C:\TI\controlSUITE\development_kits\Lighting_DCDC_vX.X\~Docs\Lighting_DCDC-HWGuide.pdf
6 TMS320C2000™ DC/DC LED Lighting Developer's Kit Quick Start Guide SPRUGV0 – May 2010
Copyright © 2010, Texas Instruments Incorporated
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a
warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual
property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied
by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive
business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional
restrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all
express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably
be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing
such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and
acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in
such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at
the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products Applications
Amplifiers amplifier.ti.com Audio www.ti.com/audio
Data Converters dataconverter.ti.com Automotive www.ti.com/automotive
DLP® Products www.dlp.com Communications and www.ti.com/communications
Telecom
DSP dsp.ti.com Computers and www.ti.com/computers
Peripherals
Clocks and Timers www.ti.com/clocks Consumer Electronics www.ti.com/consumer-apps
Interface interface.ti.com Energy www.ti.com/energy
Logic logic.ti.com Industrial www.ti.com/industrial
Power Mgmt power.ti.com Medical www.ti.com/medical
Microcontrollers microcontroller.ti.com Security www.ti.com/security
RFID www.ti-rfid.com Space, Avionics & www.ti.com/space-avionics-defense
Defense
RF/IF and ZigBee® Solutions www.ti.com/lprf Video and Imaging www.ti.com/video
Wireless www.ti.com/wireless-apps
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2010, Texas Instruments Incorporated