2022-10-12 02:28 AM
I We purchased this sensor to apply it to our own board.
I want to know the command to control the sensor on the board, but the data sheet only provides for simple i2c communication and address, index, and data structure.
2022-10-13 11:50 AM
At boot, the MCU downloads the 80K binary to the sensor. Although the I2C is configured to look like one is commuicating with registers, the sensor is a full-blown MCU that is doing the work.
The API is really the way to go. I imaging you could write your own code, but after that titanic struggle you would end up hating ST. It's far better to use the API.
You can use your board. Use any MCU you want (althoght I do work for ST - so I'm biased). All you need to do is implement the basic I2C read/write commands. Look a the platform.c file and adjust for your MCU.
Download STSW-IMG023
Ultra Lite Driver (ULD) for VL53L5CX multi-zone sensor to get started.
2022-11-08 02:58 AM
Hello John,
what is about the mentioned commands? It is really hard, even for me as an SW developer with 10 years of experience, to understand or figure out the needed commands. Don´t you have any kind of table(s) with documantation(s) of those commands?
I am using the ULD and it is working, but how do I know, that I can not improve the data any more?
It would be very helpful to get an idea.
Werner