Showing results for 
Search instead for 
Did you mean: 

VL53L4CD clear interrupt does not clear the interrupt

Associate III

When calling to clear the interrupt of the sensor I wait for the pin to go HIGH again but it never happens. 
I follow this flow:

  1. set i2c address
  2. set low power config
  3. set signal threshold to 5000
  4. set sigma threshold to 20
  5. set intermeasurment ms to 100 and the timing budget to 80
  6. set interrupt threshold to be 1300 and only trigger when below this value
  7. start ranging

The sensor immediately triggers an interrupt and clearing it does not clear it. It stays low. The interrupt pin has a 10k pull-up.