The Siemens Community Catalyst program was co-created with our community to acknowledge technology leaders who consistently contribute to the Siemens Community. Nominations are accepted on a rolling basis.
Submitted by Joe on Thu, 10/29/2015 - 21:06
priority
How do I set interrupt priority on the F28xx line of chips?
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:
<?xml version="1.0" encoding="UTF-8"?>
Join us for a community conversation on how High-Performance Computing (HPC) and Simcenter PSIM work together to meet the increasing demands of modern power electronics simulation. During this one-hour technical session, you'll discover how leveraging HPC can speed up simulations, improve scalability, and empower engineers…
Join us for a community conversation on accelerating your motor simulation workflow with Simcenter Simlab. In this beginner-friendly session, we'll introduce the platform's automated model-building capabilities and show how easy it is to set up your first electric motor analysis. You'll see the basic steps of geometry…
Join us for a Community Conversation where we'll discuss practical approaches to analyzing complex electromagnetic models using hybrid solver techniques. This session will provide a general overview of how different computational methods can be combined within a single simulation to address models containing varied…