Question
VL6180x System error code after single shot range measurement attempt
Posted on March 07, 2015 at 23:49
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_LibraryI'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 = 180Model Rev = 1.3Module Rev = 1.2Manufacture Date = 15/9/14 Phase: 1Manufacture Time (s)= 19898-Jonathan