2017-02-13 07:04 AM
Posted on February 13, 2017 at 16:04
Hi
Im having the device VL53L0X which I want to communicate with trough the I2C protocol to my STM32F401RE micro controller.
Im using CubeMX from STM to setting up the pins which works fine, but I don't know how I 'connect' the I2C functions from the API with the I2C at the MCU.
As far as I can read in the VL53L0X API Specification, something in the 'VL53L0X_platform.h' has to be adapted to the platform but Im not sure how to do it. Can somebody give me an example, and also point out what I has to change?
Best regards
S�ren
2017-02-13 08:42 AM
Posted on February 13, 2017 at 17:42
Hello
I have moved your question to the
https://community.st.com/s/topic/0TO0X000000BSqSWAW/
‌ where someone should be able to assist you.
Thanks
Oli
2017-02-14 08:18 PM
Hello,
Have you looked at the
package?I seem to me it includes the example you seek.
Even if you are not using the same hardware combination (NUCLEO-F401RE +
X-NUCLEO-53L0A1)
, I should help you get started.Regards,
Max
2017-02-20 10:51 PM
Hi, I found a different approach, using the mbed software and then export it to an offline compiler, which seems to have solved the problem