This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Does the NVIC really do interrupt nesting?

Note: This was originally posted on 23rd February 2011 at http://forums.arm.com

For days I've been banging my head with a problem that shouldn't take more than a minute time otherwise. How to get the NVIC of Cortex M3 handle the simplest in the world interrupt nesting - an interrupt within interrupt.
In details - I have the SysTick running that executes my handling function. What I am trying to achieve is to re-enable the SysTick interrupt and let the same function be executed should another SysTick has occured while it was still serving the previous one. With the old "dumb" ARM7's VIC that was the easiest thing to do - just enabling the interrupts again once I've entered my function. But with this "advanced" one, a person apparently has to go through some tricks to get the job done.
Any help would be warmly welcome!
Thanks
Parents
  • Note: This was originally posted on 24th February 2011 at http://forums.arm.com


    What I am trying to achieve is to re-enable the SysTick interrupt and let the same function be executed should another SysTick has occured while it was still serving the previous one.

    I can't even say whether you could trick the NVIC into doing anything like this, since I have never been in a situation where this seemed to be the best solution. Could you describe a scenario where this would be necessary?

    Regards
    Marcus
Reply
  • Note: This was originally posted on 24th February 2011 at http://forums.arm.com


    What I am trying to achieve is to re-enable the SysTick interrupt and let the same function be executed should another SysTick has occured while it was still serving the previous one.

    I can't even say whether you could trick the NVIC into doing anything like this, since I have never been in a situation where this seemed to be the best solution. Could you describe a scenario where this would be necessary?

    Regards
    Marcus
Children
No data