DSPRelated.com
Forums

UART not responding

Started by david July 14, 2008
Hi!
I'm using DM6437, and finally I can use uart0 with interrupt, but
sometimes if I send many messages on com port in short time, uart stops
to work completely. I don't see to start interrupt anymore! I assume
that it's possible to lost some message on uart, but in this contidion
when uart stops to work I have to reset the board to see my application
working again..
What can be wrong???

Regards,

David
David,

Most likely either the UART input buffer overrun status is asserted and you have not reset it or an
interrupt was missed, most likely because the interrupt processing took longer than the time between
interrupts and the interrupt was missed.

Is the interrupt handler checking that the UART input buffer is empty before exiting? This needs to
be done.

I suspect one or both of the above events is occurring and the software is not handling the event.

R. Williams

---------- Original Message -----------
From: david
To: dsp
Sent: Mon, 14 Jul 2008 14:31:04 +0200
Subject: [c6x] UART not responding

> Hi!
> I'm using DM6437, and finally I can use uart0 with interrupt, but
> sometimes if I send many messages on com port in short time, uart stops
> to work completely. I don't see to start interrupt anymore! I assume
> that it's possible to lost some message on uart, but in this contidion
> when uart stops to work I have to reset the board to see my application
> working again..
> What can be wrong???
>
> Regards,
>
> David
>