2023-10-29 06:13 AM - edited 2023-10-29 06:14 AM
Hey,
I want to see the 8x8 matrix in the VL53L8CX_GUI but when I try to connect it in the GUI the nucleo does not appear. But it appears by flash. In the device managment from my windows 11 I see the board is on COM8. (See screenshot)
Do you guys have an idea?
Solved! Go to Solution.
2023-10-30 07:58 AM
For some reason I could not see the screen shot, but I think I know the issue.
The GUI package downloads a binary that powers up the sensor, initializes it and makes it ready. There are then a few commands that come from the PC which are translated and sent to the sensor. One of them is the 'start' command. Data is then taken from the sensor, and sent back to the PC.
This binary is complied for the Nucleo-F401RE. And while it might run on other boards, the PIOs are going to be different.
The solution is to just buy the F401RE. it's 10 dollars. And use that to prove the sensor does what you need. After that, download the API and use the STM32CubeIDE including the XCUBE_TOF to build the code for your WB55RG.
- john
2023-10-30 07:58 AM
For some reason I could not see the screen shot, but I think I know the issue.
The GUI package downloads a binary that powers up the sensor, initializes it and makes it ready. There are then a few commands that come from the PC which are translated and sent to the sensor. One of them is the 'start' command. Data is then taken from the sensor, and sent back to the PC.
This binary is complied for the Nucleo-F401RE. And while it might run on other boards, the PIOs are going to be different.
The solution is to just buy the F401RE. it's 10 dollars. And use that to prove the sensor does what you need. After that, download the API and use the STM32CubeIDE including the XCUBE_TOF to build the code for your WB55RG.
- john
2023-10-30 08:08 AM
Hey John,
thanks for the answer. Sounds promissing. I ordered one, it will arrive tomorow and then I will try it with the F401RE.
Best Regards,
Julian
2023-10-31 11:05 AM
Hey John,
I tried it with the F401RE and it works fine. Thanks for the help.
Best Regards,
Julian
2023-11-01 12:45 PM - edited 2023-11-01 12:46 PM
So another question: When I want to make more customizations to the Matrix e.g Max Range Gradient to 3.9m instead of max 3m of the GUI. I have to do that in the CubeIDE or? And is there an example Code for the Matrix in CubeIDE?
Best Regards,
Julian
2023-11-01 03:20 PM
The sensor responds to commands and supplys the ranging info to the STM32. The STM32 does the init, and transmits command from the PC to the sensor. It also reads the range data and transmits it to the PC.
The gradent info is strictly there to visualize what you are looking at. Those parameters are just for the PC.
Use the GUI to set what you like. It makes no difference to the sensor.