diff options
| author | Carl St-Laurent <[email protected]> | 2023-06-04 11:57:42 -0400 |
|---|---|---|
| committer | Carl St-Laurent <[email protected]> | 2023-06-04 11:57:42 -0400 |
| commit | ade46489f190df685b5a81e0ccc267efc05b2de6 (patch) | |
| tree | de5aac6197002559b9f1a2f74cbd4a1e6951b4c5 /examples | |
| parent | e83762e9790d79f0716af5b3f1fcfd730f6fab35 (diff) | |
Added Vcore boost mode and Flash wait state
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32g4/src/bin/pll.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32g4/src/bin/pll.rs b/examples/stm32g4/src/bin/pll.rs index 580afe03d..bde30c284 100644 --- a/examples/stm32g4/src/bin/pll.rs +++ b/examples/stm32g4/src/bin/pll.rs | |||
| @@ -13,8 +13,8 @@ use {defmt_rtt as _, panic_probe as _}; | |||
| 13 | async fn main(_spawner: Spawner) { | 13 | async fn main(_spawner: Spawner) { |
| 14 | let mut config = Config::default(); | 14 | let mut config = Config::default(); |
| 15 | 15 | ||
| 16 | // Configure PLL to 128Mhz frequency | 16 | // Configure PLL to max frequency of 170 MHz |
| 17 | config.rcc.mux = ClockSrc::PLL(PllSrc::HSI16, PllM::Div4, PllN::Mul64, PllClkDiv::Div2); | 17 | config.rcc.mux = ClockSrc::PLL(PllSrc::HSI16, PllM::Div4, PllN::Mul85, PllClkDiv::Div2); |
| 18 | 18 | ||
| 19 | let _p = embassy_stm32::init(config); | 19 | let _p = embassy_stm32::init(config); |
| 20 | info!("Hello World!"); | 20 | info!("Hello World!"); |
