VL53L1X Data_init() return error
Hi forum,
I am working on nrf52 , I was communicate with sensor through I2C.
GPIO_configuration:-
nrf_gpio_cfg_output(VSHUT);
nrf_gpio_pin_write(VSHUT,0);
nrf_gpio_pin_write(VSHUT,1);
nrf_delay_ms(10);
nrf_gpio_input_disconnect(TRACEDATA1);// gpio1 interrupt pin
Sequence of APP_function are below:-
VL53L1_comms_initialise(uint8_t comms_type, uint16_t comms_speed_khz);
VL53L1_SetDeviceAddress(VL53L1_DEV Dev, uint8_t DeviceAddress);
VL53L1_DataInit(VL53L1_DEV Dev);
VL53L1_StaticInit(pMyDevice);
VL53L1_run_ref_spad_char(pMyDevice,&pcal_status);
other function for calibration .
but data_init() function return -15.
i did supplied 3.3volt external supply to my device.Actually i device gives 2.59volt thats why i connect external supply for sensor power up. Device is externally pullup through 10k resistor.
please help me to solve this error. Is their any setting required for this sensor to power up.
