um0460 user manual - stmicroelectronics€¦ · which is very close to the available solutions on...

23
January 2008 Rev 1 1/23 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 www.st.com

Upload: others

Post on 17-Aug-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

January 2008 Rev 1 1/23

UM0460User manual

Set-top box front panel evaluation board based onthe STLED316S

IntroductionThis 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

www.st.com

Page 2: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

Contents UM0460

2/23

Contents

1 Getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1.1 System requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1.2 Package content . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1.3 Hardware Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1.4 Powering on the system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

1.5 Default setting of the system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

1.6 Default display sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

2 System features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.1 Selection of channel numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.2 Selection of brightness of display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.2.1 Using front panel keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.2.2 Using the potentiometer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2.3 Selection of display pattern . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

2.4 DEMO mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

3 Using the front panel evaluation board . . . . . . . . . . . . . . . . . . . . . . . . . 11

3.1 CH_UP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

3.2 CH_DOWN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

3.3 BRGHT+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

3.4 BRGHT- . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

3.5 MENU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

3.5.1 Constant display - constant BAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

3.5.2 Variable display - constant BAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

3.5.3 Constant display - variable BAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

3.5.4 Variable display - variable BAR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

3.5.5 EXIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

3.6 DEMO mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

3.7 OK . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

3.7.1 CHANNEL selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

3.7.2 BRIGHTNESS selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

3.7.3 Display MODE selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

3.7.4 DEMO MODE selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Page 3: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460 Contents

3/23

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

Page 4: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

List of figures UM0460

4/23

List of figures

Figure 1. Evaluation board (STEVAL-CBP003V1) - front view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Figure 2. Evaluation board (STEVAL-CBP003V1) - back view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Figure 3. Power supply connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Figure 4. Power-on condition, "St LED" displayed on LED segments . . . . . . . . . . . . . . . . . . . . . . . . . 7Figure 5. Power-on condition, "316S" displayed on LED segments . . . . . . . . . . . . . . . . . . . . . . . . . . 7Figure 6. Power-on condition, "HELLO" displayed on LED segments . . . . . . . . . . . . . . . . . . . . . . . . . 8Figure 7. Increased channel number displayed on LED display . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Figure 8. Increased channel number displayed on VFD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Figure 9. BRGHT+ key press. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Figure 10. Brightness roll over . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 11. BRGHT - key press. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 12. First menu option - "888881" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Figure 13. Second menu option - "888882" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Figure 14. Third menu option - "888883" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Figure 15. Fourth menu option - "888884" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Figure 16. Fifth menu option - "5" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Figure 17. Schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

Page 5: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460 Getting started

5/23

1 Getting started

1.1 System requirementsThe 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 contentThe evaluation board package includes the following:

Hardware

– One evaluation board

Documentation

– User manual

1.3 Hardware InstallationThe 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):

Page 6: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

Getting started UM0460

6/23

1. External connector for the power supply input

2. 6 common anode LED displays having 8 segments

3. 1 common anode bar graph LED having 8 segments

4. 2 status LEDs - power and IRQ

5. 7 front panel keys

6. LED controller/ driver

7. ST7 microcontroller

8. One potentiometer

9. Voltage regulator

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 systemThis 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).

Page 7: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460 Getting started

7/23

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 systemThe system is programmed with following default settings:

1. Brightness of LED display is set to the maximum level i.e. 14/16.

2. Channel number is set to be the lowest value i.e. channel number 000.

1.6 Default display sequenceA 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).

Figure 4. Power-on condition, "St LED" displayed on LED segments

2. After approximately 4-5 seconds "316S" appears on the LED display (see Figure 5).

Figure 5. Power-on condition, "316S" displayed on LED segments

Page 8: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

Getting started UM0460

8/23

3. After approximately 4-5 seconds "HELLO" appears on the LED display (see Figure 6).

Figure 6. Power-on condition, "HELLO" displayed on LED segments

Page 9: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460 System features

9/23

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 numbersThe 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 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.

2 The default channel number in the system is 000.

2.2 Selection of brightness of displayThe 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.

Page 10: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

System features UM0460

10/23

2.3 Selection of display patternThe 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 modeTo 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 When the system is in DEMO mode, all other keys except 'OK' and 'RESET' are disabled.

2 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.

Page 11: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460 Using the front panel evaluation board

11/23

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_UPOn 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.

2 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.

Page 12: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

Using the front panel evaluation board UM0460

12/23

3.2 CH_DOWNThe 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.

