Skip to content
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

Arcade bonnet driver improvements #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lhrc-mikeyp
Copy link

A set of changes to improve performance of the Arcade bonnet Python driver, and avoid hangs under heavy activity:

  • Changed the IRQ handler to only read the two GPIO registers
  • IRQ optimization to skip processing when there is no GPIO status change
  • Change the main loop to read the GPIO registers, which re-enables interrupts

Most other changes are formatting and comments.

iWORK in progress, to resolve ocassional hangs under heavy activity.
update arcade bonnet driver to poll in the main loop so
interrupts are never disabled if an IRQ is missed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant