user manual - um2377 - getting started with the led matrix evaluation board … · 2018. 5. 4. ·...
TRANSCRIPT
IntroductionThe STP16CPC26 low voltage 16-bit constant current LED sink driver on the STEVAL-LLL005V1 evaluation board ensures acost effective 6x10 LED matrix with individual LED control.
The LED driver evaluation board includes a jumper to select between powering the board through a standard DC jack input or aUSB Type-C connector, as well as two control switches.
An Android app is also available for enhanced user experience and control.
The SPBTLE-RF very low power module for Bluetooth Smart v4.1 allows communication with the board via your smartphone.
The STM32F030 mainstream ARM Cortex-M0 Value line MCU with 64 Kbytes of Flash, 48 MHz CPU manages driving andtransmission of data over BLE.
Figure 1. STEVAL-LLL005V1 LED matrix evaluation board
Getting started with the LED matrix evaluation board with constant current LED sink driver using Bluetooth Low Energy and Android app
UM2377
User manual
UM2377 - Rev 1 - May 2018For further information contact your local STMicroelectronics sales office.
www.st.com
1 LED matrix evaluation board overview
1.1 Features• Cost effective 16-bit LED driving scheme• Driver for 6x10 LED matrix with individual LED control and row-wise scanning• USB Type-C and DC jack connector for DC input power• Bluetooth Smart connectivity and Android application for hassle free demonstration• Connector for stacking multiple LED drivers in daisy chain configuration• Preconfigured demos (selected through on-board switches):
– with brightness control– with speed control– with blink rate (flashing) control
1.2 Hardware components
Figure 2. STEVAL-LLL005V1 board components
The main evaluation board components are listed below:1. Input DC jack connector2. USB Type-C input connector3. SPBTLE-RF Bluetooth Smart v4.1 module4. STM32F030 MCU5. L7981 switching regulator6. LKD220 low quiescent current and low noise LDO7. STP16CPC26 Low voltage 16-bit constant current LED sink driver8. STR1P2UH7 P-channel Power MOSFET9. Programming connector10. LED matrix11. Connector for stacking additional LED driver matrices
1.3 ArchitectureThe 6x10 LED matrix on the STEVAL-LLL005V1 evaluation board is controlled through the STP16CPC26 lowvoltage 16-bit constant current LED sink driver.
UM2377LED matrix evaluation board overview
UM2377 - Rev 1 page 2/20
Figure 3. 6x10 LED matrix control scheme
Individual LED control is achieved through specific row and column selection, and frame data is transferredbetween the MCU and LED driver via the SPI.
UM2377Architecture
UM2377 - Rev 1 page 3/20
2 LED matrix evaluation board operation
2.1 Configure input power sourceYou can power the evaluation board in one of the following ways:1. standard DC jack input (5V - 20V) – place jumper J3 on “JACK”2. USB Type-C input (of appropriate power rating) – place jumper J3 on “USB”
2.2 Board power upOn power up, the STEVAL-LLL005V1 runs a default demonstration sequence. Use the following procedure toselect from 6 demos, 10 scrolling speed levels, 10 brightness levels and 10 blinking frequencies.
Figure 4. Figure 4: STEVAL-LLL005V1 parameter and option selection
Step 1. Power on or reset the board.Step 2. Press the SW1 button once.Step 3. Select one of the following parameters and corresponding option, or level:
– Press the SW2 button once for pattern selection.– a. Press the SW1 button to scroll through and select a pattern.
b. Press SW2 to confirm the option.The number ‘0’ is displayed briefly before the desired option is activated.
– Press the SW2 button twice for speed selection.a. Press the SW1 button to scroll through and select a speed.
UM2377LED matrix evaluation board operation
UM2377 - Rev 1 page 4/20
b. Press SW2 to confirm the option.The number ‘0’ is displayed briefly before the desired option is activated.
– Press the SW2 button three times for brightness selection.a. Press the SW1 button to scroll through and select a brightness level.b. Press SW2 to confirm the option.The number ‘0’ is displayed briefly before the desired option is activated.
– Press the SW2 button four times for frequency selection.a. Press the SW1 button to scroll through and select a blink frequency.b. Press SW2 to confirm the option.The number ‘0’ is displayed briefly before the desired option is activated.
UM2377Board power up
UM2377 - Rev 1 page 5/20
3 Led Drawer Android application
You can also control the LEDs with an Android app through Bluetooth Smart.
Step 1. Ensure Bluetooth is enabled on your Android deviceStep 2. Run the Led Drawer app
Figure 5. Led Drawer app home screen
Step 3. Click the search buttonThe STEVAL-LLL005V1 evaluation board should appear in the list of available boards.
UM2377Led Drawer Android application
UM2377 - Rev 1 page 6/20
Figure 6. List of available boards
Step 4. Select the STEVAL-LLL005V1 board.A window appears with default values.
UM2377Led Drawer Android application
UM2377 - Rev 1 page 7/20
Figure 7. Set values window
Step 5. Accept the default values and press the SET button.The Draw Mode selection screen appears
UM2377Led Drawer Android application
UM2377 - Rev 1 page 8/20
Figure 8. Draw Mode selection
Step 6. Check the Draw Mode box and press the SUBMIT DETAILS buttonA drawing screen appears
Step 7. Swipe over the pixel boxes to create a pattern
Figure 9. Pattern creation screen
Step 8. Open the overflow menu on top right corner of the screen
UM2377Led Drawer Android application
UM2377 - Rev 1 page 9/20
Figure 10. Overflow menu options
Step 9. Select Control ParametersStep 10. Set Speed Control, Brightness Control and Blinking Control parameters to your liking
Figure 11. Android app control parameter screen
Step 11. Return to the pattern screen and open the overflow menu againStep 12. Select Send Pattern
The pattern is rendered on the LED matrix board with the parameter settings appliedStep 13. Return to the Draw Mode selection screenStep 14. Uncheck the Draw Mode box, enter a text string and press SUBMIT DETAILS
In the example below, the string “STEVAL-LLL005V1” is rendered on the LED matrix board.
UM2377Led Drawer Android application
UM2377 - Rev 1 page 10/20
Figure 12. Draw Mode deselection
UM2377Led Drawer Android application
UM2377 - Rev 1 page 11/20
4 LED matrix evaluation board schematics and bill of materials
4.1 STEVAL-LLL005V1 schematic diagrams
Figure 13. Input power jack and USB Type-C section
SSMM4F24A
2
DA1
B9CC1
DD33B7
JJ22
RR22 D-
TX2-VBUSA9
B2
CC2
SBU1A8 D+ B6
RX1-TX1-A3 B10
A11GND
RX1+
RR77
B3VBUS B4
55..11KK
3
RX2-
1
RX2+
VBUSVCC_USB
ESDA6V1L
5566KK
VBUSA4
A10
1100KK
B11GND B12
VCC_USB
D-
TypeC_Receptacle
A12 GND B1
55..11KK
VSENSE
VCC_USB
CC1
D+A6 SBU2 B8
CC2 B5
A5
TX2+
A7
TX1+A2
RR33
RR11
GNDA1
Input Section
VCC_Jack
D1
CONN JACK PWR
321
JJ11DIODE BRIDGE
-- ++
TypeC_Receptacle
Figure 14. DC-DC step down and LDO regulator section
11uuFF
556600RR
ADJ/NCEN3
CC77
GN
D2
SSTTPPSS22LL3300
4V5LL11 2222uuHH
4477uuFF
CC66
RR66
VCC
CC22
6
IN1DD22
2 SYNC
RR99
VDD
OUT 1
CC33
RR55
222200RR
22kk
EN
3
4V5
UU11
UU22 LLDDKK112200MM3333RR
RR88
5OUT
55..11KKRR44
44..77nnFF
1100uuFFCC44
CC11
447700ppFF
CC552222nnFF
8 VCC
Vre
f
FB5 11uuFF
EP
9
LL77998811
220000RR
4 COMP
7G
ND 4
UM2377LED matrix evaluation board schematics and bill of materials
UM2377 - Rev 1 page 12/20
Figure 15. Microcontroller section
CC1122
VDD
STP_LE
SSTTMM3322FF003300CC88TT66
STP_SDOSTP_SDI
PF1
_OS
C_O
UT
7
110000nnFFPPBB11
42
PB11
PA12
12PA313
VS
S_2
23
VD
D_2
24
3
PB2
47V
SS
_3
SWDIO
PB1
PB0
CC1133
20
PB10 21
11PA2
17
33
48V
DD
_3
CC1100110000nnFF
38 PA1437
STP_OE
PF0
_OS
C_I
N6
110000nnFF
BLE_SPI_IRQ
PB2
18PB1 19
CC1111
29
PB15
PB7 43
41
PF7
25
PC
14_O
SC
32_I
N4
PA1132
PA8
40
45
CC99
44B
OO
T0
PB4
SSWW11CC2211
110000nnFF
PB12
SSWW22
SWCLK
PA0
BLE_SPI_MISOBLE_SPI_MOSI
31 PA930
10PA1
PPBB22
26
PC
15_O
SC
32_O
UT
5
VS
SA
9V
DD
A
BLE_SPI_RESETBLE_SPI_CS
VD
D_1
PB3 39
BLE_SPI_CLK
PB1
PB6
15PA6
PB2
27PB13
PA4
PA10
2
PA15
PB8
110000nnFF
22CC2
VSENSE
PF6
35
16PA7
110000nnFF
nRS
T
8
14PA5
28PB14 STP_CLK
PC
13
1
PB9 46
36
CC1
BLE_GPIO_2
PB5
PA1334
Figure 16. Input power selection, board extension and programming connector section
4V5
10
VCC_USB
Male Connector
12345678STP_OE
13579
STP_SDI
SWCLK
VDD
STP_CLK
VDD2468
HEADER 5X2
Programming Connector
Input Selection Jumper
STP_LE
CON3
123
nRST
J5SWDIO
VCCVCC_Jack
STP_SDO
CON8
JJ33
J4
UM2377STEVAL-LLL005V1 schematic diagrams
UM2377 - Rev 1 page 13/20
Figure 17. SPBTLE-RF section
BLE_SPI_MOSI
BLE_SPI_MISO
BLE_GPIO_2
1100uuFFCC88
SPI_IRQ
5 Vin
SSPPBBTTLLEE--RRFF11
SPI_MOSI
8
BLE_SPI_CLK
BLE_SPI_IRQ
BLE_SPI_CS
BLE_SPI_RESET
UU44
GPIO_23 ANA_TEST 0
4
BT_RESET
10
VDD
1 EXT_LPCLK
2
GN
D6
SPI_MISO
7SPI_CLK
SPI_CS9
Figure 18. LED driver and LEDs section
1100KK
LLEEDD
LLEEDD
RR1144
DD2277
SSTTRR11PP22UUHH77
LLEEDD
LLEEDD
OU
T2
8O
UT3
LLEEDD
RR1155
DD3377
LLEEDD
LLEEDD
OU
T15
20
DD1166
LLEEDD
CC1177
LE 4
5O
UT0
LLEEDD
DD5533
LLEEDD
17
OU
T914
LLEEDD
STP_OE
DD5588
RR2222
3CLK
RR1122
DD4433
LLEEDD
OU
T6
DD4444
DD4400
CC1155
DD3322
1100RR
DD5500
DD3399
LLEEDD
SSTTPP1166CCPPCC2266
SSTTRR11PP22UUHH77
LLEEDD
LLEEDD
DD3311
LLEEDD
DD3333
1100KK
LLEEDD
QQ66
DD4488
LLEEDD
CC1144
CC2200
DD5522
LLEEDD
OU
T712
LLEEDDLLEEDD
RR1177
DD4477
DD88
DD1155
LLEEDD
QQ44
DD1122
LLEEDD
DD1177
DD6622
LLEEDD
DD2211
LLEEDD
OU
T12
OU
T11
16
DD6633
LLEEDD
DDNNMM
LLEEDD
DD1144
DD3388
OU
T813
LLEEDD
OU
T10
15
DD1111
LLEEDD
DD3300
LLEEDD
1100KK
OE
DD3355
LLEEDD
DDNNMM
DD4455
LLEEDD
DD5544
LLEEDD
STP_LE
LLEEDD
SSTTRR11PP22UUHH77
RR2233
DD1199
LLEEDD
DDNNMM
RR1199
DD2244
LLEEDD
DD6600
DD1188
DD4499 DD5511CC1188
LLEEDD
GN
D1
DDNNMM
DD6611
1100RR
LLEEDD
11
SDI 2
1100RR
DD3344
RR2200
CC1166
DD4422
LLEEDD
DD2233
LLEEDD
STP_SDO
DD1100
DD5566
LLEEDD
DD66
DD2200
LLEEDD
UU55
DDNNMM
LLEEDD
RR1111
LLEEDD
21
SDO
LLEEDD
DD5577
LLEEDD
QQ22
1100RR
R-EXT23
VDD24
STP_CLKSTP_SDI
7
1100RR
VDD
110000nnFF
QQ55
OU
T4
OU
T5
DD4411
LLEEDD
RR1133 DD2266
DD55
SSTTRR11PP22UUHH77
SSTTRR11PP22UUHH77
1100RR
LLEEDD
DD77
RR11661100KK
RR1188
22
4V5
LLEEDD
1100KK
LLEEDD
6O
UT1
LLEEDD
DD5599DD5555
19
DD2255 DD2288
DDNNMM
DD2299
DD2222
QQ11DD1133
RR2211
222200RR
CC1199
1100KK
LLEEDD
LLEEDD
DD99
LLEEDD
10
OU
T13
18
LLEEDD
QQ33
OU
T14
EP
25
SSTTRR11PP22UUHH77
DD4466
LLEEDD
9
LLEEDD
LLEEDD
DD3366
LLEEDD
DD44
LLEEDD
UM2377STEVAL-LLL005V1 schematic diagrams
UM2377 - Rev 1 page 14/20
4.2 Bill of materials
Table 1. STEVAL-LLL005V1 bill of materials
Item Q.ty Ref. Part/Value Description Manufacturer Order code
1 1 C1 10 µF, 35 V, X7R,±20%, SMD, 1206 Ceramic capacitor ANY ANY
2 1 C2 47 µF, 16 V, X5R,±20%, SMD, 1206 Ceramic capacitor ANY ANY
3 1 C3 22 nF, 50 V, X7R,±10%, SMD, 0805 Ceramic capacitor ANY ANY
4 2 C4, C5 1 µF, 16 V, X7R,±10%, SMD, 0805 Ceramic capacitors ANY ANY
5 1 C6 470 pF, 50 V, X7R,±10%, SMD, 0805 Ceramic capacitor ANY ANY
6 1 C7 4.7 nF, 50 V, X7R,±10%, SMD, 0805 Ceramic capacitor ANY ANY
7 1 C8 10 µF, 10 V, X5R,±10%, SMD, 0805 Ceramic capacitor ANY ANY
8 7
C9, C10,C11, C12,C13, C20,C21
100 nF, 50 V, X7R,±20%, SMD, 0805 Ceramic capacitors ANY ANY
9 6C14, C15,C16, C17,C18, C19
DNM - - -
10 1 DA1 ESDA6V1, 6.1 V,Transil, SOT23
DUAL TRANSILARRAY FOR ESDPROTECTION
ST ESDA6V1L
11 1 D1 1.5 A, SMD Diode bridge Fairchild DF01S
12 1 D2 STPS2L, 30 V/1 A,SMA
Low drop powerSchottky rectifier ST STPS2L30A
13 1 D3 SMM4F24A, 24 V,Transil, STmite Flat
400 W TVS in flatpackage ST SMM4F24A-TR
14 60 D4 to D63 120 mA, 6500 K,3014 White LED Lumileds L130-6580001400001
15 1 J1 DC INCONNECTOR DC power jack CUI Inc PJ-102AH
16 1 J2 Surface mount, rightangle, TH USB TypeC Wurth Electronics
Inc 632723100021
17 1 J3 3 pins, 2.54 mm,pitch male Input power selector ANY ANY
18 1 J4 8 pins, 2.54 mm,pitch male Extension connector ANY ANY
19 1 J5 5x2 box type, 1.27mm, pitch male Debug connector CNC Tech 3220-10-0100-00
20 1 L1 22 µH, 1.75 A,±20%, SMD
Surface mountinductor Eaton DR74-220-R
21 6 Q1, Q2, Q3,Q4, Q5, Q6 P-MOS, SOT-23 P-channel STripFET
H7 Power MOSFET ST STR1P2UH7
22 3 R1, R2, R5 5.1 k, 1/8 W, ±1%,SMD, 0805 Resistors ANY ANY
UM2377Bill of materials
UM2377 - Rev 1 page 15/20
Item Q.ty Ref. Part/Value Description Manufacturer Order code
23 1 R3 56 k, 1/8 W, ±1%,SMD, 0805 Resistor ANY ANY
24 1 R4 2 k, 1/8 W, ±10%,SMD, 0805 Resistor ANY ANY
25 1 R6 200 R, 1/8 W, ±10%,SMD, 0805 Resistor ANY ANY
26 1 R7 10 k, 1/8 W, ±1%,SMD, 0805 Resistor ANY ANY
27 1 R8 560 R, 1/8 W, ±1%,SMD, 0805 Resistor ANY ANY
28 2 R9, R23 220 R, 1/8 W, ±1%,SMD, 0805 Resistors ANY ANY
29 6R11, R12,R13, R14,R15, R16
10 k, 1/8 W, ±10%,SMD, 0805 Resistors ANY ANY
30 6R17, R18,R19, R20,R21, R22
10 R, 1/8 W, ±10%,SMD, 0805 Resistors ANY ANY
31 2 SW1, SW2 SMD Push button Panasonic EVP-AA402W
32 1 U1 3 A, L7981,VFQFPN8
Step-down switchingregulator ST L7981TR
33 1 U2 200 mA, LDK120,SOT323-5L
Low quiescentcurrent very lownoise LDO
ST LDK120M33R
34 1 U3 STM32F030C8T6,LQFP48
Mainstream ARMCortex-M0 Value lineMCU
ST STM32F030C8T6
35 1 U4 SPBTLE-RF, SMD
Bluetoothlow energymaster/slavenetwork processormodule
ST SPBTLE-RF
36 1 U5 STP16CPC26,TSSOP24 EP
Low voltage 16-bitconstant currentLED sink driver
ST STP16CPC26XTR
UM2377Bill of materials
UM2377 - Rev 1 page 16/20
Revision history
Table 2. Document revision history
Date Revision Changes
04-May-2018 1 Initial release
UM2377
UM2377 - Rev 1 page 17/20
Contents
1 LED matrix evaluation board overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.2 Hardware components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.3 Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 LED matrix evaluation board operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4
2.1 Configure input power source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Board power up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3 Led Drawer Android application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .6
4 LED matrix evaluation board schematics and bill of materials . . . . . . . . . . . . . . . . . . . . .12
4.1 STEVAL-LLL005V1 schematic diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.2 Bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .17
UM2377Contents
UM2377 - Rev 1 page 18/20
List of figuresFigure 1. STEVAL-LLL005V1 LED matrix evaluation board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Figure 2. STEVAL-LLL005V1 board components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2Figure 3. 6x10 LED matrix control scheme. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Figure 4. Figure 4: STEVAL-LLL005V1 parameter and option selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Figure 5. Led Drawer app home screen. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Figure 6. List of available boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Figure 7. Set values window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Figure 8. Draw Mode selection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Figure 9. Pattern creation screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9Figure 10. Overflow menu options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Figure 11. Android app control parameter screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Figure 12. Draw Mode deselection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Figure 13. Input power jack and USB Type-C section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Figure 14. DC-DC step down and LDO regulator section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Figure 15. Microcontroller section. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 16. Input power selection, board extension and programming connector section. . . . . . . . . . . . . . . . . . . . . . . . . 13Figure 17. SPBTLE-RF section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14Figure 18. LED driver and LEDs section . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
UM2377List of figures
UM2377 - Rev 1 page 19/20
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to STproducts and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. STproducts are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design ofPurchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.
© 2018 STMicroelectronics – All rights reserved
UM2377
UM2377 - Rev 1 page 20/20