2020-07-29 01:58 PM
Hello,
I am working on interface in the VL53L1X-satel breakout boards with my NUCLEO-F446RE dev board:
Note that I am not using the (https://www.st.com/content/st_com/en/products/ecosystems/stm32-open-development-environment/stm32-nucleo-expansion-boards/stm32-ode-sense-hw/p-nucleo-53l1a1.html) P-NUCLEO-53L1A1 shield for this project
I am using the ultra lite library(https://www.st.com/content/st_com/en/products/embedded-software/proximity-sensors-software/stsw-img009.html).
Below are the steps I am performing before starting a reading:
Once these commands are executed, I am calling VL53L1X_StartRanging()
Here are some results I found:
Actual Distance| Calculated Distance
140 mm| 5312 mm
300 mm| 42240 mm
400 mm| 61440 mm
450 mm |7169 mm
500 mm |16641 mm
I have gone through documentation for the ultra lite library and followed it to the best of my knowledge. I have gone through the example code and demo code provided by STM. I need some support on the issue.
Thank you
2020-08-18 08:48 AM
Hello, it seems that you have some porting issue from Nucleo F401RE to the Nucleo F446RE in the read/write I2C functions. If you are familiar with the MBED IDE, the easiest way is to use the MBED VL53L1X library. Check out the HelloWorld_VL53L1X_StandAlone_Satellite program from MBED, connect the VL53L1X Satellite board on the Nucleo F446RE. Please use only the green PCB satellite version (VL53L1X-SATEL) not the blue PCB version provided in the X-NUCLEO-53L1A1 pack, it won't work because there is not level shifter and voltage regulator. Note that you probably can use also the X-NUCLEO-53L1A1 if you don't have the right satellite board. In this case check out the right related MBED program. Julien
2020-09-03 01:08 PM
Thank you. I was able to make it work.
My platform file had an error in the RdWord function that I was able to rectify!