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

Girod/fix loralogger dropouts #5

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

lewisgirodcmt
Copy link

pr to fix DMA problems. this seems to work now for hours without any dropped bytes

Andrew Marles and others added 6 commits July 22, 2024 14:01
i had a theory that dropped bytes were caused by an asynchronous buffer swap that was not well aligned to the arrival of the next byte.  i added a loop to spin until the next byte, which seems to fix the problem. this probably only needs to be done when the trigger for this action was NOT the idle interrupt, but this code does it also in this case.
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