Skip to content

H7 RM0433: Add NOMCK at SAI [AB]CR1 bit 19 and remove MCKEN #640

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

Merged
merged 2 commits into from
Oct 3, 2021

Conversation

richardeoin
Copy link
Member

Other H7 parts are unchanged. Improve description of NOMCK/NODIV bit

See previous PR #347. Fixes #618

Other H7 parts are unchanged. Improve description of NOMCK/NODIV bit

See previous PR stm32-rs#347. Fixes stm32-rs#618
@github-actions
Copy link

github-actions bot commented Oct 3, 2021

Memory map comparison

@adamgreig
Copy link
Member

What do you think of leaving the nodiv field in for these parts too, at the same offset to the nomck field? That way drivers/HAL can keep doing the same thing but users can call it by the RM name if they prefer. Maybe it's just more confusing in the end, I don't know how much the HAL really cares about this bit.

@richardeoin
Copy link
Member Author

The default value of nodiv is the typical use case, whilst setting it is a less common use case (I think). However the HAL does write to it a couple of times, so having nodiv at that offset for all parts would be a nice solution

@richardeoin richardeoin changed the title H7 RM0433: Rename SAI [AB] CR bit 19 to NOMCK and remove MCKEN H7 RM0433: Add NOMCK at SAI [AB]CR1 bit 19 and remove MCKEN Oct 3, 2021
@github-actions
Copy link

github-actions bot commented Oct 3, 2021

Memory map comparison

@github-actions
Copy link

github-actions bot commented Oct 3, 2021

Memory map comparison

@richardeoin
Copy link
Member Author

Thanks for the suggestion, the RM0433 parts now have both NODIV and NOMCK at the same offset

Copy link
Member

@adamgreig adamgreig left a comment

Choose a reason for hiding this comment

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

Thanks, looks good!

bors merge

@bors bors bot merged commit a75f1df into stm32-rs:master Oct 3, 2021
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.

H7 SAI xCR Master clock error
2 participants