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

Fix off-by-one UART bitrate counter value #310

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

jthornblad
Copy link
Contributor

@jthornblad jthornblad commented Dec 16, 2024

Description

Fix off-by-one UART bitrate counter value that will make the RX sampling and TX sending drift. The impact gets higher as the baudrate increases and the bitrate counter value gets smaller.

Type of change

Please tick any that are relevant to this PR and remove any that aren't.

  • Bugfix (non breaking change which resolve an issue)

Submission checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my changes
  • I have tested and verified my changes on target
  • My changes are well written and CI is passing
  • I have squashed my work to relevant commits and rebased on main for linear history

@jthornblad jthornblad force-pushed the uart_fix branch 3 times, most recently from dab3c83 to 42671ed Compare December 17, 2024 10:27
and TX sending drift. The impact gets higher as the baudrate increases and
the bitrate counter value gets smaller.
@jthornblad jthornblad marked this pull request as ready for review December 17, 2024 12:20
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