cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L7CX - Resetting sensor(s) without power cycling after they have initialized with ULD init()

jairo1
Associate

Hello, we have a system that consists of 12 VL53L7CX sensors each, on 4 different I2C busses and we are using an I2C address translators (LTC4316CDD) to address them all without needing to change their address dynamically. We are using ST's ULD (ultra-light driver) to interface with them.

One challenge we are running into during application development, is that after we initialize all 12 sensors and start ranging, if we restart the microcontroller application we are sometimes unable to re-initialize the sensors - the `vl53l7cx_init()` call fails somewhere.

Our current test setup makes it difficult to power cycle just the sensors because doing so also power cycles the host computer.

My questions are:

  1. Is there an I2C register (or set of registers) that I can access to check if the sensor has been previously configured and if it's actively ranging? This would be helpful to avoid spending time re-initializing if we don't need to.
  2. Also, is there an I2C register that I can write to "reset" the sensors so that I can recover a failed init? 

Thank you,

Jairo

0 REPLIES 0