[UART] 8250:RTS/CTS flow control issue.

From: moreau francis (francis_moreau2000_at_yahoo.fr)
Date: 03/15/05

  • Next message: Albert Cahalan: "Re: [PATCH][RFC] Make /proc/<pid> chmod'able"
    Date:	Tue, 15 Mar 2005 17:05:54 +0100 (CET)
    To: linux-kernel@vger.kernel.org
    
    

    I tried to use my serial port with rts/cts flow
    control enabled in order to transfer a data file
    between 2 DTE. The first one is a PC running Linux
    with a 8250 UART and the second one is a developement
    board running Linux with a particular UART (I wrote
    its driver based on 8250's one).

    Actually 8250 UARTs have rts/cts line but they're
    managed by software (and then called hw flow control
    !!!). Hence when my board's UART (which have a "true"
    hw flow control) asserts its RTS line, 8250's UART
    sends 8 bytes before stopping TX...
    Therefore board's UART fifo have been overrun because
    it has only 8 bytes for its fifo.

    Does it mean that we can't do any reliable flow
    controls with 8250 UART ? In that case a simple
    workaround would be to limit tx fifo to 1 byte...

    Thanks

         Francis

            

            
                    
    Découvrez nos promotions exclusives "destination de la Tunisie, du Maroc, des Baléares et la Rép. Dominicaine sur Yahoo! Voyages :
    http://fr.travel.yahoo.com/promotions/mar14.html
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Albert Cahalan: "Re: [PATCH][RFC] Make /proc/<pid> chmod'able"

    Relevant Pages

    • Re: R> DROP in GForth
      ... It provides powerful flow control for slightly less overhead ... So maybe you could reverse the flow of arguments and first tell us ... flows remaining until you reach a structured exit. ... and wherever it starts getting snarled you can do a LOB like ...
      (comp.lang.forth)
    • Re: R> DROP in GForth
      ... It provides powerful flow control for slightly less overhead ... So maybe you could reverse the flow of arguments and first tell us ... flows remaining until you reach a structured exit. ... and wherever it starts getting snarled you can do a LOB like ...
      (comp.lang.forth)
    • Re: Real life cost of using exceptions for control flow?
      ... > I know that my view may seem a bit extreme, but it actually works very well. ... > yourself from using exception for flow control. ... I am not at all against throwing exceptions. ...
      (microsoft.public.dotnet.framework.performance)
    • Re: Problem with a fan controling by the inverter ;/
      ... I've got, I believe, an easy problem that I can't solve;/ My situation look like this: an air flow through the fan is controlled now by the guide ring. ... I need to change control by the guide ring on inverter connected with the fan. ... Whether you have a fan running at fixed drive with the airflow controlled by an orifice or a fixed orifice with the airflow controlled by the fan drive you're still controlling pressure and flow simultaneously. ...
      (sci.engr.control)
    • Re: Newbie: getting started in robotics. uC and board questions
      ... > amount of cycles left over to do something useful? ... real-time closed-loop control, and secondly to fiddle with how the UART ...
      (comp.robotics.misc)