-
Notifications
You must be signed in to change notification settings - Fork 3
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
Reconfigure interruptions? #39
Comments
To improve current implemented solution:
To analyze:
|
I like the active wait approach. We could simply:
Also, while we "wait a bit" we can do the raw-to-meters conversion. This way we might not even lose any time. It also simplifies the interruptions and finally solves the problem of not having all readings as close as possible to the control execution. |
Unable to make this work. Moving it to OSHWDem 2018 milestone... Anyway it is now not so critical, as it seems we fixed the peaks in the sensors readings after the latest changes. |
Moved to Portugal 2019 milestone. Added "on hold" label as this method results in less reliable readings. We probably need some hardware changes to improve that (i.e.: add capacitors next to the emitters to provide the required transient power). |
We will try this approach with Meiga. If it works well we could consider backporting it to Bulebule. In that case we could take the chance and update the PCB with other changes:
|
Could you change PCB changes on Bulebule to Bulebule repo? |
@cua-cua Yeah, good idea! Bulebots/bulebule#411 |
Systick just activates sensors readings interruptions, which are faster; at the last reading we disable sensors readings interruptions and execute the control. This way sensor readings are closer to each other in time. Is the interruption switching (from main to sensors) faster than simply waiting in the systick and avoiding the sensor interruptions? (guess switching requires saving registers etc.)
The text was updated successfully, but these errors were encountered: