Jump to content
Sign in to follow this  
VisSim Forum Archives

How does interrupt handling work on the F28xx series?

Recommended Posts

Submitted by pete on Thu, 10/29/2015 - 21:25.

Good question. Properly configured interrupts are either serviced (if no other interrupt is in the process of being serviced) or left pending until the current interrupt service routine is completed. All interrupts have a unique but fixed priority set by the hardware. TI has ordered priorities so that lower valued interrupts have higher priority. If a given interrupt handler re-enables interrupts while processing the interrupt, any interrupts of higher priority will cause preemption of the current interrupt and invocation of the higher priority interrupt handler. When the higher priority handler is complete, control will be returned to the lower priority interrupt. To enable interrupts in a lower priority handler, you insert a VisSim extern function set to “enable_interrupts()” at the top of the page. The diagram below from the F28377D user guide shows priorities of interrupts on that chip. Priority decreases left to right, top to bottom:


Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...