This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: IO serial block transfer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]