Optical, Color & ToF
STMicroelectronics VL53L5CX in the datasheet corpus
8x8 multizone (64-zone) 4-meter Time-of-Flight depth array sensor over 1 MHz I2C.
VendorSTMicroelectronicsOptical, Color & ToF
InterfaceI2C0x29 (7-bit default, Fm+ up to 1 MHz)
Record StatusCatalog profileDatasheet / behavioral twin
Driver oracle & capability record
Indexed in the CircuitTwin datasheet corpus for robotics obstacle-avoidance depth-map testing.
| Driver reference | STMicroelectronics VL53L5CX ULD C API |
|---|---|
| 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 |
|---|---|---|---|
0x0000 / 0x0001 | DEVICE_ID / REV_ID | 0xF0 / 0x02 | Device and silicon revision ID (page 0) |
0x7FFF | PAGE_SELECT | 0x00 | Switches internal DCI / firmware download pages |
DCI 0xD980 | RESULTS_META | 64-zone frame | Per-zone distance, status and ambient counts |
Attach with ct CLI
Shell - run firmware with VL53L5CX
# Run compiled firmware with VL53L5CX attached on nucleo-h743zi2
ct run --json --board nucleo-h743zi2 --device vl53l5cx build/app.elf
# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/vl53l5cx.xml tests/vl53l5cx-fault.suite.yamlFault-injection test snippet (suite.yaml)
tests/vl53l5cx-fault.suite.yaml
version: 1
board: nucleo-h743zi2
firmware: build/app.elf
tests:
- name: vl53l5cx-i2c-nack-recovery
faults:
- at_ms: 30
bus: I2C1
kind: nack
address: 0x29
count: 2
- at_ms: 140
part: vl53l5cx
kind: register_override
register: 0x0000
value: 0xFF
expect:
console_contains: "DRIVER_FAULT_HANDLED"
exit_code: 0