AnsweredAssumed Answered

VL6180x System error code after single shot range measurement attempt

Question asked by lloyd.jonathan on Mar 7, 2015
Latest reply on Apr 18, 2015 by lloyd.jonathan
I have a one of the VL6180x sensors that I have soldered leads onto and configured as specified in the datasheet.

Using this library on GitHub I'm able to read ambient light measurements, but range measurements are not working:
https://github.com/sparkfun/ToF_Range_Finder-VL6180_Library

I'm reading a value of 255 for the range measurement and the (0x004D)RESULT_RANGE_STATUS registers bits[7:4] contains a value of 1 which is described in the app notes AN4545 as a system error.

After looking over the code from GitHub I'm not too confident in it. I've spent a few hours making changes and applying some of the suggestions here in the forum that I believe are relevant. However, I want to make sure that it is a software issue before I go much further.

What would cause a system error 1?

Module info:
Model ID = 180
Model Rev = 1.3
Module Rev = 1.2
Manufacture Date = 15/9/14 Phase: 1
Manufacture Time (s)= 19898

-Jonathan

Outcomes