Skip to main content
Visitor II
May 5, 2008
Question

Interrupt nesting

  • May 5, 2008
  • 2 replies
  • 773 views
Posted on May 05, 2008 at 06:39

Interrupt nesting

    This topic has been closed for replies.

    2 replies

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:52

    Hi,

    I'm trying (unsuccessfully) to implement interrupt nesting on an STR91. Following the advice contained here:

    http://www.keil.com/support/docs/3353.htm

    , I've created an ASM wrapper for my 'interruptable' UART Tx ISR. Contary to advice I've seen elsewhere, this isn't using an SWI, which I thought was necessary...

    The UART coughs out a couple of characters, after which I find myself stuck looping around the default DAbtHandler. Is this symptomatic of what I've read elsewhere on this forum regarding erroneous addresses served up by the VIC? -I hadn't experienced this prior to attempting the nesting of IRQ's.

    If anyone can suggest a 'simple' means to achieve interrupt pre-emption by higher priorty IRQ's, I'd be very grateful.

    Thanks

    David

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:52

    Hi,

    We have already published in the Web an Application note explaining the mechanism of the interrupt management hardware in the STR91x microcontroller family, with software recommendations for interrupt handling.It can be helpful for you.

    Please go through this link:

    http://www.st.com/stonline/products/literature/an/13715.pdf

    Regards,

    Eris.