VL6180x - Determining if continuous mode is running or stopped
I'm currently using the VL6180x in a project, and I'm encountering some issues where I believe the prox sensor is being reset. I'm operating in Interrupt + Continuous mode. The symptom is that after running an unpredictable amount of time, while being handled, and moved, the VL6180x no longer produces an interrupt when the minimum distance threshold is passed.
I am trying to discover a way to read out the mode of the VL6180x on a periodic basis to determine if it is operating correctly. If it is not, a reset and reconfiguration will recover the device.
My confusion is this. I can't seem to find a register that reflects whether continuous mode is running or not. The SYSRANGE__START register is the closest, but it only shows which mode it is set to, and not if it is currently running. I also can't simply set the start_stop bit of this register, because if it is running correctly, this would halt operation.
Main question:
What sequence can be used to change the device from an unknown operating mode, to Continuous mode, running?
Any thoughts would be appreciated here.
Note: I am using the ST VL6180x library with a 3rd party processor.
