Multiple Devices on MiPi - VL53L9CX
Hello,
Our setup uses a VL53L9-based board with an STM32N657 (NUCLEO-N657X0-Q). The sensor streams RAW8 over one data lane at 1 Gbps on VC0. We are using ST’s driver, and 54 × 42 at 100 fps works well.
We would like to connect three or four sensors to the N657’s CSI-2 receiver and trigger them through SYNC_IN at staggered times, so their frames do not overlap on the link. Each frame occupies the link for about 0.24 ms of the 10 ms period.
We checked the receiver’s lane-state flags between frames. The clock lane remains in high-speed mode throughout streaming, while the data lane returns to the stop state (LP-11). This suggests that the sensors keep driving both lanes, which would prevent them from sharing the same lanes without a MIPI switch or bridge.
Could you please clarify the following?
- Clock-lane mode: Can the VL53L9CX use non-continuous clock mode and return its clock lane to LP-11 between frames? If so, which register or firmware patch enables this?
- Pin states: Can the MIPI clock and data pins be placed in high impedance between frames while the sensor continues ranging? What are their states in hardware standby (XSHUT low) and software standby?
- Virtual channels: The driver defines the virtual-channel register as one bit. Are VC0 and VC1 supported? Can VC2 or VC3 be used?
- I3C with multiple sensors: Do two VL53L9CX sensors have different 48-bit provisioned IDs for dynamic address assignment, or should we release XSHUT one sensor at a time and assign addresses sequentially?
- Reference design: Is there a reference design or recommendation for connecting multiple VL53L9CX sensors to one CSI-2 host, such as a 2:1 MIPI switch or an aggregator?
Thank you for your continued support.
