• Interruptible Instructions on Cortex-M4
    The ARM Cortex-M4 Processor Technical Reference Manual states: To minimize interrupt latency, the processor abandons any divide instruction to take any pending interrupt. On return from the interrupt...
  • Measuring Cortex-M4 instruction clock cycle counts
    I'm trying to find a reliable method for measuring instruction clock cycles on the STM32F429 MCU that incorporates a Cortex-M4 processor. Part of the challenge is that although the core CPU has no cache...
  • DSP instruction for x*x + y*y. Does it exist?
    Hello all! I am new to ARM community and this is my first question here. I work on embedded systems where we use Cortex-M4 based MCUs (concretely STM32F3 series). I would like to ask, if there is a DSP...
  • hardfault error
    Hi! I'm getting hard fault error and I cannot figure out why. Can anybody point me to the right direction? The architecture is Cortex-M4 with stack size of 0x3000. It doesn't seem to be stack overflow...
  • system reset request (NVIC_systemreset) does not restart the M4 controller
    Hi, I am working on M4 microcontroller. I would like to perform soft reset of the system. so I have used NVIC_SystemReset function as shown below __STATIC_INLINE void __NVIC_SystemReset(void) { ...