diff --git a/examples/rtic_bare6.rs b/examples/rtic_bare6.rs index d4743ecf608c790e3f07256aea16fa685d00413e..c63601a8f81bdf0d0691ed66b72434716ee29683 100644 --- a/examples/rtic_bare6.rs +++ b/examples/rtic_bare6.rs @@ -138,7 +138,7 @@ fn clock_out(rcc: &RCC, gpioc: &GPIOC) { // otyper reset state push/pull, in reset state (don't need to change) // ospeedr 0b11 = very high speed - gpioc.ospeedr.modify(|_, w| w.ospeedr9().low_speed()); + gpioc.ospeedr.modify(|_, w| w.ospeedr9().high_speed()); } // 0. Background reading: @@ -348,7 +348,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 ** -// 5.5V, +// 5.5V, we dont any reviewer please do tell. // // Make a screen dump or photo of the oscilloscope output. // Save the the picture as "bare_6_48mhz_low_speed". diff --git a/examples/rtic_bare8.rs b/examples/rtic_bare8.rs index 241530d1a1ed614fd0b22617ea7831326e9d3580..abbdf6dbfa78b44871920e52b732612fc7cff4c1 100644 --- a/examples/rtic_bare8.rs +++ b/examples/rtic_bare8.rs @@ -73,7 +73,7 @@ const APP: () = { loop { match block!(rx.read()) { Ok(byte) => { - rprintln!("Ok {:?}", byte); + rprintln!("Ok {:b}", byte); tx.write(byte).unwrap(); } Err(err) => { @@ -114,30 +114,43 @@ const APP: () = { // What do you receive in `moserial`? // // ** your answer here ** +// a // // What do you receive in the RTT terminal? // // ** your answer here ** +// Ok 97 +// Ok 13 +// Ok 10 // // Try sending: "abcd" as a single sequence, don't send the quotation marks, just abcd. // // What did you receive in `moserial`? // // ** your answer here ** +// ab // // What do you receive in the RTT terminal? // // ** your answer here ** +// Ok 97 +// Ok 98 +// Error Overrun +// Ok 13 +// Ok 10 // // What do you believe to be the problem? // // Hint: Look at the code in `idle` what does it do? // // ** your answer here ** +// Some form of overflow +// // // Experiment a bit, what is the max length sequence you can receive without errors? // // ** your answer here ** +// 3 characters, but not consistently. // // Commit your answers (bare8_1) // @@ -153,6 +166,7 @@ const APP: () = { // 3. Experiment a bit, what is the max length sequence you can receive without errors? // // ** your answer here ** +// // // How did the added tracing/instrumentation affect the behavior? //