Hello!
I am working on a project using the LPC2119.
My main loop observes, whether a message has been received by the CAN
interrupt and if so, sends it on the other CAN channel.
Now, if i put a:
// wait for free UART
while( (UART1_LSR & 0x60) == 0x00){;}
// send a character
UART1_THR = 0x32;
into this main loop and have a heavy CAN load on one channel the
programm gets locked up after some period of time and the (external)
watchdog triggers a reboot.
Without the UART accesses the programm works just fine.
Does anyone has any idea about that?
Thank you!
GerhardMessage
CAN and UART1 troubles
2005-07-22 by gerhard_uttenthaler