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

AT91SAM: nested interrupts

Hi all,

in my project, I've three main processes (ethernet stack, gui-tft and usart interface). The gui routine (for the whole user interface including touch, tft, encoder) takes its time, therefore the ethernet stack part uses an interrupt (execution all 0.1ms). It's important to process these ethernet ptks very fast.

The usart also uses an interrupt if a pkt will be receveid; therefore it is possible to get nested interrupts. Because it is possible to get two or more data bytes by the usart during one ethernet interrupt (0.1ms)...

Is there a option / possibility to work with nested interrupts (a work around)? To get all events? The controller I'm using is the AT91SAM9263 from Atmel.

best regards
Hannes

Parents
  • Is there a option / possibility to work with nested interrupts (a work around)?

    I'm not familiar with that particular part, but Atmel does describe the process required to use nested interrupt in the datasheets of the parts that I am familiar with.

    It basically consists of re-enabling interrupts at a particular point of the ISR.

    Hence, looking at the interrupt controller chapter of the chips documentation might be a good start.

Reply
  • Is there a option / possibility to work with nested interrupts (a work around)?

    I'm not familiar with that particular part, but Atmel does describe the process required to use nested interrupt in the datasheets of the parts that I am familiar with.

    It basically consists of re-enabling interrupts at a particular point of the ISR.

    Hence, looking at the interrupt controller chapter of the chips documentation might be a good start.

Children