Here's an update.
Actually, the first time I send something on the serial port, it goes
out directly with no delay.
The second transmission will delay 20-25 ms before outputting on the line.
I also noticed that if I close the serial port after sending, and reopen
it, I get no delay.
Does this ring a bell to someone? Any ideas?
In advance, thanks.
Regards,
Emmanuel Viollet a écrit :
Hi.
I'm running uclinux 2.6.24.2-uc0 on an Olimex LPC2468 evaluation board
and have an issue with serial ports.
I'm using the standard Linux serial functions (open(), write(), etc.),
and have discovered (after analysis with an oscilloscope) that the
delay between the write() function and the actual ouput on the serial
port varies between 20 and 250 ms.
I find this delay quite long. Is there anything I can do to force the
serial output as soon as I've put the data in the output buffer?
Also, the tcdrain() function returns approx. 20ms AFTER the data has
finished being sent by the UART. Is there any way to reduce this delay?
In advance, thanks.
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
Emmanuel Viollet
Software engineer
Webdyn
e-mail : [email protected]
Tel : +33 (0)1 39 04 29 55
begin:vcard
fn:Emmanuel Viollet
n:Viollet;Emmanuel
org;quoted-printable:Webdyn;Recherche & D=C3=A9veloppement
adr:;;24/26 rue des Gaudines;Saint Germain en Laye;;78100;France
email;internet:[email protected]
title:Responsable R&D
tel;work:+33 (0)1 39 04 29 55
tel;fax:+33 (0)1 39 04 29 41
x-mozilla-html:TRUE
url:http://www.webdyn.com/
version:2.1
end:vcard
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev