Skip to main content
DBonh.1
Associate III
August 16, 2022
Question

Does zone numbering for VL53L5C in 8x8 mode start with ZFFFFFFFC (-4)?

  • August 16, 2022
  • 1 reply
  • 977 views

I'm looking at the I2C spew from a VL53L5C, and it appears to be values for each of 64 zones. Data for a particular zone starts with Z_______ where the blank is the zone number. But instead of starting with Z 0 to Z3F (0 to 64) it goes from ZFFFFFFC to Z3C ( -4 to 60). Is this how it should be? or does this indicate something wrong? Is the format of the I2C spew documented somewhere or do I go fishing in the ULD source code to figure it out? Thanks!

This topic has been closed for replies.

1 reply

John E KVAM
ST Employee
August 24, 2022

No. It does not. But it shouldn't be that hard. Go through the ULD driver looking for the big structue. Steal that stucture and read the data into the initial address of the struture. If you alighned the configuration with the structure, the data should simply be available.

The easy way to do this is to choose the configuration in the ULD even if you do not intend to use it. Then extract the structure. You should be all set.

  • john