2020-03-06 10:55 AM
We
2020-03-06 10:59 AM
This issue was found a while back. Please update your API with the latest from ST.com, or get the latest app note on how to set up the sensor.
Look for:
VL6180x_RangeStaticInit() in the file VL6180X_api.c
Esp check for:
VL6180x_WrByte(dev, 0x00e3, 0x01);
VL6180x_WrByte(dev, 0x00e4, 0x03);
If you have the latest, you will have these settings.
These settings disable the I2C interface from interrupting critical sections of the internal firmware.