STMicroelectronics X-NUCLEO-LED16A1 Quickstart

Page 1
Version 1.0.0 (Dec 06, 2016)
Quick Start Guide
16 Channels LED driver expansion board based on LED1642GW for STM32 Nucleo (X-NUCLEO-LED16A1)
Page 2
Quick Start Guide Contents
2
Setup & Demo Examples Documents & Related Resources
STM32 Open Development Environment: Overview
Page 3
16 Channels LED Driver expansion board
Hardware Overview
3
LED1642GW
X-NUCLEO-LED16A1 Hardware Description
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.
LED’s Cathode Connector
Arduino UNO R3 connector
Key Products on board
LED1642GW
16 Channels LED driver with Error detection, Current Gain Control and 12/16 bit PWM Brightness control.
Latest info available at www.st.com
X-NUCLEO-LED16A1
LEDs
Page 4
16 Channels LED Driver expansion software
Software Overview
4
X-CUBE-LED1642 Software Description
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 XNUCLEO-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.
Key features
Complete middleware package to build applications using the
LED1642GW LED driver on the X-NUCLEO-LED16A1 expansion board for STM32 Nucleo
SPI interface between STM32 Nucleo and X-NUCLEO-LED16A1
expansion board
Multiple stacking of X-NUCLEO-LED16A1 expansion boards
allowed
Easy portability across different MCU families, thanks to
STM32Cube
Free user-friendly license terms
Sample implementations for X-NUCLEOLED16A1 expansion
board(s) plugged on a NUCLEO-F401RE or NUCLEO-L053R8 development board
X-CUBE-LED1642
Latest info available at www.st.com
Overall Software Architecture
Page 5
Quick Start Guide Contents
5
Setup & Demo Examples Documents & Related Resources
STM32 Open Development Environment: Overview
Page 6
Setup & Demo Examples
HW prerequisites
6
Mini USB Cable
NUCLEO-F401RE
NUCLEO-L053R8
X-NUCLEO-LED16A1
RGB LEDs
X-NUCLEO-LED16A1
1x STM32 Nucleo development board
(NUCLEO-F401RE or NUCLEO-L053R8)
1x 16 Channels LED Driver expansion board
(X-NUCLEO-LED16A1)
1x LED string connected in parallel with anode shorted
(RGB LED’s or 16 LED’s) *
1x Laptop/PC with Windows 8/7 installed
1x USB type A to Mini-B USB cable
* It is included in the X-NUCLEO-LED16A1
Page 7
Setup & Demo Examples
SW prerequisites
7
STSW-LINK008: ST-LINK/V2-1 USB driver
STSW-LINK007: ST-LINK/V2-1 firmware upgrade
X-CUBE-LED1642
Copy the .zip file content into a folder on your PC. The package will contain source code example
(Keil, IAR, System Workbench) based only on NUCLEO-F401RE or NUCLEO-L053R8
Page 8
X-CUBE-LED1642
16 Channels LED driver expansion board software
8
Download & unpack
www.st.com/x-nucleo
www.st.com
1
X-CUBE-LED1642
Select
2
3
X-CUBE-LED1642 package structure
Docs BSP, HAL and drivers
Application example
4
5
Compile/Flash and Run the project
.\Projects\Multi\Examples\LED1642GW_Demo\EWARM\STM32F401RE-Nucleo
6
Page 9
X-NUCLEO-LED16A1
Controls and Jumper setting
9
Push Button Controls:
Pressing the RESET button on STM32 Nucleo development board triggers the initialization phase
Pressing the USER button the STM32 Nucleo development board will switch over to next demo
Jumper Setting:
J4 – Jumper (USB Supply or External Voltage)
J2 – SPI SDI Selection
J3 – SPI SDO Selection
J4 (1 & 2) USB Supply USB Supply J4 (2 & 3) External Voltage 4. 8 – 5.2V
J2 (1 & 2) SDI of LED1642GW is connected with MCU J2 (2 & 3) SDI of LED1642GW is connected with SDO of
adjacent below X-NUCLEO-LED16A1
DAISY CHAIN
J3 (1 & 2) SDO of LED1642GW is connected with MCU J3 (2 & 3) SDO of LED1642GW is connected with SDI of
adjacent above X-NUCLEO-LED16A1
DAISY CHAIN
Page 10
Documents & Related Resources
X-NUCLEO-LED16A1:
Gerber files, BOM, Schematic
DB3044: 16 Channels LED driver expansion board based on LED1642GW for STM32 Nucleo – data brief
UM2141: Getting started with X-NUCLEO-LED16A1 16-channel LED driver expansion board for STM32 Nucleo – user manual
X-CUBE-LED1642:
DB3130: 16 Channels LED driver software expansion for STM32Cube – data brief
UM2147: Getting started with X-CUBE-LED1642 16 channel LED driver software expansion for STM32Cube – user manual
Software setup file
X-NUCLEO-LED16A1 RGB LED’s:
Gerber files, BOM, Schematic
10
All documents are available in the DESIGN tab of the related products webpage
Consult www.st.com for the complete list
Page 11
Quick Start Guide Contents
11
X-NUCLEO-LED16A1: 16 Channels LED Driver expansion board Hardware and Software overview
Setup & Demo Examples Documents & Related Resources
STM32 Open Development Environment: Overview
Page 12
STM32 Open Development Environment
Fast, affordable Prototyping and Development
12
The STM32 Open Development Environment (ODE) consists of a set of stackable boards
and a modular open SW environment designed around the STM32 microcontroller family.
www.st.com/stm32ode
Function Packs
(FP)
STM32Cube
development software
STM32 Nucleo
expansion boards
(X-NUCLEO)
STM32 Nucleo
development boards
STM32Cube
expansion software
(X-CUBE)
Page 13
Power supply through USB or external source
Integrated debugging
and programming
ST-LINK probe
STM32 microcontroller
Complete product range
from ultra-low power to high-performance
ST morpho extension header
STM32 Nucleo
Development Boards (NUCLEO)
A comprehensive range of affordable development boards for all the STM32
microcontroller series, with unlimited unified expansion capabilities and integrated debugger/programmer functionality.
13
www.st.com/stm32nucleo
Arduino™ UNO R3 extension headers
Page 14
Move/ActuatePower InteractConnect
Sense
STM32 Nucleo
Expansion Boards (X-NUCLEO)
Boards with additional functionality that can be plugged directly on top of the STM32
Nucleo development board directly or stacked on another expansion board.
14
DIL24 support for
new devices
Motion MEMS sensors
Environmental sensors
www.st.com/x-nucleo
Example of STM32 expansion board (X-NUCLEO-IKS01A1)
Page 15
STM32 Open Development Environment
Software components
STM32Cube software (CUBE) - A set
of free tools and embedded software bricks to enable fast and easy development on the STM32, including a Hardware Abstraction Layer and middleware bricks.
STM32Cube expansion software
(X-CUBE) - Expansion software provided
free for use with the STM32 Nucleo expansion board and fully compatible with the STM32Cube software framework. It provides abstracted access to expansion board functionality through high-level APIs and sample applications.
15
www.st.com/x-cube
Compatibility with multiple Development Environments - The STM32 Open Development
Environment is compatible with a number of IDEs including IAR EWARM, Keil MDK, and GCC-based environments. Users can choose from three IDEs from leading vendors, which are free of charge and deployed in close cooperation with ST. These include Eclipse-based IDEs such as Ac6 System Workbench for STM32 and the MDK-ARM environment.
Tools&IDEs
Application examples
(e.g.basedon ST OpenSoftwareX)
Hardware
SampleapplicationsApplications
IAREWARM,KeilMDK-ARM,GCC-basedIDEs
(e.g.Ac6System Workbenchfor STM32)
STM32CubeHardwareAbstractionLayer (HAL)
STM32Cube middleware
Upperlevelmiddleware
(e.g.ST OpenSoftwareX)
Middleware
Hardware Abstraction
STM32Cubeexpansionmiddleware
STM32 Nucleo expansion boards (X-NUCLEO)
STM32 Nucleo developer boards
OPEN LICENSE MODELS: STM32Cube software and sample applications are covered by a
mix of fully open source BSD license and ST licenses with very permissive terms.
www.st.com/stm32cube
Page 16
STM32 Open Development Environment
Building block approach
16
The building blocks Your need Our answer
Move / Actuate
Connect
Power
Sense
Process
Inertial modules, magnetometer
Proximity, microphone
Pressure, temperature, humidity
Bluetooth LE, Sub-GHz radio
NFC, Wi-Fi, GNSS
Energy management & battery
General-purpose microcontrollers
Stepper motor driver
DC & BLDC motor driver
Audio amplifier
COLLECT
TRANSMIT
ACCESS
CREATE
POWER
PROCESS
Software
Secure microcontrollers
Touch controller
Operation Amplifier
Accelerometer, gyroscope
Translate
Industrial input / output
www.st.com/stm32ode
Loading...