2025-03-21 10:05 PM - edited 2025-03-21 10:13 PM
I just wanted a basic driver with a few API calls to run the VL53L4CX proximity sensor, but I think I got enough code to land a Falcon 9.
Attempting to add the X-CUBE-TOF1 middleware with the VL53L4CX sensor to our projects in CubeMX v6.14.0 currently fails. STM32CubeMX either permanently freezes or generates invalid code and references, even when inserted into a fresh project. We had to reinstall CubeMX and revert all changes to a prior state to get it unstuck.
The base driver files require something like 9 header files just to define the sensor in the user application. The VL53L4CX driver is too complicated.
Are there any simplified documentation resources with stepwise register read and writes?
Where is the actual I2C register datasheet to use this sensor?
2025-03-21 10:08 PM - edited 2025-03-21 10:15 PM
Of note: when trying to configure the GPIO pin, we have simply tied XSHUT to VCC with a resistor. So we don't want or need GPIO control of this pin. But the configuration software gets hung on this I suppose.