Skip to main content
Explorer II
July 25, 2024
Solved

Interrupt Frequency Limit

  • July 25, 2024
  • 1 reply
  • 926 views

Interrupt Frequency Limit of M4 core and A7 core,where can i find its infomation? and is there some Testing Method?

    This topic has been closed for replies.
    Best answer by TDK

    The only limit is the speed at which the cpu can get through the code within the interrupt. It takes some cycles to enter the interrupt, to run the code, and to exit. Expect it to take tens of clock cycles at a minimum, but the exact value depends.

    Generally, interrupts faster than tens of kHz get into trouble, but you can interrupt at 1 MHz or more if your code is well optimized.

    Technical details will be in the ARM documentation.

    Cortex-M4 Technical Reference Manual r0p0 (arm.com)

    1 reply

    TDKAnswer
    Super User
    July 25, 2024

    The only limit is the speed at which the cpu can get through the code within the interrupt. It takes some cycles to enter the interrupt, to run the code, and to exit. Expect it to take tens of clock cycles at a minimum, but the exact value depends.

    Generally, interrupts faster than tens of kHz get into trouble, but you can interrupt at 1 MHz or more if your code is well optimized.

    Technical details will be in the ARM documentation.

    Cortex-M4 Technical Reference Manual r0p0 (arm.com)