cancel
Showing results for 
Search instead for 
Did you mean: 

Need help configuring VL53L8 firmware

ay0and0
Associate

Hello,

I’m working on a project where I have a Nucleo F401RE connected to a 53L8A1 expansion board. I’m able to get the histogram plot with the ToF sensor on the expansion board but am wondering if I will still be able to get it if I use an external trigger with a VL53L8 ToF sensor attached to the expansion board. If anyone knows if this is possible or has done it before, input would be greatly appreciated.
P.S. I am also using STM’s custom project, CUSTOM/VL53L8CX_SimpleRanging and I am using the histogram functionality with Example_12_cnh_data.c from their VL53LMZ_ULD folder.

Thank you!

1 REPLY 1
John E KVAM
ST Employee

I'm not exactly sure what you mean by external trigger. By default, the sensor runs as often as you specify up to 15 frames per second and you get an interrupt whenever the sensor completes. Or you can set up thresholds and interrupt on changes in distance or signal strength. (Up to 64 different conditions can be specified.)

But here is where you lose me. External trigger. Does that mean you want some other event to start the sensor? I'm not sure how you could do that. 

Or is the trigger something crossing a threshold. in which case you will get the interrupt and can read the data. 

- 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.