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): Add UART Clock Setter API for all parts using UART RevB Drivers #1113

Merged
merged 4 commits into from
Aug 15, 2024

Conversation

sihyung-maxim
Copy link
Contributor

@sihyung-maxim sihyung-maxim commented Aug 13, 2024

Description

This PR is an extended addon to #1108 for the UART RevB drivers. Since the parameters for the MXC_UART_RevB_SetFrequency were changed, the parts without these new functions did not properly set the baud rate.

Only tested on ME17 so far.

Checklist Before Requesting Review

  • PR Title follows correct guidelines.
  • Description of changes and all other relevant information.
  • (Optional) Link any related GitHub issues using a keyword
  • (Optional) Provide info on any relevant functional testing/validation. For API changes or significant features, this is not optional.

@sihyung-maxim sihyung-maxim added Needs Testing WIP work in progress labels Aug 13, 2024
@github-actions github-actions bot added MAX32655 Related to the MAX32655 (ME17) MAX32680 Related to the MAX32680 (ME20) MAX32690 Related to the MAX32690 (ME18) MAX78000 Related to the MAX78000 (AI85) MAX78002 Related to the MAX78002 (AI87) MAX32662 Related to the MAX32662 (ME12) MAX32572 Related to the MAX32572 (ME55) labels Aug 13, 2024
@sihyung-maxim
Copy link
Contributor Author

/clang-format-run

@sihyung-maxim sihyung-maxim changed the title fix(PeriphDrivers): Add Clock Setter API for all parts using UART RevB Drivers fix(PeriphDrivers): Add UART Clock Setter API for all parts using UART RevB Drivers Aug 13, 2024
Copy link
Contributor

@Jake-Carter Jake-Carter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sihyung-maxim thanks for picking this up, I should've caught this in #1108.

Tested on the AI85 and it works.

Hopefully this new implementation makes sense, I thinks it's a little cleaner to implement against the UG tables since RevB doesn't really have a concept of which clock source is which.

@Jake-Carter Jake-Carter merged commit 3c1cf09 into main Aug 15, 2024
2 checks passed
@Jake-Carter Jake-Carter deleted the fix/uart_clk branch August 15, 2024 18:40
sihyung-maxim pushed a commit to analogdevicesinc/hal_adi that referenced this pull request Aug 15, 2024
ozersa pushed a commit to analogdevicesinc/hal_adi that referenced this pull request Sep 11, 2024
ozersa pushed a commit to analogdevicesinc/hal_adi that referenced this pull request Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MAX32572 Related to the MAX32572 (ME55) MAX32655 Related to the MAX32655 (ME17) MAX32662 Related to the MAX32662 (ME12) MAX32680 Related to the MAX32680 (ME20) MAX32690 Related to the MAX32690 (ME18) MAX78000 Related to the MAX78000 (AI85) MAX78002 Related to the MAX78002 (AI87) Needs Testing WIP work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants