AnsweredAssumed Answered

Connecting the API with STM32 platform in CubeMX

Question asked by Soren Karlsen on Feb 13, 2017
Latest reply on Feb 21, 2017 by Soren Karlsen

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

Outcomes