From 265329aa33effbaa5c8d86b7281465072b3e9f1b Mon Sep 17 00:00:00 2001 From: grammers <samkar-4@student.ltu.se> Date: Thu, 15 Feb 2018 00:31:56 +0000 Subject: [PATCH] bare6 task 5 --- examples/bare6.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/bare6.rs b/examples/bare6.rs index 44b40ef..6e60f18 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" -- GitLab