This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: IO serial block transfer
- To: Ho Shui Choy Stanley PS03B NCS <scho at ncs dot com dot sg>
- Subject: Re: [ECOS] IO serial block transfer
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 15 May 2001 14:20:53 +0100
- Cc: "Ecos-Discuss (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <19C34CD863B1D4118E2800508BAF663A0112F636@STONE>
Ho Shui Choy Stanley PS03B NCS wrote:
>
> Has anyone tried to use the serial block transfer?
>
> Can some one help me as my application rely pretty much on serial
> communications. When using the conventional byte transfer, interrupts are
> generated very often. My application will not be able to transmit or receive
> anything after awhile. I have also set the serial port to non blocking mode.
> I need high speed communication of at least 38.4kbps.
Block transfer is only relevant if your hardware supports transfer of
multiple blocks at a time. Non-blocking mode will probably increase, not
reduce, the overheads.
A better solution if you have a UART with a FIFO is to try tweaking the
interrupt threshold.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine