[En-Nut-Discussion] Lost caracter with At91 UART0
remi.bilodeau at gmail.com
Sun Dec 18 02:29:26 CET 2011
To enabling nesting interrupt and get full potential or IRQ priority, just
some little modification of Nut/OS IRQ handler have to be done. (I think?)
Maybe I dig Nut/OS code later this week, here the paragraph in the Atmel doc
about nesting interrupt.
184.108.40.206 Interrupt Nesting
The priority controller utilizes interrupt nesting in order for the high
priority interrupt to be handled
during the service of lower priority interrupts. This requires the interrupt
service routines of the
lower interrupts to re-enable the interrupt at the processor level.
When an interrupt of a higher priority happens during an already occurring
interrupt service routine,
the nIRQ line is re-asserted. If the interrupt is enabled at the core level,
execution is interrupted and the new interrupt service routine should read
the AIC_IVR. At this
time, the current interrupt number and its priority level are pushed into an
stack, so that they are saved and restored when the higher priority
interrupt servicing is finished
and the AIC_EOICR is written.
The AIC is equipped with an 8-level wide hardware stack in order to support
up to eight interrupt
nestings pursuant to having eight priority levels.
View this message in context: http://old.nabble.com/Lost-caracter-with-At91-UART0-tp32983427p32996297.html
Sent from the MicroControllers - Ethernut mailing list archive at Nabble.com.
More information about the En-Nut-Discussion