VL53l0X / i2c problem, need some help understanding the protocol to read distance information
VL53l0X / i2c problem
Trying to use I2C to read vl53l0x, I fail to understand from the datasheet :
1. what exactly are the indexes and what indexes I'm suppose to use when reading,
2. Also how many bytes include in one data sample ?
From the data sheet I see that in order to read I have to transmit the following
address - 0x52 (or c)
index (this is unclear to me)
address - 0x52 (or 0x29 + 0x01 in my case since Im using Adafruit VL53L0X breakout)
data [0:7] - does 1 byte represents one read ?
Basically I need more clarifications regarding the i2c protocol
Thanks !
links:
VL53L0X datasheet
https://www.st.com/resource/en/datasheet/vl53l0x.pdf
VL53L0X Adafruit beakout
I'm using Discovery kit with STM32F303VC MCU to interface the sensor
