serialport IRQ

Submitted by veeraiyan
on July 17, 2009 - 5:28am

HI

I want know can I give priority between serial ports, in case if three serial ports receive data at same interval (1 second) with different lengths of data say 64 bytes (512 bits), 16 bytes (128 bits) and 4 bytes (32 bits).
Is it required to give priority considering data is supposed to be received at same interval? Please enlighten me...

Thanks in anticipation,
Veera..

type

strcmp
on
July 17, 2009 - 10:13am

which type of port? are the ports connected via USB or are they 16550 compatible?

which architecture does your machine have?

type

veeraiyan
on
July 19, 2009 - 9:48pm

my machine architecture is ARM
port RS232(UART)
yes they are 16550 compatible
veeraiyan

do you have problems

strcmp
on
July 26, 2009 - 2:11pm

do you have any problems receiving the data, or why do you ask? I don't know how to set interrupr priorities on ARM, is there an implicit priority by IRQ number or so?

receiving single bytes should be fast and not disturb the other ports. there used to be problems with disk or net I/O disabling the IRQs until the data was received.

what speed do you serial lines operate at? how many bit/s? how big is you interface chip's fifo?

Comment viewing options