2 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.

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.

Page 13: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460 Using the front panel evaluation board

13/23

Figure 10. Brightness roll over

Note: 1 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.

2 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 BRGHT-On 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 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.

2 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.

Page 14: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

Using the front panel evaluation board UM0460

14/23

3.5 MENUThe 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 6-digit 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.

Page 15: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460 Using the front panel evaluation board

15/23

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.

Page 16: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

Using the front panel evaluation board UM0460

16/23

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 modeTo 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.

Page 17: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460 Using the front panel evaluation board

17/23

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 'OK' must be pressed to select the channel number in the system.

2 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 'OK' must be pressed to select the brightness level of the display of the system.

2 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 'OK' must be pressed to select the display pattern of the system.

2 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 All keys except the 'OK' and 'RESET' key are disabled in the DEMO mode.

2 No action is performed if the 'OK" key is pressed when the system is in default display sequence.

3.8 RESETA '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.

Page 18: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

Abbreviations UM0460

18/23

Appendix A Abbreviations

Table 1. Abbreviations

No. Acronym Definition

1. LED Light emitting diode

2. ICC In-circuit communication

3. GND Ground

Page 19: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460 Evaluation board schematic

19/23

Appendix B Evaluation board schematic

Figure 17. Schematic

DIG

1_

LE

DD

IG2

DIG

3D

IG4

DIG

5D

IG6

DIG

7

IRQ

_N

CL

K

SE

G7

G/K

S7

SE

G6

F/K

S6

SE

G5

E/K

S5

SE

G4

D/K

S4

SE

G3

C/K

S3

SE

G2

B/K

S2

SE

G1

A/K

S1

DIN

/DO

UT

ST

B

KE

Y1

DIG

1_

LE

D

SE

G8

DP

/KS

8

KE

Y2

CL

K

RE

SE

T

DIN

/DO

UT

IRQ

_N

ST

BIC

CD

AT

AIC

CC

LK

DIG2

DIG4

DIG5

DIG6

DIG7

DIG3

SE

G8

DP

/KS

8

SE

G7

G/K

S7

SE

G6

F/K

S6

SE

G5

E/K

S5

SE

G4

D/K

S4

SE

G3

C/K

S3

SE

G2

B/K

S2

SE

G1

A/K

S1

SE

G8

DP

/KS

8

SE

G5

E/K

S5

SE

G4

D/K

S4

SE

G3

C/K

S3

SE

G7

G/K

S7

SE

G6

F/K

S6

SE

G2

B/K

S2

SE

G1

A/K

S1

ICC

DA

TA

RE

SE

TIC

CC

LK

DIN

/DO

UT

CL

KS

TB

IRQ

_N

KE

Y2

KE

Y1

DIG

1_

LE

DG

ND

VC

C5

.0V

VC

C5

.0V

VC

C5

.0V

VC

C5

.0V

VC

C5

.0V

VC

C5

.0V

Titl

e

Siz

eD

ocu

men

t N

um

ber

Rev

Date

:S

heet

of

ST

LE

D316S

DE

MO

NS

TR

AT

OR

WIT

H M

ICR

O

11

Tu

esd

ay,

Sep

tem

ber

25

, 2

00

7

Titl

e

Siz

eD

ocu

men

t N

um

ber

Rev

Date

:S

heet

of

ST

LE

D316S

DE

MO

NS

TR

AT

OR

WIT

H M

ICR

O

11

Tu

esd

ay,

Sep

tem

ber

25

, 2

00

7

Titl

e

Siz

eD

ocu

men

t N

um

ber

Rev

Date

:S

heet

of

ST

LE

D316S

DE

MO

NS

TR

AT

OR

WIT

H M

ICR

O

11

Tu

esd

ay,

Sep

tem

ber

25

, 2

00

7

STLED316S_SECTION

DISPLAY_SECTION

2. U5 to U10 are seven segment displays.

Note : 1. U4 is led bar graph.MCU_SECTION

VOLTAGE_REG.

IC_TEST_PIN

ICC_CON

8V

to 1

5V

MH

4M

H4

1

U9

DIG

6U

9D

IG6

SEGF9

SEGG10

2SEGD

1SEGE

3CA

SEGB6

SEGA7

CA28

4SEGC

5SEGDP

DE

MO

DE

MO

U2

ST

7F

LIT

E3

9F

2M

6_

SO

_2

0U

2S

T7

FL

ITE

39

F2

M6

_S

O_

20

PA

0(H

S)/

LT

IC18

PA

1(H

S)/

AT

IC17

PA

2(H

S)/

AT

PW

M0

16

PA

3(H

S)/

AT

PW

M1

15

PA

4(H

S)/

AT

PW

M2

14

PA

5(H

S)/

AT

PW

M3/I

CC

DA

TA

13

PA

6/M

CO

/IC

CC

LK

/BR

EA

K12

PA

7(H

S)/

TD

O11

RE

SE

T3

VD

D2

VS

S1

OS

C1/C

LK

IN20

OS

C2

19

PB

0/S

S/A

IN0

4

PB

1/S

CK

/AIN

15

PB

2/M

ISO

/AIN

26

PB

3/M

OS

I/A

IN3

7

PB

4/C

LK

IN/A

IN4

8

PB

5/A

IN5

9

PB

6/A

IN6/R

DI

10

R5

10

kR

51

0k

BR

GH

T+

BR

GH

T+

D1

ST

PS

1L

30

AD

1S

TP

S1

L3

0A

U7

DIG

4U

7D

IG4

SEGF9

SEGG10

2SEGD

1SEGE

3CA

SEGB6

SEGA7

CA28

4SEGC

5SEGDP

U5

DIG

2U

5D

IG2

SEGF9

SEGG10

2SEGD

1SEGE

3CA

SEGB6

SEGA7

CA28

4SEGC

5SEGDP

U6

DIG

3U

6D

IG3

SEGF9

SEGG10

2SEGD

1SEGE

3CA

SEGB6

SEGA7

CA28

4SEGC

5SEGDP

R8

0 to

10

kR

80

to

10

k

R9

36

0

R9

36

0

R4

10

kR

41

0k

MH

1M

H1 1

R7

10

kR

71

0k

C2 10uF 16V

C2 10uF 16V

U4

DIG

1_

LE

DU

4D

IG1

_L

ED

A1

1

A10

10

seg10

11

seg9

12

seg8

13

seg7

14

seg6

15

seg5

16

seg4

17

seg3

18

seg2

19

seg1

20

A2

2A

33

A4

4A

55

A6

6A

77

A8

8A

99

R2

33

0R

23

30

R3 10kR3 10k

U1

L7

8M

05

CV

_T

O_

22

0U

1L

78

M0

5C

V_

TO

_2

20

Vin

1

GND2

Vout

3

BR

EA

KB

RE

AK

1

BR

GH

T-

BR

GH

T-

C1 100nF

C1 100nF

D5

D5

J2

Ad

ap

tor

Jack

J2

Ad

ap

tor

Jack

3 12

U8

DIG

5U

8D

IG5

SEGF9

SEGG10

2SEGD

1SEGE

3CA

SEGB6

SEGA7

CA28

4SEGC

5SEGDP

D6

D6

D7

D7

R1 330

R1 330

D2

IRQ

D2

IRQ

U3

ST

LE

D3

16

S_

SO

_2

4U

3S

TL

ED

31

6S

_S

O_

24

DIN

/DO

UT

1

CLK

2

ST

B3

IRQ

_N

4

DIG

510

DIG

611

DIG

712

SE

G8/K

S8

13

SE

G7/K

S7

14

SE

G6/K

S6

15

GN

D17

SE

G2/K

S2

20

KE

Y2

22

KE

Y1

23

ISE

T24

DIG

26

DIG

37

SE

G4/K

S4

18

SE

G3/K

S3

19

DIG

1_LE

D5

DIG

48

SE

G5/K

S5

16

SE

G1/K

S1

21

VC

C9

RE

SE

TR

ES

ET

OK

OK

MH

3M

H3

1

D4

D4

CH

_U

PC

H_

UP

C7 33uF 25V

C7 33uF 25V

ME

NU

ME

NU

J3

CO

N1

0A

J3

CO

N1

0A

12

34

56

78

910

C5

10

nF

C5

10

nF

R6

2.2

kR

62

.2k

C3

10

0n

FC

31

00

nF

MH

2M

H2 1

C4

.33

uF

C4

.33

uF

C6 100nF

C6 100nF

LO

GO

1

LO

GO

1

11

U1

0D

IG7

U1

0D

IG7

SEGF9

SEGG10

2SEGD

1SEGE

3CA

SEGB6

SEGA7

CA28

4SEGC

5SEGDP

D3

PW

RD

3P

WR

J1

J1

12

34

56

78

CH

_D

WN

CH

_D

WN

Page 20: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

Bill of materials UM0460

20/23

Appendix C Bill of materials

Table 2. BOM

Designator Qty ReferenceValue /

generic part number

PackageManufacturer/

supplier

Manufacturer’s /supplier’s

ordering code / orderable part

number

U3 1STLED316S LED

controllerSTLED316S

MTRSO - 24 STMicroelectronics STLED316SMTR

U2 1 MicrocontrollerST7FLITE39

F2M6SO – 20 STMicroelectronics ST7FLITE39F2M6

U1 1 Voltage Regulator L78M05CV TO – 220 (A type) STMicroelectronics L78M05CV

D1 1 Power diode STPS1L30A SMA STMicroelectronics STPS1L30A

D4, D5, D6, D7

4 Diode 1N5817 DO41 STMicroelectronics 1N5817

DIG2, DIG3, DIG4, DIG5,

DIG6, DIG7

67-segment LED

display (common anode)

HDSP - 5501Through hole –

14.2 mmAgilent

TechnologiesHDSP - 5501

OR equivalent

DIG1_LED 110-segment bar

graph LEDHDSP - 4830 Through hole Hewlett Packard

HDSP - 4830

OR equivalent

SW1 1Push-button

Switches4-leg through-hole (push-4)

Farnell 535-916

SW2 1Push-button

Switches4-leg through-hole (push-4)

Farnell 535-916

SW3 1Push-button

Switches4-leg through-hole (push-4)

Farnell 535-916

SW4 1Push-button

Switches4-leg through-hole (push-4)

Farnell 535-916

SW5 1Push-button

Switches4-leg through-hole (push-4)

Farnell 535-916

SW6 1Push-button

Switches4-leg through-hole (push-4)

Farnell 535-916

SW7 1Push-button

Switches4-leg through-hole (push-4)

Farnell 535-916

SW8 1Push-button

Switches4-leg through-hole (push-4)

Farnell 535-916

D2 1 LED (red) - 3 mm Through-hole Farnell 322-570

D3 1 LED (green)- 3 mm Through-hole Farnell 322-544

J2 1 Power Jack Through-hole Any

Page 21: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460 Bill of materials

21/23

J1 1Signal and power

headersSIP-8 (berg strip) Local

J3 1 ICC connectorHeader 5x2/

IDC-10BFarnell 1106782

R3, R4, R5,

R74 Resistor–10 kΩ 0805 Any

R1. R2 2 Resistor–330 Ω 0805 Any

R6 1 Resistor-2.2 kΩ 0805 Any

R9 1 Resistor– 470 Ω 0805 Any

R8 1Resistor

potentiometer 0 – 10 kΩ

3296W-1-203LF

Through-hole PCB mount

Bourns /

Farnell935 - 3240

C1,C3,C6 3 Capacitor-100 nF 0805 Any

C5 1 Capacitor-10 nF 0805 Any

C7 1Capacitor-33 µF/ 25 V (Cylindrical)

Cylindrical Any

C2 1Capacitor-10 µF/

16 VTantalum Any

C4 1 Capacitor-330 nF 0805 Any

Table 2. BOM (continued)

Designator Qty ReferenceValue /

generic part number

PackageManufacturer/

supplier

Manufacturer’s /supplier’s

ordering code / orderable part

number

Page 22: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

Connecting an external microcontroller to evaluation board UM0460

22/23

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. Remove (desolder) the microcontroller ST7FLITE39F2 (U2) from the board.

2. 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).

3. 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).

4. 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).

5. 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).

6. 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.

Note: 1 The pins of the external microcontroller should have been configured properly as being mentioned in the datasheet of the device STLED316S.

2 The operation of the board will depend on the software loaded in the memory of the external microcontroller.

3 The setup will not be able to have ICC communication with the external microcontroller using the jumper J3.

4 The RESET switch of the board does not work when the external microcontroller is used.

4 Revision history

Table 3. Document revision history

Date Revision Changes

03-Jan-2008 1 Initial release

Page 23: UM0460 User manual - STMicroelectronics€¦ · which is very close to the available solutions on the market. The objective of this evaluation board is to display the capabilities

UM0460

23/23

Please Read Carefully:

Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries (“ST”) reserve theright to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at anytime, 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 noliability 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 thisdocument 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 productsor services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of suchthird 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 IMPLIEDWARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIEDWARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWSOF 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 NOTRECOMMENDED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAININGAPPLICATIONS, 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 "AUTOMOTIVEGRADE" 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 voidany warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, anyliability 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