adafruit / adafruit/Adafruit_CircuitPython_VL6180X
Slow connection init to VL6180X on Nvidia Jetson
- Dominant language
- Python
- Stars
- 14
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
I'm experiencing slow initial connection time (above 10 sec) with the VL6180X TOF sensor on the Nvidia Jetson Dev Kits (both Nano and Xavier NX).
Once connected everything works fine, but `sensor = adafruit_vl6180x.VL6180X(i2c)` takes above 10 seconds to execute.
I have installed the library via:
`sudo pip3 install adafruit-circuitpython-vl6180x`
Running i2cdetect works quite fast.
Also once in several attempts, the connection is established quickly without delay.
What could be causing this such slow sensor init?
I opened a discussion on the forums but could not find a solution:
https://forums.adafruit.com/viewtopic.php?p=843163#p843163
https://forums.adafruit.com/viewtopic.php?p=968714
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the delay at `adafruit_vl6180x.VL6180X(i2c)` on Nvidia Jetson Nano and Xavier NX, then compare it with the fast `i2cdetect` result and review the linked forum discussions. Done means identifying the cause of the intermittent initialization delay and documenting or fixing the behavior so sensor construction completes promptly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100