Key takeaways
- The VL53L9CX is a complete flash LiDAR in a 12.83 × 6.10 × 4.64 mm package: two 940 nm VCSELs, a metasurface optic, a 54 × 42 SPAD array and the ranging SoC, all in one module.
- It does not scan. One flood flash covers a 57.6° × 43° illumination field, and the receiver splits that field into 2268 zones — so there are no moving parts, no MEMS mirror and no motor.
- Raw output is radial distance along each zone’s line of sight, not depth along the optical axis. Turning one into the other is the R2P step, done in host software, not on the chip.
- Spec-sheet numbers are best-case: 100 Hz is a ceiling, and the 8.8 m range depends on target reflectance, ambient IR and exposure time. ST’s own demo quotes 5 m at 40 klux and 9 m indoors.
- ST does not ask you to calibrate optics per unit. Theoretical focal length and distortion are shared across parts; only the residual optical offset is read from each sensor’s OTP.
Small drones have a sensing gap: a single-point rangefinder gives you one distance, and a camera gives you texture but no scale. A 3D dToF LiDAR module sits in between, and the smallest one currently available is STMicroelectronics’ VL53L9CX, released in June 2026. Its footprint is 12.83 × 6.10 × 4.64 mm, it measures 5 cm to 8.8 m radially, its field of view is 55° × 42°, its maximum resolution is 54 × 42 zones and its top frame rate is 100 Hz.

Inside, it is a direct time-of-flight sensor built as a flash LiDAR: a VCSEL floods the scene with infrared through a metasurface optical element, a two-dimensional SPAD array collects the return, and time of flight converts photon arrival times into a per-zone range. The output is a multi-zone radial depth map; converting that into a perpendicular depth map or a point cloud for obstacle avoidance or SLAM happens in host software.

Most of the intimidating vocabulary here — SPAD, MOE, dToF, R2P — describes simple mechanisms once you separate them. Below is the module, then the physics, then the post-processing, following ST’s own documentation: the VL53L9CX datasheet, the VL53L9CX Postprocessing Pipeline application note (TN1641), the UM3683 programming guide, AN6304 on connecting multiple devices to one host, and the X-CUBE-53L9A1 expansion package, which is where the actual implementation lives. TN1641 is thin in places; the C source in X-CUBE-53L9A1 is the authority.
Inside the module: transmitter, receiver and the isolation barrier

Transmitter
- Two VCSELs at 940 nm. Vertical-cavity surface-emitting lasers; the actual light sources, invisible to the eye.
- VCSEL driver. Pulsed drive, timed to the ranging schedule.
- MOE (metasurface optical element). Sits above the VCSELs and shapes the emitted wavefront into the required rectangular illumination field. This is what makes a flat-looking aperture emit light across a wide angle.
Receiver
- Rx lens. Focuses returning light from each direction onto a different part of the array — ordinary pinhole imaging.
- IR filter. Passes the 940 nm band, rejects the rest, cutting ambient interference.
- SPAD array. Single-photon avalanche diodes, one per zone position, each turning a photon arrival into a detectable electrical event. One zone maps to a 2 × 2 macro-SPAD whose events are combined.
On-chip ranging and signal processing
- Post-processing SoC. Histograms photon arrival times per zone, extracts the valid echo, computes range and emits the measurement frame.
- OTP (one-time programmable memory). Factory calibration: global range offset, per-zone range offsets, optical center offsets, lens calibration and the DSS lookup table. Firmware reads it at boot.
- PMIC. Internal rail generation.
Optical barrier
Between transmitter and receiver, a physical wall blocks emitted light from reaching the detector directly. Without it, internal crosstalk would swamp the weak return from a distant, low-reflectance target. The datasheet covers this in the module structure section on page 36.
Interfaces and the ranging frame
Two interface classes: control (host commands and configuration) and data output. Control runs over I³C or I3C. Data can leave over MIPI CSI-2, I3C or I²C, with CSI-2 as the default because it sustains continuous depth frames at high resolution. I²C can read depth maps, but bus bandwidth and host read speed will visibly cut the achievable frame rate at high zone counts. So I³C and I²C serve both roles, while CSI-2 is the fast path.
In ranging mode, one frame is four arrays plus a 100-byte status line:
| Array | Content | Encoding |
|---|---|---|
| Depth | Radial distance per zone, mm, plus a 1-bit step flag | U16 |
| Amplitude | Return signal amplitude per zone | U16 |
| Ambient | Ambient infrared level per zone | U16 |
| DSS | Dynamic SPAD selection lookup index per zone | 4 bits per zone |
Multi-byte values are stored little-endian (least significant byte first), starting at row 0, column 0. The scan order is column first, then row — so a linear buffer walk does not match a naive row-major assumption. The 4-bit DSS array is packed two zones per byte, so a 54 × 42 frame needs 1134 bytes for DSS alone.
Frame sizes by binning, straight from the datasheet. The last column adds the 100-byte status line to the minimum CSI-2 frame:
| Binning | Zone resolution | Zones | Four-array payload | Minimum CSI-2 frame |
|---|---|---|---|---|
| 2× | 54 × 42 | 2268 | 14,742 B | 14,842 B |
| 4× | 24 × 20 | 480 | 3,744 B | 3,844 B |
| 6× | 18 × 14 | 252 | 1,638 B | 1,738 B |
| 8× | 12 × 10 | 120 | 780 B | 880 B |
| 12× | 8 × 6 | 48 | 416 B | 516 B |
| 24× | 4 × 4 | 16 | 104 B | 204 B |
The 100-byte status line carries per-frame metadata:
- Frame counter.
- Temperature — sensor and laser driver.
- Reference array data: channels 1 and 2, long and short walk, distance and amplitude.
- CSI-2 frame width and height.
- Static configuration: mode, format, power, sync.
- Dynamic configuration: step, context, merge, DSS mode.
- Error codes: firmware error status, LDD error status.
- Crop information and capture count.
Key specifications, and the four numbers people misread

| Parameter | Datasheet value |
|---|---|
| Module size | 12.83 × 6.10 × 4.64 mm |
| Emitters | 2 VCSELs |
| Wavelength | 940 nm |
| Illumination method | Flood illumination |
| Detector | 2D SPAD array |
| Receiver field of view (FoV) | 55° × 42° (about 71° diagonal) |
| Illumination field (FoI) | 57.6° × 43° |
| Maximum resolution | 54 × 42 zones, 2268 ranging regions |
| Range | About 50 mm to 8800 mm, depending on mode and conditions |
| Maximum frame rate | 100 Hz |
- 54 × 42 is a zone count, not a beam count. There are no 2268 lasers firing in sequence. One zone equals one 2 × 2 macro-SPAD, and the events inside it are combined.
- FoV and FoI are different things. FoV is where the receiver can look. FoI is where the transmitter actually puts light. They are close here by design, not by definition.
- 100 Hz is a capability ceiling. It is not reachable at every resolution, every mode and every ambient light level.
- 8.8 m is conditional. Target reflectance, ambient infrared, exposure time and mode all move the real number. ST’s own demo graphic quotes 5 m at 40 klux and 9 m in indoor lighting — note that 9 m exceeds the datasheet’s 8.8 m, which is exactly why you read range as a scenario, not a constant.
How the transmitter covers 57.6° × 43° without scanning
The emitter face looks flat. So how does light leave in many directions at once?
The answer is flood illumination: one flash covers a wide angular range, instead of steering a beam left, then right, then up. The VCSEL is what actually emits — a tiny infrared laser source, two of them at 940 nm. A bare VCSEL would produce its own natural divergence, which is nothing like the rectangular wide field the sensor needs, so an optical element reshapes it.
That element is the MOE. Think of it as a very thin phase plate covered in sub-wavelength structures. A conventional lens bends light by curvature and thickness; a metasurface instead imposes a designed phase delay at each position across its surface. When the wavefronts from all those positions recombine, they form a pre-designed exit wavefront that spreads energy over the required angular field.
The division of labor is clean: the VCSEL produces the light, the MOE decides which directions that light ends up occupying.
Which means the module never scans direction by direction. It lights the whole scene, then sorts the return spatially on the receive side. No motor, no rotating mirror, no MEMS scanning mirror. In illumination terms it behaves much more like an active infrared depth camera than like a spinning LiDAR: illuminate, then read the whole field at once.
How the receiver knows which direction a photon came from
Same mechanism as any camera. A camera knows whether an object is top-left or bottom-right in the frame because the lens projects different directions onto different pixel positions. The VL53L9CX receiver is a special camera: it has a lens and a two-dimensional photodetector array, but the array is SPAD rather than CMOS, backed by CMOS analog and digital processing.
A normal camera records brightness and color. Here, the array records photon arrival events from very weak infrared returns, and time of flight turns those events into distance. The result is a depth image instead of a color image.
At full resolution the array is divided into 54 × 42 zones, 2268 spatial ranging regions. The datasheet notes one zone corresponds to a 2 × 2 macro-SPAD whose detection events are combined, and that binning modes reduce the zone count further.
One detail that catches people out: the Rx optics flip the captured scene both horizontally and vertically. A target at the top right of the scene lands at the bottom left of the SPAD array.

So the top-left of the array is not the top-left of the world. Firmware and host software must remap zone coordinates to scene coordinates using the device’s defined array orientation and calibration. Get this wrong and your point cloud is mirrored — which looks plausible until you try to fuse it with an IMU.
From time of flight to distance
Light leaves, hits the target, comes back. Time the round trip and you have the range. In the simplest coaxial model, where transmitter and receiver are treated as coincident:
d = c · t / 2
where d is the distance to the target, c is the speed of light (about 3 × 108 m/s), t is the round-trip time, and the division by two accounts for the outbound and return legs.
A round trip of about 20 ns means the light traveled roughly 6 m in total, so the target sits about 3 m away.
SPAD ranging does not trust a single photon event. It accumulates arrival times over many laser pulses into an on-chip histogram, extracts the peak that corresponds to a real target, and converts that time to a range for that zone. The same processing suppresses ambient light, stray reflections and crosstalk from the cover glass.
The coaxial model is an entry-level approximation, and the real device is not coaxial: the transmit and receive optical centers are about 7.166 mm apart. The true path is Tx to target plus target to Rx, and the chip corrects the difference using its optical geometry, system timing and factory calibration. So the formula above explains the principle; it is not the complete internal calibration model. The separation is handled explicitly later, in the parallax correction inside R2P.
Radial distance is not perpendicular depth
Combine the two halves — direction from the imaging geometry, distance from time of flight — and you have a depth map: each zone corresponds to a small angular region, each zone gets its own range, and organizing the results by array row and column gives a two-dimensional map.
But the value the chip reports is radial distance: the length along that zone’s line of sight, from sensor to target. That is not the same as perpendicular depth, the distance along the optical axis.
Point the module at a flat wall parallel to its front face:
- The center zone looks almost straight down the optical axis, so its radial range nearly equals the wall’s perpendicular depth.
- Left and right zones look at the wall obliquely, so their measured ranges are longer.
- The closer to the field edge, the more oblique the line of sight, and the bigger the gap between radial range and perpendicular depth.
A perfectly flat wall therefore produces different radial values across the frame. Raw radial output is not directly usable for SLAM or obstacle avoidance, which is why it must be converted to perpendicular depth. That conversion, R2P (radial to perpendicular), runs in host software, documented in TN1641 chapter 6 and implemented in the X-CUBE-53L9A1 package.
The R2P geometry
For each zone, the algorithm computes the direction of its line of sight from its position in the receive array plus the calibrated optical parameters, then projects the oblique measurement onto the optical axis. In the standard pinhole-with-radial-distortion form:
r = √((x − cx)² + (y − cy)²)
rd = r · (1 + k1r² + k2r⁴ + k3r⁶)
D⊥ = D / √(1 + (rd / f)²)
| Symbol | Meaning |
|---|---|
| D | Radial depth reported for row i, column j |
| D⊥ | Perpendicular depth after conversion |
| f | Focal length of the receive optics, in pixels |
| k1, k2, k3 | Radial distortion coefficients, in pixels−2 and higher orders |
| cx, cy | Optical center coordinates in the array |
| r | Pixel distance from the zone to the optical center |
The behavior follows directly: at the optical center, r is near zero, so D⊥ ≈ D. Toward the array edge, r grows, the line of sight tilts further, and D⊥ falls below D.
Where the optical parameters come from
R2P needs focal length, distortion and optical center. These are not all stored in OTP. ST combines three sources:
- Theoretical optical parameters — physical focal length 2428.16 µm, radial distortion K1 = −0.00015 with K2 = K3 = 0, and SPAD pitch 10.17 µm. ST treats these as stable enough across parts to use one shared set, so no per-unit focal length or distortion calibration is needed.
- OTP factory calibration — each sensor’s residual optical offset X/Y, used to correct the optical center in the R2P calculation. The optical offset X/Y has already been applied by hardware to center the receive array, so it must not be applied twice.
- Current measurement configuration — binning, output width and height. These convert the physical focal length into a pixel focal length at the current resolution and set the matching optical center and distortion correction.
So the practical answer for integrators: you do not recalibrate optics per unit. Use ST’s shared theoretical parameters, add the device’s own residual offset from OTP, and apply the current binning configuration.
Tx–Rx parallax correction
The 7.166 mm separation between transmit and receive optical centers means they cannot be treated as one point. TN1641 does not spell out the implementation, but radial_to_perp.c in X-CUBE-53L9A1 does: parallax_correction is enabled by default.
The sequence is: compute an initial perpendicular depth estimate using the nominal optical center, then use the Tx–Rx baseline to shift the X-direction optical center by an offset that scales with the reciprocal of that depth estimate, and finally recompute the zone-to-center distance, the distortion factor and the perpendicular depth with the corrected center.
In other words, R2P is not a single fixed-center geometric transform. It explicitly accounts for the physical distance between emitter and detector — and that correction matters most at close range, which is exactly where a drone needs it.
The full post-processing chain
R2P is one stage among several. Per TN1641 chapter 1, the pipeline takes the four raw arrays plus status line and runs:
| Stage | What it does |
|---|---|
| Calibration | Applies global and per-zone range offsets from OTP |
| TNR (temporal noise reduction) | Filters range noise across frames |
| R2P | Converts radial range to perpendicular depth, with optional parallax correction |
| Rate normalization | Normalizes signal and ambient rates for exposure-independent comparison |
| Reflectance estimation | Estimates target reflectance from signal and ambient rate |
| Max diameter | Flags zones whose return spans too large a surface |
| Confidence | Scores measurement reliability per zone |
| Low reflectance flag | Marks zones with too little return |
| Sharpener | Edge enhancement on the depth map |
| Flying pixel filter | Removes spurious points between foreground and background surfaces |
| Distance check | Marks zones outside the valid perpendicular range as invalid |
| Auto exposure | Adjusts exposure from the scene statistics |
| Crop | Applies the configured static crop |
| Flip / rotate / mirror | Maps the array orientation to the required output orientation |
Two output encodings come out of this:
- Depth (Float32) — one 32-bit float per zone, in mm.
- DEPTH16 (UInt16) — 13 bits of depth in mm plus 3 bits of confidence, which cuts payload size but caps representable distance at 8191 mm.
These are two encodings of the same measurement, not two measurement principles. If R2P is enabled, the depth values are already perpendicular; bypass it and the geometric conversion is skipped. Separate outputs — Confidence, Reflectance and Filter Status — let you judge per-zone quality. For full depth information with validity, output Depth alongside Filter Status; for transport efficiency, DEPTH16 is the choice.
Depth map or point cloud
The same pipeline can emit a 3D point cloud. You already have each zone’s spatial direction and its perpendicular depth, so combining them gives a position in 3D space. TN1641 chapter 18 is brief on this; vl53l9_algo_pointcloud() in X-CUBE-53L9A1 is the real specification. The flow:
- Take the depth data after R2P and the distance checks.
- Take the R2P optical center, whose X coordinate already includes Tx–Rx parallax correction.
- Take each zone’s distortion factor.
- Compute X and Y from the zone-to-center coordinate difference, the effective focal length and the distortion factor.
- Use perpendicular depth as Z, and attach confidence and filter status.
Geometrically: X = (x − cx) · Z / (f · dist) and Y = (y − cy) · Z / (f · dist), with Z the R2P perpendicular depth, f the effective pixel focal length at the current binning, and dist the zone’s distortion factor.
Each point carries four Float32 values, with the origin at the sensor center:
| Field | Meaning | Type |
|---|---|---|
| X | Spatial X coordinate | Float32 |
| Y | Spatial Y coordinate | Float32 |
| Z | Spatial Z coordinate | Float32 |
| Confidence | Ranging confidence for the point | Float32 |
One trap worth knowing: the X-CUBE-53L9A1 source encodes Filter Status into the fractional part of that fourth Float32. Treating the field as a plain confidence number will silently mix two different quantities. Also, if point cloud output is enabled, R2P is force-enabled even when the configuration asks to bypass it, because the point cloud needs geometrically corrected depth.
End to end
- Raw ranging. The module emits IR, detects photons on the SPAD array and computes dToF ranges, then hands the host Depth (radial), Amplitude, Ambient and DSS arrays plus per-frame status.
- Calibration and signal processing. The host runs ST’s post-processing library: global and per-zone range offsets from OTP, TNR for noise, plus confidence, signal rate and reflectance.
- Geometric conversion. R2P applies ST’s theoretical focal length and distortion, the OTP residual optical offset, and the current binning and output size to convert radial ranges into perpendicular depths, with Tx–Rx parallax correction inside it.
- Validity checks. Sharpener, flying pixel filter and distance check decide which zones are usable and set the filter status.
- Output. A 2D perpendicular depth map (Depth or DEPTH16) for obstacle avoidance, or a 3D point cloud with XYZ and confidence for SLAM and mapping.
For a small drone, the interesting part is not the resolution. It is that 2268 zones of true depth, at up to 100 Hz, fit in a package smaller than a coin — and that the geometric correction needed to make those numbers physically meaningful is already written, as C source, by the vendor.
FAQ
Does the VL53L9CX output depth directly?
It outputs radial distance per zone, not perpendicular depth. The perpendicular depth map requires the R2P conversion in host software, using ST’s X-CUBE-53L9A1 library and the theoretical optical parameters plus each device’s OTP residual offset.
Why is the reported depth different from my measured distance?
Because radial range exceeds perpendicular depth away from the optical center, and because the raw frame has not been range-calibrated. Apply calibration and R2P before comparing numbers. Also confirm whether you are reading Depth (Float32) or DEPTH16, which caps at 8191 mm.
Can I run it over I²C at full resolution?
You can read depth over I²C, but bus bandwidth and host read speed limit the achievable frame rate at high zone counts. A 54 × 42 frame is about 14.8 KB with status, so 100 Hz over I²C is not realistic. Use MIPI CSI-2 for continuous high-resolution output.
Do I need to calibrate the optics for each unit?
No. ST recommends shared theoretical values — focal length 2428.16 µm, K1 = −0.00015, SPAD pitch 10.17 µm — with only the per-device residual optical offset read from OTP. The optical offset itself is already applied in hardware.
Why does the point cloud look mirrored or rotated?
The Rx optics flip the scene both horizontally and vertically, so a target at the top right of the world images at the bottom left of the SPAD array. Zone coordinates must be remapped using the device’s defined array orientation. The pipeline’s flip, rotate and mirror stage exists for exactly this.
Sources: STMicroelectronics VL53L9CX datasheet, VL53L9CX Postprocessing Pipeline (TN1641), UM3683 Programming Guide, AN6304 on multiple devices per host, and the X-CUBE-53L9A1 expansion package.
About Aomway: Aomway designs and manufactures FPV video transmission, antenna and camera systems for drone builders, with more than a decade of RF and flight-hardware experience. Explore our antenna and video link products at aomway.com.
Have questions about this article? Feel free to contact us at [email protected] — we’re happy to help!

