2022-08-16 11:51 AM
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!
2022-08-24 11:06 AM
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.