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 Children
  • Hi Alskandar,

    Since you see this regardless whether I2C is connected perhaps something in your firmware "misbehaves" when the I2C to the sensor is lost (when XSHUT is low I2C is disabled on the sensor anyway). As a sanity check I would check the sensor separately, without any other board connected and that should yield 5-7 uA. If that is indeed the case, then you should check your firmware on how it handles sleep mode when losing connection to the sensor.

    Are you absolutely positive that there are no components on the breakout board? A ~10k pull-up resistor on XSHUT could easily justify this amount of current drawn when setting XSHUT to low

    BR,

    Mike

  • Hi Mike,

    I tested sensor by itself (juste VCC & GND connected).

    At 3,3V, it gives 12,5uA

    At 2,8V, it gives 10,5uA

    So i have a little more than in datasheet (5uA at 2,8V).

    Unfortunately , i don't have the design plans for this sensor.

    Here is a photo, there seems to be resistors (350 Ohms, i think, on GPIO1 & XSHUT) but i don't know what the others are.

  • Hi Alskandar,

    So there are actually pull up resistors on the breakout board. That's actually where the leakage is coming from. These resistors have a marking 05C which is 11kOhms, so that accounts exactly for the amount that you see when you push XSHUT to GND!

    Just remove these 2 resistors and you should be fine Slight smile

    BR,

    Mike

Related