2025-03-03 8:50 AM - last edited on 2025-03-03 12:26 PM by Peter BENSCH
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!
2025-03-04 3:50 PM
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