X-CUBE-TOF1 VL53L3CX_SimpleRanging not working
I'm trying to use the new example available on st.com for VL53L3CX_SimpleRanging (available inside X-CUBE-TOF1) is an example application shows how to make ranging with a satellite board (VL53L3CX-SATEL green) connected directly to STM32F401RE without the X-NUCLEO-53LA3 expansion board.
I'm using the attached connections to STM32F401RE ,Using either VL53L3CX_SimpleRanging.bin or to import the project into STM32CUBE I recieve the same error ("CUSTOM_RANGING_SENSOR_Init failed
")
By tracing the error ,I found it comes from the following function:
static void MX_VL53L3CX_SimpleRanging_Init(void)
{
/* Initialize Virtual COM Port */
BSP_COM_Init(COM1);
printf("VL53L3CX Simple Ranging demo application\n");
status = CUSTOM_RANGING_SENSOR_Init(CUSTOM_VL53L3CX);
if (status)
{
printf("CUSTOM_RANGING_SENSOR_Init failed\n");
while(1);
}
}
Please help!
