ST X-NUCLEO-LED12A1 User manual

Introduction
The X-NUCLEO-LED12A1 LED driver expansion board for STM32 Nucleo features four LED1202 devices that can drive up to
48 LEDs.
The LED1202 is a 12-channel low quiescent current LED driver, which guarantees 5 V output driving capability. Each channel is
able to provide up to 20 mA with a headroom voltage of 350 mV (typ.) only.
The output current can be adjusted separately for each channel through an 8-bit analog and 12-bit digital dimming control.
The X-NUCLEO-LED12A1 expansion board comes with an additional LED panel board that houses two LEDs matrices: a 6x8
white LED matrix and a 4x4 RGB matrix.
LED matrices can be supplied via an external power supply connected to J13 connector and by selecting the right path through
J15 jumper to reach the maximum luminosity available.
Figure 1. X-NUCLEO-LED12A1 expansion board
Figure 2. LED panel board
Getting started with the X-NUCLEO-LED12A1 LED driver expansion board based
on LED1202 for STM32 Nucleo
UM2879
User manual
UM2879 - Rev 2 - November 2021
For further information contact your local STMicroelectronics sales office.
www.st.com

1Getting started
1.1 Overview
The X-NUCLEO-LED12A1 expansion board features:
•Four LED1202 devices driving up to 48 LEDs
• One double row pin array connector for external LED panel connection
• One jumper selector for internal/external LED power supply
• One panel with 48 white LEDs/16 RGB LEDs included
• Arduino UNO R3 connectors
• Free comprehensive development firmware library compatible with STM32Cube
• Scalable solution for multiple board stack
• RoHS and WEEE compliant
1.2 Hardware requirements
The X-NUCLEO-LED12A1 expansion board is designed to be used with any STM32 Nucleo development
board, although complete testing has been performed using the NUCLEO-L073RZ hosting the STM32L073RZ
microcontroller.
1.3 System requirements
To use STM32 Nucleo development boards with the X-NUCLEO-LED12A1 expansion board, the following
software and hardware are required:
• an STM32 Nucleo-64 development board
• a Windows® PC to install the firmware package
• a USB type A to Mini-B USB cable to connect the STM32 Nucleo board to the PC
• 128 MB of RAM and 40 MB of free hard disk space to install the firmware package (order code: X-CUBE-
LED12A1)
UM2879
Getting started
UM2879 - Rev 2 page 2/17

2Connectors
The X-NUCLEO-LED12A1 expansion board allows the user to test the functionality of the LED1202, together with
the use of the additional LED panel board.
The 4 LED1202 ICs and the STM32 Nucleo development board are connected through CN5, CN6, CN8 and CN9
connectors (see the tables below).
Table 1. Interconnections between X-NUCLEO-LED12A1 expansion board and NUCLEO-L073RZ
development board (left side)
Signal Connector Pin number NUCLEO-L073RZ X-NUCLEO-LED12A1
NC
CN6 Power
1 - -
IOREF 2 - (NC)
RESET 3 - -
3V3 4 - 3V3
5V 5 - 5V (VDD)
GND 6 - GND
GND 7 - GND
VIN 8 - -
A0
CN8 Power
1 PA0 IRQ_MCU (alt.)
A1 2 PA1 IRQ_MCU (alt.)
A2 3 PA4 IRQ_MCU (alt.)
A3 4 PB0 IRQ_MCU (alt.)
A4 5 PC1 NC
A5 6 PC0 NC
Table 2. Interconnections between X-NUCLEO-LED12A1 expansion board and NUCLEO-L073RZ
development board (right side)
Signal Connector Pin number NUCLEO-L073RZ X-NUCLEO-LED12A1
D15
CN5 Digital
10 PB8 SCL_MCU
D14 9 PB9 SDA_MCU
AVDD 8 AVDD NC
GND 7 GND NC
D13 6 PA5 NC
D12 5 PA6 NC
D11 4 PA7 NC
D10 3 PB6 NC
D9 2 PC7 NC
D8 1 PA9 NC
D7
CN9 Digital
8 PA8 NC
D6 7 PB10 NC
D5 6 PB4 NC
D4 5 PB5 NC
UM2879
Connectors
UM2879 - Rev 2 page 3/17

Signal Connector Pin number NUCLEO-L073RZ X-NUCLEO-LED12A1
D3
CN9 Digital
4 PB3 IRQ_MCU
D2 3 PA10 NC
D1 2 PA2 NC
D0 1 PA3 NC
UM2879
Connectors
UM2879 - Rev 2 page 4/17

3Host interface and GPIO connection
The X-NUCLEO-LED12A1 expansion board embeds four LED1202 devices and is powered by the STM32 Nucleo
development board.
The devices are driven by the microcontroller via I2C interface, connected through the same I2C bus and
synchronized by a clock chain.
UM2879
Host interface and GPIO connection
UM2879 - Rev 2 page 5/17

4Components
Figure 3. X-NUCLEO-LED12A1 expansion board component placement
1. LED1202
2. LED1202
3. LED1202
4. LED1202
5. LED panel connector
6. LED panel power supply connector
12
3
4
56
UM2879
Components
UM2879 - Rev 2 page 6/17

5LED1202
The LED1202 is a 12-channel low quiescent current LED driver which guarantees 5 V output driving capability.
Each channel is able to provide up to 20 mA with a headroom voltage of 350 mV (typ.) only. The output current
can be adjusted separately for each channel by an 8-bit analog and 12-bit digital dimming control.
A slow turn-on and turn-off time improves the system low noise generation performance; moreover, the phase
shifting function helps to reduce the inrush current. Eight patterns can be stored in the internal registers for
automatic sequencing without involving the MCU.
The pattern sequence can be also configured for duration time and number of repetitions. In multi-device
applications, a common clock domain can be shared for timing synchronization.
The device features thermal shutdown and open LED detection. The device I²C interface is based on fast mode
specification and works up to 400 kHz. Eight I²C addresses are possible by using two configuration pins (A0/A1)
only.
UM2879
LED1202
UM2879 - Rev 2 page 7/17

6Board setup
To test the expansion board follow the procedure below.
Step 1. Connect the X-NUCLEO-LED12A1 expansion board to the STM32 Nucleo development board from the
top through the Arduino UNO R3 connectors.
Step 2. Power the STM32 Nucleo development board using a mini-B USB cable.
Step 3. Program the firmware on the STM32 Nucleo development board using the provided example.
Step 4. Reset the MCU using the STM32 Nucleo reset button.
Step 5. Configure J15 jumper for internal or external LED power supply.
– Connect pin 1 with pin 2 for external LED power supply.
– Connect pin 2 with pin 3 for internal LED power supply.
For internal LED power supply, the PC USB port drives the LED current.
Important:
For external LED power supply, the current capability has to be provided through J13 connector. Do not apply an external
voltage greater than 6 V: as this is the absolute maximum rating of LED1202 LED channels, it is recommended to remain
below 5.5 V.
UM2879
Board setup
UM2879 - Rev 2 page 8/17

