Showing results for 
Search instead for 
Did you mean: 

The relationship between the sequence number of Zone mapping in VL53L5C and the returned result

Associate II

There is an explanation about Zone mapping in the document as follows :


 The area number in the above figure is consistent with the example VL53L5CX_ How do the return results in VL53L5CX_SimpleRanging ?

In VL53L5CX_SimpleRanging ,There is the following code:

(long)Result->ZoneResult[j + k].Distance[l],

I printed the output of [j + k](Taking 4 * 4 as an example):3 2 1 0  7 6 5 4 11 10 9 8 15 14 13 12 

Is this value of [j + k] the corresponding area number?

ST Employee

Use the GUI on the Evaluation kit. You can see the zone numbering. But yes, the 0,0 bin is in the upper right, assuming your perspective is looking at the chip from the ranging side, and NOT as if you were standing in back of the sensor.


Our community relies on fruitful exchanges and good quality content. You can thank and reward helpful and positive contributions by marking them as 'Accept as Solution'. When marking a solution, make sure it answers your original question or issue that you raised.

ST Employees that act as moderators have the right to accept the solution, judging by their expertise. This helps other community members identify useful discussions and refrain from raising the same question. If you notice any false behavior or abuse of the action, do not hesitate to 'Report Inappropriate Content'