2024-12-13 01:01 PM - edited 2024-12-16 06:05 AM
Currently I'm using some of the vl53l5cx api functions along with some custom code. I plan to have multiple ToFs used and noted, via o-scope, that the initialization function vl53l5cx_init (looks to be blocking code?? correct me if I'm wrong) takes about 2.5 seconds to complete (at 400Kbps I2C) to configure a single ToF. This means with the current initialization it would take more than 10 seconds alone for initialization to complete.
Unfortunately, I am working in constraints that prevent me from accessing the watchdog to circumvent the issue.
Are you aware of any ways of overcoming this? I wasn't sure of the initialization sequence was one that could be split.