I implemented the VL53L0X API in my embedded project. while the call to DataInit works fine (or, at least returns a status OK), I am getting a VL53L0X_ERROR_REF_SPAD_INIT from StaticInit.
Any ideas what this means? Also, is there some way that I can simply verify that I2C communication to the device is working? Maybe some registers that have known values on startup? I saw the examples in the datasheet, but I'd like a larger block so I could test 32bit, 16bit and 8bit reads and writes. The examples are only detailed enough to cover an 8 and 16 bit write.