Associate III
July 20, 2022
Question
VL53L5CX ULD vl53l5cx_check_data_ready() returns error CA 81
- July 20, 2022
- 6 replies
- 4122 views
I'm trying to implement the VL53L5CX ULD v1.3.4 on an Atmel ATSAM4L. Per an Total Phase I2C analyzer, I have it almost all running correctly. It's uploading the firmware, and the firmware bytes captured by the I2C analyzer match the bytes in vl53l5cx_buffers.h. I send sensor config parameters that match those sent by an eval board, and the sensor reports those parameters back correctly (8X8, integration time 10ms, power mode 1, ranging freq 10, sharpener 14%, target order 1, ranging mode 3). But when I enter the ranging loop the calls to vl53l5cx_check_data_ready() are responded to by FE 04 CA 81. The high bit in 81 appears to be a GO2 error. I attached screenshots from the analyzer and printf() diags. Any ideas what's wrong?
