Skip to content
Snippets Groups Projects
Commit 265329aa authored by Samuel Karlsson's avatar Samuel Karlsson
Browse files

bare6 task 5

parent 4260e817
Branches
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment