Re: Problems with the sc16is7xx driver

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

 



Hello Davide,

On 2017-05-12 12:25, Davide Andreoli wrote:
Dear all,

I'm facing lots of issue with this driver, it seems totally unreliable
in my tests.
I'm using 4 sc16is762 (dual uart) connected to SPI bus on a raspberrypi 3,
for a total of 8 serial ports.

My hardware configuration is set up as follow:
RPI SPI-0: 2 chips using 2 different CS and 2 different IRQ
RPI SPI-1: 2 chips using 2 different CS and 2 different IRQ


I can use one serial port at a time without problems, thus I'm quite
sure the hardware is wired and configured correctly. But when I try to
run more that one serial port at "the same time" (fe 2 different
process that use 2 different serial port) the driver start to behave
like crazy: sometimes it hangs the kernel, sometimes it loose bytes,
sometimes one of the uart stop receiving bytes until a port
close/open.

I have tried various changes in the driver that is making the
situation a bit better but still I have not reached a situation where
2 ports can run without hanging in some way.

Before starting to explain in details my problems I would like to
understand if someone else is using this driver in a similar
configuration, or if there are some know issue that I'm not aware of.

Thanks in advance and best regards

We have experienced the same. We were using two SC16IS740 with two CS
and two IRQ on one SPI, also on a Raspberry Pi (1 and 3). We ended up
dropping one of them and replaced it with an FTDI FT230X because for
our customer we needed to move on.

I have a strong feeling it has to do with the poor man's threading
implementation this driver uses.

Maarten

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux