diff --git a/examples/bare6.rs b/examples/bare6.rs index c6062240888d78c90d2bd2823deea00f0202ae83..4c9824af0383e54d7f29246ef1576583f41d51a3 100644 --- a/examples/bare6.rs +++ b/examples/bare6.rs @@ -137,15 +137,16 @@ fn clock_out(rcc: &RCC, gpioc: &GPIOC) { // // What is the frequency of MCO2 read by the oscilloscope? // -// ** your answer here ** +// ** 4.00 MHz. ** // // Compute the value of SYSCLK based on the oscilloscope reading // -// ** your answer here ** +// ** MCO2 reads 4 MHz, MCO2 is set to take SYSCLK (0b00) and scale +// it down by 4 (0b110 in MCO2PRE bits). This makes SYSCLK 16 MHz. ** // // What is the peak to peak reading of the signal? // -// ** your answer here ** +// ** Disregarding ringing, 325 mVpp. With ringing, 775 mVpp. ** // // Make a folder called "pictures" in your git project. // Make a screen dump or photo of the oscilloscope output. diff --git a/pictures/bare_6_16mhz_high_speed.png b/pictures/bare_6_16mhz_high_speed.png new file mode 100644 index 0000000000000000000000000000000000000000..4588681115f746ae7602b97aa2cb9cf115dff8f1 Binary files /dev/null and b/pictures/bare_6_16mhz_high_speed.png differ