STMicroelectronics X-NUCLEO-LED16A1 User Manual
STMicroelectronics X-NUCLEO-LED16A1 is a 16-channel LED driver expansion board for STM32 Nucleo development boards. It features individually controllable channels, high output current, and selectable LED bus voltage supply. The board also supports cascading multiple boards for even more control. With its user-friendly design and comprehensive capabilities, X-NUCLEO-LED16A1 is an ideal solution for various LED lighting applications, including home automation, industrial control, and automotive lighting.
Tangazo
Tangazo
UM2141
Getting started with X-NUCLEO-LED16A1 16-channel LED driver expansion board for STM32 Nucleo
Introduction
The X-NUCLEO-LED16A1 is an STM32 Nucleo expansion board designed to provide an application for the 16 channel LED driver LED1642GW. Multiple drivers can also be cascaded by coupling X-NUCLEO-
LED16A1 expansion boards.
Depending upon the end application, RGB or single color LEDs can be connected to the board.
Separate brightness control is possible for each channel.
It is compatible with the STM32 Nucleo board family and with the Arduino™ UNO R3 connector layout.
Figure 1: X-NUCLEO-LED16A1 expansion board
November 2016 DocID030021 Rev 1 1/19 www.st.com
Contents
Contents
UM2141
System setup .................................................................................... 5
System requirements ........................................................................ 5
2 Hardware description ...................................................................... 7
Hardware components ...................................................................... 8
Hardware functional overview ........................................................... 9
Jumper settings ............................................................................... 10
LED rail voltage source selection ..................................................... 10
SDI-SDO configuration for daisy chain selection ............................. 10
Fault management .......................................................................... 11
Connector descriptions ................................................................... 11
3 BoM, schematics and layout ........................................................ 14
Schematic diagram ......................................................................... 16
4 Revision history ............................................................................ 18
2/19 DocID030021 Rev 1
UM2141
List of tables
List of tables
DocID030021 Rev 1 3/19
List of figures
List of figures
UM2141
Figure 2: STM32 Nucleo development board plus X-NUCLEO-LED16A1 expansion board setup ........... 5
4/19 DocID030021 Rev 1
UM2141
1
1.1
Getting started
Getting started
This section describes the hardware and software requirements for the X-NUCLEO-
LED16A1 expansion board for STM32 Nucleo.
System setup
The X-NUCLEO-LED16A1 is an expansion board for use with STM32 Nucleo boards. To function correctly, STM32 Nucleo board must be connected to X-NUCLEO-LED16A1 shown.
Figure 2: STM32 Nucleo development board plus X-NUCLEO-LED16A1 expansion board setup
1.2
The connection between STM32 Nucleo and X-NUCLEO-LED16A1 is designed for use with any STM32 Nucleo or Arduino UNO R3 Platform.
When mounting X-NUCLEO-LED16A1 on the STM32 Nucleo:
ensure that all are pins aligned with their corresponding connector.
handle both boards carefully to avoid damaging or bending the male/female connectors and pins.
System requirements
The following software and hardware is required:
An STM32 Nucleo development board (suggested order code: either NUCLEO-
F401RE or NUCLEO-L053R8).
A 16 Channel LED driver expansion board (order code: X-NUCLEO-LED16A1).
A string of 16 LEDs connected in parallel or X-NUCLEO-LED16A1 expansion board.
A Windows® (8 and above) PC.
DocID030021 Rev 1 5/19
Getting started
A USB type A to Mini-B USB cable connect the STM32 Nucleo to the PC to:
UM2141 a. power the STM32 Nucleo development and X-NUCLEO expansion boards b. install the board firmware package (order code: X-CUBE-LED1642) and run the sample application
An optional external power supply, 4.8-5.2V/2A (depending on the number of stacked
X-NUCLEO-LED16A1 expansion boards).
6/19 DocID030021 Rev 1
UM2141
2
Hardware description
Hardware description
The X-NUCLEO-LED16A1 expansion board for use with STM32 Nucleo development boards has 16 channels which can be individually controlled. The board can be powered through a 5 V USB supply or an external power supply.
Figure 3: X-NUCLEO-LED16A1 block diagram
The board features:
16 configurable O/P channels
Output current: from 3 mA to 40 mA
20 V current generator rated voltage
Provision for cascading multiple boards
Current adjustment: o 7-bit global current gain adjustment o Current programmable through external resistor o 12/16 bit grayscale brightness control
Selectable LED Bus voltage supply o USB o V external
Error detection o Open LED o Shorted LED
Thermal shutdown
Compatible with STM32 Nucleo board
Equipped with Arduino™ UNO R3 connector
RoHS compliant
DocID030021 Rev 1 7/19
Hardware description
2.1 Hardware components
The X-NUCLEO-LED16A1 board features several key components, jumpers and connectors.
Figure 4: X-NUCLEO-LED16A1 (Top)
UM2141
1. LED1642GW LED driver – U1
2. Jumper for selecting SDO line termination (daisy chain or MCU) – J3
3. Jumper for selecting SDI line Initiation (daisy chain or MCU) – J2
4. Connector to connect SDO line in case of daisy chain selection – CN11
5. Jumper for selecting LED rail voltage supply (USB or Vexternal) – J4
6. Indication LED’s (red – fault, green – OK)
7. Input Connector to external voltage power supply – CN3
8. Connector for a common input external voltage power supply – CN2
9. LED’s Cathode are to connected – J1
10. LED Rail Voltage Supply (Common Anode of all J1 Led’s) – CN4
11. ArduinoTM UNO R3 connector – CN5,CN6,CN8,CN9
12. Connector to connect SDO line in case of Daisy Chain Selection – CN1
8/19 DocID030021 Rev 1
UM2141
Figure 5: X-NUCLEO-LED16A1 (Bottom)
Hardware description
Figure 6: X-NUCLEO-LED16A1 RGB LEDs
2.2 Hardware functional overview
Once the proper firmware is installed on the STM32 Nucleo board and the jumpers and connectors are configured correctly, supplying power causes the green OK LED (D2) on the X-NUCLEO-LED16A1 expansion board and predefined LED patterns run every eight seconds:
1. All LEDs ON at full bightness
2. LED train forward – single LED
3. LED train reverse
DocID030021 Rev 1 9/19
Hardware description
4. LED brigntness – maximum at centre LED
5. Error detection – red FAULT LED (D1) lights up
6. LED brigntness – low to high
7. Different LED – solid color
8. Random LED – random brightness
9. All LEDs ON with less bightness
UM2141
You can also cycle through the LED sequences by pressing the blue B1 USER button on the STM32 Nucleo board.
Incorrect jumper configurations causes the red LED (FAULT) to light up.
2.3
2.3.1
2.3.2
Jumper settings
LED rail voltage source selection
The X-NUCLEO-LED16A1 LED rail voltage source can be set according to the settings in the following table.
Jumper
Table 1: LED Rail Voltage Source Selection
USB 5V supply (1) External supply (2)
Pin1 Pin2 Pin3 Pin1 Pin2 Pin3
J4
YES YES NO NO YES YES
Notes:
(1)
Ensure output power consumption is below the USB power rating
(2)
External voltage supply should be between 4.8 and 5.2 V, capable enough of delivering current as per number of boards used and LED1642GW configuration
SDI-SDO configuration for daisy chain selection
The X-NUCLEO-LED16A1 board can be stacked to operate the LED1642GW LED driver in the daisy chain configuration figured below.
10/19 DocID030021 Rev 1
UM2141
Figure 7: Daisy chain configuration
Hardware description
2.4
2.5
The X-NUCLEO-LED16A1 expansion board lets you configure the SDI and SDO lines of
SPI through Jumpers J2 and J3, as per the following tables.
Table 2: SDI line source selection
SDI-MCU SDI-SDO of adjacent board
J2
Pin1
YES
Pin2
YES
Pin3
NO
Pin1
NO
Pin2
YES
Pin3
YES
Notes:
(1) first board stacked on STM32 Nucleo always has 1:2 setting
Table 3: SDO line destination selection
SDO-MCU SDO-SDI of adjacent board
J3
Pin1
YES
Pin2
YES
Pin3
NO
Pin1
NO
Pin2
YES
Pin3
YES
Notes:
(1) last board stacked on STM32 Nucleo always has 1:2 setting
Fault management
The X-NUCLEO-LED16A1 detects fault conditions according to the LED1642GW configuration register. Open Circuit, short circuit and combined error tests can be performed; error detection events will light the red FAULT LED on the board.
Connector descriptions
CN3 – Connection of external LED rail voltage supply.
CN4 - CN5 (RGB LEDs board) – All 16 LED anode terminals are fed the LED rail voltage via connectors CN4 and CN5, as figured below.
DocID030021 Rev 1 11/19
Hardware description
Figure 8: X-NUCLEO-LED16A1 connections
UM2141
12/19
CN2 – Passes the external voltage power supply (from CN3) to subsequent boards in daisy chain configurations.
To supply different rail voltages to different X-NUCLEO-LED16A1 boards in the daisy chain, open resistance R24 and supply the individual voltages through CN3 on each board.
CN10 and CN11 – In daisy chain configurations these connectors are for transferring
SPI data between adjacent X-NUCLEO-LED16A1 boards. The behavior of these connectors depends on jumper J2 and J3 settings.
Connector Pin
Table 4: Input output connector table
Signal
CN2
CN3
CN4
-
1
2
1
2
+
Common rail voltage for multiple boards
+ External Voltage
- External Voltage
+ LED Rail Voltage
DocID030021 Rev 1
UM2141 Hardware description
The default pin assignments for X-NUCLEO-LED61A1 (Arduino) connectors are shown below.
Connector
Table 5: X-NUCLEO connector (Arduino) table
Pin Signal
CN5
CN5
CN5
CN5
CN9
CN9
CN5
CN6
CN6
CN6
CN6
CN6
6
3
7
2
4
5
4
5
7
2
7
6 GND
+3.3V
+5V
FAULT/OK LED CONTROL
SDI
SDO
SCK
LE
PWCLK
DocID030021 Rev 1 13/19
BoM, schematics and layout
3
3.1
BoM, schematics and layout
UM2141
Bill of materials
Item Q.ty Reference
Table 6: X-NUCLEO-LED16A1 bill of materials
Part / Value Description Manufacturer
1
2
3
4
5
10
11
12
13
14
6
7
8
9
15
16
1
1
14
U1
D3
R2, R5,
R23, R24,
R25, R26,
R30, R33,
R34, R35,
R36, R37,
R38, R39
LED1642GWXTTR
16 Channel
LED Driver
STPS1L30A Schottky
0 Ω
5
11
1
1
1
2 R27,R31
2
1
1
1
R7, R10,
R13, R16,
R19
R8, R9,
R11, R12,
R14, R15,
R17, R18,
R20, R21,
R22
R3
R4
R1
C1,C3
C2
C4
D1
33 Ω
15 Ω
560 Ω ±5%
470 Ω ±5%
11 kΩ ±5%
DNM
100 nF 16 V
±10%
Ceramic
10 µF 16 V ±10% Ceramic
10 µF 35 V ±10% Ceramic
LED (RED)
1
1
D2
J1
3 J2, J3, J4
LED (GREEN)
3-Pin BergStick
Male
16-Pin BergStick
Male
2.54mm
Pitch, Right
Angle
2.54mm
Pitch
ST
ST
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
17 1 CN1
2-Pin BergStick
Female
2.54mm
Pitch
Sullins
Connector
Solutions
Order code
LED1642GWXTTR
STPS1L30A
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
ANY
NPTC021KFXC-
RC/S5594-ND (DIGIKEY)
18 1 CN2 CON2
2.54mm
Pitch
SAMTEC SSQ-102-03-F-S
14/19 DocID030021 Rev 1
UM2141
Item Q.ty Reference
19
20
21
1
1
1
CN11
CN3
CN4
BoM, schematics and layout
Part / Value Description Manufacturer Order code
2-Pin BergStick
Male
Terminal Block
2.54mm
Pitch
2.54mm
Pitch
Molex
0878980204/WM9852-
ND(Digikey)
On Shore
Technology
Inc.
OSTVN02A150/ED10561-
ND(Digikey)
2-Pin BergStick
Male
2.54mm
Pitch, Right
Angle
ANY ANY
22
23
24
25
1 CN5
2 CN6, CN9
2
1
CN7,
CN10
CN8
CON10
CON8
DNM
CON6
SAMTEC
SAMTEC
SAMTEC
SAMTEC
SSQ-110-03-F-S
SSQ-108-03-F-S
SSQ-119-04-L-D
SSQ-106-03-F-S
26 3
Female
Straight
Black Open
Top 2 Way
R.S. 674-2397
Table 7: X-NUCLEO-LED16A1 - RGB LEDs bill of materials
Item Q.ty Reference Part / Value Description Manufacturer Order code
1 5
D1, D2, D3, D4,
D5
RGB LEDs Common Anode
Wurth
Elektronik
150141M173100
2 1
3 1
J5
CN5
16-Pin BergStick
Female
2.54mm Pitch, Right
Angle
2-Pin BergStick
Female
2.54mm Pitch, Right
Angle
ANY
ANY
ANY
ANY
DocID030021 Rev 1 15/19
BoM, schematics and layout
3.2 Schematic diagram
Figure 9: X-NUCLEO-LED16A1 circuit schematic
UM2141
GSPG2309160945SG
16/19 DocID030021 Rev 1
OL TR ON DC LE
UM2141
3.3 Layout
BoM, schematics and layout
Figure 10: X-NUCLEO-LED16A1 layout (top)
Figure 11: X-NUCLEO-LED16A1 layout (bottom)
DocID030021 Rev 1 17/19
Revision history
4 Revision history
Date
Table 8: Document revision history
Version
21-Nov-2016 1
Changes
Initial release.
UM2141
18/19 DocID030021 Rev 1
UM2141
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. 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.
© 2016 STMicroelectronics
– All rights reserved
DocID030021 Rev 1 19/19
Pakua
Tangazo