Solved
When do I set the ROI on the VL53L1X?
If I want to take multiple readings on a VL53L1X at different ROI's, I need to set the optical centers for each ROI sequentially, one for each measurement.
But when exactly do I do that, and what are the pitfalls?
e.g. I have a timing budget of 20ms, and an inter-measurement period of 25ms (so 5ms gap between measurements).
Then I start ranging on the sensor.
- Is the first sample wasted? Can I set the ROI before I start ranging?
- Can I only set the ROI after ranging has started, in the time-budget (actually measurement) phase?
- Can I only set the ROI after ranging, but in the same inter-measurement period? (the 5ms window in my example)?
- If I can set the ROI in either phase, what are the safety time budgets? (i.e. how close can I get to the ends of the time-window)
Thanks!
