2024-07-24 08:40 PM
Interrupt Frequency Limit of M4 core and A7 core,where can i find its infomation? and is there some Testing Method?
Solved! Go to Solution.
2024-07-24 09:00 PM - edited 2024-07-24 09:06 PM
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)
2024-07-24 09:00 PM - edited 2024-07-24 09:06 PM
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)