Re: Serial port speed

"Mauro Farracha : Tyrex" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>

Hi,
>
> At 115200 you will get around 11K bytes in one second.  If you are byte
> banging the I/O (read one byte/write one byte) you could see latencies

This might be a ridiculous question, but since english is not my strongest
language, what do you mean by "byte banging"? I use Hyperterminal to send
a file full of characters, and the serial port (in my java application)
only reads 56/58 characters (560 bits) with a 115200bps... the code line
that i use is spin.read(buffer,0,buffer.length)... where is the byte
banging???
My fisrt thought was that windows use internal buffers for COM1... but
560bits to 115200 its a lot!

Thank you!

> on the PC as high as 10ms per byte.  (Solaris is about 30ms)  This could
> be the source of the slow I/O.
>


> Mauro Farracha : Tyrex wrote:
> >  Im new in the embedded world and i don't understand too much about
> > communication speed etc etc...
> >
> > Im still waiting for the developing kit, but im already testing my java
> > application. Im using the PC to simulate the Tini board (Serial to Serial)
> > using HyperTerminal. With a timeout in the serial port(115200bds) to read
> > bytes of 2 seconds, i just can send through the hyperterminal 56/57 characters
> > , i questioned my self when i get the Tini Board if it will be slower, since
> > my PC is far better than the Tini Board.
> >
> > The problem is related with the windows by itself or applications in java
> > are slower by nature?
> > Is there a solution to speed up the communication?
>

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.