Hi i have a problem with a sensor vl53l0x on the board b-l475e-iot01a. In particular when i use the VL53L0X_PROXIMITY_GetDistance() in a task with HAL_Delay() it work but when i use the osDelay it work only for a repetition of the for(;;).
If i use 2 task, and in first task put the VL53L0X_PROXIMITY_GetDistance() with osDelay, second task never start. I tried to replace osDelay() with other function for context switch but i have same problem.