cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I was testing vl53l0x sensor and i am getting the following error E (3350) VL53L0X: VL53L0X_ResetDevice API status: -7 : Time out error E (3357) VL53L0X: VL53L0X_DataInit API status: -3 : Undefined error

NRobi.1
Associate
 
1 REPLY 1
John E KVAM
ST Employee

If you dig through the code I believe you will see this is an I2C timeout issue. The lack of ability to communicate means the the error you get back is sort of meaningless. It just doesn't work.

I'd focus on trying to get the I2C robust.

I've enclosed an app note. Take this code and put it at the top of


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.