cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt Frequency Limit

csm
Associate

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

1 ACCEPTED SOLUTION

Accepted Solutions
TDK
Guru

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)

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

1 REPLY 1
TDK
Guru

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)

If you feel a post has answered your question, please click "Accept as Solution".