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

Add Nucleo446ZE + various fixes #533

Merged
merged 6 commits into from
Jan 10, 2021

Conversation

chris-durand
Copy link
Member

@chris-durand chris-durand commented Jan 10, 2021

This PR adds the following:

  • Nucleo 446ZE board
  • Nucleo 446ZE USB serial example
  • Function to enable overdrive mode in the clock driver
    This is actually provided by the PWR peripheral but we don't have a separate driver for that and the setting is highly related to the clock configuration. For simplicity I put it into the RCC module.
  • Correctly set overdrive mode for all F4 boards with a 180 MHz clock and F7 boards with a 216 MHz clock
    This was done the wrong way in all boards, if done at all. The ODEN bit was set but not the ODSWEN bit to actually change the mode.
  • Support for configuring the PLLSAIP clock to support USB on F4{46, 69, 79} and F7 running at maximum SYSCLK

Copy link
Member

@salkinium salkinium left a comment

Choose a reason for hiding this comment

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

Awesome!

src/modm/platform/clock/stm32/rcc.cpp.in Show resolved Hide resolved
@salkinium salkinium force-pushed the feature/nucleo_f446ze branch from 67fef4c to 02b1571 Compare January 10, 2021 17:32
@salkinium salkinium merged commit 02b1571 into modm-io:develop Jan 10, 2021
@chris-durand chris-durand deleted the feature/nucleo_f446ze branch January 2, 2022 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants