Keep INT pin active until reading measurement on VL53L8CX
Dear ST support,
We are planning to replace the VL53L1X with the VL53L8CX. One difference we noticed is that the interrupt line on the VL53L8CX is now a ~100us pulse compared to the VL53L1X where it was active until the interrupt was cleared by writing a register on the sensor.
We are using many sensors in our system that share a bus. To simplify routing we use an external GPIO expander which signals the processor in case any sensor set its INT line. Unfortunately this GPIO expander has a limitation which makes it impossible to detect pulsed interrupts from multiple devices if they follow each other in quick succession. So we came up with a couple of options:
1. Change the behavior of the VL53L8CX sensor to only clear the INT line upon a command.
2. Poll each sensor once we saw an interrupt from the GPIO expander.
3. Do HW modifications on our board to help with this issue (e.g. use another GPIO expander).
If possible we would like to avoid options 2 because this will degrade the performance of the system and 3 for obvious reasons. So is there a way to do option 1 or at least significantly increase the pulse width?
Best regards,
Christof Baumann
