User manual
Device registers VL6180X
60/79 DocID026171 Rev 6
6.2.37 RESULT__RANGE_STATUS
Address: 0x04D
Type: R
Reset: 0x1
Description:
76543210
result__range_error_code
result__range_min_threshold_hit
result__range_max_threshold_hit
result__range_measurement_ready
result__range_device_ready
RRRRR
[7:4] result__range_error_code: Specific error codes
0000: No error
0001: VCSEL Continuity Test
0010: VCSEL Watchdog Test
0011: VCSEL Watchdog
0100: PLL1 Lock
0101: PLL2 Lock
0110: Early Convergence Estimate
0111: Max Convergence
1000: No Target Ignore
1001: Not used
1010: Not used
1011: Max Signal To Noise Ratio
1100: Raw Ranging Algo Underflow
1101: Raw Ranging Algo Overflow
1110: Ranging Algo Underflow
1111: Ranging Algo Overflow
[3] result__range_min_threshold_hit: Legacy register - DO NOT USE
Use instead 6.2.39: RESULT__INTERRUPT_STATUS_GPIO
[2] result__range_max_threshold_hit: Legacy register - DO NOT USE
Use instead 6.2.39: RESULT__INTERRUPT_STATUS_GPIO
[1] result__range_measurement_ready: Legacy register - DO NOT USE
Use instead 6.2.39: RESULT__INTERRUPT_STATUS_GPIO
[0] result__range_device_ready: Device Ready. When set to 1, indicates the device mode and
configuration can be changed and a new start command will be accepted. When 0, indicates
the device is busy.