UM4 Getting started with X-NUCLEO-LED6A 6-channel LED driver expansion board for STM Nucleo Introduction The X-NUCLEO-LED6A is an STM Nucleo expansion board designed to provide an application for the 6 channel LED driver LED64GW. Multiple drivers can also be cascaded by coupling X-NUCLEO- LED6A 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 STM Nucleo board family and with the Arduino UNO R connector layout. Figure : X-NUCLEO-LED6A expansion board November 06 DocID000 Rev /9 www.st.com
Contents UM4 Contents Getting started... 5. System setup... 5. System requirements... 5 Hardware description... 7. Hardware components... 8. Hardware functional overview... 9. Jumper settings... 0.. LED rail voltage source selection... 0.. SDI-SDO configuration for daisy chain selection... 0.4 Fault management....5 Connector descriptions... BoM, schematics and layout... 4. Bill of materials... 4. Schematic diagram... 6. Layout... 7 4 Revision history... 8 /9 DocID000 Rev
UM4 List of tables List of tables Table : LED Rail Voltage Source Selection... 0 Table : SDI line source selection... Table : SDO line destination selection... Table 4: Input output connector table... Table 5: X-NUCLEO connector (Arduino) table... Table 6: X-NUCLEO-LED6A bill of materials... 4 Table 7: X-NUCLEO-LED6A - RGB LEDs bill of materials... 5 Table 8: Document revision history... 8 DocID000 Rev /9
List of figures List of figures UM4 Figure : X-NUCLEO-LED6A expansion board... Figure : STM Nucleo development board plus X-NUCLEO-LED6A expansion board setup... 5 Figure : X-NUCLEO-LED6A block diagram... 7 Figure 4: X-NUCLEO-LED6A (Top)... 8 Figure 5: X-NUCLEO-LED6A (Bottom)... 9 Figure 6: X-NUCLEO-LED6A RGB LEDs... 9 Figure 7: Daisy chain configuration... Figure 8: X-NUCLEO-LED6A connections... Figure 9: X-NUCLEO-LED6A circuit schematic... 6 Figure 0: X-NUCLEO-LED6A layout (top)... 7 Figure : X-NUCLEO-LED6A layout (bottom)... 7 4/9 DocID000 Rev
UM4 Getting started Getting started This section describes the hardware and software requirements for the X-NUCLEO- LED6A expansion board for STM Nucleo.. System setup The X-NUCLEO-LED6A is an expansion board for use with STM Nucleo boards. To function correctly, STM Nucleo board must be connected to X-NUCLEO-LED6A shown. Figure : STM Nucleo development board plus X-NUCLEO-LED6A expansion board setup The connection between STM Nucleo and X-NUCLEO-LED6A is designed for use with any STM Nucleo or Arduino UNO R Platform. When mounting X-NUCLEO-LED6A on the STM 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 STM Nucleo development board (suggested order code: either NUCLEO- F40RE or NUCLEO-L05R8). A 6 Channel LED driver expansion board (order code: X-NUCLEO-LED6A). A string of 6 LEDs connected in parallel or X-NUCLEO-LED6A expansion board. A Windows (8 and above) PC. DocID000 Rev 5/9
Getting started UM4 A USB type A to Mini-B USB cable connect the STM Nucleo to the PC to: a. power the STM Nucleo development and X-NUCLEO expansion boards b. install the board firmware package (order code: X-CUBE-LED64) and run the sample application An optional external power supply, 4.8-5.V/A (depending on the number of stacked X-NUCLEO-LED6A expansion boards). 6/9 DocID000 Rev
UM4 Hardware description Hardware description The X-NUCLEO-LED6A expansion board for use with STM Nucleo development boards has 6 channels which can be individually controlled. The board can be powered through a 5 V USB supply or an external power supply. Figure : X-NUCLEO-LED6A block diagram The board features: 6 configurable O/P channels Output current: from ma to 40 ma 0 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 /6 bit grayscale brightness control Selectable LED Bus voltage supply o USB o Vexternal Error detection o Open LED o Shorted LED Thermal shutdown Compatible with STM Nucleo board Equipped with Arduino UNO R connector RoHS compliant DocID000 Rev 7/9
Hardware description. Hardware components The X-NUCLEO-LED6A board features several key components, jumpers and connectors. Figure 4: X-NUCLEO-LED6A (Top) UM4. LED64GW LED driver U. Jumper for selecting SDO line termination (daisy chain or MCU) J. Jumper for selecting SDI line Initiation (daisy chain or MCU) J 4. Connector to connect SDO line in case of daisy chain selection CN 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 CN 8. Connector for a common input external voltage power supply CN 9. LED s Cathode are to connected J 0. LED Rail Voltage Supply (Common Anode of all J Led s) CN4. ArduinoTM UNO R connector CN5,CN6,CN8,CN9. Connector to connect SDO line in case of Daisy Chain Selection CN 8/9 DocID000 Rev
UM4 Figure 5: X-NUCLEO-LED6A (Bottom) Hardware description Figure 6: X-NUCLEO-LED6A RGB LEDs. Hardware functional overview Once the proper firmware is installed on the STM Nucleo board and the jumpers and connectors are configured correctly, supplying power causes the green OK LED (D) on the X-NUCLEO-LED6A expansion board and predefined LED patterns run every eight seconds:. All LEDs ON at full bightness. LED train forward single LED. LED train reverse DocID000 Rev 9/9
Hardware description 4. LED brigntness maximum at centre LED 5. Error detection red FAULT LED (D) 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 UM4 You can also cycle through the LED sequences by pressing the blue B USER button on the STM Nucleo board. Incorrect jumper configurations causes the red LED (FAULT) to light up.. Jumper settings.. LED rail voltage source selection The X-NUCLEO-LED6A LED rail voltage source can be set according to the settings in the following table. Table : LED Rail Voltage Source Selection Jumper USB 5V supply () External supply () J4 Pin Pin Pin Pin Pin Pin YES YES NO NO YES YES Notes: () Ensure output power consumption is below the USB power rating () External voltage supply should be between 4.8 and 5. V, capable enough of delivering current as per number of boards used and LED64GW configuration.. SDI-SDO configuration for daisy chain selection The X-NUCLEO-LED6A board can be stacked to operate the LED64GW LED driver in the daisy chain configuration figured below. 0/9 DocID000 Rev
UM4 Figure 7: Daisy chain configuration Hardware description The X-NUCLEO-LED6A expansion board lets you configure the SDI and SDO lines of SPI through Jumpers J and J, as per the following tables. Notes: Table : SDI line source selection Jumper () SDI-MCU SDI-SDO of adjacent board J Pin Pin Pin Pin Pin Pin YES YES NO NO YES YES () first board stacked on STM Nucleo always has : setting Table : SDO line destination selection Jumper () SDO-MCU SDO-SDI of adjacent board Pin Pin Pin Pin Pin Pin J YES YES NO NO YES YES Notes: () last board stacked on STM Nucleo always has : setting.4 Fault management The X-NUCLEO-LED6A detects fault conditions according to the LED64GW 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..5 Connector descriptions CN Connection of external LED rail voltage supply. CN4 - CN5 (RGB LEDs board) All 6 LED anode terminals are fed the LED rail voltage via connectors CN4 and CN5, as figured below. DocID000 Rev /9
Hardware description Figure 8: X-NUCLEO-LED6A connections UM4 CN Passes the external voltage power supply (from CN) to subsequent boards in daisy chain configurations. To supply different rail voltages to different X-NUCLEO-LED6A boards in the daisy chain, open resistance R4 and supply the individual voltages through CN on each board. CN0 and CN In daisy chain configurations these connectors are for transferring SPI data between adjacent X-NUCLEO-LED6A boards. The behavior of these connectors depends on jumper J and J settings. Table 4: Input output connector table Connector Pin Signal CN CN CN4 Common rail voltage for multiple boards + + External Voltage - - External Voltage + LED Rail Voltage /9 DocID000 Rev
UM4 Hardware description The default pin assignments for X-NUCLEO-LED6A (Arduino) connectors are shown below. Table 5: X-NUCLEO connector (Arduino) table Connector Pin Signal CN5 7 CN6 6 CN6 7 CN6 CN6 4 +.V CN6 5 +5V CN5 FAULT/OK LED CONTROL CN5 4 SDI CN5 5 SDO CN5 6 SCK CN9 LE CN9 7 PWCLK DocID000 Rev /9
BoM, schematics and layout UM4 BoM, schematics and layout. Bill of materials Table 6: X-NUCLEO-LED6A bill of materials Item Q.ty Reference Part / Value Description Manufacturer Order code U LED64GWXTTR 6 Channel LED Driver ST LED64GWXTTR D STPSL0A Schottky ST STPSL0A 4 4 5 5 R, R5, R, R4, R5, R6, R0, R, R4, R5, R6, R7, R8, R9 R7, R0, R, R6, R9 R8, R9, R, R, R4, R5, R7, R8, R0, R, R 0 Ω Ω 5 Ω 6 R 560 Ω ±5% 7 R4 470 Ω ±5% 8 R kω ±5% 9 R7,R DNM 0 C,C 00 nf 6 V ±0% Ceramic C 0 µf 6 V ±0% Ceramic C4 0 µf 5 V ±0% Ceramic D LED (RED) 4 D LED (GREEN) 5 J 6 J, J, J4 7 CN 6-Pin BergStick Male -Pin BergStick Male -Pin BergStick Female 8 CN CON.54mm Pitch, Right Angle.54mm Pitch.54mm Pitch.54mm Pitch Sullins Connector Solutions SAMTEC NPTC0KFXC- RC/S5594-ND (DIGIKEY) SSQ-0-0-F-S 4/9 DocID000 Rev
UM4 BoM, schematics and layout Item Q.ty Reference Part / Value Description Manufacturer Order code 9 CN -Pin BergStick Male 0 CN Terminal Block CN4 -Pin BergStick Male.54mm Pitch.54mm Pitch.54mm Pitch, Right Angle Molex On Shore Technology Inc. 087898004/WM985- ND(Digikey) OSTVN0A50/ED056- ND(Digikey) CN5 CON0 SAMTEC SSQ-0-0-F-S CN6, CN9 CON8 SAMTEC SSQ-08-0-F-S 4 CN7, CN0 DNM SAMTEC SSQ-9-04-L-D 5 CN8 CON6 SAMTEC SSQ-06-0-F-S 6 Female Straight Black Open Top Way R.S. 674-97 Table 7: X-NUCLEO-LED6A - RGB LEDs bill of materials Item Q.ty Reference Part / Value Description Manufacturer Order code 5 D, D, D, D4, D5 J5 CN5 RGB LEDs 6-Pin BergStick Female -Pin BergStick Female Common Anode.54mm Pitch, Right Angle.54mm Pitch, Right Angle Wurth Elektronik 504M700 DocID000 Rev 5/9
C +V 00nF C 0uF U 0 SDI Vdd 4 SCK SDI R-EXT SDO LE CLK SDO 4 PWCLK LED -K LE PWCLK 5 LED -K OUT0 OUT5 0 6 LED -K OUT OUT4 9 7 LED 4-K OUT OUT 8 8 LED 5-K OUT OUT 7 9 LED 6-K OUT4 OUT 6 0 LED 7-K OUT5 OUT0 5 LED 8-K OUT6 OUT9 4 LED 9-K OUT7 OUT8 5 EP FROM MCU SDI SDI DAISY CHAIN SDI-SDO R +V 560E 0 +5V LED 0-K LED -K LED -K LED -K LED 4-K LED 5-K LED 6-K 0 TO MCU SDO SDO DAISY CHAIN SDO-SDI LED -K LED -K LED -K LED 4-K LED 5-K LED 6-K LED 7-K LED 8-K LED 9-K LED 0-K LED -K LED -K LED -K LED 4-K LED 5-K LED 6-K 0 LED64 GWXTTR (TSSOP4 exposed pad) LED Driver LED Strip Header CN R4 0E 0 : +5V USB CON CN : External Voltage LED RailVoltage Connector CN NORMAL OPERATION J: : SDI SIGNAL FROM MCU DAISY CHAIN J: : SDI SIGNAL FROM SDO Daisy Chain Select Connectors FAULT D GREEN LED Indication LED's I/P Connector D RED LED D STPSL0 CON J R4 470E R K J4 CN C4 0uF NORMAL OPERATION J: : SDO SIGNAL TO MCU DAISY CHAIN J: : SDO SIGNAL TO SDI 0 CON R7 E R8 5E R9 5E R0 E R 5E R 5E R E R4 5E R5 5E R6 E R7 5E R8 5E R9 E R0 5E R 5E R 5E LED Anode Connector CN4 J 4 5 6 7 8 9 0 4 5 6 D5 D4 VDD SCK/D MISO/D MOSI/D D0 D9 D8 D7 D6 D5 D4 D D D D0 J CON6 CN5 CN9 4 5 6 7 8 9 0 4 5 6 7 8 CN7 5 7 9 5 7 9 5 7 9 5 7 Morpho Connectors R7 DNM R5 0E R5 0E R6 0E R 0E R8 0E R6 0E LE Nucleo Connectors (ARDUINO) 4 6 8 0 4 6 8 0 4 6 8 0 4 6 8 +V +V +5V SCK TO MCU SDO FROM MCU SDI PWCLK LE LE SCK TO MCU SDO FROM MCU SDI PWCLK LE LED CONTROL LED CONTROL 0 +V C 00nF 0 R DNM R 0E R4 0E R5 0E R0 0E R9 0E R7 0E R 0R +5V CN0 5 7 9 5 7 9 5 7 9 5 7 +V 4 5 6 7 8 4 5 6 CN6 CN8 4 6 8 0 4 6 8 0 4 6 8 0 4 6 8 NC IOREF RESET +V +5V VIN A0 A A A A4 A5 BoM, schematics and layout UM4. Schematic diagram Figure 9: X-NUCLEO-LED6A circuit schematic GSPG0960945SG LED CONTROL 6/9 DocID000 Rev
UM4. Layout Figure 0: X-NUCLEO-LED6A layout (top) BoM, schematics and layout Figure : X-NUCLEO-LED6A layout (bottom) DocID000 Rev 7/9
Revision history UM4 4 Revision history Table 8: Document revision history Date Version Changes -Nov-06 Initial release. 8/9 DocID000 Rev
UM4 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. 06 STMicroelectronics All rights reserved DocID000 Rev 9/9