cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1X range status register stuck at 9

AndreaC1985
Associate II

Hello all, I'm using VL53L1X sensor through the light API.

After the init procedure I can read the correct distance but I read the range status register = 9

in the manual the only allowed range are: 0, 1, 2, 4, and 7

Can someone explain what it means range status = 9 and how to fix it?

BR

Andrea

1 REPLY 1
AndreaC1985
Associate II

Hello all,

it's very difficult to use a I2C sensor without know what the register are used for.

Now I'm running the example and the register #define GPIO__TIO_HV_STATUS     0x0031

is set to 3.

from the comment bit 1 is set when interrupt occurs.

What bit 0 is used for?

Are there a manual with the registers explanation?

BR

Andrea