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

RCC: Add option to bypass HSE oscillator #263

Merged
merged 3 commits into from
Feb 7, 2021
Merged

Conversation

samcrow
Copy link
Contributor

@samcrow samcrow commented Feb 4, 2021

This change adds an option to set the HSEBYP bit of RCC_CR, which disables the built-in oscillator for the HSE clock. Instead, the microcontroller can use a clock signal from an external oscillator or other source.

I have tested this mode on a 32F412GDISCOVERY board.

@samcrow samcrow marked this pull request as draft February 4, 2021 08:39
@samcrow samcrow marked this pull request as ready for review February 4, 2021 08:46
matoushybl
matoushybl previously approved these changes Feb 6, 2021
Copy link
Contributor

@matoushybl matoushybl left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the PR!

@thalesfragoso
Copy link
Member

Thank you, could you resolve the conflicts ?

@samcrow
Copy link
Contributor Author

samcrow commented Feb 7, 2021

OK, it looks like I've resolved the conflict in the changelog.

Copy link
Member

@thalesfragoso thalesfragoso left a comment

Choose a reason for hiding this comment

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

Thanks again!

bors r+

@bors bors bot merged commit 5dcf835 into stm32-rs:master Feb 7, 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.

3 participants