Solved
VL53L5CX Config error
I am trying to work with the VL53L5CX Tof sensor. The following calls succeed.
VL53L5CX_Init
VL53L5CX_ReadID
VL53L5CX_Start
However, the following call fails:
VL53L5CX_Result_t pResult;
VL53L5CX_ProfileConfig_t _profile;
_profile.RangingProfile = VL53L5CX_PROFILE_8x8_CONTINUOUS;
_profile.TimingBudget = 200;
_profile.Frequency = 1;
_profile.EnableAmbient = 1;
_profile.EnableSignal = 1;
auto status = VL53L5CX_ConfigProfile(&vl53l5cx_obj, &_profile);
Especially, when the driver tries to set the resolution, the calls fails. Any idea why is it so?
