EasyManua.ls Logo

ST VL53L4CX - Bare Driver Basic Functions Description; Bare Driver

ST VL53L4CX
25 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3 Bare driver basic functions description
This section describes the driver function calls flow that should be followed to perform a ranging measurement
using the VL53L4CX.
The VL53L4CX driver is used in two classes of applications:
Factory applications used for device calibration, typically at the end of product manufacturing test (factory
flow)
Field applications, which include all end-user applications using the VL53L4CX device (ranging flow)
3.1
Bare driver
Bare driver factory flow is illustrated in the following figure.
Figure 4. VL53L4CX API ranging flow (factory)
Host calls driver
function
DataInit
()
PerformRefSpadManagement()
PerformOffsetCalibration()
WaitDeviceBooted()
PerformXtalkCalibration()
Key
Host calls Optional
driver function
GetCalibrationData()
Save part calibration data
Note: The calibration flow changes the distance mode. It is mandatory to call the SetDistanceMode() function if you
want to use the sensor just after a calibration.
Bare driver ranging flow is illustrated in the following figure.
UM2923
Bare driver basic functions description
UM2923 - Rev 2
page 6/25

Related product manuals