7Schematic diagrams
Figure 4. X-NUCLEO-LED12A1 expansion board circuit schematic
LED CONNECTORS
NUCLEO MORPHO CONNECTORS
ADDR=58h
ADDR=5Ah
ADDR=59h
Place close to J13
ADDR=5Bh
ARDUINO
CONNECTORS
U2
LED1202
IRQn
1
CS0
2
CS1
3
CS2
4
CS3
5
CS4
6
CS5
7
GND
8
CS6
9
CS7
10
VIN 15
CS11 14
CS10 13
CS9 12
CS8 11
SCL 20
SDA 19
A1 18
A0 17
VLDO 16
R4
10K
CN9
CONN1x8 2.54mm
1
2
3
4
5
6
7
8
C12
1u 16V
C15
1u 16V
J13
Phoenix 1725656
1
2
R1
0R
C13
1u 16V
R16 NM R6
10K
U4
LED1202
IRQn
1
CS0
2
CS1
3
CS2
4
CS3
5
CS4
6
CS5
7
GND
8
CS6
9
CS7
10
VIN 15
CS11 14
CS10 13
CS9 12
CS8 11
SCL 20
SDA 19
A1 18
A0 17
VLDO 16
+
C11
180u 16V
C4
1u 16V
R12
10K
R15 NM
R18 NM
C6
1u 16V
R1336K
J15
HEADERx3 2.54
1
2
3
U5
LDL112PT-TR
VOUT 2
GND
3
VIN
4
EN
5ADJ 1
CN6
CONN1x8 2.54mm
1
2
3
4
5
6
7
8
C14
1u 16V
J18
CONN PLUG 26x2 1.27mm Right Angle
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
50
CN7
CONN19x2 2.54 Low Insertion Force
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
R5
10K
R7
10K
CN5
CONN1x10 2.54mm
1
2
3
4
5
6
7
8
9
10
R17 NM
C3
1u 16V
C2
1u 16V
R3
10K
CN10
CONN19x2 2.54 Low Insertion Force
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
U3
LED1202
IRQn
1
CS0
2
CS1
3
CS2
4
CS3
5
CS4
6
CS5
7
GND
8
CS6
9
CS7
10
VIN 15
CS11 14
CS10 13
CS9 12
CS8 11
SCL 20
SDA 19
A1 18
A0 17
VLDO 16
C10
22u 16V
R2
10K
CN8
CONN1x6 2.54mm
1
2
3
4
5
6
R11
0R
R14
10K
C1
1u 16V
U1
LED1202
IRQn
1
CS0
2
CS1
3
CS2
4
CS3
5
CS4
6
CS5
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ematic diagrams

Figure 5. LED panel circuit schematic
UM2879 - Rev 2 page 10/17
UM2879
Schematic diagrams

8Bill of materials
Table 3. X-NUCLEO-LED12A1 expansion board bill of materials
Item Q.ty Ref. Part/Value Description Manufacturer Order code
1 1
CN5 Female
on Top, Male
on Bottom
CONN1x10 2.54 mm Connector Wurth 61301011121
2 2
CN6, CN9
Female on
Top, Male on
Bottom
CONN1x8 2.54 mm Connectors Wurth 61300811121
3 2 CN7, CN10 CONN19x2 2.54,
low insertion force
Connectors
(not mounted) Any Any
4 1
CN8 Female
on Top, Male
on Bottom
CONN1x6 2.54 mm Connector Wurth 61300611121
5 10
C1, C2, C3,
C4, C5, C6,
C12, C13,
C14, C15
1 µF, 16 V, C0603 Capacitors Any Any
6 1 C10 22 µF, 16 V,
CAPC-1210 Capacitor Any Any
7 1 C11 180u 16V,
CEVSMD_6V3X8_T,Capacitor Any Any
8 1 J13
WR-TBL Series
2109 2.54 mm,
horizontal entry,
MORS_2P_2V54_P
Header Wurth 691210910002
9 1 J15 HEADERx3 2.54
mm Header Wurth 61300311121
10 1 J18 CONN PLUG 25x2
2.54 mm, right angle Header Amphenol T821150A1R100CEU
11 2 R1, R11 0 R, R0603 Resistors Any Any
12 8
R2, R3, R4,
R5, R6, R7,
R12, R14
10K, R0603 Resistors Any Any
13 1 R13 36 K, R0603 Resistor Any Any
14 4 R15, R16,
R17, R18 0 R, R0603 Resistors (not
mounted) Any Any
15 4 U1, U2, U3,
U4
LED1202,
VFQFPN20_3X3
12-channel
low quiescent
current LED
driver
ST LED1202QTR
16 1 U5 LDL112PT-TR,
PPAK
1.2 A low
quiescent
current LDO
with reverse
current
protection
ST LDL112PT-TR
UM2879
Bill of materials
UM2879 - Rev 2 page 11/17

Table 4. LED panel bill of materials
Item Q.ty Ref. Value Description Manufact
urer Part Number
1 48
D1, D2, D3, D4, D5, D6, D7,
D8, D9, D10, D11, D12, D13,
D14, D15, D16, D17, D18,
D19, D20, D21, D22, D23,
D24, D25, D26, D27, D28,
D29, D30, D31, D32, D33,
D34, D35, D36, D37, D38,
D39, D40, D41, D42, D43,
D44, D45, D46, D47, D48
PLCC White LEDs Wurth 158301227
2 16
D49, D50, D51, D52, D53,
D54, D55, D56, D57, D58,
D59, D60, D61, D62, D63,
D64
150353M1
53300,
WL-
SFTD-353
5
RGB LEDs Wurth 150353M153300
3 1 J1
PinSocket
_2x25_P2
.54mm_V
ertical_SM
D
LED connector Multicomp 2214S-50SG-85
4 1 JP1
PinHeader
_1x03_P2
.54mm_H
orizontal
Panel selector Wurth 61300311021
UM2879
Bill of materials
UM2879 - Rev 2 page 12/17

Contents
1Getting started ....................................................................2
1.1 Overview .....................................................................2
1.2 Hardware requirements .........................................................2
1.3 System requirements ...........................................................2
2Connectors........................................................................3
3Host interface and GPIO connection ...............................................5
4Components.......................................................................6
5LED1202...........................................................................7
6Board setup .......................................................................8
7Schematic diagrams ...............................................................9
8Bill of materials...................................................................11
Revision history .......................................................................13
Contents ..............................................................................14
List of tables ..........................................................................15
List of figures..........................................................................16
UM2879
Contents
UM2879 - Rev 2 page 14/17

List of tables
Table 1. Interconnections between X-NUCLEO-LED12A1 expansion board and NUCLEO-L073RZ development board (left
side).............................................................................3
Table 2. Interconnections between X-NUCLEO-LED12A1 expansion board and NUCLEO-L073RZ development board (right
side).............................................................................3
Table 3. X-NUCLEO-LED12A1 expansion board bill of materials ........................................ 11
Table 4. LED panel bill of materials............................................................. 12
Table 5. Document revision history ............................................................. 13
UM2879
List of tables
UM2879 - Rev 2 page 15/17

List of figures
Figure 1. X-NUCLEO-LED12A1 expansion board ...................................................1
Figure 2. LED panel board...................................................................1
Figure 3. X-NUCLEO-LED12A1 expansion board component placement ...................................6
Figure 4. X-NUCLEO-LED12A1 expansion board circuit schematic.......................................9
Figure 5. LED panel circuit schematic .......................................................... 10
UM2879
List of figures
UM2879 - Rev 2 page 16/17

IMPORTANT NOTICE – PLEASE 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 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 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, please 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.
© 2021 STMicroelectronics – All rights reserved
UM2879
UM2879 - Rev 2 page 17/17
Table of contents
Other ST Computer Hardware manuals

ST
ST ST32M103 Series User manual

ST
ST UM2082 User manual

ST
ST X-CUBE-CELLULAR User manual

ST
ST X-NUCLEO-OUT12A1 User manual

ST
ST X-NUCLEO-EEPRMA2 User manual

ST
ST EVLKST8500GH-2 User manual

ST
ST X-NUCLEO-IHM01A1 User manual

ST
ST X-NUCLEO-IHM14A1 User manual

ST
ST PCC020V1 User manual

ST
ST X-NUCLEO-53L5A1 User manual
Popular Computer Hardware manuals by other brands

Simonds
Simonds CLP-274 Owners & safety manual

Seagate
Seagate Nytro 5350S NVMe SSD product manual

Avalue Technology
Avalue Technology ECM-TGUC user manual

PS Audio
PS Audio MultiWave II Installation and operation instructions

ekwb
ekwb EK-Quantum Vector FE RTX 3070 user guide

Cypress
Cypress CY62167DV18 Specification sheet