Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

CAN and UART1 troubles

2005-07-22 by gerhard_uttenthaler

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!

Gerhard

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.