FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: FT2232H random error on one channel  (Read 7862 times)

jbonhomme

  • Newbie
  • *
  • Posts: 2
    • View Profile
FT2232H random error on one channel
« on: May 18, 2021, 01:53:44 PM »

Hello,

We have a custom board with ARM processor and FT2232H device, configured in 2 UARTs links. We used Linux OS and device is correctly found and attached:

[    0.031124] usbcore: registered new interface driver usbfs
[    0.031155] usbcore: registered new interface driver hub
[    0.031183] usbcore: registered new device driver usb
[    0.835577] dwc3 3100000.usb: Adding to iommu group 7
[    0.835896] dwc3 3110000.usb: Adding to iommu group 8
[    0.838035] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.839505] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.840173] usbcore: registered new interface driver usb-storage
[    0.840243] usbcore: registered new interface driver ftdi_sio
[    0.840263] usbserial: USB Serial support registered for FTDI USB Serial Device
[    1.212986] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    1.394520] usb 1-1: Detected FT2232H
[    1.394720] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0
[    1.395004] usb 1-1: Detected FT2232H
[    1.395184] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB1

To perfom test, Tx is loopback externally to Rx.

Randomly, and most of time after several ten of hours, generally one of two channels got errors. On channel with error, data goes out from processor not with the good period and FT2232 Rx FIFO is never read for endpoint n ° 1. More strange, transfer mode is changed from bulk to "normal" transaction. Once error occurs, it never desapears.

We catch data exchange with USB analyser with and without errors.

has somebody have already seen this behaviour ?
Logged

FTDI_USA

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: FT2232H random error on one channel
« Reply #1 on: May 18, 2021, 06:19:13 PM »

Bonhomme:

What version of the Linux kernel are you using?

What baud rate are you using?

How much data are you transferring per session?

Are you using a Linux TTY such as PuTTY, or you own Linux COM port code?

Please send your design schematic to  us.support@ftdichip.com

Best Regards,

Cameron Forbes, FTDI USA Customer Engineering
Logged

jbonhomme

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: FT2232H random error on one channel
« Reply #2 on: May 19, 2021, 01:21:20 PM »

Hello,

We are on Linux 5.10. Baud rate is 115,2kbps and we send 256 bytes each 1,5 seconds.
We use our own code to transfer/receive data.

Regards
Logged

FTDI_USA

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: FT2232H random error on one channel
« Reply #3 on: May 19, 2021, 09:21:51 PM »

Bonhomme:

Have not yet received your design schematic.

Please send it to us.support@ftdichip.com in PDF format.

Are you using the FT2232HQ or FT2232HL chip?

Best Regards,
Cameron Forbes,  FTDI USA Customer Engineering
Logged