• Using GPIO for timing execution of functions
    I have a need to measure the execution time of certain functions using an oscilloscope. When I enter the function I toggle a pin high, and before exiting the function I toggle the pin low. I'm using...
  • Is a DMB required between loading BASEPRI and storing BASEPRI_MAX?
    Hi, I have a question regarding BASEPRI, BASEPRI_MAX, and DMBs as they relate to both the V7-M and V7E-M architectures. Let's say I have the following assembly, // stuff mrs r0, BASEPRI msr BASEPRI_MAX...
  • Cortex-M7 load instruction latency and pairing
    Hello, What is the latency for the LDR instruction when the result is used for integer arithmetic operations (for example DSP MAC instructions)? Also, can 64-bit loads (LDRD) be paired with another instruction...
  • Number of Integer and Floating point execution units in M7
    Hi guys, I have 2 doubts. 1) the number of integer and floating point execution units in cortex M7 2) is the number of pipeline stages different for integer and FP
  • Load / Store timings with different cache settings
    Hello, I am timing load and store instructions for baremetal program by stepping though execution using OpenOCD and using the PMU cycle counter with single cycle granularity. I am running the program...