VL53L1X - i2c consumption

Hello,

How do I deactivate/activate a SDA/SCL line?
I perform a test on an Icarus board with a VL53L1X sensor, everything works fine. However, in idle/sleep mode, whether I turn off the sensor or not (by XSHUT, GPIO or physically),
it consumes an additional 10uA.

Even without code to initialize the sensor, and only plugging in the SDA & SCL ports, I have a 10uA boost.
I don't understand where this is coming from or how to fix it.

Does someone have an idea ?

Thanks !
Parents Reply
  • Hi,
    I'm with an nRF9160. I tried like this, without success.
    That is to say that the ports are at 0V but no reduction in consumption. 
    Worse when I reactivate the port, it rises above 1.5mA.
    pins_vl53L1X = device_get_binding("GPIO_0");
    gpio_pin_configure(pins_vl53L1X, 26, GPIO_OUTPUT);
    gpio_pin_configure(pins_vl53L1X, 27, GPIO_OUTPUT);
    gpio_pin_set(pins_vl53L1X, 26, 0);
    gpio_pin_set(pins_vl53L1X, 27, 0);
Children
Related