cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L0X 2V8 mode

kondou-k
Associate
Posted on September 30, 2016 at 07:49

Does anyone know how to change the standard mode to 2V8 mode?

I could not find the details in the VL53L0X API manual.

#vl53l0x
1 REPLY 1
harald
Associate III
Posted on October 05, 2016 at 14:20

Hy,

in the API source code, file vl53l0x_api.c function VL53L0X_DataInit there is a call to

VL53L0X_UpdateByte(Dev,

        VL53L0X_REG_VHV_CONFIG_PAD_SCL_SDA__EXTSUP_HV,

        0xFE,  0x01);

That should switch I2C from 1.8V to 2.8V

This function is called if you set the USE_I2C_2V8 #define in your project, predefined symbols settings

Best regards

Harald