2025-09-25 12:56 AM
Hi,
is there a way to distinguish both mentioned sensors other than by complex optical measurements (they have different FOVs)? We have built devices with both types of sensors and our firmware calculates x/y/z coordinates from the reported distances and so has to choose the correct pitch matrix.
Thx Peter
2025-09-25 1:10 AM
Hello Peter,
To differenciate the L5CX from the L7CX devices, you can add the three following lines in your main file :
uint8_t fw_flags[8];
status |= vl53l5cx_dci_read_data(&Dev, fw_flags, 0xE0C4, sizeof(fw_flags));
printf("Module type = %u (0 for vl53l5cx, 1 for vl53l7cx)\n", fw_flags[1]);