Re: Serial port speed

Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
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?

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 
on the PC as high as 10ms per byte.  (Solaris is about 30ms)  This could 
be the source of the slow I/O.


-- 
--
Bryan Armstrong
bryan.armstrong-6tN4nzCoH/[email protected]


_______________________________________________
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.