User Manual for ST models including: STEVAL-LLL013V1 LED Matrix Board, STEVAL-LLL013V1, LED Matrix Board, Matrix Board

How to use the STEVAL-LLL013V1 evaluation board for STP16CPC26 How to use the STEVAL-LLL013V1 evaluation board for STP16CPC26 - User manual

The STEVAL-LLL013V1 is a 7x25 LEDs Matrix board controlled by two STP16CPC26 LED drivers.

STMICROELECTRONICS

UM3116 How to use the STEVAL-LLL013V1 evaluation board ...

2 feb 2023 — The STEVAL-LLL013V1 is a 7x25 LED matrix board controlled by two STP16CPC26 LED drivers. It can display banners in which each pixel can have a different ...

UM3116 How to use the STEVAL-LLL013V1 evaluation board for STP16CPC26

STEVAL-LLL013V1 - 7x25 LED Matrix panel based on STP16CPC26 - STMicroelectronics

How to use the STEVAL-LLL013V1 evaluation board for STP16CPC26 - User manual


File Info : application/pdf, 17 Pages, 1.32MB

PDF preview unavailable. Download the PDF instead.

stevallll013v1usermanual
UM3116
User manual
How to use the STEVAL-LLL013V1 evaluation board for STP16CPC26
Introduction
The STEVAL-LLL013V1 is a 7x25 LED matrix board controlled by two STP16CPC26 LED drivers. It can display banners in which each pixel can have a different level of brightness (32 levels). The screen refresh rate is higher than 100 Hz. The banners can be scrolled horizontally in both directions for lights effects. The banners are loaded by the use of the STSW-LLL013GUI PC software app. The STP16CPC26 is a monolithic, low voltage, 16-bit constant current LED sink driver with a serial input/output interface. Two STP16CPC26 drive a 7x25 LED matrix. The two LED drivers are connected in a daisy chain and controlled by the STM32F042K6T6 MCU, using an SPI IP interface. The MCU works as a frame generator for the banners, and as a bridge with the PC software app, by implementing a USB VCP device class. Additional potentiometers on the board allow you to change the brightness of the whole display and the speed of the banner scrolling effects. To exploit all the potential features of the board, many hardware resources are available, such as pin connectors that deliver additional MCU features, a JTAG interface, and a serial input/output to cascade other LED drivers.
Figure 1. STEVAL-LLL013V1 evaluation board

UM3116 - Rev 1 - February 2023 For further information contact your local STMicroelectronics sales office.

www.st.com

UM3116
Overview

1

Overview

The STEVAL-LLL013V1 is an evaluation board that shows the features of the STP16CPC26 when used to drive an LED matrix. In this STEVAL, the LED matrix has been arranged in order to show a banner, with some scrolling animations. Two STP16CPC26 are connected in a daisy chain, in order to drive a 7x25 LED matrix. Each STP16CPC26 can drive up to 16 LED channels, arranged in this manner:

·

7 channels of one STP16CPC26, marked as U1, are connected to the ROW BUFFER section, which drives

the LED matrix rows, while the rest of the 16 channels controls part of the LED matrix columns.

·

All the 16 channels of the 2nd STP16CPC26, marked as U4, are connected to the remaining LED matrix

columns.

The U1 and U4 drivers are connected with the STM32F042 MCU, marked as U7, by an SPI bus: the SPI bitrate is 6 Mbit/s. The MCU is responsible of the following task:

·

It communicates with the STSW-LLL013GUI PC SW by a virtual COM port

·

It generates the timings and the SPI packets for the STP16CPC26 led drivers

·

It generates the scrolling animations for the message and the mask applied

The brightness of the LED matrix can be changed by acting on the RV1 potentiometer, or by closing the JP2 jumper. In the last case RV1 is shorted, getting the max brightness.

The image showed that on the LED matrix is a combination of an image buffer, on which is applied an image mask. The image buffer is composed of a virtual area of 7x146 pixels. This area can be scrolled or bounced horizontally. The scrolling speed can be varied by acting on the RV2 potentiometer. The image mask is an area of 7x25 pixels: the image mask acts as a filter, whose pixel values are multiplied with the pixel of the image buffer, in order to get the final pixel brightness value. Also the image mask can be scrolled or bounced horizontally, and the speed can be changed by acting on the RV3 potentiometer.

In order to promote more demo solutions on the same HW, the STEVAL has been equipped with additional resources: a switch (SW1) and 2 user connectors, J3 and J5. All these resources are directly connected to the MCU spare resources, and are available to the user for further FW developments. A new FW can be uploaded on the board by using the connector J2 (SWD interface).

