cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt modes via GPIO VL53L3CX

reginaldo_quanta
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
John E KVAM
ST Employee

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. 

 


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

View solution in original post

2 REPLIES 2
John E KVAM
ST Employee

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. 

 


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

I appreciate your enlightening explanation.