Skip to content
Snippets Groups Projects
Commit 9d9df6aa authored by Blinningjr's avatar Blinningjr
Browse files

Corrected my answers in timing_task

parent e0f00e1a
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ const APP: () = { ...@@ -82,7 +82,7 @@ const APP: () = {
// (gdb) x 0xe0001004 // (gdb) x 0xe0001004
// //
// [Your answer here] // [Your answer here]
// 0xe0001004: 0x0000000b // 0xe0001004: 0x0000000b = 11 cycles
// //
// (gdb) disassemble // (gdb) disassemble
// //
...@@ -104,14 +104,14 @@ const APP: () = { ...@@ -104,14 +104,14 @@ const APP: () = {
// What was the software latency observed to enter the task? // What was the software latency observed to enter the task?
// //
// [Your answer here] // [Your answer here]
// 12 - 0 = 12 cycles // 11 - 0 = 11 cycles
// //
// Does RTIC infer any overhead for launching the task? // Does RTIC infer any overhead for launching the task?
// //
// [Your answer here] // [Your answer here]
// No, it dosen't. In the document // No, it doesn't. In the document
// https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/beginner-guide-on-interrupt-latency-and-interrupt-latency-of-the-arm-cortex-m-processors // https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/beginner-guide-on-interrupt-latency-and-interrupt-latency-of-the-arm-cortex-m-processors
// it says that the interupt latency for Cortex-M4 is 12. // it says that the interrupt latency for Cortex-M4 is 12.
// //
// Now we can continue to measure the round trip time. // Now we can continue to measure the round trip time.
// //
...@@ -122,7 +122,7 @@ const APP: () = { ...@@ -122,7 +122,7 @@ const APP: () = {
// (gdb) x 0xe0001004 // (gdb) x 0xe0001004
// //
// [Your answer here] // [Your answer here]
// 0xe0001004: 0x00000017 // 0xe0001004: 0x00000017 = 16 + 7 = 23 cycles
// //
// //
// Looking at the EXTI0 (exti0) code, we see two additional // Looking at the EXTI0 (exti0) code, we see two additional
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment