VL53L4CX Two API function problems
Hi,
When I get the data returned by VL53L4CX, I have two problems.
1:About"VL53LX_get_device_results()"
The API function "VL53LX_get_device_results()" takes a lot of time. My MCU is 32MHZ and the operation of this function takes me 13ms. Is this time acceptable?
2:About"vl53lx_tuningparm_reset_merge_threshold"
When the distance of the measured object changes, the data obtained by the L4CX is delayed for a few cycles before the new distance is obtained. There are several cycles of error reporting (ErrorCode: sometimes 7,sometimes 255) or old distance before getting the new data. Looking in the manual, it seems that this can be improved by decreasing the"vl53lx_tuningparm_reset_merge_threshold", but even if I change it to 0, it doesn't change anything, am I using it wrong?
Thanks.
