Skip to main content
lectric
Associate
May 3, 2023
Question

How can Error -13 (VL53LX_ERROR_CONTROL_INTERFACE) be solved in a VL53L4CX sensor?

  • May 3, 2023
  • 0 replies
  • 1185 views

I am using the official ST library from STM32CubeIde and i adapted a custom_ranging_sensor.h to use two sensors. The project builds correctly but when the getdistance returns a (VL53LX_ERROR_CONTROL_INTERFACE) error. But the init and start function executes correctly.

 I am using the PB3 and PB4 as XShut of both sensors and PB5 and PB6 as GPIO output for external interruptions

    This topic has been closed for replies.