VL6180 always returning 0x19 from RESULT_RANGE_STATUS (VCSEL Continuity Error)
I have bought a Sparkfun VL6180 Sensor Board and connected it to a STM32F415 MikroE Mini M4 MCU. I can correctly talk to it by asking the Model ID, (which returns 0xB4 correctly), but the RESULT_RANGE_STATUS register (0x4D) always returns 0x19 (0b00011001) which according to the VL6180 datasheet means that it has a VCSEL continuity error (bits 7:4 or 0b0001). I have gotten this from multiple different VL6180 sensors now, so I'm not sure what is going on.
In addition, the SYSTEM_FRESH_OUT_OF_RESET (0x16) register is always returning 0, even after rebooting the system.Does anyone have any ideas as to what I can do to diagnose the problem, or is anyone else experiencing this problem?