November 2016
DocID030078 Rev 1
1/14
www.st.com
UM2147
User manual
Getting started with X-CUBE-LED1642 16 channel LED driver
software expansion based on LED1642GW for STM32Cube
Introduction
The X-CUBE-LED16A1 expansion software package for STM32Cube runs on the STM32
microcontroller with drivers and sample applications for the LED1642GW LED driver.
An SPI interface facilitates communication between the STM32 Nucleo board and the X-NUCLEO-
LED16A1 expansion board. It is built on top of STM32Cube software technology that ease portability
across different STM32 microcontrollers.
The software includes sample driver implementations for the X-NUCLEO-LED16A1 expansion board on
a NUCLEO-F401RE or NUCLEO-L053R8 development board.
UM2147
2/14
DocID030078 Rev 1
Contents
1What is STM32Cube? ...................................................................... 4
1.1 What is STM32Cube? ....................................................................... 4
1.2 STM32Cube architecture ..................................................................4
2X-CUBE-LED1642 software expansion for STM32Cube ............... 6
2.1 Overview ........................................................................................... 6
2.2 Architecture ....................................................................................... 6
2.3 Folders structure ............................................................................... 7
2.4 APIs .................................................................................................. 8
2.5 Sample application description.......................................................... 8
2.6 Preconfigured demos ........................................................................ 8
3System setup guide......................................................................... 9
3.1 Hardware description ........................................................................ 9
3.1.1 STM32 Nucleo platform...................................................................... 9
3.1.2 X-NUCLEO-LED16A1 expansion board........................................... 10
3.2 Software description........................................................................ 10
3.3 Hardware and software setup ......................................................... 11
3.3.1 Hardware setup ................................................................................ 11
3.3.2 Software setup.................................................................................. 11
3.4 System setup guide......................................................................... 11
3.4.1 STM32 Nucleo and LED driver expansion boards setup ................. 11
4Revision history ............................................................................ 13