diff --git a/examples/bare6.rs b/examples/bare6.rs index 44b40ef363913fab73b851fa71e526939a2d0624..6e60f1830d3caa40faab48d8d02a0a1dd6edbd20 100644 --- a/examples/bare6.rs +++ b/examples/bare6.rs @@ -23,7 +23,7 @@ fn main() { dwt.enable_cycle_counter(); clock_out(rcc, gpioc); - //clock::set_84_mhz(rcc, flash); + clock::set_84_mhz(rcc, flash); idle(dwt, rcc, gpioa); } @@ -173,12 +173,16 @@ fn idle(dwt: &mut DWT, rcc: &mut RCC, gpioa: &mut GPIOA) { // repeat the experiment 2. // what is the frequency of MCO2 read by the oscilloscope // ** your answer here ** +// 100-500 KHz // // compute the value of SYSCLK based on the oscilloscope reading // ** your answer here ** +// 100-500 * 4 = 400-2000 KHz +// // what is the peak to peak reading of the signal // // ** your answer here ** +// 50 mV // // make a screen dump or photo of the oscilloscope output // sove the the picture as "bare_6_84mhz_high_speed"