UM0582
User manual
STEVAL-TLL005V1 power flash demonstration board
based on the STCF03 and ST7
Introduction
This document describes the functionality of the STEVAL-TLL005V1 power flash
demonstration board based on STCF03 high power white LED driver and the ST7 8-bit
microcontroller. The STCF03 is a high efficiency power supply solution to drive a single flash
LED in camera phones, PDAs and other hand-held devices. It operates as a buck-boost
converter to guarantee proper LED current control in all possible battery voltage and output
voltage conditions. All functions of the device are controlled through an I
2
C interface via the
ST7 microcontroller. The STEVAL-TLL005V1 includes both the motherboard (Figure
1)
and
daughterboard (also available separately as STEVAL-TLL004V1,
Figure 2).
Figure 1.
STEVAL-TLL005V1 power flash demonstration board
Figure 2.
Daughterboard (available separately as STEVAL-TLL004V1)
June 2009
Doc ID 14969 Rev 1
1/24
www.st.com
Contents
UM0582
Contents
1
Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.1
1.2
1.3
Package contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Hardware description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.2.1
On-board components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Power supply selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2
3
Connecting the demonstration board . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Operation of the STEVAL-TLL005V1 demonstration board . . . . . . . . . . 8
3.1
GUI mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.1.1
3.1.2
3.1.3
3.1.4
3.1.5
Using Packet_creator.exe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Understanding the data packets in edit box . . . . . . . . . . . . . . . . . . . . . . 10
Management of flash mode, torch mode and auxiliary LED mode in the
Packet_creator GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Using Register_Controller.EXE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Handling of flash mode, torch mode and auxiliary LED mode in the
register_controller GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.2
Standalone mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.2.1
3.2.2
Configuring the switches (S1 and S2) . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Running in standalone mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
3.3
3.4
Battery charging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Programming of the STEVAL-TLL005V1 using ICC . . . . . . . . . . . . . . . . . 19
Appendix A Schematic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
3.5
STEVAL-TLL005V1 schematic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Appendix B Bill of material . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
2/24
Doc ID 14969 Rev 1
UM0582
List of figures
List of figures
Figure 1.
Figure 2.
Figure 3.
Figure 4.
Figure 5.
Figure 6.
Figure 7.
Figure 8.
Figure 9.
Figure 10.
Figure 11.
Figure 12.
Figure 13.
Figure 14.
Figure 15.
Figure 16.
Figure 17.
Figure 18.
Figure 19.
Figure 20.
Figure 21.
STEVAL-TLL005V1 power flash demonstration board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Daughterboard (available separately as STEVAL-TLL004V1) . . . . . . . . . . . . . . . . . . . . . . . 1
STEVAL-TLL005V1 power flash demonstration board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
J2 connection details for external power supply mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
J2 connection details for battery mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Power flash demonstration board connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Packet creator GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Packet creator showing the data packets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Commands showing the flash. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Slider to configure torch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Slider to configure the auxiliary LED. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Register controller Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Flash mode configuration in the register controller GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Flash operation mode selection in the register controller GUI . . . . . . . . . . . . . . . . . . . . . . 15
Torch mode configuration in the register controller GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Torch operation mode selection in the register controller GUI . . . . . . . . . . . . . . . . . . . . . . 16
Auxiliary operation mode selection in the register controller GUI . . . . . . . . . . . . . . . . . . . . 16
Auxiliary LED configuration in the register controller GUI. . . . . . . . . . . . . . . . . . . . . . . . . . 17
Error message for command number in programming the switches . . . . . . . . . . . . . . . . . 18
Battery connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Circuit schematic of the STEVAL-TLL005V1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Doc ID 14969 Rev 1
3/24
Getting started
UM0582
1
1.1
Getting started
Package contents
The STEVAL-TLL005V1 power flash demonstration board package consist of the following:
●
Hardware:
–
–
Motherboard
Daughterboard with STCF03 and power LED
User manual
●
●
Documentation:
–
GUI installation file with PC driver and PC GUI
1.2
Hardware description
Figure 3.
STEVAL-TLL005V1 power flash demonstration board
4/24
Doc ID 14969 Rev 1
UM0582
Getting started
1.2.1
On-board components
●
The major components present on the motherboard are:
–
–
–
–
–
–
–
–
–
–
–
ST72651AR6 microcontroller
M24C02-W EEPROM
STBC08 battery charger
L6920 buck converter
ST2329 voltage translator
Jumper for connecting the Li-Ion battery
Jumpers to select the power supply mode (external supply or battery supply)
Jumper to connect external power supply
Mini USB jacket for USB connection
Programmable switches S1 and S2
Reset switch SW1
STCF03 white LED driver
White LED
Red auxiliary LED
●
Major blocks present on the daughterboard are:
–
–
–
1.3
Power supply selection
The STEVAL-TLL005V1 can be powered either by a mobile Li-Ion battery (battery mode), or
an external 5 V DC power supply (external power supply mode).
Selection of the required power mode is made using jumper J2.
External power mode selection
If using an external 5 V DC power supply to power the demonstration board, perform the
following steps:
●
●
Connect the external DC power supply across header H4.
Position the jumper across pins 1-2 of J2, as shown in
Figure 4.
Doc ID 14969 Rev 1
5/24