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.

standing: provisionalI2C0x29 (7-bit default, Fm+ up to 1 MHz)
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 referenceSTMicroelectronics VL53L5CX ULD C API
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x0000 / 0x0001DEVICE_ID / REV_ID0xF0 / 0x02Device and silicon revision ID (page 0)
0x7FFFPAGE_SELECT0x00Switches internal DCI / firmware download pages
DCI 0xD980RESULTS_META64-zone framePer-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.yaml

Fault-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

Compatible board twins

More in Optical, Color & ToF