About ST
Products
Applications
Support
Buy
News & Events
ST Worldwide
Contact Us
Login
User Manuals
|
Microcontrollers
|
8-bit Microcontrollers
|
ST7 - 8-bit Microcontrollers
Set-top box front panel evaluation board based on the STLED316S
User Manual
Format:
(667 kb)
or
(34 kb)
Last Updated: 03/01/2008
Pages: 23
Related Data Briefs
250 W electronic ballast demonstration board for metal halide lamps based on the L6562 and ST7LITE39F2
Front panel LED controller and driver evaluation board based on the STLED316S
Front panel demonstration board based on the STLED316S
Security keypad demonstration board based on ST7Lite39F2 and STM1403
Serial-Interfaced 6-Digit LED controller with key scan
Related Datasheets
8-bit MCU with single voltage Flash, data EEPROM, ADC, timers, SPI, LINSCI
Serial-interfaced 6-digit LED controller with keyscan
Raw Ascii Text
- (
Hide
)
(Unformatted textual content of the document used by search engines)
UM0460 User manual
Set-top box front panel evaluation board based on the STLED316S
Introduction
This document explains the operation of the front panel evaluation board based on the STLED316S that consists of the LED driver/controller STLED316S and microcontroller ST7LITE39F2 as SPI master. The basic idea is to develop a front panel for set-top boxes which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities of ST's LED controller/driver STLED316S to fit the market segment of front panels for HTiB (Home Theater in a Box), set-top boxes and other applications that require a compact, integrated solution, keeping the system cost as low as possible. The system can be operated using the various front panel keys provided on the system. In the sections that follow the operation of the system is explained. When the board is connected to the power supply, the system gets ready to perform any operation. At the time of manufacturing an additional board has been connected to allow in-circuit programming of the microcontroller. The two can be easily broken apart so that the front panel board can be used independently. To summarize, the key features of the evaluation board are:
8-segment, 6-digit customized LED display 8-segment bar graph LED display 7 front panel keys 2 LEDs (green for power and red for interrupt) 1 potentiometer for adjusting the brightness of the display 1 RESET switch to reset the whole system DEMO mode for making the system self-performing and user independent Embedded in-circuit programming capability
January 2008
Rev 1
1/23
www.st.com
Contents
UM0460
Contents
1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 1.2 1.3 1.4 1.5 1.6 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Package content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Hardware Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Powering on the system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Default setting of the system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Default display sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2
System features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.1 2.2 Selection of channel numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Selection of brightness of display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.2.1 2.2.2 Using front panel keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 Using the potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2.3 2.4
Selection of display pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 DEMO mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3
Using the front panel evaluation board . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.1 3.2 3.3 3.4 3.5 CH_UP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 CH_DOWN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 BRGHT+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 BRGHT- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 MENU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.5.1 3.5.2 3.5.3 3.5.4 3.5.5 Constant display - constant BAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Variable display - constant BAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Constant display - variable BAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Variable display - variable BAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 EXIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.6 3.7
DEMO mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 OK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.7.1 3.7.2 3.7.3 3.7.4 CHANNEL selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 BRIGHTNESS selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Display MODE selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 DEMO MODE selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2/23
UM0460
Contents
3.8
RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Appendix A Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Appendix B Evaluation board schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Appendix C Bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Appendix D Connecting an external microcontroller to evaluation board . . . . 22 4 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
3/23
List of figures
UM0460
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. Evaluation board (STEVAL-CBP003V1) - front view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Evaluation board (STEVAL-CBP003V1) - back view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Power supply connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Power-on condition, "St LED" displayed on LED segments . . . . . . . . . . . . . . . . . . . . . . . . . 7 Power-on condition, "316S" displayed on LED segments . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Power-on condition, "HELLO" displayed on LED segments . . . . . . . . . . . . . . . . . . . . . . . . . 8 Increased channel number displayed on LED display . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Increased channel number displayed on VFD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 BRGHT+ key press. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Brightness roll over . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 BRGHT - key press. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 First menu option - "888881" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Second menu option - "888882" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Third menu option - "888883" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Fourth menu option - "888884" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Fifth menu option - "5" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
4/23
UM0460
Getting started
1
1.1
Getting started
System requirements
The system operates in standalone mode by powering externally using a power supply adaptor with a voltage range of 8 V - 19 V and current capability of at least 500 mA.
Note:
Do not run the demo for a long period at higher input voltage (>12 V) due to excessive heating of the voltage regulator (U1). If required, attach a suitable heat sink.
1.2
Package content
The evaluation board package includes the following:
Hardware One evaluation board User manual Documentation
1.3
Hardware Installation
The evaluation board can be powered through an external power supply adaptor having two outputs (8 V - 19 V and GND). Figure 1. Evaluation board (STEVAL-CBP003V1) - front view
The major components present on the board - front view are (see Figure 1):
5/23
Getting started 1. 2. 3. 4. 5. 6. 7. 8. 9. External connector for the power supply input 6 common anode LED displays having 8 segments 1 common anode bar graph LED having 8 segments 2 status LEDs - power and IRQ 7 front panel keys LED controller/ driver ST7 microcontroller One potentiometer Voltage regulator
UM0460
10. Power diode 11. Normal diodes Figure 2. Evaluation board (STEVAL-CBP003V1) - back view
The major component present on the board - back view is (see Figure 2): 1. RESET switch
1.4
Powering on the system
This system is easy to use. As soon as the DC power supply adaptor is plugged in, the system is up and running. The power supply connections should be plugged in as shown in Figure 3. Figure 3. Power supply connections
On power-up of the system, the default display sequence is displayed with the default brightness level which is 14/16. (see Section 1.5 and 1.6).
6/23
UM0460
Getting started The default display sequence is repeated as long as any key on the front panel is not pressed.
Note:
The system is said to be stable after power-up if the default display sequence is executed at least once. As long the system is not stabilized, i.e. Default display sequence is not displayed at least once, the user should not perform any operation.
1.5
Default setting of the system
The system is programmed with following default settings: 1. 2. Brightness of LED display is set to the maximum level i.e. 14/16. Channel number is set to be the lowest value i.e. channel number 000.
1.6
Default display sequence
A default display sequence has been predefined in the system. Whenever the system is not performing any operation, the system enters the default display sequence which is explained below: 1. Firstly "St LED" appears on the LED display (see Figure 4). Power-on condition, "St LED" displayed on LED segments
Figure 4.
2.
After approximately 4-5 seconds "316S" appears on the LED display (see Figure 5). Power-on condition, "316S" displayed on LED segments
Figure 5.
7/23
Getting started 3.
UM0460 After approximately 4-5 seconds "HELLO" appears on the LED display (see Figure 6). Power-on condition, "HELLO" displayed on LED segments
Figure 6.
8/23
UM0460
System features
2
System features
The system has been developed to demonstrate the features of the STLED316S device and its use in the front panel of set-top boxes. The main features of the system are explained in this section.
2.1
Selection of channel numbers
The system has the capability to select and display the channel number of the system. The channel number can be changed by using the CH_UP and CH_DOWN keys of the front panel. The channel number can be selected using the 'OK' key of the front panel (see Section 3.1, 3.2 and 3.7).
Note:
1 2
The information of the selected channel is saved even if the power of the system is OFF. Whenever the system is powered up, the previous channel is selected. The default channel number in the system is 000.
2.2
Selection of brightness of display
The system has the capability to change the brightness of the LED display of the board. The brightness of the display can be varied and selected using two methods which are explained in the following subsections.
2.2.1
Using front panel keys
The brightness of the LED display can be set at any one level by using the 'BRGHT+', 'BRGHT-' and 'OK' keys. At any time any of the 8 brightness level options 1/16, 2/16, 4/16, 10/16, 11/16, 12/16, 13/16, 14/16 can be selected by using these keys. The brightness of the display can be varied by using the 'BRGHT+' or 'BRGHT-' key of the front panel. The brightness level of the display can be selected by using the 'OK' key of the front panel. (seeSection 3.3, 3.4 and 3.7).
2.2.2
Using the potentiometer
A resistance potentiometer (POT 10 k R8) has been provided on the board to vary the , brightness of the LED display. The brightness of the LED display can be decreased by rotating the knob of the potentiometer clockwise. The brightness of the LED display can be increased by rotating the knob of the potentiometer counterclockwise.
Note:
By using the potentiometer the brightness of the display can be set at any level irrespective of the specified brightness levels of the STLED316S.
9/23
System features
UM0460
2.3
Selection of display pattern
The system has been provided with the 4 different display pattern options. These display patterns explain the capability of the device STLED316S to control the various digits and segments independently. The 4 display pattern options are:
constant display - constant BAR variable display - constant BAR constant display - variable bar variable display - variable bar
Any of the display patterns can be selected using the 'MENU' and 'OK' keys of the front panel (see Section 3.5 and 3.7).
2.4
DEMO mode
To make the system user independent a 'DEMO' mode has been provided. The system can be put into the DEMO mode by pressing the 'DEMO' key of the front panel. In this mode all the display patterns and the welcome message are displayed in continuous loop. The system can be made to exit the DEMO mode by pressing the 'OK' key (see Section 3.6 and 3.7).
Note:
1 2
When the system is in DEMO mode, all other keys except 'OK' and 'RESET' are disabled. On the press of any key (except RESET) of the front panel board, the IRQ LED (RED) blinks once indicating that a key has been pressed.
10/23
UM0460
Using the front panel evaluation board
3
Using the front panel evaluation board
Application keys are the keys on the front panel evaluation board which allow operations to be performed. There are 4 application keys on the evaluation board.
3.1
CH_UP
On pressing the CH_UP key, the system shows the increased channel number by one value on the LED display. For example if the previous channel selected in the system was 015, then upon pressing the CH_UP key, the increased channel number CH - 016 appears on the LED display, as shown in Figure 7. Figure 7. Increased channel number displayed on LED display
On a subsequent press of the key, the channel value on the LED display increases, as shown in Figure 8. Figure 8. Increased channel number displayed on VFD
Note:
1
The channel number increases upon every press of the CH_UP key until the channel number reaches the maximum value of 100. After that, the channel number rolls over to the value 000. To save the channel selected in the system, the user must press the 'OK' key of the front panel, otherwise the channel number will not be saved in the system.
2
11/23
Using the front panel evaluation board
UM0460
3.2
CH_DOWN
The CH_DOWN is a key which can be used to decrease the channel numbers. When the key is pressed, it shows the decreased channel number by one value on the LED display, as shown in Figure 7. For example if the previous channel selected in the system was 015, then upon pressing the CH_DOWN key the decreased channel number CH - 014 appears on the LED display, as shown in Figure 6. On a subsequent press of the key, the channel value on the LED display decreases.
Note:
1
The channel number decreases at every press of the CH_DOWN key until the channel number reaches the minimum value of 000. After that the channel number rolls over to the value 100. To save the channel selected in the system, the user must press the 'OK' key of the front panel, otherwise the channel number will not be saved in the system.
2
3.3
BRGHT+
On pressing the BRGHT+ key, the brightness of the LED display reaches the next increased level and the value of the brightness level appears on the LED display. For example if the previous level of the brightness of the LED display was 11 - 16, then upon pressing the BRGHT + key, the brightness of the LED display increases and 12 - 16 appears on the LED display indicating the present brightness value of the LED display, as shown in Figure 9. Figure 9. BRGHT+ key press
On every press of the BRGHT+ key, the brightness level of the LED display increases until it reaches the maximum value of 14 - 16. If the BRGHT+ key is pressed again, then the brightness of the LED display rolls over and reaches the minimum value of 1 - 16, as shown in Figure 10.
12/23
UM0460 Figure 10. Brightness roll over
Using the front panel evaluation board
Note:
1 2
By default the brightness level is set at the maximum level (14/16). The STLED316S device supports 8 levels of brightness - 1/16, 2/16, 4/16, 10/16, 11/16, 12/16, 13/16, and 14/16. To set the brightness of the system at any particular level the user should press the 'OK' key when that level is shown on the LED display. If 'OK' is not pressed and any other key is pressed, then the brightness level of the LED display does not change.
3.4
BRGHTOn pressing the BRGHT- key, the brightness of the LED display reaches the next decreased level. The value of the brightness level appears on the LED display. For example if the previous level of brightness of the LED display was 11 - 16, then upon pressing the BRGHT - key, the brightness of the LED display decreases and 10 - 16 appears indicating the present brightness value of the LED display, as shown in Figure 11. Figure 11. BRGHT - key press
On every press of the BRGHT- key, the brightness level of the LED display decreases until it reaches the minimum value of 01 - 16. If the BRGHT- key is pressed again, then the brightness of the LED display rolls over and reaches the maximum value of 14 - 16. Note: 1 2 By default the brightness level is set at the maximum level (14/16). The STLED316S device supports 8 levels of brightness - 1/16, 2/16, 4/16, 10/16, 11/16, 12/16, 13/16, and 14/16. To set the brightness of the system at any particular level, the user should press the 'OK' key when that level is shown on the LED display. If 'OK' is not pressed and any other key is pressed, then the brightness level of the LED display does not change.
13/23
Using the front panel evaluation board
UM0460
3.5
MENU
The system has been provided with a MENU key to select one of the various display options supported by the device STLED316S. The four different display options supported by the system are explained in the following subsections.
3.5.1
Constant display - constant BAR
On pressing the MENU key once, the first MENU option is displayed. In this option all the 6digit LED displays (DIG2 - DIG7) and all the bars of the DIG1_LED have the same constant brightness level which is 14/16. On the LED display "888881" appears which indicates that the first MENU option is displayed as shown in Figure 12. Figure 12. First menu option - "888881"
To select this display option for the system, the 'OK' key should be pressed.
3.5.2
Variable display - constant BAR
On pressing the MENU key twice, the second MENU option is displayed. In this option all the 6-digit LED displays have different brightness levels and the different bars of the DIG1_LED have the same constant brightness level which is 14/16. Digit LED displays (DIG2 - DIG7) have different brightness levels 1/16, 13/16, 2/16, 11/16, 4/16 and 1/6 respectively. On the LED display "888882" appears which indicates that the second MENU option is displayed as shown in Figure 13. Figure 13. Second menu option - "888882"
To select this display option for the system, the 'OK' key should be pressed.
14/23
UM0460
Using the front panel evaluation board
3.5.3
Constant display - variable BAR
On pressing the MENU key three times, the third MENU option is displayed. In this option all 6-digit LED displays have the same brightness level which is 14/16 and the different bars of the DIG1_LED have different brightness levels. The 10 different bars of the LED1_DIGIT have different brightness levels 1/16, 1/16, 2/16, 4/16, 4/16, 10/16, 11/16, 12/16, 13/16 and 14/6 respectively starting from top to bottom. On the LED display "888883" appears which indicates that the third MENU option is displayed as shown in Figure 14. Figure 14. Third menu option - "888883"
To select this display option for the system, the 'OK' key should be pressed.
3.5.4
Variable display - variable BAR
On pressing the MENU key four times, the fourth MENU option is displayed. In this option all 6-digit LED displays and the different bars of the DIG1_LED have different brightness levels. Digit LED displays (DIG2 - DIG7) have different brightness levels 1/16, 13/16, 2/16, 11/16, 4/16 and 1/6 respectively. The 10 different bars of the LED1_DIGIT have different brightness levels 1/16, 1/16, 2/16, 4/16, 4/16, 10/16, 11/16, 12/16, 13/16 and 14/6 respectively starting from top to bottom. On the LED display "888884" appears which indicates that the fourth MENU option is displayed as shown in Figure 15. Figure 15. Fourth menu option - "888884"
To select this display option for the system, the 'OK' key should be pressed.
15/23
Using the front panel evaluation board
UM0460
3.5.5
EXIT
On pressing the MENU key five times, the fifth option (Exit option) is displayed. In this option only one LED digit is glowing, indicating option 5 as shown in Figure 16. Figure 16. Fifth menu option - "5"
To exit from the MENU mode of the system, the 'OK' key should be pressed. The system exits with the default display pattern and with the selected brightness level. The default display sequence appears on the LED display. Note: After the fifth MENU option, if the MENU key is pressed again, the system rolls over to the MENU option one.
3.6
DEMO mode
To show the various display options of the system and, in turn, of the device STLED316S, a DEMO mode key has been provided on the evaluation board. On pressing the DEMO key, the system enters into a predefined display sequence as explained below:
MENU option one (see Figure 12) Delay MENU option two (see Figure 13) Delay MENU option three (see Figure 14) Delay MENU option four (see Figure 15) Delay Default display sequence in the selected MENU option / brightness level
The system remains in the above sequence until the 'OK' key is pressed. The system exits the DEMO mode only when the 'OK' key is pressed. Note: All keys other than 'OK' and RESET' are disabled when the system is in DEMO mode.
3.7
OK
'OK' is a special key on the board which is used to select the various functions and settings of the display. On pressing the 'OK' key, the action performed depends on the previous key pressed which is described in detail in the following subsections.
16/23
UM0460
Using the front panel evaluation board
3.7.1
CHANNEL selection
If the previous key pressed is CH_UP or CH_DOWN, then on pressing the 'OK' key, the displayed channel number on the LED display is selected in the system. The channel number blinks three times indicating the selection of the channel number as shown in Figure 7. After selection of the channel number the system enters into the default display sequence.
Note:
1 2
'OK' must be pressed to select the channel number in the system. After pressing the 'OK' key the channel number is stored in the system and on the next power-up of the system, the same channel number is selected.
3.7.2
BRIGHTNESS selection
If the previous key pressed is 'BRGHT +' or 'BRGHT -' then on pressing the 'OK' key, the displayed brightness level on the LED display is selected for the system. After selection of the brightness level, the system enters into the default display sequence.
Note:
1 2
'OK' must be pressed to select the brightness level of the display of the system. After pressing the 'OK' key, the brightness level of the display is stored in the system and on the next power-up, the system wakes up with the same brightness level of the display.
3.7.3
Display MODE selection
If the previous key pressed is 'MENU' then on pressing the 'OK' key, the pattern on the LED display is selected for the system. The system remains in the same display pattern until some other pattern or brightness level is selected or the system is powered up again.
Note:
1 2
'OK' must be pressed to select the display pattern of the system. On every power-up, the system wakes up with the default display pattern (constant display constant BAR) and with the last selected brightness level.
3.7.4
DEMO MODE selection
When the DEMO key is pressed, the system enters the DEMO mode. The system can exit the DEMO mode only by pressing the 'OK' key. On pressing the 'OK' key the system exits the DEMO mode and enters into the default display sequence.
Note:
1 2
All keys except the 'OK' and 'RESET' key are disabled in the DEMO mode. No action is performed if the 'OK" key is pressed when the system is in default display sequence.
3.8
RESET
A 'RESET' switch is provided on the back side of the evaluation board. On pressing the 'RESET" switch all the ongoing functions are interrupted and the system starts from the initial status. The system behaves as if it has been powered up again.
17/23
Abbreviations
UM0460
Appendix A
Table 1.
Abbreviations
Abbreviations
No. 1. 2. 3. Acronym LED ICC GND Definition Light emitting diode In-circuit communication Ground
18/23
UM0460
VCC5.0V VCC5.0V STPS1L30A D1 3 2 1 C4 .33uF CLK IRQ_N KEY1 DIG1_LED 3 Vout GND Vin C1 100nF 2 VCC5.0V C3 100nF 10uF 16V IRQ_N R1 330 CLK STB ICCDATA ICCCLK VDD DIN/DOUT R2 330 VCC5.0V J3 D3 PW R CON10A ICCDATA ICCCLK RESET 1 3 5 7 9 2 4 6 8 10 R3 10k 2 U2 ST7FLITE39F2M6_SO_20 C2 1 DIN/DOU1 T STB 3 KEY2 5 GND 7 2 4 6 8 U1 L78M05CV_TO_220 J2 Adaptor Jack J1
Appendix B
8V to 15V
IC_TEST_PIN
D2 IRQ
18 17 16 15 14 13 12 11 PA0(HS)/LTIC PA1(HS)/ATIC PA2(HS)/ATPWM0 PA3(HS)/ATPWM1 PA4(HS)/ATPWM2 PA5(HS)/ATPWM3/ICCDATA PA6/MCO/ICCCLK/BREAK PA7(HS)/TDO OSC1/CLKIN OS C2 RESET VSS 20 19
RESET 3 1 C5 10nF
Figure 17. Schematic
PB0/SS/AIN0 PB1/SCK/AIN1 PB2/MISO/AIN2 PB3/MOSI/AIN3 PB4/CLKIN/AIN4 PB5/AIN5 PB6/AIN6/RDI
4 5 6 7 8 9 10
RESET
MCU_SECTION
BRGHTR4 10k U3 STLED316S_SO_24 BRGHT+ KEY1 KEY2 VCC5.0V R6 2.2k DIN/DOUT SEG1/KS1 SEG2/KS2 SEG3/KS3 SEG4/KS4 SEG5/KS5 SEG6/KS6 SEG7/KS7 SEG8/KS8 13 SEG8DP/KS8 14 SEG7G/KS7 15 SEG6F/KS6 16 SEG5E/KS5 18 SEG4D/KS4 D7 19 SEG3C/KS3 D6 20 SEG2B/KS2 D5 21 SEG1A/KS1 D4 1 DIN/DOUT 23 22 KEY1 KEY2 CH_UP MENU R5 10k CH_DW N OK DEMO
VOLTAGE_REG.
ICC_CON
STLED316S_SECTION
VCC5.0V CLK STB IRQ_N 2 3 4 CLK STB IRQ_N VCC GND ISET 9 C7 17 R8 24 R9 0 to 10k 360 C6 100nF 33uF 25V R7 10k
DIG1_LED 5 DIG2 6 DIG3 7 DIG4 8 DIG5 10 DIG6 11 DIG7 12 DIG1_LED DIG2 DIG3 DIG4 DIG5 DIG6 DIG7
Evaluation board schematic
Note : 1. U4 is led bar graph. 2. U5 to U10 are seven segment displays.
DISPLAY_SECTION
SEG7G/KS7 SEG6F/KS6 SEG1A/KS1 SEG2B/KS2 SEG8DP/KS8 SEG7G/KS7 SEG6F/KS6 SEG5E/KS5 SEG4D/KS4 10 9 8 7 6 10 9 8 7 6 S E GG S E GF CA2 S E GA S E GB S E GG S E GF CA2 S E GA S E GB SEG3C/KS3 SEG2B/KS2 SEG1A/KS1 U4 DIG1_LED
10 9 8 7 6
10 9 8 7 6
10 9 8 7 6
S E GG S E GF CA2 S E GA S E GB
S E GG S E GF CA2 S E GA S E GB
S E GG S E GF CA2 S E GA S E GB
S E GG S E GF CA2 S E GA S E GB
10 9 8 7 6
11 12 13 14 15 16 17 18 19 20
seg10 A10 seg9 A9 seg8 A8 seg7 A7 seg6 A6 seg5 A5 seg4 A4 seg3 A3 seg2 A2 seg1 A1
10 9 8 7 6 5 4 3 2 1
DIG1_LED
1 SEGE 2 SEGD 3 CA 4 SEGC 5 SEGDP
1 SEGE 2 SEGD 3 CA 4 SEGC 5 SEGDP
1 SEGE 2 SEGD 3 CA 4 SEGC 5 SEGDP
1 SEGE 2 SEGD 3 CA 4 SEGC 5 SEGDP
1 SEGE 2 SEGD 3 CA 4 SEGC 5 SEGDP
1 SEGE 2 SEGD 3 CA 4 SEGC 5 SEGDP
DIG2 U5
DIG3 U6
DIG4 U7
DIG5 U8
DIG6 U9
DIG7 U10
MH4 1
MH3 1
MH2 1
MH1 1
BREAK 1 DIG6 DIG5 DIG7
DIG2
DIG3
DIG4
LOGO1 Title SEG5E/KS5 SEG4D/KS4 SEG3C/KS3 SEG8DP/KS8
STLED316S DEMONSTRATOR WITH MICRO
Size Date: Document Number Tuesday, September 25, 2007 Sheet 1 of
67
1 Rev 1
1
Evaluation board schematic
19/23
Bill of materials
UM0460
Appendix C
Table 2. BOM
Bill of materials
Designator Qty
Reference
Value / generic part number STLED316S MTR ST7FLITE39 F2M6 L78M05CV STPS1L30A 1N5817
Package
Manufacturer/ supplier
Manufacturer's /supplier's ordering code / orderable part number STLED316SMTR
U3 U2 U1 D1 D4, D5, D6, D7 DIG2, DIG3, DIG4, DIG5, DIG6, DIG7 DIG1_LED SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 D2 D3 J2
1 1 1 1 4
STLED316S LED controller Microcontroller Voltage Regulator Power diode Diode
SO - 24 SO 20
STMicroelectronics
STMicroelectronics ST7FLITE39F2M6 L78M05CV STPS1L30A 1N5817
TO 220 (A type) STMicroelectronics SMA DO41 STMicroelectronics STMicroelectronics
6
7-segment LED display (common anode) 10-segment bar graph LED Push-button Switches Push-button Switches Push-button Switches Push-button Switches Push-button Switches Push-button Switches Push-button Switches Push-button Switches LED (red) - 3 mm LED (green)- 3 mm Power Jack
HDSP - 5501
Through hole 14.2 mm
Agilent Technologies
HDSP - 5501 OR equivalent
1 1 1 1 1 1 1 1 1 1 1 1
HDSP - 4830
Through hole 4-leg throughhole (push-4) 4-leg throughhole (push-4) 4-leg throughhole (push-4) 4-leg throughhole (push-4) 4-leg throughhole (push-4) 4-leg throughhole (push-4) 4-leg throughhole (push-4) 4-leg throughhole (push-4) Through-hole Through-hole Through-hole
Hewlett Packard Farnell Farnell Farnell Farnell Farnell Farnell Farnell Farnell Farnell Farnell Any
HDSP - 4830 OR equivalent 535-916 535-916 535-916 535-916 535-916 535-916 535-916 535-916 322-570 322-544
20/23
UM0460 Table 2. BOM (continued)
Value / generic part number
Bill of materials
Designator Qty
Reference
Package
Manufacturer/ supplier
Manufacturer's /supplier's ordering code / orderable part number
J1 J3 R3, R4, R5, R7 R1. R2 R6 R9 R8 C1,C3,C6 C5 C7 C2 C4
1 1 4 2 1 1 1 3 1 1 1 1
Signal and power headers ICC connector Resistor10 k Resistor330 Resistor-2.2 k Resistor 470 Resistor potentiometer 0 10 k Capacitor-100 nF Capacitor-10 nF Capacitor-33 F/ 25 V (Cylindrical) Capacitor-10 F/ 16 V Capacitor-330 nF 3296W-1203LF
SIP-8 (berg strip) Header 5x2/ IDC-10B 0805 0805 0805 0805 Through-hole PCB mount 0805 0805 Cylindrical Tantalum 0805
Local Farnell Any Any Any Any Bourns / Farnell Any Any Any Any Any 935 - 3240 1106782
21/23
Connecting an external microcontroller to evaluation board
UM0460
Appendix D
Connecting an external microcontroller to evaluation board
A jumper JI has been provided on the board for probing the important signals of the board (see Appendix B). This jumper can be used to connect an external microcontroller with the evaluation board. Follow the steps below to connect an external microcontroller with the evaluation board: 1. 2. Remove (desolder) the microcontroller ST7FLITE39F2 (U2) from the board. Connect pin number 1 (DIN/DOUT) of jumper J1 to pin DIN/DOUT of the external microcontroller from which data and commands will be sent to the device STLED316S (U3). Connect pin number 2 (CLK) of jumper J1 to pin CLK of the external microcontroller from which the clock signal will be sent the device STLED316S (U3). Connect pin number 3 (STB) of jumper J1 to pin STB of the external microcontroller from which the control signal (STROBE) will be sent the device STLED316S (U3). Connect pin number 4 (IRQ_N) of jumper J1 to pin IRQ_N of the external microcontroller which is configured as interrupt input and will receive the interrupt signals coming from the device STLED316S (U3). Connect pin number 7 (GND) of jumper J1 to the GND pin of the external microcontroller to make a common ground level (reference) for the whole system.
3. 4. 5.
6. Note: 1 2 3 4
The pins of the external microcontroller should have been configured properly as being mentioned in the datasheet of the device STLED316S. The operation of the board will depend on the software loaded in the memory of the external microcontroller. The setup will not be able to have ICC communication with the external microcontroller using the jumper J3. The RESET switch of the board does not work when the external microcontroller is used.
4
Revision history
Table 3.
Date 03-Jan-2008
Document revision history
Revision 1 Initial release Changes
22/23
UM0460
Please Read Carefully:
Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST's terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
UNLESS OTHERWISE SET FORTH IN ST'S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZED ST REPRESENTATIVE, ST PRODUCTS ARE NOT RECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. ST PRODUCTS WHICH ARE NOT SPECIFIED AS "AUTOMOTIVE GRADE" MAY ONLY BE USED IN AUTOMOTIVE APPLICATIONS AT USER'S OWN RISK.
Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST.
ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners.
2008 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com
23/23
Document Number: 13885