[En-Nut-Discussion] Reading from uart1

Harald Kipp harald.kipp at egnite.de
Thu Dec 18 19:54:36 CET 2003


9600 Baud (960 char/sec) is nothing for this CPU. I
assume, that any of your interrupt routines take too
long or that the applications blocks interrupts for
too long periods.

One thing you may consider is, not disabling all but
just specific interrupts:

NutEnterCritical();
/* Disable specific device interrupt here */
NutExitCritical();
/* Long processing here */
NutEnterCritical();
/* Enable specific device interrupt here */
NutExitCritical();

The NutEnter/ExitCritical calls may not be required.

Regards,
Harald

At 13:00 18.12.2003 -0500, you wrote:
>The baudrate is 9600, the clock is 14.745MHz. But the data is coming
>continuously without any break. I understand that there may be a  lot of
>other reasons, lying in my head. So, I will concentrate on them.
>Thanks.




More information about the En-Nut-Discussion mailing list