Tfmini I2C Ardupilot

Good day all Got myself a TFmini and have been working to get this going on a Plane with I2C bus and PH4-mini. i wrote this driver to let it go . thentransfer should be in this way start | Addr | write | ACK | repeat start | Addr | read | ack | stop . so i should have two start bit . will this work with i2cMasterTransmit(…) ?

. there is some advice to get it in work ?

Your aware that we already support the TFMini on I2C? See the note on the wiki page.

https://ardupilot.org/copter/docs/common-benewake-tfmini-lidar.html

No that is Tfmini Plus . Tfmini is only supported on I2C

Has there been any further progress on this?

I was trying to be frugal by purchasing some Sparkfun TFmini i2c units that were on sale for $30 (vs $41 for the normal -s version). After trying to get them to work with arducopter, and reading the datasheets, I realized the extent of my folly. These i2c versions are not the same thing as the tfmini-s in i2c mode; it uses a totally different protocol!

Tfmini-i2c datasheet: https://cdn.sparkfun.com/assets/d/9/e/c/d/TFmini-I__C-Product_Manual_V1.1_EN.pdf

I read up on some other threads related to this, and this one appears to be the farthest along the direction of getting them working. I’m guessing this thread is a follow up from this:

I have an oscope if needed for testing/debugging, but I’m a bit lost wrt writing a driver for this. I could see if sparkfun would accept a return for the units I purchased, but I’d don’t mind putting in some work to save myself (and potentially others) a decent chunk of change.