2024-09-12 08:13 AM
We are using part number VL53L3CX on the X-NUCLEO-53L3A2 board, and one feature we were expecting, for example, is for the sensor to generate an interrupt via configurable GPIO in the following situations:
it is inside or outside a measurement window,
above a measurement.
below a measurement.
By default, this interrupt is generated every time a measurement is completed by the sensor.
Is it possible to configure the sensor to generate interrupts only in the situations mentioned above?
If so, can you help us with some examples?
Is there a part number with these functions?
Thanks
Solved! Go to Solution.
2024-09-12 08:39 AM
The behavior you describe works on some of our single zone parts. But alas, not on the VL53L3CX.
Allow me to explain.
Our standard ranging algo works entirely on the chip. And this can use the interrupts you describe.
The VL53L3CX (as well as the VL53L4CX, and the VL53L1CB) use a histogram algo. This algo works a bit better and has some advantages, but it needs to upload the raw data to your computer, and a function ( that we give you) converts that raw data to a distance. This need to process on your computer means we cannot use the interrupts as you have described.
The single zone chips that use standard ranging are the VL53L0CX, the VL53L1CX, and the VL53L4CD.
Find the one that best meets your needs as to ranging distance and use that.
Note that all the multizone chips (VL53L5, VL53L7 and my favorite VL53L8) all use histograms - but process the data on chip, so they have the window-based interrupt.
2024-09-12 08:39 AM
The behavior you describe works on some of our single zone parts. But alas, not on the VL53L3CX.
Allow me to explain.
Our standard ranging algo works entirely on the chip. And this can use the interrupts you describe.
The VL53L3CX (as well as the VL53L4CX, and the VL53L1CB) use a histogram algo. This algo works a bit better and has some advantages, but it needs to upload the raw data to your computer, and a function ( that we give you) converts that raw data to a distance. This need to process on your computer means we cannot use the interrupts as you have described.
The single zone chips that use standard ranging are the VL53L0CX, the VL53L1CX, and the VL53L4CD.
Find the one that best meets your needs as to ranging distance and use that.
Note that all the multizone chips (VL53L5, VL53L7 and my favorite VL53L8) all use histograms - but process the data on chip, so they have the window-based interrupt.
2024-09-12 08:50 AM
I appreciate your enlightening explanation.