Texas Instruments 的 LP5562EVM User Guide User Guide 规格书

i TEXAS INSTRUMENTS
Using the LP5562 Four-Channel LED Driver
with Programmable Lighting Sequences
Evaluation Module
User's Guide
Literature Number: SNVU203A
April 2013Revised September 2014
l TEXAS INSTRUMENTS SVNSBZO.
Chapter 1
SNVU203AApril 2013Revised September 2014
Introduction
1.1 Read this First
1.1.1 About This Manual
This user’s guide describes the characteristics, operation, and use of the LP5562 Four-Channel LED
Driver with Programmable Lighting Sequences evaluation module (EVM). This user’s guide includes a
schematic diagram and bill of materials (BOM).
1.1.2 Related Documentation from Texas Instruments
LP5562 datasheet SVNS820.
1.1.3 If You Need Assistance
Contact your local TI sales representative.
1.2 General Information
The Texas Instruments LP5562EVM evaluation module (EVM) helps designers evaluate the operation and
performance of this device. The LP5562EVM uses the LP5562 LED driver to create special lighting effects
for RGB LEDs and/or WLEDs. Information about LED driver characteristics and current ratings of LP5562
can be found in the datasheet.
In order to facilitate ease of testing and evaluation of this circuit, the EVM contains a TI MSP430
microprocessor to provide easy communication via USB. EVM also contains an external power supply
connection for the VIN and VEN. Test points for all of the signals can also be found on the evaluation
board.
For evaluation purposes, the EVM has been tested over a 2.7V to 5.5V input range. This voltage range is
within the absolute maximum input range of the LP5562. Users are cautioned to evaluate their specific
operating conditions and choose components with the appropriate voltage ratings before designing this
support circuitry into a final product.
2Introduction SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
LP5562
MCU
1 PF
CIN
SCL
SDA
CLK_32K
ADDR_SEL0
ADDR_SEL1
EN/VCC
VDD
GND
R
G
B
-
+
RGB LED
0...25.5 mA/LED
WLED
VDD
Chapter 2
SNVU203AApril 2013Revised September 2014
Description of LP5562
The LP5562 is a four-channel LED driver designed to produce variety of lighting effects for mobile
devices. The device has a program memory for saving programs that enable a variety of automatic lighting
sequences. When program memory has been loaded and program set to run mode, the LP5562 can
operate independently without processor control.
2.1 Features
4 Independently Programmable LED Outputs With 8-bit Current Setting (From 0 mA to 25.5 mA With
100 µA Steps) and 8-bit PWM Control
Typical LED Output Saturation Voltage 60 mV and Current Matching 1%
Flexible Control for LED Output PWM
Automatic Power Save Mode With External Clock
Three Program Execution Engines With Flexible Instruction Set
Autonomous Operation With Program Execution Engines
SRAM Program Memory for Lighting Pattern Programs
DSBGA 12-bump Package, 0.4 mm Pitch
2.2 Applications
Fun Lighting
Indication/Notification Lighting
Keypad RGB Backlighting and Portable Device Cosmetics
Figure 2-1. Typical Application
3
SNVU203AApril 2013Revised September 2014 Description of LP5562
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
Power Sequences
www.ti.com
2.3 Power Sequences
2.3.1 Startup
The LP5562 is started when VDD is above POR threshold (1.9V typ.), EN signal is high and chip_en bit is
set high. Allow 1 ms wait before sending data to the LP5562 after the rising edge of the EN signal. After
setting chip_en bit high startup delay is 500 µs (typ).
2.3.2 Shutdown
The LP5562 is shut down if EN signal is set low. When EN signal is set low, chip_en bit is set to 0. If VIN
voltage drops below 1.9V (typ.), the device is reset. Reset can also be applied from RESET register by
writing FFh.
If the device temperature rises too high, the Thermal Shutdown (TSD) disables the device operation, and
the device is in STARTUP mode, until no thermal shutdown event is present.
4Description of LP5562 SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
I TEXAS INSTRUMENTS LP5562 device and input cap. Pinheader for EN‘ SCL‘ SDA and External pawer connection C L K ”32K MSP430 side . M the thead grs evaluation '0' SS‘GCUHQ board LED to be driven by R. G and B channels 1n xA\ mum m rs Testpmnts for all pins Pinheaders 1m- ADDR Pinheaders (or LED driver seJ plns currem measurement
Chapter 3
SNVU203AApril 2013Revised September 2014
LP5562 Evaluation Module
3.1 Setup
The LP5562 EVM is connected via USB to the computer. The EVM is controlled with special evaluation
software. An MSP430 microcontroller is used with the EVM to provide easy I2C™ communication, external
32 kHz clock control, and EN -pin control with the LP5562 via USB. The EVM board and LP5562 device
are powered by default via USB.
When the board is connected to a computer, Windows should recognize it automatically and start to install
the driver. A “Found New Hardware” dialog box will prompt you to locate the missing driver. Select “No,
not this time” and continue with “Next”. Select “Install from a list or specific location (Advanced)” to install
the driver. Select the directory where the TI_CDC_Virtual_Port driver is. Windows should now install the
driver, and the PC can communicate with the evaluation module using a virtual COM port. If Windows
cannot find the driver, you need to manually install the TI_CDC_Virtual_Port driver from the Device
Manager. There should be a "USB OK" message on the status bar at the bottom of evaluation program,
and the red LED should blink on the evaluation board, when the board is recognized. In case the board is
not recognized, check the USB address from Windows Control Panel. The USB address should always be
less than or equal to 9 (from COM1 to COM9) (see Appendix D). Also switching to another USB port might
solve the issue.
A connector for external VDD and VEN is also provided. I2C communication can be controlled from an
external source using pin headers. Test point for all of the signals is provided.
3.2 Evaluation Hardware
The LP5562 evaluation hardware consists basically of two sections:
LP5562 and the application components: LEDs and input capacitor
MSP430 microcontroller and its support components
Figure 3-1. Evaluation Hardware
5
SNVU203AApril 2013Revised September 2014 LP5562 Evaluation Module
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
I TEXAS INSTRUMENTS Q Tun: lam-mu - LPSSSZ “may. 1 m. AOperafion Hegp 01000000 x meow oomoooc common common menu — Imann malm mom mama 06030000 00mm mum E common wouoooc man“ mm mm mm map: may I_EXEC
Evaluation Software
www.ti.com
By default the LP5562 is controlled by the MSP430 microcontroller via USB. VDD and VEN voltages come
from USB, and the I2C traffic is controlled with microcontroller. The evaluation hardware may also be
externally controlled. The VDD and VEN can be fed externally via a connector and with jumper selection.
The I2C traffic, EN-pin, and CLK_32K control can be changed from MSP430 control to external control
using a pin header. LED driver control can be changed from RGB LED to WLED LEDs, except for the W-
LED channel. The pin header enables current measurement to the LED drivers. Device I2C address
selection can also be changed with a pin header. For each device pin, there exists a test point (header).
3.3 Evaluation Software
The LP5562 evaluation software helps user to control the evaluation hardware connected to the computer.
The evaluation software consists of three sections: tab selection, register selection and register control
section. In the tab selection user can switch between Manual, Program and History tabs. In the left-hand
side of the evaluation program the register view (see Figure 3-2) is always visible. From this view user can
see the register addresses, register names and register values. User can select the register that needs to
be changed. Selected register is marked with red X beside the register value. When user selects the
register, the selected register can be viewed in detail at the bottom of the evaluation software (see
Figure 3-3). This view tells the register address, register name, register default value, register bits and
current register value. User can also read and write the register bits by pushing the RD-button (read) and
Write-button (write).
Figure 3-2. Register View
Figure 3-3. Selected Register View
6LP5562 Evaluation Module SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS it mexmmnur wsaszm‘mm‘ agar Ha‘p , Mm lam) mu X , \zcnmm M/R Ball 7 | 3mm 5 swsm r sz/sw r SHEEN r ss/sm «mm WM “”5“ l7 (humbled F Pwmav: r Admlmml mm mm sum/mum imam w m, ‘mmw Omsk RD mm , _ 4‘ 6 mm ’ 55* mum r w r mm 1, mm mmmwmp WLEDI m mm \ I} *4 an.“ 1 17‘ Ham rm? mmary Wm” Wm” am.“ am yam—1W n, mm inn/us \nz/m \nms hum: \cs/nn rum: \m/c‘ \ an as W ‘ ‘ w ‘ :m 1a
www.ti.com
Evaluation Software
3.3.1 Manual Tab
From the "Manual" tab (see Figure 3-4) user controls all the basic functions of the device:
"Enable pin" button sets the voltage to EN-pin. When EN is set low, the chip_en bit is cleared, but not
other bits.
"Soft Reset" button resets the device. This creates the RESET register write FFh.
"Chip enabled" checkbox enables and disables the device with the CHIP_EN bit.
• "I2C address" selection (radio buttons for different addresses). Note that one must adjust the jumper
setting on the evaluation board accordingly and that the I2C address is presented in 8-bit format here.
USB port can be initialized with "Init USB" button.
"Clock" control (external/internal/automatic clock detection).
"Powersave" mode enable checkbox enables the powersave mode by setting PS_EN bit.
"Logarithmic Adjustment" checkbox enables the logarithmic PWM control by setting LOG_EN bit.
"PWM Clock" frequency selection radio buttons. This sets the PWM_HF bit.
"Status/Interrupt" bit indicators of external clock and engine interrupts. Values can be updated by RD-
button once or checking the scan checkbox for continuous monitoring.
Control the LED output PWM and current with slider bars. Values are updated when the "Update"
button is pushed. These values apply to the I2C registers. The "Clear All" button sets every LED
current and PWM value to 0.
Code memory map is visible here. From this section user can see the SRAM memory contents and
alter them. Note that the Read and Write Memory work only when Program Execution Engines are in
Load mode.
Figure 3-4. Manual Tab of the Evaluation Software
3.3.2 Program Tab
LED lighting programs can be loaded, and engines can be controlled, from the "Program tab" (see
Figure 3-5).
7
SNVU203AApril 2013Revised September 2014 LP5562 Evaluation Module
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS Mm ymgum‘wl g 1: a mm‘ubfl m, ‘ . +m W uwmzss U Mad-cam m Wm mum] 01 «mm mm mm. m r- m .m ‘ w» , cu mm mm! M MM a m E J 4;] m m Mm ‘ cs 7an mm 4mm MN {m r W . mm mm W «W v mm v 3 33:: :ni-r” v‘ “mm mm r mu r m r mad m m ‘ “mm” mm r Rum r m r m w m ’33:?“ 33 r mm r mm r mm m m mm mm r v as mm W“ New ALLLJ ‘JAAA 3- 3;; WW WWW.“ WWW; fiuauv mm » ts mu" m “7 j t; mun an w an w W W mu me mum-“255 n mum mg 1mm ‘ «1W m 75LG mar m u m mam, mum. rum-gum mum u m a Em‘m‘ r mm :- Emmy r mm ‘5 7W" ‘ _ r Ema a Em; r [mm 1‘ mm “ Man mm m2 - r [mm P Wu H [mm 1‘ WE; w Dam m w ugnn ‘5 man 1A Eflfln 1a mun y: um ‘ w Egan w Egan ‘ w mun v W mm \mm wax» u \Enamq‘l‘iw‘picld‘mmml‘Wdzmfl‘i‘iwfiiflw“u: \E m )uxsuK \oyrmm ,/ mm Help Manual Ptogvam H! m , M In m 0009 ._, 3 woo woo {mo m ' aster control 0930 m {mom f? Disable r‘ Load r‘ Hun
Evaluation Software
www.ti.com
Figure 3-5. Program Tab of the Evaluation Software - Program Is Uploaded Into the LP5562 and Set
Running
When downloading a program into the LP5562, user must first select the file to be downloaded. Pushing
the leftmost button over the "Master control" section Open file dialog opens (Figure 3-6. User can select
the program code (a hex-file) (see Figure 3-7) and push the Open button. After "Open file" dialog
disappears, push the Download program into the LP5562 –button (middle button). This automatically sets
the Program Execution Engines into right modes and the program gets written into SRAM memory. Also,
the Program Execution Engine Program Counters are set to 0. The correct I2C writes for engine modes,
and program counters can be seen from the History tab, but the SRAM writes are not visible there. Note
that setting the "Load" mode from the Master control section does not download the opened code. If user
wants to use the Master control Load option, the "Code Memory" map in Manual tab must be used.
Figure 3-6. Load Source File Button
8LP5562 Evaluation Module SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
I TEXAS INSTRUMENTS ovmymmmmwsmwmm = a: a \ H: mm" m MM WNW” m" [fig w v .. 515v um mama”; M: A Mmmrwgmm mmmmw Ham mmummw 10/12/1n122nxw Huh amm’mgmgmfl JoAz/lmnva ma “My.“ mmamnst Ham mama, ‘menuwp mas/menu mgr imawn lolwfiuxw Hum Ewmmmmm van/mzsaxw erfi mmmngm 1mmmw m ‘ ‘a‘wkmwmwp: lam/muznw Hum mm"? mmzmw HEKH mam,“ summumw Hm ‘s‘mmms gmmmm ma amm—qumm HEXH ‘ ‘ 7 , , .w 7 ‘ , ‘ mm Him 7 1 I—_|mm.n-y v ‘ 7m w 1: x v w m Ewan: mm mm H awn :mvmwflammaflkmxfimim‘iwm‘mmfl«a usiox \ 6w» own 0000 *Maslev cannul— oooa noon ‘ mm if-‘fDisiafi (‘7 Lead 751%" (‘ Dj M00000 7,
www.ti.com
Evaluation Software
Figure 3-7. Open File Dialog
Figure 3-8. Download Program Code Into the LP5562
Once the *.hex code is loaded into the LP5562 the code comes visible at the right-hand side of the
"Program" tab. From the code view user can see the code address (note that this is not the SRAM
address), code data in hexadecimal labels if they exist in the program, and the code in compiler syntax.
The program counter of each engine can be seen as small arrow beside the ADR column. This arrow
moves when the Program Counter register is read. The Program Counter register can be read by
selecting the register from Register view and pushing the RD-button from the detailed register view at the
bottom of the evaluation software. The Program Counter can be read also by pushing RD-button in the
Program tab below each engine's Program counter numeric value indicator.
9
SNVU203AApril 2013Revised September 2014 LP5562 Evaluation Module
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS ADR DATA 1321 I506: nu mrr 1mm. seanmZSS 111 mm waIZUEI 112 mm :91)me JJJ n3 7an waISSS n4 7an 1.311999 3 n5 7an 1.311999 :ah‘e p 176 A330 hanchllaapl 117 mm mm a“ as DEIDD ‘" ug DEIDD mum “A [m J_l_l 115 11111111 111: :1an mg an m [k ;, 11: man a ur man J W121 111 lEIFF 1aw2 ssLDmeSS 11 tom walzflfl 12 mun SBLDmeI ED 13 7an wanwaa 12:.eg.sxe1 14 7an wanaaa Engne1 15 7an walfiaa Engnez 15 A330 hanchllaapl Engnea 17 mm am 18 11111111 15 :1an 1A :1an 1a :1an 11; :1an 1D :1an 15 11111111
Evaluation Software
www.ti.com
Figure 3-9. Code Section View
In the Program tab there is Master control for all 3 engines and separate controls for each engine. The
radio buttons (Disable, Load, Run, Direct Control) control the engine operation mode. The four buttons
(Stop, Step, Execute Command and Free Run) control the engine execution states. See tables Table 3-1
and Table 3-2 for operation mode and execution state descriptions.
These same buttons are also available for each individual engine, thus enabling individual control of each
engine; i.e., each engine can be run separately. In the same section as the individual engine controls
there is a checkbox. When this box is checked the Master control affects that engine. If it is unchecked,
the Master control has no effect on that engine.
If user wants to write a program directly to SRAM memory the engine must be set to Load mode. The
writes to the SRAM memory are done from the Manual tab. When the address is selected from the table,
the data is displayed in the indicator's Address and Data. These can be edited, and the value is updated
by pressing the "Update" button. Note that this Update does not write the program memory. The program
memory is written by pushing "Write memory" button. With the "Read memory" button, program memory is
read to the table. Note that the program memory addresses does not comply with the SRAM I2C
addresses.
10 LP5562 Evaluation Module SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS Code Memow Addvess Da|a Read memo'y Wune memory 00 400: Updale 00/08 I01/03 [oz/DA I03/00 ltd/0C 105/00 IDS/DE I07/0F l 00 40w 54000 4030 7FEID F00 7F00 A393 0000 00 0000 0000 0000 0000 0000 0003 0000 0000 1|] JEFF 0000 4000 FEB 7FEIIII 7FOCl A390 0000 1 B DDEIEI 0000 E00) HEIDI] CIEIUIJ DUI! [IDIJD Elflflfl 20 0000 0000 0000 0000 0000 0000 0000 0000' 23 EIDEID 0000 DECO IJEIEIEI GUDD IJDJU EIEIDE Elflflfl L—m—MH: c ”murmur—m- 1 n, F‘vuntur LED Mapping _ BLED BLED RLED WLED r‘ Izcregm. r‘ IZClegIslet F 120.290er 6 Izcregm. I: Engme1 F Engmew r“ Englne1 r‘ Engme1 _ r‘ EngmeZ r? EngineZ r‘ Engme2 r‘ EngmeZ r‘ Engmea r‘ Engme3 a Englne3 r‘ Engmea _
www.ti.com
Evaluation Software
Figure 3-10. Code Memory View
Table 3-1. Operation Modes
Radio button name Operation Mode Description
Disable Disabled Reset engine program counter
Load Load Load program to SRAM, reset engine program counter
Run Run Run program defined by engine execution state
Direct control from I2C PWM register, reset engine
Direct Control Direct Control program counter
Table 3-2. Engine Execution States
Control button name Execution State Description
Wait until current command is finished, then stop while
Stop Hold execution state is hold. Program counter value can be
read or written in this mode
Execute instruction defined by current engine program
Step Step counter value, increment program counter and change
execution state to Hold
Execute instruction define by current engine program
Execute Command Execute instruction counter value and change execution state to Hold
Start program execution from current engine program
Free Run Run counter value
LED mapping control is also implemented by the Program tab. LED outputs can be mapped to each of the
engines or can be controlled directly from I2C register (PWM). The selection is done with radio buttons.
This selection has an immediate effect, and it is done by writing to LED MAP register 70h.
Figure 3-11. LED Mapping
11
SNVU203AApril 2013Revised September 2014 LP5562 Evaluation Module
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS . Taxman-Mr wssiz m‘mm ‘7»: 091mm" Hdn mm} mm mm [LT—I m mm an wm‘zmanlm an mm mm 5. mm M mm W W M mm. nn m mug .; W mamas .; lkeaaummm AF M mm m 5M mamas nn mm,“ m gnwwzmanlna an Emmy“ m \Mmmp m mm“ m lkeammanlnr AF W mm as WWW ‘5 an an an an n. 2. an an m m an a. an an A; u A; mm may as Mm: mm m Mms mm] as Mm: mun} m 3W9 mm] m 5% mm W rm mm W Mm nanny m 3m mun} an m mm] an ,m mm m [Hm man] n2 had man; n: mad man] m tag mm] as gm mm as mm mm n7 «,i mm “man“ ”5;mw‘gummgflmm GVcA/W‘Ewlkrwik mpfirwikanpbrwnkam‘firmn 0330: 0mm
Evaluation Software
www.ti.com
3.3.3 History Tab
The "History" tab (see Figure 3-12) provides information on the I2C writes used to configure/control the
LP5562 device. This is a good way of debugging or finding out what writes/reads have been done.
However, the history tab does not record the SRAM memory writes when downloading a program.
Figure 3-12. History Tab
3.4 Command Compiler
A command compiler is used to write LED sequences for the LP5562. The command compiler is a simple-
to-use Windows program with a graphic-user interface.
User can write his own memory files by using command compiler’s editor or any text editor (file must have
.src extension). Command compiler translates ASCII memory files into binary file (.bin), or hex files (.hex
and .he2). In the "Format" menu user can select between .bin, .he2 and .hex formats. Evaluation software
uses .hex format, but .bin and .he2 formats can be used for user's own applications. To start command
compiler, double-click the compiler icon (compiler.exe). Source file can be opened from File/Open menu.
Source files have .src extension. When source tab has been selected, the source code is visible and can
be modified, compiled, and saved. File must be created first to be able to edit it using the File/New menu
or, for example, to open some demo sequence, and save with another name. Below is the syntax and
explanation for command compiler commands. Program can be compiled to binary or hex formats with
compile menu. After compilation, command list can be seen by clicking "List" tab. Compilation generates
binary/hex/he2 file and list file. Compiled file has 16 commands for each channel for a total of 48
commands. File represents the whole SRAM program memory content.
12 LP5562 Evaluation Module SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
{9 TEXAS INSTRUMENTS 5W [w I w Wm 7 seclnn sen :szwm 255 mm 7, mm a mgm 2 “clan M vawm 255 we! znn a mgm 2 uclnn .m mm 7, 7W2 end 7 "va777 255 wet znn szvwm u m7 992 M 533 m see :9an77 u m sea wet 999 M1385 mm 7, 7w m7 \mnS rm. MfldumbbJLLKLL A . wssm (Emma mp7.“ We cm»! __ it.Eiifiigfifiimultimamiiaiii Elm m , mmmmmm ‘7 m m m ‘q LPSSfi2
www.ti.com
Command Compiler
Figure 3-13. Command Compiler Source View
Figure 3-14. Command Compiler List View
13
SNVU203AApril 2013Revised September 2014 LP5562 Evaluation Module
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
Command Compiler
www.ti.com
3.4.1 Syntax
Comment – Line starting with “#” symbol. Example: # engine 1 section start
Sections – Engine1, engine2 or engine3 section starts with: .ENGINE1, .ENGINE2 or .ENGINE3.
Example: .ENGINE1
Labels – Any words with colon (:) as ending symbol. Example: label1:
3.4.2 Commands
Ramp: Ramp command generates a PWM ramp from current value. Ramp command has two
parameters – first is time in milliseconds (floating point format, maximum execution time tMAX = (1000 ms x
number of steps) - 1 ms) and second is number of steps (positive or negative, integer 2-128) separated
with comma. Example: ramp 20.5,6
Wait: With wait command program execution stops for time defined. Command has one parameter, time in
milliseconds (floating point format, maximum 999). Example: wait 50.5
Branch: Branch command loads step number to program counter. Branch command has two parameters,
loop counter (integer 0-63, 0 means infinite loop) and label separated with comma. Label must be
predefined before using in a branch command. The following example loops 5 times commands between
label1 and branch command: Example: label1: … branch 5,label1
Set_PWM: Set_pwm command sets PWM output value. Command has one parameter, PWM value
(integer 0-255). Example: set_pwm 23
Start: (Go to) Start command resets program counter and continues executing from the beginning of
section. No parameters used. Example: start
Trigger: Trigger command sets wait or send trigger. Command has two parameters, wait trigger channel
and send trigger channel. Channels are defined as: 1 = engine1, 2 = engine2, 3 = engine3. Examples:
trigger s1 => (Send trigger to engine1); trigger s2 => (Send trigger to engine2); trigger s3 => (Send trigger
to engine3); trigger s23 => (Send trigger to engine2 and engine3); trigger w1 => (Wait trigger from
engine1); trigger s1,w3 => (Send trigger to engine1 and wait trigger from engine3)
End: End command ends program execution. Also interrupt signal can be send or program counter can be
reset. Command can have up to two parameters. I = interrupt send, R = reset program counter. Examples:
end I; end R; end R,I; end I,R (same as earlier); end
3.4.3 Errors
If there is an error during compilation an error message is generated. Error messages are as follows:
1 = engine section error
2 = syntax error
3 = ramp parameter error
4 = SRAM memory overflow
6 = ramp step error
7 = branch error
9 = set_pwm parameter error
11 = wait parameter error
14 LP5562 Evaluation Module SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
www.ti.com
Command Compiler
3.4.4 Files
There are five files that can be created with the command compiler. The source file has .src extension and
is in source code format. During compilation listing file with .lst extension is created always. Also binary file
with .bin extension or hexadecimal files with .hex and .he2 extension can be generated during compilation.
What file from *.bin, *.hex or *.he2 is compiled can be selected from Format menu. File name for the list,
binary, and hexadecimal files is the same as for source file name.
List-file (*.lst) contains command address, command in hex format and commands in compiler format.
This format can be seen also in evaluation program Program tab, when the code is loaded into the
LP5562. Below is an example of a beginning from a program code list file:
1. ===blink_3s_wait.lst===
2. 1 # engine 1 section start
3. 2 00 .ENGINE1
4. 3 loop1:
5. 4 00 40FF set_pwm 255
6. 5 01 4D00 wait 200
7. 6 02 01F2 ramp 5, -115
Binary-file (*.bin) contains all commands in a 16-bit binary format. Each command is on its own row.
Below is an example of a beginning from a program code binary file (8 commands visible):
1. 0100000011111111
2. 0100110100000000
3. 0100000000000000
4. 0111111100000000
5. 0111111100000000
6. 0111111100000000
7. 1010001110000000
8. 1101000000000000
Hexadecimal-file (*.hex) contains all commands in hexadecimal format. There are four commands in
one row. Commands are split to a 8-bit format separated with space character. Below is an example of
a beginning from a program code hexadecimal file (12 commands visible):
1. 40 FF 4D 00 01 F2 40 00
2. 7F 00 7F 00 7F 00 A3 80
3. D0 00 00 00 00 00 00 00
Hexadecimal-file (*.he2) contains all commands in hexadecimal format. There are four commands in
one row. Commands are split to a 8-bit format separated with comma and space characters. Below is
an example of a beginning from a program code hexadecimal file (12 commands visible):
1. 0x40, 0xFF, 0x4D, 0x00, 0x40, 0x00, 0x7F, 0x00,
2. 0x7F, 0x00, 0x7F, 0x00, 0xA3, 0x90, 0xD0, 0x00,
3. 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
15
SNVU203AApril 2013Revised September 2014 LP5562 Evaluation Module
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
Command Compiler
www.ti.com
3.4.5 Example Command File
See more code examples in Appendix B
# engine 1 section start
.ENGINE1
ramp 20.5,6
ramp 10,-15
wait 10
# engine 2 section start
.ENGINE2
ramp 10,-15
start
# engine 3 section start
.ENGINE3
ramp 10,15
16 LP5562 Evaluation Module SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
Appendix A
SNVU203AApril 2013Revised September 2014
Schematics and Bill Of material
NOTE: Please see the following pages for detailed schematic and Bill of Materials.
17
SNVU203AApril 2013Revised September 2014 Schematics and Bill Of material
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
I TFJms INSTRUMENTS T N I I %
P60/A0
1
P61/A1
2
P62/A2
3
P63/A3
4
P50/A8
5
P51/A9
6
AVCC1
7
P54/XIN
8
P55/XOUT
9
AVSS1
10
DVCC1
11
DVSS1
12
VCORE
13
P10/TA00CLK
14
P11/TA00
15
P12/TA01
16
P13/TA02
17
P14/TA03
18
P15/TA04
19
P16/TA1CLK
20
P17/TA10
21
P20/TA11
22
PJ0/TDO
23
PJ1/TDI
24
PJ2/TMS 25
PJ3/TCK 26
DVSS2 27
DVCC2 28
P40 29
P41 30
P42 31
P43 32
P44 33
P45 34
P46 35
P47 36
VSSU 37
PU0/DP 38
PUR 39
PU1/DM 40
VBUS 41
VUSB 42
V18 43
AVSS2 44
P52/XT2IN 45
P53/XT2OUT 46
TEST/SBWTCK 47
RST/SBWTDIO 48
U2
MSP430F5510IPTR
VBUS
1
D-
2
D+
3
GND
4
SHLD
5
J1
GND
GND
GND
1uF
C16
GND
0.1uF
C14
GND
10pF
C8
GND
32KHZ-UC
27
R2
27
R5
10uF
C10
10pF
C9
0.1uF
C15
GND
DM
DP
1M
R6
1K5
R4
100
R1
PUR
PUR
1
2
3
4
S1
8.0MHz
Z1 VUSB
VBUS
VUSB
220nF
C11
GND
47pF
C2
47pF
C3
GND GND
XT2IOUT
XT2IN
XT2IOUT
FIRMWARE LOADER
2.2nF
C7
47K
R3
1
2 3
4S2
GND
VCC
RESET
0.1uF
C1
GND
GND
GND
RST
TEST
1
2
3
4
P2
SBW
GND
TEST
RST
ON/OFF
3VOUT 5
BYPASS 4
2
VIN
1
GND
U1 LP2985AIM5-3.3
10nF
C5
10uF
C4
10uF
C6
GND GND GND
3.3VVBUS
0.1uF
C13
GND
VCC
XT2IN
GND
SDA-UC
SCL-UC
EN-UC
VCC
1 2
3 4
5 6
7 8
P6
Header 4X2
EN-UC
32KHZ-UC
SCL-UC
SDA-UC
EN
EN
SCL
SCL
SDA
SDA
32KHZ
32KHZ
ADDR0
ADDR1
GND
1
2
3
P3
Header 3
1
2
3
P4
Header 3
VCC
VUSB
GND
VUSB
VIO
VDD
VDD
VDD
3.3V
1K5
R7
1K5
R8
10K
R9
10K
R10
VCC
ADDR1
ADDR0
1 2
3 4
P7
Header 2X2
ADDR1
ADDR0
GND
EN
SCL
SDA
32KHZ
ADDR1
ADDR0
LEDW
LEDR
LEDG
LEDB
LEDW
LEDR
LEDG
LEDB
1
2
3
4
5
6
7
8
9
10
11
12
P1
Header 12
GND
VDD
0.1uF
C17
GND D2
LW Q38E
D3
LW Q38E
D4
LW Q38E
D5
LW Q38E
1
4
R
G
B
5
2
6
3
D1
LRTB_G6TG
1 2
3 4
5 6
7 8
P5
Header 4X2
X2
Header 3X3
VDD
1
2
3
4
X1
MKDS1-4WAY
GND
220nF
C12
SCL-UC
SDA-UC
0
R11
VCC
LOGO
PCB
Texas Instruments
TP1
D7
TP2
240
R12
GND
10uF
C18
GND
10uF
C19
GND
VDDSCL
SDA
EN
CLK_32K
ADDR_SEL0
ADDR_SEL1 GND
W
R
G
B
U3
LP5562_V2
2
13
4
R
B
D6
LP5562 Evaluation Board Schematics
www.ti.com
A.1 LP5562 Evaluation Board Schematics
Figure A-1. Evaluation Board Schematics
18 Schematics and Bill Of material SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
www.ti.com
LP5562 Evaluation Board Schematics
Table A-1. Evaluation Board Bill of Materials
Component Description Designator Footprint Manufacturer Manufacturer Type Quantity
Ceramic capacitor 2.2nF 5% 50V C0G C7 0603 Murata Electronics GRM1885C1H222JA01D 1
Ceramic capacitor 47pF 5% 50V C0G C2, C3 0603 Murata Electronics GRM1885C1H470JA01D 2
Ceramic capacitor 220nF 10% 25V X7R C11, C12 0603 Murata Electronics GRM188R71E224KA88D 2
Ceramic capacitor 10pF 5% 50V C0G C8, C9 0603 Murata Electronics GRM1885C1H100JA01D 2
Ceramic capacitor 10nF 10% 50V X7R C5 0603 Murata Electronics GRM188R71H103KA01D 1
Ceramic capacitor 0.1µF 10% 25V X7R C1, C13, C14, C15, C17 0603 Murata Electronics GRM188R71E104KA01D 5
Ceramic capacitor 1µF 10% 16V X7R C16 0603 Murata Electronics GRM188R61E105KA12D 1
Ceramic capacitor 10µF 10% 16V X5R C4, C6, C10, C18, C19 0805 Taiyo Yuden EMK212BJ106KG-T 5
Diode LED RGB LED D1 LRTB_G6SF Osram LRTBG6SF-V2BA-3E7F-0-0-ZP
LW M67C WLED -
Diode LED White LED D2, D3, D4, D5 Osram LW Q38E-Q1S2-3K6L-1 4
unipad
Diode LED Red LED D7 LSL296 Osram LSL296-P2Q2-1-Z 1
USB 2.0, RA, SMT, AB
Connector J1 USB-mini-SMD Wurth Elektronik 651305142821 1
Type, Receptacle, 5pos
Connector Header, 12-Pin P1 HDR1X12 FCI 68000-112HLF 1
Connector Header, 4-Pin P2 HDR1X4 TE connectivity 5-146292-4 1
Connector Header, 3-Pin P3, P4 HDR1X3 TE connectivity 5-146292-3 2
Connector Header, 4-Pin, Dual row P5, P6 HDR2X4 TE connectivity 5-146256-2 2
Connector Header, 2-Pin, Dual row P7 HDR2X2 TE connectivity 5-146256-1 1
Resistor 0R R11 0603 Yageo RC0603JR-070RL 1
Resistor 1K5 1% R4, R7, R8 0603 Yageo RC0603FR-071K5L 3
Resistor 1M 1% R6 0603 Yageo RC0603FR-071ML 1
Resistor 10K 1% R9, R10 0603 Yageo RC0603FR-0710KL 2
Resistor 27R 1% R2, R5 0603 Yageo RC0603FR-0727RL 2
Resistor 47K 1% R3 0603 Yageo RC0603FR-0747KL 1
Resistor 100R 1% R1 0603 Yageo RC0603FR-07100RL 1
Resistor 240R 1% R12 0603 Yageo RC0603FR-07240RL 1
Switch Push Button S1, S2 7914J Bourns 7914J-1-000E 2
Micropower 250 mA Low-
IC Noise Ultra Low-Dropout U1 MF05A Texas Instruments LP2985AIM5-3.3 1
Regulator
IC Microcontroller U2 PQFP48 Texas Instruments MSP430F5510IPTR 1
4 CH LED Driver with
IC Programmable Lighting U3 DSBGA12 Texas Instruments LP5562 1
Sequences
19
SNVU203AApril 2013Revised September 2014 Schematics and Bill Of material
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
LP5562 Evaluation Board Schematics
www.ti.com
Table A-1. Evaluation Board Bill of Materials (continued)
Component Description Designator Footprint Manufacturer Manufacturer Type Quantity
10A connector 3.81mm
Connector X1 MKDS1-4 Phoenix 1727036 1
pitch 4way
Connector Header, 3-Pin, 3 row X2 HDR3X3 Samtec TSW-103-07-L-T 1
Crystal Crystal SMD Z1 HC49/4H_SMX Abracon ABLS-8.000MHZ-B4-T 1
20 Schematics and Bill Of material SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
www.ti.com
LP5562 Evaluation Board Schematics
21
SNVU203AApril 2013Revised September 2014 Schematics and Bill Of material
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
I TEXAS INSTRUMENTS
Engine1
Mapped LED
PWM value
127
255
Time
(ms)
100 200 400
300 500 600 700 800 900 1000 1100 1200
Engine1 program:
ramp 150, 100
ramp 150, 100
wait 300
ramp 50, -100
wait 450
ramp 100, -100
Appendix B
SNVU203AApril 2013Revised September 2014
Programming Considerations
B.1 Wait/Ramp Command
The ramp command generates either an increasing or decreasing PWM ramp, for which execution time
and number of steps can be defined. In one ramp command PWM value can be incremented or
decremented up to 128 steps from the present PWM value. The maximum PWM value is 255 which
means the engine's mapped current source(s) is constantly active. Ramp command maximum execution
time tMAX = (1000 ms x number of steps) - 1 ms.
Figure B-1 illustrates ramp and wait command usage. The program has been made with the command
compiler. The first ramp command increases PWM value from 0 to 100 in 150 ms. The second ramp
command will increase PWM value from 100 to 200 in 150 ms. PWM value is kept constant during the
next 300 ms wait cycle. Program then continues by ramping down PWM from 200 to 100 in 50 ms. During
the 450 ms wait cycle PWM value is kept constant, and the last command decreases PWM value from
100 to 0 during 100 ms.
Figure B-1. Ramp and Wait Command Example
By combining the ramp and wait commands the number of program commands can be reduced.Figure B-
2illustrates this situation. Ramp begins from PWM value 231 and saturates to 255 in 100 ms. After PWM
is saturated to maximum, ramp command changes to wait command for the rest 450 ms. Falling ramp
saturates similar way to 0 PWM value. After the saturation, the rest of the command execution will be wait
time.
22 Programming Considerations SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
‘5‘ TEXAS INSTRUMENTS
Engine1
Mapped LED PWM
value
127
255
Time (ms)
100 200 400300 500 600
Engine1 program:
set_pwm 231
ramp 500, 120
www.ti.com
Wait/Ramp Command
Figure B-2. Combined Ramp and Wait Command Example
Wait command maximum time is 999 ms on the command compiler; if longer wait time is required, then
branching (looping) can be used. Branch command is explained in this application note. Also ramp
command can produce the desired wait time if PWM level during wait cycle is either 0 or 255. Ramp
command maximum execution time tMAX = (1000 ms x number of steps) - 1 ms on the command compiler,
so maximum wait time with ramp command is 127 999 ms. On Figure B-3, PWM is first set to 255, and
1200 ms wait cycle is produced with a ramp command that increases PWM level by 127 in 1200 ms.
Since PWM is already at maximum, this command will only produce wait time. Similarly, falling ramp can
be used as a wait command if PWM level is 0.
23
SNVU203AApril 2013Revised September 2014 Programming Considerations
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
Engine1
Mapped LED PWM
value
127
255
Time (ms)
200 400 800600 1000 1200
Engine1 program:
set_pwm 255
ramp 1200,127
Set PWM Command
www.ti.com
Figure B-3. Using Ramp Command as Wait
B.2 Set PWM Command
Set_pwm command adjusts the PWM level with 8-bit control from 0 to 255. PWM level is adjusted to new
value in 0.488 ms (typ.).
B.3 Go-To-Start Command
Go-to-start command resets program counter, and program execution will be started from the beginning of
the program. Go-to-start can be interpreted as an infinite loop. By default, all program memory locations
are reset to zeros, which implies go-to-start command. In command compiler syntax this command is
Start. If program memory is fully occupied, and last command is ramp, wait, set_pwm or trigger, program
execution will be continued from the beginning of the program.
B.4 Branch Command
Branch command can be used to loop certain sequences in program. Figure B-4 illustrates branch
command. Program ramps up PWM level from 0 to 127 in 200 ms. PWM level is kept at a constant 200
ms, then ramped down to 0 in 200 ms. PWM is kept at 0 during the next 500 ms. The whole sequence is
executed 6 times. Loop start location is defined with label (loop1).
24 Programming Considerations SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
Engine1
Mapped LED
PWM value
127
255
Time
(ms)
1
0
0
2
0
0
4
0
0
3
0
0
5
0
0
6
0
0
7
0
0
8
0
0
9
0
0
1
0
0
0
1
1
0
0
1
2
0
0
Engine1 program:
wait 200
loop1:
set_pwm 127
wait 200
set_pwm 0
loop2:
wait 200
branch 6, loop2
branch 9, loop1
1
3
0
0
1
4
0
0
1
5
0
0
1
6
0
0
1
7
0
0
1
8
0
0
200 ms delay executed 7 times (loop2)
Blink sequence executed 10 times (this is 1st cycle of
loop1) Beginning of
loop1 2nd cycle
www.ti.com
Branch Command
Figure B-4. Branch Command Example
The maximum loop count is 63 in one branch command, but the LP5562 supports loop inside loop i.e.
nested looping. Nested looping is illustrated in the following example. 1600 ms blinking cycle is repeated
10 times. LED is active 200 ms during the cycle and rest of the cycle 1400 ms is wait time. The program
has two loops loop1 and loop2. Loop1 repeats the whole sequence 10 times and loop2 creates 1400 ms
wait time.
Figure B-5. Branch Command Example
25
SNVU203AApril 2013Revised September 2014 Programming Considerations
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS end 1 end
Engine2
Engine1
Engine1 program:
set_pwm 255
wait 100
set_pwm 0
wait 100
trigger s23
end
Engine2 program:
trigger w1
set_pwm 255
wait 100
set_pwm 0
end
Engine3 program:
trigger w1
set_pwm 255
wait 100
set_pwm 0
end
Engine3
Engine2
Engine1
Engine3
Engine1 program:
set_pwm 255
wait 100
set_pwm 0
wait 100
trigger s2
end
Engine2 program:
trigger w1
set_pwm 255
wait 100
set_pwm 0
wait 100
trigger s3
end
Engine3 program:
trigger w2
set_pwm 255
wait 100
set_pwm 0
end
End Command
www.ti.com
B.5 End Command
End command stops program execution. There are two parameters which can be defined with an end
command: interrupt and reset. Interrupt can be used to notify the processor that program execution is at
the end. Status bits in register address 0CH inform which engine (1, 2, 3) has caused the interrupt. Status
bits will be cleared when status register 0CH is read. Reset parameter resets program counter to 0,
changes engine mode to hold from run mode, and sets PWM output to 0. If no parameters are defined,
engine will be changed to hold mode and PWM value will remain.
B.6 Trigger Command
Triggering is efficient way of controlling program execution between LP5562 engines (1,2,3). The following
example describes basic triggering concept. Each engine (1,2,3) have identical 100 ms LED pulse and
100 ms delay period after the pulse. Engine 1 begins the sequence by generating pulse and at the end
sends trigger to engine 2. Engine 2 continues program execution, and at the end of the program sends
trigger to engine 3 program.
Figure B-6. Basic Triggering Example
One engine can send multiple triggers in one command. Figure B-7 shows that engine 1 triggers both
engine 2 and 3. Engine 2 and 3 programs are identical.
Figure B-7. Sending Multiple Triggers Example
26 Programming Considerations SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
Appendix C
SNVU203AApril 2013Revised September 2014
Automatic Power-Save Functionality
C.1 Power Save With Engine Execution
Automatic power-save mode is enabled when PS_EN bit in register address 08H is 1. Almost all analog
blocks (including internal oscillator) are powered down in power save, if external clock is used. However, if
internal clock has been selected, only LED drivers are disabled during power save. Program execution
engine remains active during power-save mode.
During program execution the LP5562 can enter power save if there is no PWM activity in LED outputs
mapped to engines. To prevent short power-save sequences during program execution, the LP5562 has
command look-ahead filter. In every instruction cycle engine commands are analyzed, and if there is
sufficient time left with no PWM activity, device will enter power save. In power save program execution
continues uninterruptedly. When a command that requires PWM activity is executed, fast internal startup
sequence will be started automatically. Table C-1 describes commands and conditions that can activate
power save. All engines need to meet power-save condition in order to enable power save. Note that if a
LED output is mapped to the I2C register control and has PWM, it prevents power save even though
engine execution would allow power save.
Table C-1. Power-Save Condition With Operation Mode
LED controller operation mode Power save condition
(ENG1/ENG2/ENG3_MODE)
00b Disabled mode enables power save
01b Load program to SRAM prevents power save
Run program mode enables power save if there is no PWM activity and
10b command look ahead filter condition is met
11b Direct control mode enables power save if there is no PWM activity
Table C-2. Power-Save Condition With Commands
Command Power save condition
No PWM activity and current command wait time longer than 50 ms. If
Wait prescale = 1 then wait time needs to be longer than 80 ms. (see Figure C-1
and Figure C-4)
Ramp command PWM value reaches minimum 0 and current command
Ramp execution time left more than 50 ms. If prescale = 1 then time left needs to be
more than 80 ms (see Figure C-2)
Trigger No PWM activity during wait for trigger command execution (see Figure C-3)
End No PWM activity or Reset bit = 1 (see Figure C-3)
Enables power save if PWM set to 0 and next command generates at least 50
Set PWM ms wait
Other commands No effect to power save
27
SNVU203AApril 2013Revised September 2014 Automatic Power-Save Functionality
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
Engine1
POWER
SAVE
RAMP
POWERSAVE
WAIT
Engine 2
Engine 1
Engine 3
POWERSAVE
Mapped LED
PWM activity
prevents
powersave
No PWM activity,
time longer than 50
ms
No PWM
activity time
shorther
than 50 ms
Power Save With Engine Execution
www.ti.com
Figure C-1. Basic Power-Save Sequence With Long Inactive Period
Figure C-2. Power-Save Sequence With a Ramp Command Used as Combined Ramp/Wait
28 Automatic Power-Save Functionality SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
‘5‘ TEXAS INSTRUMENTS
WAIT FOR
ENGINE 3
TRIGGER
SEND
TRIGGER
TO
ENGINE 3
WAIT FOR
ENGINE 1
TRIGGER
POWER
SAVE
SEND
TRIGGER TO
ENGINE 1
END
Engine 2
Engine 1
Engine 3
END
POWERSAVE
END
www.ti.com
Power Save With Engine Execution
Figure C-3. Power-Save Sequence With Wait for Trigger Command
29
SNVU203AApril 2013Revised September 2014 Automatic Power-Save Functionality
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
POWER
SAVE
Engine 2
Engine 1
Engine 3
LOOP: WAIT 25 ms x 6
No powersave due to too short
command execution time
25
ms
WAIT
LOOP: WAIT
75 ms x 2
Wait > 50 ms
enables
powersave
POWERSAVE
75
ms
Power Save With Engine Execution
www.ti.com
Figure C-4. Power-Save Sequence With Long and Short Wait Commands
30 Automatic Power-Save Functionality SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS 3. am “my ,_ . m. m" m M, er s \ ta \ L \ 2 1 a mums}. «H mm, a smmmm , mm \ _ WW; » n, WWW” _ k“ wnmww ms 45;, Hummymkzpmu \ q mum'nnwx mm. » i mum an, m mu" _ 4 mm; , a mmmmngamm \ - WW . y Wm . I; Nammm 9 5mm awkww. NM,» .1 amemm szeWmMM pmmm g C‘s:a5yfl
Appendix D
SNVU203AApril 2013Revised September 2014
USB PORT CONFIGURATION
D.1 Configuring USB Port Number
When the USB COM port number is bigger than 9, the evaluation program is not able to recognize the
board. COM port number can be manually changed from Windows Device Manager. The below figures
describe this sequence in Windows7. The Device Manager can be found from the Control Panel. Note that
one may need to have Administrator rights to do the changes.
Figure D-1. Device Manager View. Select the Virtual COM Port
31
SNVU203AApril 2013Revised September 2014 USB PORT CONFIGURATION
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
I TEXAS INSTRUMENTS :9 5mm A, ammnmm A 2! (mm A, C, rm mm m. Duv‘uy mm A a wn/mrrm mm A ya mmmm Damn A, A . mun/mm (mm) A y m ma Bushouzomvo\>215 A 4 mm: , 5 MK: ind Mhzvpmnungdmux A mam; A I3 anm: A ‘3‘ wakadamm g Bmswm Dmn [Pmnm‘muNm/wk) mam 0:1“lequ vmmmmn 3; cm m‘mvm Mamamrflhwwmdw i mmmazmw ogmrmm Cmntmon 5v mm Ctmnnom Acumen Nblnn MW 3 Mmmvmnwm Mmmn mm A 33 Oimrdmns A; Emmanr(npmretmv 1: mm mm A 1? PamiEDM mm :7 mmAmmmmmrmmy Sm (tom) Aw umme m \c ‘ a mum“ 0:14:92 am Wm, A» m in mm mm mm - I Sammy DEW“ UnmflaH A ‘ 5am wmmgm »,q 9,“me Sunlwh-rdwvuhangu A 5 mm mm sum,“ um mm shaman: (AM ‘WMMH ‘ r - n. Am M Ma a-ME‘EMIEH‘Q“ “gamma Gave ME"; w-‘md A o mmmnm; ,Uumpm am m [m .1 m... [—}; . U N um : Ii. mswyaaamu; A “A; mymw m; a; HAM MM": am. : qwuu/Auvlmmnum A, 0 IEEElemAmmxmmu: A :meus , 73 M‘uananmnwmmmgflw - Madam ,, q mm 3 Nammum f ammomwm Q 2mm ow mm a; (m gym; wm Am; 2 [Mumsmmwm f mm mmcmm. g mem‘wm M. A it: am: um. i. mm away A gnmmunmm A vs PM: (aw AA wn wmmmmmwmmmy mumm 7 mm m m (mm {mm} , a may”; 5 n snmmdmas A, p Emmy pm; A a sum Mamagmmmum , in 5qu Am; A a umw 5m smumvm
Configuring USB Port Number
www.ti.com
Figure D-2. Open Properties by Clicking Right Mouse Button on Virtual COM Port
Figure D-3. Select Port Settings from The Virtual COM Port Properties
32 USB PORT CONFIGURATION SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS a mm Manage file Am“ View a.» Q-IMETHH W » 3 Baum; , mmnmm h «a (mum , M New . 5 am, 2.12pm: , kg ova/co mm mm b a HummlntmauDevms a m; mmm mmum , i may a“; m mmuu , _ mm, b a Mnmdmhevpmmmg m 51 Wm M I; Mam“ A g vaokadaurers g “mam nmswmn g ammmbmznwco .3 05m WmsvaNMip :1 mm mm swarm 19 mm Emma Am. av Mmmuthm‘WfiMy ‘ A a Omudewes mm com m (com (com; Fmvenm Mum magma»; : E 7‘ m HF!) we: (reams; ‘mmmmb Wm sued m. gamma cam cnmecmn 9mm, sum mhvsmnm mm panama: Rm: MN anm Tm“ My mm) new PM mm mm (mm com mm: com: com com com .1. mm cpmm. a WWW, . v37 PmeMMPU DOMW mm J won 3 m as; «7 WWWMmmrmmr“max; '? \Hmm COM Dan ((00 (Col/E] DOM?) h a Prouswr) 00"” _ cows ,lrsmmsnaznm: moms 4, 5m, 9m own ‘ cows 4‘ snundmmmmm mm «WWW come A was: 2H3 mm m COMM . u ‘5 m M mm com) new
www.ti.com
Configuring USB Port Number
Figure D-4. Select Advanced from Virtual COM Port Properties and Select COM Port Number
33
SNVU203AApril 2013Revised September 2014 USB PORT CONFIGURATION
Submit Documentation Feedback Copyright © 2013–2014, Texas Instruments Incorporated
l TEXAS INSTRUMENTS
Revision History
www.ti.com
Revision History
Changes from Original (April 2013) to A Revision .......................................................................................................... Page
Changed schematic drawing ........................................................................................................... 18
NOTE: Page numbers for previous revisions may differ from page numbers in the current version.
34 Revision History SNVU203AApril 2013Revised September 2014
Submit Documentation Feedback
Copyright © 2013–2014, Texas Instruments Incorporated
ADDITIONAL TERMS AND CONDITIONS, WARNINGS, RESTRICTIONS, AND DISCLAIMERS FOR
EVALUATION MODULES
Texas Instruments Incorporated (TI) markets, sells, and loans all evaluation boards, kits, and/or modules (EVMs) pursuant to, and user
expressly acknowledges, represents, and agrees, and takes sole responsibility and risk with respect to, the following:
1. User agrees and acknowledges that EVMs are intended to be handled and used for feasibility evaluation only in laboratory and/or
development environments. Notwithstanding the foregoing, in certain instances, TI makes certain EVMs available to users that do not
handle and use EVMs solely for feasibility evaluation only in laboratory and/or development environments, but may use EVMs in a
hobbyist environment. All EVMs made available to hobbyist users are FCC certified, as applicable. Hobbyist users acknowledge, agree,
and shall comply with all applicable terms, conditions, warnings, and restrictions in this document and are subject to the disclaimer and
indemnity provisions included in this document.
2. Unless otherwise indicated, EVMs are not finished products and not intended for consumer use. EVMs are intended solely for use by
technically qualified electronics experts who are familiar with the dangers and application risks associated with handling electrical
mechanical components, systems, and subsystems.
3. User agrees that EVMs shall not be used as, or incorporated into, all or any part of a finished product.
4. User agrees and acknowledges that certain EVMs may not be designed or manufactured by TI.
5. User must read the user's guide and all other documentation accompanying EVMs, including without limitation any warning or
restriction notices, prior to handling and/or using EVMs. Such notices contain important safety information related to, for example,
temperatures and voltages. For additional information on TI's environmental and/or safety programs, please visit www.ti.com/esh or
contact TI.
6. User assumes all responsibility, obligation, and any corresponding liability for proper and safe handling and use of EVMs.
7. Should any EVM not meet the specifications indicated in the user’s guide or other documentation accompanying such EVM, the EVM
may be returned to TI within 30 days from the date of delivery for a full refund. THE FOREGOING LIMITED WARRANTY IS THE
EXCLUSIVE WARRANTY MADE BY TI TO USER AND IS IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED, IMPLIED, OR
STATUTORY, INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. TI SHALL
NOT BE LIABLE TO USER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES RELATED TO THE
HANDLING OR USE OF ANY EVM.
8. No license is granted under any patent right or other intellectual property right of TI covering or relating to any machine, process, or
combination in which EVMs might be or are used. TI currently deals with a variety of customers, and therefore TI’s arrangement with
the user is not exclusive. TI assumes no liability for applications assistance, customer product design, software performance, or
infringement of patents or services with respect to the handling or use of EVMs.
9. User assumes sole responsibility to determine whether EVMs may be subject to any applicable federal, state, or local laws and
regulatory requirements (including but not limited to U.S. Food and Drug Administration regulations, if applicable) related to its handling
and use of EVMs and, if applicable, compliance in all respects with such laws and regulations.
10. User has sole responsibility to ensure the safety of any activities to be conducted by it and its employees, affiliates, contractors or
designees, with respect to handling and using EVMs. Further, user is responsible to ensure that any interfaces (electronic and/or
mechanical) between EVMs and any human body are designed with suitable isolation and means to safely limit accessible leakage
currents to minimize the risk of electrical shock hazard.
11. User shall employ reasonable safeguards to ensure that user’s use of EVMs will not result in any property damage, injury or death,
even if EVMs should fail to perform as described or expected.
12. User shall be solely responsible for proper disposal and recycling of EVMs consistent with all applicable federal, state, and local
requirements.
Certain Instructions. User shall operate EVMs within TI’s recommended specifications and environmental considerations per the user’s
guide, accompanying documentation, and any other applicable requirements. Exceeding the specified ratings (including but not limited to
input and output voltage, current, power, and environmental ranges) for EVMs may cause property damage, personal injury or death. If
there are questions concerning these ratings, user should contact a TI field representative prior to connecting interface electronics including
input power and intended loads. Any loads applied outside of the specified output range may result in unintended and/or inaccurate
operation and/or possible permanent damage to the EVM and/or interface electronics. Please consult the applicable EVM user's guide prior
to connecting any load to the EVM output. If there is uncertainty as to the load specification, please contact a TI field representative. During
normal operation, some circuit components may have case temperatures greater than 60°C as long as the input and output are maintained
at a normal ambient operating temperature. These components include but are not limited to linear regulators, switching transistors, pass
transistors, and current sense resistors which can be identified using EVMs’ schematics located in the applicable EVM user's guide. When
placing measurement probes near EVMs during normal operation, please be aware that EVMs may become very warm. As with all
electronic evaluation tools, only qualified personnel knowledgeable in electronic measurement and diagnostics normally found in
development environments should use EVMs.
Agreement to Defend, Indemnify and Hold Harmless. User agrees to defend, indemnify, and hold TI, its directors, officers, employees,
agents, representatives, affiliates, licensors and their representatives harmless from and against any and all claims, damages, losses,
expenses, costs and liabilities (collectively, "Claims") arising out of, or in connection with, any handling and/or use of EVMs. User’s
indemnity shall apply whether Claims arise under law of tort or contract or any other legal theory, and even if EVMs fail to perform as
described or expected.
Safety-Critical or Life-Critical Applications. If user intends to use EVMs in evaluations of safety critical applications (such as life support),
and a failure of a TI product considered for purchase by user for use in user’s product would reasonably be expected to cause severe
personal injury or death such as devices which are classified as FDA Class III or similar classification, then user must specifically notify TI
of such intent and enter into a separate Assurance and Indemnity Agreement.
RADIO FREQUENCY REGULATORY COMPLIANCE INFORMATION FOR EVALUATION MODULES
Texas Instruments Incorporated (TI) evaluation boards, kits, and/or modules (EVMs) and/or accompanying hardware that is marketed, sold,
or loaned to users may or may not be subject to radio frequency regulations in specific countries.
General Statement for EVMs Not Including a Radio
For EVMs not including a radio and not subject to the U.S. Federal Communications Commission (FCC) or Industry Canada (IC)
regulations, TI intends EVMs to be used only for engineering development, demonstration, or evaluation purposes. EVMs are not finished
products typically fit for general consumer use. EVMs may nonetheless generate, use, or radiate radio frequency energy, but have not been
tested for compliance with the limits of computing devices pursuant to part 15 of FCC or the ICES-003 rules. Operation of such EVMs may
cause interference with radio communications, in which case the user at his own expense will be required to take whatever measures may
be required to correct this interference.
General Statement for EVMs including a radio
User Power/Frequency Use Obligations: For EVMs including a radio, the radio included in such EVMs is intended for development and/or
professional use only in legally allocated frequency and power limits. Any use of radio frequencies and/or power availability in such EVMs
and their development application(s) must comply with local laws governing radio spectrum allocation and power limits for such EVMs. It is
the user’s sole responsibility to only operate this radio in legally acceptable frequency space and within legally mandated power limitations.
Any exceptions to this are strictly prohibited and unauthorized by TI unless user has obtained appropriate experimental and/or development
licenses from local regulatory authorities, which is the sole responsibility of the user, including its acceptable authorization.
U.S. Federal Communications Commission Compliance
For EVMs Annotated as FCC – FEDERAL COMMUNICATIONS COMMISSION Part 15 Compliant
Caution
This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause
harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation.
Changes or modifications could void the user's authority to operate the equipment.
FCC Interference Statement for Class A EVM devices
This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules.
These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial
environment. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the
instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to
cause harmful interference in which case the user will be required to correct the interference at its own expense.
FCC Interference Statement for Class B EVM devices
This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules.
These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment
generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause
harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If
this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and
on, the user is encouraged to try to correct the interference by one or more of the following measures:
Reorient or relocate the receiving antenna.
Increase the separation between the equipment and receiver.
Connect the equipment into an outlet on a circuit different from that to which the receiver is connected.
Consult the dealer or an experienced radio/TV technician for help.
Industry Canada Compliance (English)
For EVMs Annotated as IC – INDUSTRY CANADA Compliant:
This Class A or B digital apparatus complies with Canadian ICES-003.
Changes or modifications not expressly approved by the party responsible for compliance could void the user’s authority to operate the
equipment.
Concerning EVMs Including Radio Transmitters
This device complies with Industry Canada licence-exempt RSS standard(s). Operation is subject to the following two conditions: (1) this
device may not cause interference, and (2) this device must accept any interference, including interference that may cause undesired
operation of the device.
Concerning EVMs Including Detachable Antennas
Under Industry Canada regulations, this radio transmitter may only operate using an antenna of a type and maximum (or lesser) gain
approved for the transmitter by Industry Canada. To reduce potential radio interference to other users, the antenna type and its gain should
be so chosen that the equivalent isotropically radiated power (e.i.r.p.) is not more than that necessary for successful communication.
This radio transmitter has been approved by Industry Canada to operate with the antenna types listed in the user guide with the maximum
permissible gain and required antenna impedance for each antenna type indicated. Antenna types not included in this list, having a gain
greater than the maximum gain indicated for that type, are strictly prohibited for use with this device.
Canada Industry Canada Compliance (French)
Cet appareil numérique de la classe A ou B est conforme à la norme NMB-003 du Canada
Les changements ou les modifications pas expressément approuvés par la partie responsable de la conformité ont pu vider l’autorité de
l'utilisateur pour actionner l'équipement.
Concernant les EVMs avec appareils radio
Le présent appareil est conforme aux CNR d'Industrie Canada applicables aux appareils radio exempts de licence. L'exploitation est
autorisée aux deux conditions suivantes : (1) l'appareil ne doit pas produire de brouillage, et (2) l'utilisateur de l'appareil doit accepter tout
brouillage radioélectrique subi, même si le brouillage est susceptible d'en compromettre le fonctionnement.
Concernant les EVMs avec antennes détachables
Conformément à la réglementation d'Industrie Canada, le présent émetteur radio peut fonctionner avec une antenne d'un type et d'un gain
maximal (ou inférieur) approuvé pour l'émetteur par Industrie Canada. Dans le but de réduire les risques de brouillage radioélectrique à
l'intention des autres utilisateurs, il faut choisir le type d'antenne et son gain de sorte que la puissance isotrope rayonnée équivalente
(p.i.r.e.) ne dépasse pas l'intensité nécessaire à l'établissement d'une communication satisfaisante.
Le présent émetteur radio a été approuvé par Industrie Canada pour fonctionner avec les types d'antenne énumérés dans le manuel
d’usage et ayant un gain admissible maximal et l'impédance requise pour chaque type d'antenne. Les types d'antenne non inclus dans
cette liste, ou dont le gain est supérieur au gain maximal indiqué, sont strictement interdits pour l'exploitation de l'émetteur.
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2014, Texas Instruments Incorporated
spacer
Important Notice for Users of EVMs Considered “Radio Frequency Products” in Japan
EVMs entering Japan are NOT certified by TI as conforming to Technical Regulations of Radio Law of Japan.
If user uses EVMs in Japan, user is required by Radio Law of Japan to follow the instructions below with respect to EVMs:
1. Use EVMs in a shielded room or any other test facility as defined in the notification #173 issued by Ministry of Internal Affairs and
Communications on March 28, 2006, based on Sub-section 1.1 of Article 6 of the Ministry’s Rule for Enforcement of Radio Law of
Japan,
2. Use EVMs only after user obtains the license of Test Radio Station as provided in Radio Law of Japan with respect to EVMs, or
3. Use of EVMs only after user obtains the Technical Regulations Conformity Certification as provided in Radio Law of Japan with respect
to EVMs. Also, do not transfer EVMs, unless user gives the same notice above to the transferee. Please note that if user does not
follow the instructions above, user will be subject to penalties of Radio Law of Japan.
http://www.tij.co.jp
【無線電波を送信する製品の開発キットをお使いになる際の注意事項】 本開発キットは技術基準適合証明を受けておりません。 本製品の
ご使用に際しては、電波法遵守のため、以下のいずれかの措置を取っていただく必要がありますのでご注意ください。
1. 電波法施行規則第6条第1項第1号に基づく平成18328日総務省告示第173号で定められた電波暗室等の試験設備でご使用いただく。
2. 実験局の免許を取得後ご使用いただく。
3. 技術基準適合証明を取得後ご使用いただく。。
なお、本製品は、上記の「ご使用にあたっての注意」を譲渡先、移転先に通知しない限り、譲渡、移転できないものとします
上記を遵守頂けない場合は、電波法の罰則が適用される可能性があることをご留意ください。
日本テキサス・インスツルメンツ株式会社
東京都新宿区西新宿6丁目24番1号
西新宿三井ビル
http://www.tij.co.jp
Texas Instruments Japan Limited
(address) 24-1, Nishi-Shinjuku 6 chome, Shinjuku-ku, Tokyo, Japan
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license 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 significant portions 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. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
Products Applications
Audio www.ti.com/audio Automotive and Transportation www.ti.com/automotive
Amplifiers amplifier.ti.com Communications and Telecom www.ti.com/communications
Data Converters dataconverter.ti.com Computers and Peripherals www.ti.com/computers
DLP® Products www.dlp.com Consumer Electronics www.ti.com/consumer-apps
DSP dsp.ti.com Energy and Lighting www.ti.com/energy
Clocks and Timers www.ti.com/clocks Industrial www.ti.com/industrial
Interface interface.ti.com Medical www.ti.com/medical
Logic logic.ti.com Security www.ti.com/security
Power Mgmt power.ti.com Space, Avionics and Defense www.ti.com/space-avionics-defense
Microcontrollers microcontroller.ti.com Video and Imaging www.ti.com/video
RFID www.ti-rfid.com
OMAP Applications Processors www.ti.com/omap TI E2E Community e2e.ti.com
Wireless Connectivity www.ti.com/wirelessconnectivity
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2014, Texas Instruments Incorporated