AnsweredAssumed Answered

Interrupt Latency - Less with 1 or 2 stacks

Question asked by joe hinkle on Oct 28, 2016
Latest reply on Oct 29, 2016 by joe hinkle

I recently started working with a KL17 which is a M0+ ARM running at 48 MHZ.

 

I have some concerns about the time it takes to enter and process an interrupt.

 

The micro has two stacks - main and process.

 

Currently I was keeping things simple and just using the main stack which means an interrupt will also use it.

 

My question is, if I engage the process stack -- which ends up being the actual applications stack and the main stack becomes an interrupt stack -- does the time to enter and exit an interrupt decrease with the use of the two stacks because the cpu is just flipping stacks, it does not have to push/pop registers to process the interrupt.

 

I could not find information in the ARM documentation so I thought I ask here.

 

Thanks.

 

Joe

Outcomes