Optical, Color & ToF
STMicroelectronics VL53L4CD in the datasheet corpus
High-accuracy 1 mm to 1300 mm FlightSense time-of-flight laser ranging sensor.
VendorSTMicroelectronicsOptical, Color & ToF
InterfaceI2C0x29 (7-bit default, 16-bit register index)
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Indexed in the CircuitTwin datasheet corpus alongside verified VL53L0X and VL53L1X ToF twins.
| Driver reference | STMicroelectronics VL53L4CD Ultra-Lite Driver |
|---|---|
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record | Generate or inspect locally via ct twin generate (see /docs/twin-generation). |
Key registers & reset values
| Address / Field | Register | Reset / Expected | Purpose |
|---|---|---|---|
0x010F-0x0110 | IDENTIFICATION_MODEL_ID | 0xEBAA | 16-bit ST FlightSense model and module type ID |
0x0087 | SYSTEM_START | 0x00 | Starts and stops continuous ranging |
0x0096 | RESULT_DISTANCE_MM | 16-bit BE | Measured target distance in millimeters |
Attach with ct CLI
Shell - run firmware with VL53L4CD
# Run compiled firmware with VL53L4CD attached on b-u585i-iot02a
ct run --json --board b-u585i-iot02a --device vl53l4cd build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/vl53l4cd.xml tests/vl53l4cd-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/vl53l4cd-fault.suite.yaml
version: 1
board: b-u585i-iot02a
firmware: build/app.elf
tests:
- name: vl53l4cd-i2c-nack-recovery
faults:
- at_ms: 30
bus: I2C1
kind: nack
address: 0x29
count: 2
- at_ms: 140
part: vl53l4cd
kind: register_override
register: 0x010F
value: 0xFF
expect:
console_contains: "DRIVER_FAULT_HANDLED"
exit_code: 0