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

interrupt problems STR912

I use STR912FWX44 (Revision D(631)) with KEIL development tools.
I have a problem, when using two interrupts (Timer0 and UART1)simultaneously

For test, I send a large file (1MB) to the serial port (57600Baud).
UART FIFO's are disabled as I want to get an interrupt for each character.
My UART1 interrupt routine is about 4 microseconds long.

The Timer1 interrupt routine just counts a global variable.

When I disable TIMER_IRQ receiving works fine.
When I enable TIMER_IRQ, my program restarts main().

Does anybody have the same problem and or a solution for it ?
Luc Vercruysse

0