Using the STSW-LLL013GUI PC SW, the user creates its own banner to be shown on the STEVAL board, applying mask and scrolling effects. Each pixel is independent and can assume a 5bits level brightness.

Figure 2. STEVAL-LLL013V1 top view

1.1

Firmware

The STEVAL-LLL013V1 is equipped with an on-board demo firmware, the STSW-LLL013FW, which performs the features detailed in Section 1 Overview.

UM3116 - Rev 1

page 2/17

UM3116
Getting started with the board

2

Getting started with the board

To use the STEVAL-LLL013V1 with the STSW-LLL013FW, the STSW-LLL013GUI PC software GUI is provided.
Connect the board to a Windows 10 PC and launch the STSW-LLL013GUI. If the board is connected for the first time, the Windows OS takes some seconds for the USB virtual COM registering process.
Once launched, the GUI appears as shown in the figure below:

Figure 3. STSW-LLL013GUI sections

The GUI appears divided in three sections:

·

virtual buffer section

·

mask section

·

screen section

The virtual buffer section is where the banner is built. The virtual buffer has an area that can be resized by using the slider above it. The following features are available:

·

scrolling and bouncing

·

insert stickers

·

insert text

·

invert buffer

The mask section is where the mask is configured. The values of the mask are multiplied with the values of the virtual buffer to get the final result to be displayed. The following features are available:

·

scrolling and bouncing

·

insert mask presets

·

fill mask

·

invert mask

·

apply gradients

The screen section shows the result of the mask applied to the virtual buffer.

The figure below shows all the features implemented on the virtual buffer. Once the virtual buffer is set, press the [UPLOAD SETTINGS] button to send the configuration to the STEVAL-LLL013V1 evaluation board.

The GUI title shows info about the SW version and the FW version of the board attached: if no board is present, the message "No board connected" is shown.

UM3116 - Rev 1

page 3/17

Note:

UM3116
Getting started with the board
The FW version 0.09 comes with no predefined banner. This means that nothing is displayed when the board is powered up. Use the GUI to build your own banner. New FW versions are periodically updated on the STEVAL-LLL013V1 product page on ST website. Look for the latest version, to get the latest implemented features, such as predefined banners and the possibility to store all the GUI settings into the board. The FW can be downloaded from the ST website and programmed using the STLINK tool. The figure below shows all the features implemented on the virtual buffer.
Figure 4. Virtual buffer features

Pressing one of the SCROLLING EFFECTS buttons, a horizontal scrolling or bounce can be applied. The APPLY STICKERS button shows a few selection of stickers to be attached: the sticker can be deleted by pressing the BACKSPACE button.
Figure 5. Sticker Loader

UM3116 - Rev 1

page 4/17

UM3116
Getting started with the board The 1BIT LEVEL feature, once enabled, reduces the pixel brightness levels from the range 0-31 to 0-1 levels. This feature can be used with the gradient features of the MASK, allowing the mask to better manage the shades of brightness of the LED matrix: with this feature enabled, each buffer pixel can be enabled or disabled just pressing the mouse left button on it. A text message can be composed by typing on the keyboard. The message can be deleted by pressing the BACKSPACE key. A few selections of fonts is available.
Figure 6. Type on the keyboard to write a text banner
The figure below shows all the features to set the mask: once the mask is set, press the [UPLOAD SETTINGS] button to send the configuration to the STEVAL-LLL013V1 board.
Figure 7. Mask settings

Pressing one of the SCROLLING EFFECTS buttons, a horizontal scrolling or bounce can be applied. A few selections of mask effects is shown by pressing the LOAD PRESETS button.

UM3116 - Rev 1

page 5/17

Figure 8. Mask Loader Window

UM3116
System setup requirements

2.1

System setup requirements

·

A STEVAL-LLL013V1 with the STSW-LLL013FW installed

·

A PC/laptop with Windows 10

·

STSW-LLL013GUI PC software

·

A USB cable with a USB mini-type B connector

UM3116 - Rev 1

page 6/17

UM3116 - Rev 1

3

Schematic diagram

Figure 9. STEVAL-LLL013V1 schematic diagram

STP16CPC26XTR

STP16CPC26XTR

STM32F042K6T6TR

UM3116
Schematic diagram

page 7/17

UM3116
Bill of materials

4

Bill of materials

Item 1 2 3 4 5 6 7
8
9 10 11 12 13

Table 1. STEVAL-LLL013V1 bill of materials

Q.ty

Ref.

Part/value

Description Manufacturer

Order code

47u 35V

1

C1

CP_Elec_6.3x5.

8 35V

PANASONIC

EEHZA1V470P

3

C2, C4, C8

1uF 16V C_0603_1608M
etric 16V

Unpolarized capacitor

WALSIN

0402S105K160CT

6

C3, C5, C6, C9, C10, C11

100n 16V C_0603_1608M
etric 16V

Unpolarized capacitor

WALSIN

MT18B104K160CT

1

C12

4.7u 16V C_0603_1608M
etric 16V

Unpolarized capacitor

MURATA

GRM188C81C475KE11D

1

C13

10n 16V C_0603_1608M
etric 16V

Unpolarized capacitor

MURATA

GRM033R71C103KE14D

5

D1, D2, D3, D4, D5

7x5 LED Matrix TC12-11SURK
WA

30.6mm (1.2 INCH) 5x7 DOT
MATRIX DISPLAY

KINGBRIGHT

TC12-11SURKWA

4

H1, H2, H3, H4

Holes M3 MountingHole_3
.2mm_M3

Mounting Hole with connection

USB_Mini_Rec

eptacle_USB2.0

1

J1

USB_Mini- USB Mini Type B_Lumberg_24 B connector

WURTH

65100516121

86_01_Horizont

al

DEBUG

Generic

1

J2

PinHeader_1x0 5_P2.54mm_Ho

connector, single row,

AMPHENOL

68016-405HLF

rizontal

01x05

GPIO1

Generic

1

J3

PinHeader_1x0 5_P2.54mm_Ho

connector, single row,

AMPHENOL

68016-405HLF

rizontal

01x05

1

J4

VCC-EXT Phoenix-172565
6

Generic connector, single row,
01x02

PHOENIX

1715022

GPIO2

Generic

1

J5

PinHeader_1x1 2_P2.54mm_Ho

connector, single row,

AMPHENOL

68016-112HLF

rizontal

01x12

SPI

Generic

1

J6

PinHeader_1x0 4_P2.54mm_Ho

connector, single row,

AMPHENOL

68016-104HLF

rizontal

01x04

UM3116 - Rev 1

page 8/17

UM3116
Bill of materials

Item 14
15
16
17 18 19 20 21 22 23 24 25 26

Q.ty

Ref.

Part/value

Description Manufacturer

Jumper_NC_Du

al

SolderJumper-3

1

JP1

_P2.0mm_Open

Jumper

Any

_TrianglePad1.0

x1.5mm_Numb

erLabels

SHORT

1

JP2

PinHeader_1x0 Jumper, 2-pole,

2_P2.54mm_Ve

open

AMPHENOL

rtical

P-Channel 30 V,

0.048 Ohm typ.,

7

Q1, Q2, Q3, Q4, STR2P3LLH6

Q5, Q6, Q7

SOT-23

2 A STripFET H6 Power
MOSFET in a

ST

SOT-23

package

R1, R9, R10,

1K

9

R11, R12, R13, R_0603_1608M

Resistor

R14, R15, R23 etric 100mW

YAGEO

7

R2, R3, R4, R5, R6, R7, R8

10R R_0603_1608M
etric 100mW

Resistor

VISHAY

R16, R17, R18,

5K1

7

R19, R20, R21, R_0603_1608M

Resistor

R22

etric 100mW

PANASONIC

100

1

R24

R_0603_1608M

Resistor

YAGEO

etric 100mW

2K

1

RV1

Potentiometer_ Bourns_3386F_

Potentiometer

BOURNS

Vertical 100mW

10K

2

RV2, RV3

Potentiometer_ Bourns_3386F_

Potentiometer

BOURNS

Vertical 100mW

1

SW1

TE_1825910-7 TE_1825910-7

Push button switch, generic,
two pins

TE

Low voltage 16-

2

U1, U4

STP16CPC26X TR HTSSOP24

bit constant current LED

ST

sink driver

1

U2

USBLC6-2P6 SOT-666

ESD Protection for USB 2.0 High Speed

ST

500 mA low

1

U3

LD39050PU33R DFN6 3x3

quiescent current and low noise voltage

ST

regulator

Order code Any
68001-102HLF
STR2P3LLH6
RC0603FR-1310RL RCS06035K10FKEA
ERJ-U03J102V RC0603FR-07100RL
3386F-1-202TLF 3386F-1-103TLF
1825910-7 STP16CPC26XTR
USBLC6-2P6 LD39050PU33R

UM3116 - Rev 1

page 9/17

Item

Q.ty

27

1

UM3116
Bill of materials

Ref.

Part/value

Description Manufacturer

Order code

Mainstream

Arm Cortex-M0

USB line MCU

STM32F042K6 with 32 Kbytes

U7

T6TR, LQFP 32

of Flash

ST

7x7x1.4 mm

memory, 48

MHz CPU,

USB, CAN and

CEC functions

STM32F042K6T6TR

UM3116 - Rev 1

page 10/17

UM3116
Board versions

5

Board versions

Table 2. STEVAL-LLL013V1 versions

PCB version

Schematic diagrams

Bill of materials

STEVAL$LLL013V1A (1)

STEVAL$LLL013V1A schematic diagrams

STEVAL$LLL013V1A bill of materials

1. This code identifies the STEVAL-LLL013V1 evaluation board first version. It is printed on the board PCB.

UM3116 - Rev 1

page 11/17

UM3116
Regulatory compliance information

6

Regulatory compliance information

Notice for US Federal Communication Commission (FCC)
For evaluation only; not FCC approved for resale FCC NOTICE - This kit is designed to allow: (1) Product developers to evaluate electronic components, circuitry, or software associated with the kit to determine whether to incorporate such items in a finished product and (2) Software developers to write software applications for use with the end product. This kit is not a finished product and when assembled may not be resold or otherwise marketed unless all required FCC equipment authorizations are first obtained. Operation is subject to the condition that this product not cause harmful interference to licensed radio stations and that this product accept harmful interference. Unless the assembled kit is designed to operate under part 15, part 18 or part 95 of this chapter, the operator of the kit must operate under the authority of an FCC license holder or must secure an experimental authorization under part 5 of this chapter 3.1.2.
Notice for Innovation, Science and Economic Development Canada (ISED)
For evaluation purposes only. This kit generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limits of computing devices pursuant to Industry Canada (IC) rules. À des fins d'évaluation uniquement. Ce kit génère, utilise et peut émettre de l'énergie radiofréquence et n'a pas été testé pour sa conformité aux limites des appareils informatiques conformément aux règles d'Industrie Canada (IC).
Notice for the European Union
This device is in conformity with the essential requirements of the Directive 2014/30/EU (EMC) and of the Directive 2015/863/EU (RoHS).
Notice for the United Kingdom
This device is in compliance with the UK Electromagnetic Compatibility Regulations 2016 (UK S.I. 2016 No. 1091) and with the Restriction of the Use of Certain Hazardous Substances in Electrical and Electronic Equipment Regulations 2012 (UK S.I. 2012 No. 3032).

UM3116 - Rev 1

page 12/17

Revision history
Date 02-Feb-2023

UM3116

Table 3. Document revision history

Revision 1

Initial release.

Changes

UM3116 - Rev 1

page 13/17

UM3116
Contents
Contents
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 1.1 Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2 Getting started with the board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 2.1 System setup requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3 Schematic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7 4 Bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8 5 Board versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11 6 Regulatory compliance information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .12 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13 List of tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .15 List of figures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16

UM3116 - Rev 1

page 14/17

UM3116
List of tables

List of tables

Table 1. Table 2. Table 3.

STEVAL-LLL013V1 bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 STEVAL-LLL013V1 versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

UM3116 - Rev 1

page 15/17

UM3116
List of figures

List of figures

Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9.

STEVAL-LLL013V1 evaluation board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 STEVAL-LLL013V1 top view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 STSW-LLL013GUI sections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Virtual buffer features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Sticker Loader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Type on the keyboard to write a text banner . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Mask settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Mask Loader Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 STEVAL-LLL013V1 schematic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

UM3116 - Rev 1

page 16/17

UM3116
IMPORTANT NOTICE ­ READ CAREFULLY STMicroelectronics NV and its subsidiaries ("ST") reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST's terms and conditions of sale in place at the time of order acknowledgment. Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of purchasers' 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. For additional information about ST trademarks, refer to www.st.com/trademarks. 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.
© 2023 STMicroelectronics ­ All rights reserved

UM3116 - Rev 1

page 17/17



References

C2 v20.4.0000 build 240 - c2 rendition config : Techlit Active Antenna House PDF Output Library 7.2.1732; modified using iText 2.1.7 by 1T3XT