2022-12-14 05:39 AM
I am using a TI simplelink controller. How do I go about using the VL53L1 APIs with my controller code. I am guessing I need to use STSW-IMG007 software. I can't use this software directly. How should I go ahead with interfacing it?
Any guidance will be very helpful. Thank you :)
2022-12-14 07:36 AM
Hi,
I recommend to use the STSW-IMG009 instead of the STSW-IMG007 software. Because the STSW-IMG009 is much simpler to port than the IMG007 version. You only lose the fact that the timing budget(integration time) is a set of fix values from 20 ms to 1s [20ms, 50ms, 100ms, ... 1s] instead of having the possibility to set continuous values from 20 ms to 1s.
Thanks
Julien
2022-12-15 09:40 PM
Thank you for the guidance. I am looking at STSW-IMG009. I understand I have to include both the platform and core files in my application. Is that correct?
What I am not able to understand is what to write in the _platform.c functions. It says the developer needs to write these functions. I am not able to find information about what these functions are exactly supposed to do. Here is the .h file which just says "To be implemented by the developer"
Also, where can I find info about what 'dev', 'index', '*pdata', 'count' are?
Regards