STMicroelectronics X-NUCLEO-53L1A2 Quick Start Guide

Quick Start Guide
Version (May 5, 2020)
Time-of-Flight ranging sensor with advanced multi-zone and multi­object detection expansion board based on VL53L1 for STM32 Nucleo
(X-NUCLEO-53L1A2)
Quick Start Guide Contents
X-NUCLEO-53L1A2: Time-of-Flight ranging sensor with advanced multi-zone and multi-object detection expansion board
Hardware and Software overview
Hardware & Software installation Documents & Related Resources
STM32 Open Development Environment: Overview
VL53L1
Long distance ranging ToF sensor expansion board
Hardware Overview (1/2)
X-NUCLEO-53L1A2 Hardware Description
The X-NUCLEO-53L1A2 is an evaluation and
development board designed with the VL53L1 ranging sensor with advanced multi-zone and multi-object detection based on ST FlightSense
TM
Time-of-Flight technology.
The VL53L1 communicates with the STM32
Nucleo developer board host microcontroller through an I2C link available on the Arduino UNO R3 connector.
Order Code: X-NUCLEO-53L1A2
Holder for spacers and cover window
VL53L1 breakout boards
Key Products on board
VL53L1 long distance ranging and gesture
detection sensor module
0.25, 0.5 and 1mm spacers to simulate air gaps,
with the cover glass
Cover window (made by Hornix) sample with low
cross-talk ready to use / clipable on VL53L1 2x VL53L1 breakout boards
Arduino UNO R3 connectors
Latest info available at www.st.com
X-NUCLEO-53L1A2
Remove the protective film
on the VL53L1 sensor
Cover window sample
X-NUCLEO-53L1A2 expansion board
To help integrate multiple VL53L1 devices in custom applications,
up to 2 external VL53L1 breakout boards can be connected to the expansion board.
The breakout boards are delivered with the X-NUCLEO-53L1A2.
X-NUCLEO-53L1A2 is also available as a NUCLEO Pack
(P-NUCLEO-53L1A2)
The X-NUCLEO-53L1A2 expansion board can also be ordered on www.st.com as part of a NUCLEO Pack with expansion board and STM32 NUCLEO board.
Order code: P-NUCLEO-53L1A2: X-NUCLEO-53L1A2 expansion board and NUCLEO-F401RE full
features board.
VL53L1 breakout boards can also be ordered separately
Order code: VL53L1-SATEL
Two breakout boards are included.
Remove the protective film
on the VL53L1 sensor
Long distance ranging ToF sensor expansion board
Hardware Overview (2/2)
The X-CUBE-53L1A2 software package is an
STM32Cube expansion for the X-NUCLEO­53L1A2 expansion board for STM32. The source code is based on STM32Cube to ease portability and code sharing across different STM32 MCU families. An sample implementation is available for the STM32 Nucleo ranging sensor expansion board (X-NUCLEO-53L1A2) plugged on top of an STM32 Nucleo development board (NUCLEO-F401RE or NUCLEO-L476RG).
Long distance ranging ToF sensor expansion board
STM32Cube Software Overview
X-CUBE-53L1A2
Latest SW available at www.st.com
Key features
X-CUBE-53L1A2 software description
Driver layer (VL53L1 API) for complete
management of the VL53L1 ranging sensor integrated in the X-NUCLEO-53L1A2 expansion board.
Easy portability across different MCU families,
thanks to STM32Cube.
Free, user-friendly license terms.
Sample code for ranging measurement.
Ranging measurement example
Application
STM32Cube Hardware Abstraction Layer
(HAL)
Hardware Abstraction
Hardware
STM32 Nucleo development board
STM32 Nucleo expansion board
X-NUCLEO-53L1A2
Quick Start Guide Contents
X-NUCLEO-53L1A2: Time-of-Flight ranging sensor with advanced multi-zone and multi-object detection expansion board
Hardware and Software overview
Hardware & Software installation Documents & Related Resources
STM32 Open Development Environment: Overview
Setup & Demo Examples
HW prerequisites
1x Ranging sensor expansion board
based on VL53L1 (X-NUCLEO-53L1A2).
1x STM32 Nucleo development board
(NUCLEO-F401RE or NUCLEO-L476RG)
1x Laptop/PC with MS Windows
1x USB type A to Mini-B USB cable
If you don’t have an STM32 Nucleo development board,
you can order a Nucleo pack (P-NUCLEO-53L1A2):
X-NUCLEO-53L1A2 expansion board and NUCLEO-F401RE full features board delivered together.
X-NUCLEO-53L1A2
NUCLEO-F401RE
or
NUCLEO-L476RG
P-NUCLEO-53L1A2
Remove the protective film
on the VL53L1 sensor
Setup & Demo Examples
SW prerequisites
STSW-IMG019: VL53L1 ranging sensor with advanced multi-zone and multi-object detection
application programming interface (API)
STSW-IMG020: P-NUCLEO-53L1A2 Graphical User Interface (GUI) on Windows 7 and 10
X-CUBE-53L1A2: P-NUCLEO-53L1A2 software expansion. Copy the .zip file content into a
folder on your PC; the package will contain the API software driver, a simple ranging source
code example (Keil, IAR, STM32CubeIDE) based on NUCLEO-F401RE or NUCLEO-L476RG
for STM32Cube, and all the necessary documentation.
1. Connect the Nucleo pack to the PC through USB
Wait for the board to be recognized; the drivers are installed automatically)
If Windows cannot install automatically the
STLINK driver, please follow step 2
2. Install the PC USB port driver to detect the Nucleo board
Called STSW-LINK009, downloaded from www.st.com
Unzip, extract the docs, and install “stlink_winusb_install.bat”
=> VL53L1 NUCLEO Kit is ready for GUI installation
Setup & Demo Examples
NUCLEO Kit driver installation
Perform calibration phases (offset and Crosstalk with cover glass)
Change key parameters of VL53L1
Display real time key ranging data (distance, signal rate),
Get data logging (.csv file)
GUI is generally the first step to evaluate the device
Perform HW installation and connect the VL53L1 NUCLEO pack
( X-NUCLEO-53L1A2 expansion board + STM32 Nucleo board) to the PC
Install the GUI SW for VL53L1 Demo and configuration settings
Called STSW-IMG020, downloaded from www.st.com
Unzip, extract the docs, and install “VL53L1_setup.exe”
Run the installer with Admin privileges or change default installation directory
The Graphical User Interface can:
Setup & Demo Examples
VL53L1 GUI software installation
10
11
Remove the protective film
on the VL53L1 sensor
Setup & Demo Examples
VL53L1 GUI software installation
Perform HW installation and connect the NUCLEO kit ( P-NUCLEO-53L1A2)
to the PC
Install the X-CUBE-53L1A2 SW package
Called X-CUBE-53L1A2, downloaded from www.st.com
Unzip, extract the docs, and the X-CUBE-53L1A2 folder directory appears
X-CUBE software package contents: API SW + SW examples
Generic Nucleo & SW installation guide
VL53L1 API driver
VL53L1 project examples for single sensor ranging:
- pre-compiled binary files to evaluate the sensor
- STM32 IDE with projects on STM32 Workbench, Keil and IAR
There is the same folder for STM32L476RG-Nucleo
X-CUBE-53L1A2
53L1A2
12
Setup & Demo Examples
X-CUBE-53L1A2 software installation
VL53L1 ranging ToF sensor expansion board
Evaluation code example ( .bin ) using X-CUBE-53L1A2
and a NUCLEO Pack
13
Drag and
drop to
Load STM32 firmware ( Binary code file )
VL53L1_SimpleRanging.bin
Or
VL53L1_SimpleRanging_L476.bin
Open: UMxxxx (Getting started with X-NUCLEO-53L1A2
ranging sensor with multi target detection expansion board based on VL53L1 for STM32 Nucleo) and follow the instructions
X-CUBE-53L1A2
VL53L1_SimpleRanging.bin
VL53L1_SimpleRanging_L476.bin
VL53L1 ranging ToF sensor expansion board
Start programming with code examples
using X-CUBE-53L1A2 and a NUCLEO Pack
14
X-CUBE-53L1A2
53L1A2
53L1A2
Open project example for
Single sensor ranging measurement
And
Modify, build application SW
We find same folders and same files as above
VL53L1_SimpleRanging.uvprojx
Open: UMxxxx (Getting started with X-NUCLEO-53L1A2 ranging sensor with multi target detection expansion board based on VL53L1 for STM32 Nucleo) and follow the instructions
Documents & Related Resources
VL53L1: Product Folder
DS11786: New generation Time-of-Flight ranging sensor with advanced multi-zone and multi-object detection- data sheet
X-NUCLEO-53L1A2: Product Folder
DBxxxx: – data brief
X-NUCLEO-53L1A2 Quick start guide : Time-of-Flight ranging sensor with advanced multi-zone and multi-object detection
expansion board based on VL53L1 for STM32 Nucleo – ( this document )
UMxxxx: Getting started with X-NUCLEO-53L1A2 ranging sensor with multi target detection expansion board based on VL53L1 for
STM32 Nucleo - user manual
P-NUCLEO-53L1A2: Product Folder
DBxxxx: – data brief
STSW-IMG020: Graphical User Interface (GUI) Folder
DB4253: P-NUCLEO-53L1A2 pack graphical user interface (GUI) data brief
STSW-IMG019: Application programming Interface (VL53L1 software driver API) folder
DB4208: VL53L1 Time-of-Flight ranging sensor with programmable field of view and multiobject detection application programming
interface (API) – data brief
X-CUBE-53L1A2: Software package for STM32Cube
DB4252 : Time-of-Flight ranging sensor with programmable field of view and multi object detection software expansion of
STM32Cube – data brief
15
Go to https://www.st.com/en/imaging-and-photonics-solutions/vl53l1
All documents are available in the DESIGN tab of the related products webpage
Quick Start Guide Contents
16
X-NUCLEO-53L1A2: Time-of-Flight ranging sensor with advanced multi-zone and multi-object detection expansion board
Hardware and Software overview
Setup & Demo Examples Documents & Related Resources
STM32 Open Development Environment: Overview
STM32 Open Development Environment
Fast, affordable Prototyping and Development
17
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)
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.
18
www.st.com/stm32nucleo
Arduino™ UNO R3 extension headers
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.
19
DIL24 support for
new devices
Motion MEMS sensors
Environmental sensors
www.st.com/x-nucleo
Example of STM32 expansion board (X-NUCLEO-IKS01A1)
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.
20
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; they 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
Applicationexamples
(e.g.basedon ST OpenSoftwareX)
Hardware
SampleapplicationsApplications
IAREWARM,KeilMDK-ARM,GCC-basedIDEs
(e.g.Ac6SystemWorkbenchfor STM32)
STM32CubeHardwareAbstractionLayer(HAL)
STM32Cube
middleware
Upperlevel middleware
(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
STM32 Open Development Environment
Building block approach
21
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...