cancel
Showing results for 
Search instead for 
Did you mean: 

Identifying TOF chips in a system... Is there a way to determine what chips are attached to a board? We would like to support multiple TOF parts, but need to know what parts are attached to the I2C bus before writing to them.

JMerk.1
Associate
 
3 REPLIES 3

Can't you scan the I2C address space, and check the WHO_AM_I registers?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
JMerk.1
Associate

We can scan the bus and locate - see the part.

Most memory devices do contain a manufacturer and device ID register.

I don't believe the TOF devices have a WHO_AM_I indexed register. (At least not documented...)

John E KVAM
ST Employee

All the ST ToF sensors will talk on 0x29 (7-bit address) 0x52/0x53 are the write/read addresses.

So if you have more than one, you have an issue.

But if you are trying to tell the difference between a VL53L0 and a VL53L1 then read address 0x00 and address 0x01. These will give you different numbers.


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.