serial rxerr

Michael Trimarchi trimarchi at gandalf.sssup.it
Tue Feb 3 20:12:46 CET 2009


Hi,

Andy Green wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Somebody in the thread at some point said:
> | Hi,
> |
> | Andy Green wrote:
> | Somebody in the thread at some point said:
> | | Hi,
> | |
> | | I will carry on of the serial rxerr. I have some experience with the
> | | serial device, it is possible to
> | | have a simple test case?
> |
> | Ah I came to think that this is a very different issue than it seems.
> |
> | The error code reported on the trac bug for it means FIFO overrun.
> |
> | So I think the issue is one or both of
> |
> | ~ - RTS / CTS auto handshake broken
> |
> | ~ - long interrupt lockout or another in the priority set is taking
> | too long
> |> The fifo of gta02 is 16 char? The speed of the open serial device?
>
> They're 64 bytes at 115.2kbps.
>
> But, we should have "Auto flow control" on GSM modem port (RTS / CTS
> operation in hardware according to FIFO level).
>
> It means we should be immune from overrun totally.
>
> The status register on failure reports RX overrun though... that seems
> to be the big clue.
static void s3c24xx_serial_set_mctrl(struct uart_port *port, unsigned 
int mctrl)
{
        /* todo - possibly remove AFC and do manual CTS */
}

Maybe I can try to implement the manual CTS, using the set_mctrl.

Michael



More information about the openmoko-kernel mailing list