Is it possible to disable hardware interrupt on VL53L1, but still receive measurements?
In our application, we have two modes. In first mode, proximity is in interrupt mode and host is in standby. When user defined threshold is met (distance of object to proximity sensor is below certain distance) interrupt is raised. Now host processes this interrupt and disables interrupts from proximity. Proximity is now in polling mode. From this point on host, when needed, polls measurements to find out how far object is from proximity. No interrupts should occur at this point.
This use case is possible to achieve with VL53L0X sensor, by stopping measurement, changing config, and starting measurement again. But VL53L0X has too short range for our application. I am wondering if similar flow can be achieved with VL53L1, which has a longer range.
From what I can tell from documentation, when measurement is ready (and meets thresholds) physical interrupt is always raised on GPIO1 pin. What we want is to get measurement by polling but without physical interrupt happening. One idea was to change threshold, but it seems that even polling measurements are not available if threshold is not met. I'm not sure why interrupt and measurements are so coupled together on VL53L1.
Is there any way achieve this with VL53L1 sensor.
