cancel
Showing results for 
Search instead for 
Did you mean: 

How to Distinguish Between TOFL1CX and TOFL1CB After Assembly?

qqzlqqzlqqzl
Associate III

Hello ST team,

Thank you very much for your previous help with debugging TOF. We have now selected the TOFL1CX and TOFL1CB as our distance measurement sensors. However, we have encountered a problem: both TOF models have already been soldered onto the PCB, and we cannot tell which one is TOFL1CX and which one is TOFL1CB. We would like to distinguish the two TOFs by reading their IDs, but for some reason, the IDs read out are identical. Is there any way to distinguish between these two TOF models? Their appearance also seems identical.

At the same time, I am a bit confused: are these two TOFs considered as high-end and low-end versions? According to the datasheet, the main difference is the measurement range, and TOFL1CX does not support multi-target detection (but I found that running TOFL1CB’s code on the TOFL1CX also works and provides multi-target output), whereas TOFL1CB officially supports multi-target.

Thank you in advance for your reply.

Below is the code segment I used to get the ID.

  VL53L1_RdByte(Dev, 0x010F, &byteData);
  printf("VL53L1X Model_ID: %02X\n\r", byteData);
  VL53L1_RdByte(Dev, 0x0110, &byteData);
  printf("VL53L1X Module_Type: %02X\n\r", byteData);
  VL53L1_RdWord(Dev, 0x010F, &wordData);
  printf("VL53L1X: %02X\n\r", wordData);
/*
usart print data:
VL53L1X Model_ID: EA
VL53L1X Module_Type: CC
VL53L1X: EACC
*/

 

1 REPLY 1
John_Kvam
Associate II

I'm a retired employee - so I might be speaking out of turn here. 

You are right, there is no way to tell them apart. 

ST promises the Vl53L1CB will run the more complex Histogram code (Which is where you get the multi-target ability). But it WILL run the easier VL53L1X code as well. So mixing in that direction is not an issue. 

But if you force the VL53L1X parts to run the more complex VL53L1CB code there is NO guarantee they will work as they have not been tested. But oddly most of the L1Xs are plenty good enough to run the L1CB code, but they have not been tested.

I'd assume all your devices are the VL53L1X. That way you cannot go wrong. 

You might have over paid a little bit using the L1CBs as L1X, but it's easier than doing a lot of testing. 

- john

If this or any post solves your issue, please mark them as "Accept as Solution". It really helps the next guy.
And if you notice anything wrong do not hesitate to "Report Inappropriate Content".
I am a recently retired ST Employee. My former username was John E KVAM.