-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Continuous mode freezes with default, smallest delay #26
Comments
any updates on this error? changing the delay for continuous mode didn't solve the problem for me. |
I haven't checked but am happy to dig further in the coming weeks |
yes thank you. I have been stuck on this for the past weeks. Can't find other people who have had similar problems which is weird. Any immediate clues which might causing this? |
Just got another sensor, I'll do some more digging with that and that datasheet, |
Ping on this one. Did anyone get insight? I am running a sensor at 20ms convergence, continuous mode. After a few hours in a stable measurement scenario, i see a lock up where the 16x buffer returns exactly the same data as previous, so you can see the expected noise in those 16, but it is exactly the same 16 values. I have previous tests running effectively with single measurement polls and it runs stable for days, but that eats runtime, really want the 16x measure in the background and service periodically. I also see hard coded sleeps in the driver for start up scenario relating to continuous mode reset. If i implement a hard reset on each cycle I will have to break that out to allow the main code to run and callback later rather than sleep. I am attempting to make a group of measurements every second while also servicing other things, so the runtime is critical. I will put some observations on timing implications here, also try a longer convergence time. |
Likely my instance of vl8160x was on its way out. One more teat cycle later and it will not even respond to i2c at all. Swap0ed for another physical instance all on stemma-q plug and cable and appears to work fine. Will soak test for 24 hrs plus |
No joy, second device has locked up. Assuming it is still going to be on the i2c bus, but there is a real instability going on. Next step is to see if I can detect it. I know that there is no error code, and meas buffer seams to contain old values, show expected noise but no longer changing |
Same issue for me with |
I caught wind from a colleague that when using continuous mode with default smallest delay, the sensor will randomly freeze up and begin returning only the same value(s) depending on if reading single values or from history. Time to trigger seems to fluctuate. It should be reproducible by running the continuous mode at the smallest interval speed. It seemed like setting the delay for continuous mode readings to 20ms fixed it.
The text was updated successfully, but these errors were encountered: