cancel
Showing results for 
Search instead for 
Did you mean: 

STSW-IMG037 is not work with Breakout Board

k_kondoh
Associate II

I try  STSW-IMG037 software with  Nucleo STM32-F401RE + Expansion board with VL53L7CX+ two Brakout Boards(VL53L7CX).but it dosen't work. STSW-IMG037 software with  Nucleo STM32-F401RE + Expansion board with VL53L7CX is OK.Soft ver v2.2.29327. and 53L7A1_MultiSensorRanging.bin in X-CUBE-TOF1 is OK.What should I do?

1 ACCEPTED SOLUTION

Accepted Solutions

I have bad news for you. 

We wrote the software, and it did not work. 

There is something inherent in that blue board, that causes the 3-device configuration not to work. 

So, if you need 3 sensors, you are going to have to do the work yourself. 

There is nothing preventing you from hooking three satellite boards up directly to the Nucleo. 

There is an example in the API that you can download. 

And there is an application note.

Connecting all 3 sensors to the I2C is easy - just daisy chain them together. The real trick is going to find out to which pin the XShut pins are connected. For that look into the software and using a schematic of the Nucleo board you can figure it out. 

Good luck, and I'm sorry I left you waiting for something I could not supply.

- john 

 


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

View solution in original post

7 REPLIES 7
AScha.3
Super User

The VL53L7CX has fix I2C address , so how you manage, to access only one after the other, not both same time ?

You could select one with its LPn line -> hi , others lo . 

If you feel a post has answered your question, please click "Accept as Solution".
k_kondoh
Associate II

STSW-IMG037 GUI soft can control  three VL53L7CXs in user manual .In user manual GUI soft has select sensor list box. but My soft has non. LPn lines are another port of STM32-F401RE. Another soft(53L7A1_MultiSensorRanging.bin in X-CUBE-TOF1) is OK.This Problem is only STSW-IMG037 GUI soft.

The GUI is supposed to be able to control 3 sensors - but not at the same time. Did you find the sensor setting on the device control panel?

JohnEKVAM_0-1745851702731.png

8 down from the top is where you set it. 

I don't have an L7 and two satellites, Or I'd try it. 

Let me know if it's a question of not seeing the setting or if it really doesn't work. 

then I can have someone look at it.

- john


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

I think I see. 

In order to control 3 L7's you are going to need to get them on different addresses - and they all start at address 52. 

(Note Address 0x29 is the 7-bit address. One shifts that left 1 bit to get the Write address (0x52). Set that LSBit to get address the read address -0x53. It's confusing. Sorry about that)

So start with all 3 sensors with their LPn lines low. Lift one of the LPn lines wait until it's booted and then issue the 'change address command'. Move the address to something like 0x62. Then lift the next LPn and set it to something like 0x72 and repeat for the last sensor - 0x82. Make sure to use even addresses as the odds are the read addresses.

Now all your sensors have different addresses, and you can carry on.  In our software it will help to have an array of 3 Dev (device structures). Make sure to put the new addresses in the Dev structures. 

- john


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

You are correct. The L7 GUI code was modified to remove the option for satellite boards. It was a mistake.

I will have it fixed as fast as possible. 

 


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.
k_kondoh
Associate II

I’m waitting for New soft. When will I get new soft for 3 sensoers.

I have bad news for you. 

We wrote the software, and it did not work. 

There is something inherent in that blue board, that causes the 3-device configuration not to work. 

So, if you need 3 sensors, you are going to have to do the work yourself. 

There is nothing preventing you from hooking three satellite boards up directly to the Nucleo. 

There is an example in the API that you can download. 

And there is an application note.

Connecting all 3 sensors to the I2C is easy - just daisy chain them together. The real trick is going to find out to which pin the XShut pins are connected. For that look into the software and using a schematic of the Nucleo board you can figure it out. 

Good luck, and I'm sorry I left you waiting for something I could not supply.

- john 

 


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.