cancel
Showing results for 
Search instead for 
Did you mean: 

Getting fixed value from Lidar (tfmini)

Divesh Dutt
Associate II

Hi there

I am working on lidar but everytime i am getting fixed value in the buffer i.e 0x59 which is 89 in decimal (Y in ascii) which is the header of transmitted data as indicated in lidar datasheet.below is the code snippet.Any suggestion would be appreciated.

0693W000008zrazQAA.png

1 REPLY 1
John E KVAM
ST Employee

That's a hard one. Clearly the I2C is not working the way you want it. To verify the I2C, I wrote some code. Put this code at the top, just after you get the sensor booted, It will verify the connection t the sensor works


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.