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(PeriphDrivers): Correct HART UART Driver Transmit Bugs #1207

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

Conversation

jdk-maxim
Copy link
Contributor

Use APB clock for HART UART to avoid case where UART clock is faster than system/periph clock to ensure UART interrupt actually vector.

Prevent bogus byte transmission due to interrupt occurring during manual FIFO load.

Minor corrections from previous PR code review.

  • PR Title follows correct guidelines.
  • Description of changes and all other relevant information.

Interrupts could occur while manually loading the FIFO resulting
in bogus data being transmitted in some cases.
Use of APB clock instead of ERFO prevents case of interrupts not working
when system/peripheral clock is slower than UART clock.
@github-actions github-actions bot added MAX32675 Related to the MAX32675 (ME16) MAX32680 Related to the MAX32680 (ME20) labels Oct 2, 2024
@jdk-maxim jdk-maxim marked this pull request as ready for review October 2, 2024 20:59
@jdk-maxim jdk-maxim added the bug Something isn't working label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MAX32675 Related to the MAX32675 (ME16) MAX32680 Related to the MAX32680 (ME20)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants