Skip to main content
JMerk.1
Associate
August 23, 2022
Question

How to determine what ToF chips are attached to a board?

  • August 23, 2022
  • 3 replies
  • 1276 views

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.

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
August 23, 2022

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

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
JMerk.1
JMerk.1Author
Associate
August 23, 2022

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
August 23, 2022

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.