[En-Nut-Discussion] Re: RTS/CTS flow control

Thiago A. Corrêa thiago.correa at gmail.com
Wed Aug 16 00:37:50 CEST 2006


Isn't there anyone successfully using RTS/CTS with ethernut?

On 8/14/06, Thiago A. Corrêa <thiago.correa at gmail.com> wrote:
> Hi,
>
>    I'm investigating why RTS/CTS isn't working on my app, and looking
> over the usartavr.c I stumbled over this in AvrUsartGetStatus(void):
>
> #ifdef UART_CTS_BIT
>     /*
>      * Determine hardware handshake sense status.
>      */
>     if (bit_is_set(UART_CTS_PIN, UART_CTS_BIT)) {
>         rc |= UART_CTSDISABLED;
>         if (cts_sense) {
>             rc |= UART_RXDISABLED;
>         }
>     } else {
>         rc |= UART_CTSENABLED;
>     }
> #endif
>
>   Shouldn't the rc |= UART_RXDISABLED be rc |= UART_TXDISABLED? If CTS
> signal is disabled the other device isn't ready to receive data.
>
> Cheers,
>    Thiago A. Corrêa
>



More information about the En-Nut-Discussion mailing list