Key facts
- Brand
- STMicroelectronics
- Model
- L1x
- Category
- microcontrollers
- Documents
- 4
- Languages
- EN
- Last added
- 2023-10-27
Start here

STMicroelectronics VL53L1X API User Manual
This document describes the API functions for controlling the VL53L1X Time-of-Flight sensor and retrieving ranging data. It covers mandatory and optional driver functions, including initialization, measurement start, data retrieval, and calibration. The manual also explains timing considerations and interrupt handling for autonomous ranging.
The sensor operates autonomously with programmable timing budgets and inter-measurement periods. Calibration functions for RefSPAD, offset, and crosstalk are detailed, along with optional settings for distance mode, thresholds, and ROI. The document assumes minimal OS integration and leaves platform-specific implementation to the integrator.
STMicroelectronics L1x specifications
| Number of DMA channels | Twelve DMA channels (7 for DMA1 and 5 for DMA2) |
|---|---|
| Maximum data tokens per transfer | 65536 data tokens |
| Transfer modes | Non-circular/circular mode |
| Transfer types | Memory-to-memory, memory-to-peripheral, peripheral-to-memory and peripheral-to-peripheral |
| Arbitration time (tA) | 2 AHB clock cycle |
| Peripheral access time (tACC) | 1 AHB clock cycle + 2 APB clock cycles + 1 AHB clock cycle |
All STMicroelectronics L1x documents by type
How to use the product for one specific task, with worked examples.
Day-to-day operation, settings and troubleshooting. Start here if the product is already set up.
Questions answered in these manuals
What is the maximum data bandwidth requirement for the highest priority DMA channel?
The required data bandwidth must be lower than 25% of the maximum APB transfer rate.
How does the STM32 DMA handle bus access compared to burst mode?
The STM32 DMA uses a single bus cycle for data transfers (bus stealing) rather than operating in burst mode.
How do I start a measurement with the VL53L1X?
Call the VL53L1_StartMeasurement() function to start a measurement.
What is the default distance mode?
The default distance mode is 'Long', which supports up to 4 meters.
What is the required operating voltage supply for the STM32L1xxx device?
The device requires a 2.0 V to 3.6 V operating voltage supply (Vpp) to be fully functional at full speed.
From: STMicroelectronics AN3216 STM32L1xxx Hardware Development Application Note
Can the ADC and DAC use an independent power supply?
Yes, to improve conversion accuracy, the ADC and the DAC have an independent power supply that can be filtered separately.
From: STMicroelectronics AN3216 STM32L1xxx Hardware Development Application Note
