diff --git a/examples/rtic_bare6.rs b/examples/rtic_bare6.rs index 7ce4b6996640c1de41af868e823e9c35fc9b2cff..734e3411fc8870b701551ab122034727b5910e4e 100644 --- a/examples/rtic_bare6.rs +++ b/examples/rtic_bare6.rs @@ -58,26 +58,26 @@ const APP: () = { // let _clocks = rcc.cfgr.freeze(); // Set up the system clock. 48 MHz? - let _clocks = rcc - .cfgr - .sysclk(48.mhz()) - .pclk1(24.mhz()) - .freeze(); - // let _clocks = rcc // .cfgr - // .sysclk(64.mhz()) - // .pclk1(64.mhz()) - // .pclk2(64.mhz()) + // .sysclk(48.mhz()) + // .pclk1(24.mhz()) // .freeze(); - + // // let _clocks = rcc // .cfgr - // .sysclk(84.mhz()) - // .pclk1(42.mhz()) + // .sysclk(64.mhz()) + // .pclk1(64.mhz()) // .pclk2(64.mhz()) // .freeze(); + let _clocks = rcc + .cfgr + .sysclk(84.mhz()) + .pclk1(42.mhz()) + .pclk2(64.mhz()) + .freeze(); + // pass on late resources init::LateResources { GPIOA: device.GPIOA, @@ -327,7 +327,7 @@ fn clock_out(rcc: &RCC, gpioc: &GPIOC) { // // What is the peak to peak reading of the signal (and why did it change)? // -// ** your answer here ** +// 4.9V, I have honestly no clue why... // // Make a screen dump or photo of the oscilloscope output. // Save the the picture as "bare_6_48mhz_low_speed". @@ -340,11 +340,11 @@ fn clock_out(rcc: &RCC, gpioc: &GPIOC) { // // Does the code compile? // -// ** your answer here ** +// It does // // What happens at run-time? // -// ** your answer here ** +// Nothing hapens during runtime. The led has stopped flashing. // // Try setting the clocks according to: //