[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BOUNCE rtl@rtlinux.org: Approval required: Non-member submissionfrom [Evgeni Dobrev <Evgeni_Dobrev@excite.com>] (fwd)



>From owner-rtl Tue Jun  5 01:53:34 2001
Received: from bucky.excite.com (bucky-rwcmex.excite.com [198.3.99.218])
	by hq.fsmlabs.com (8.11.2/8.11.2) with ESMTP id f557rYx06481
	for <rtl@fsmlabs.com>; Tue, 5 Jun 2001 01:53:34 -0600
Received: from dotty.excite.com ([199.172.152.205]) by bucky.excite.com
          (InterMail vM.4.01.02.39 201-229-119-122) with ESMTP
          id <20010605074750.KSVL17977.bucky.excite.com@dotty.excite.com>
          for <rtl@fsmlabs.com>; Tue, 5 Jun 2001 00:47:50 -0700
Message-ID: <32055449.991727270126.JavaMail.imail@dotty.excite.com>
Date: Tue, 5 Jun 2001 00:47:50 -0700 (PDT)
From: Evgeni Dobrev <Evgeni_Dobrev@excite.com>
To: rtl@fsmlabs.com
Subject: Re: [rtl] rt_com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Excite Inbox
X-Sender-Ip: 217.5.28.25

Hello Anders,

thank you for the advice.  Now the char is sent back between 0.055mS and
0,089 mS after the serial port receives the char (@19200).  The response
time fluctuates though between those two values in "regular" (periodic) way.
What could be the cause for this fluctuation?

Anyway now I am within the 3bits limit :). thank you very much once again.

evgeni

>  The problem is not the driver but the way the register in the serial port
is
>  set up.
>  The UART does not generate a interrupt for every char it recived if it
has't
>  been
>  tould to do so. It is the register for the input fifo.
>  I think this is what happens. ->
>  the computer recives a char.
>  It does NOT make a interrups at once but wait's.
>  It ganerate a interrupt when "No Charecters have Been removed From or
input to
>  the RCVR FIFO During the last 4 Char."
>  (thats 1/(19200/10bits) ~2mSec.)
>  The driver catch the interrupt. do what ever you wont it to and send a
byte
>  (0.2~ mSec).
>  
>  I can't remeber if it is posible to set the number of chars before
interrups
>  with the rt_setup call. If not you have to make some minor changes in the
>  driver.
>  
>  Anders Gnistrup
>  
>  -- [rtl] ---
>  To unsubscribe:
>  echo "unsubscribe rtl" | mail majordomo@rtlinux.org OR
>  echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.org
>  --
>  For more information on Real-Time Linux see:
>  http://www.rtlinux.org/rtlinux/
>





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/

----- End of forwarded message from owner-rtl@fsmlabs.com -----