Issue With VL53L5cx Sensor

i have developed the VL53L5CX code with BLE nrf52840 and it is working fine but issue i have faced is the USB port Restarted Whenever Firmware Download Process Start below i  Mention portion of code this portion is the part of VL53L5CX sensor INIT process whenever i Comment This Portion then USB not Restart but sensor not working because init process not done so can anyone help me what is the issue???


/* Download FW into VL53L5 */
status |= WrByte(&(p_dev->platform), 0x7fff, 0x09);
status |= WrMulti(&(p_dev->platform),0,
(uint8_t*)&VL53L5CX_FIRMWARE[0],0x8000);
status |= WaitMs(&(p_dev->platform), 1000);
status |= WrByte(&(p_dev->platform), 0x7fff, 0x0a);
status |= WrMulti(&(p_dev->platform),0,
(uint8_t*)&VL53L5CX_FIRMWARE[0x8000],0x8000);
status |= WrByte(&(p_dev->platform), 0x7fff, 0x0b);
status |= WrMulti(&(p_dev->platform),0,
(uint8_t*)&VL53L5CX_FIRMWARE[0x10000],0x5000);
status |= WrByte(&(p_dev->platform), 0x7fff, 0x01);

Parents
  • Hi Bhavik,

    You need to give us little bit more info than that for the community 

    Which SDK version are you using to develop your project? I do not recognize those API that you are using so it looks like this is not the software solution we provide. 

    If you are using external SDK solution for developing, I recommend you go to that specific solution's forum to ask about the issues related to those. 

    If you are using nRF5SDK or nRF Connect SDK, then I can still try to assist you (on spec related stuff, since I do not have that sensor)

Reply
  • Hi Bhavik,

    You need to give us little bit more info than that for the community 

    Which SDK version are you using to develop your project? I do not recognize those API that you are using so it looks like this is not the software solution we provide. 

    If you are using external SDK solution for developing, I recommend you go to that specific solution's forum to ask about the issues related to those. 

    If you are using nRF5SDK or nRF Connect SDK, then I can still try to assist you (on spec related stuff, since I do not have that sensor)

Children
No Data
Related