[En-Nut-Discussion] Possible BUG in ARM usart driver or crt routines

Ole Reinhardt ole.reinhardt at embedded-it.de
Tue Sep 1 18:58:58 CEST 2009


Hi!

>    With the atmega128 the default buffer size seems fine, but I don't
> think I ever filled it completely.

With the default buffer size it seems to work quite well, but now I need
to send out data without any buffer.

Detailed problem:

I need to wait for at least 50ms after sending the buffer before sending
more data. If I have a large buffer I can not say how much data is still
in the buffer, so a nutsleep directly after fwrite() I don't know the
exactly when the last byte was send out (by interrupt driven UART).

Bye,

Ole

-- 
 _____________________________________________________________
|                                                             |
| Embedded-IT                                                 |
|                                                             |
| Ole Reinhardt        Tel. / Fax:        +49 (0)271  7420433 |
| Luisenstraße 29      Mobil:             +49 (0)177  7420433 |
| 57076 Siegen         eMail:    ole.reinhardt at embedded-it.de |
| Germany              Web:         http://www.embedded-it.de |
|_____________________________________________________________|




More information about the En-Nut-Discussion mailing list