Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 8 of 8

Thread: Fastest usb uart bridge

  1. #1
    Junior Member
    Join Date
    Aug 2018
    Posts
    18

    Fastest usb uart bridge

    Hello,

    I have been using a usb to ttl bridge based on the CP2102 chip for a month now, and it suddenly stopped working. It is not recognized at all by Windows anymore and when it is plugged in the Serialí0í is also not detected. Tested on 2 computers, same bahaviour. Iím pretty sure (and I hope) the CP2102 died and itís not a problem with my teensy.

    Anyway I have to buy a new one, and I wanted to buy the one that can deliver the best rates performance. I was reaching around 920000 bps max with the cp2102.

    I read around the prolific 2303hxd can reach 12mbps, unfortunately I canít find them and all the ones I can find look like fake chips to me.


    Does anyone tried many chips already in order to reach the highest transfer speed ? Any choice you recommend ? On the same budget How do you avoid fake chips, any place/seller you recommend in Europe ?

    Thanks

  2. #2
    Senior Member
    Join Date
    Dec 2016
    Location
    Montreal, Canada
    Posts
    2,798
    ive programmed 2+ megabaud using silabs cp2102, for diablo uart displays

  3. #3
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,649
    Maybe try using your Teensy board?

    In Arduino, click File > Examples > Teensy > USB_Serial > USBtoSerial.

    On Teensy 3.2, 3.5 & 3.6, I believe you'll be pleasantly surprised how fast it can run.

    It's also pretty easy to delete the baud rate stuff and just hard-code a fixed (perhaps non-standard) baud rate, for use in situations where your terminal emulator doesn't give you the special baud rate you need.

  4. #4
    Junior Member
    Join Date
    Aug 2018
    Posts
    18
    Oh yes I already profit from the high speed of the native port.

    But for my use case I need a second port to talk with another computer, so I wanted some advices on what models I could choose to replace my dead cp2102.

    I ordered a prolific 2303ta (couldnít find the hxd) and a ftdi 232r, both are supposed to have genuine chips but I have doubts on the first one. I will post results here when I get them, It might interest some people.

  5. #5
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    7,041
    Rather perhaps - use ANOTHER Teensy: Cross the Rx & Tx - add GND wire and the USBtoSerial sketch will feed another terminal program.

  6. #6
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,649
    Indeed, you can use another Teensy as a USB-serial converter. Just run that example code. Using Teensy 3.2 at 96 MHz, it should work all the way up to 6 Mbit/sec (the max Serial1 & Serial2 support).

  7. #7
    Senior Member+ Frank B's Avatar
    Join Date
    Apr 2014
    Location
    Germany NRW
    Posts
    4,743
    If you connect two Teensy anway, I'd not use the UART - SPI can be much much faster.

  8. #8
    Senior Member
    Join Date
    Dec 2016
    Location
    Montreal, Canada
    Posts
    2,798
    SPI is the fastest you could get between 2 teensies, then your limited by the bandwidth of USB to PC at each end. If you do choose UART though it might be a good idea to attach the RTS & CTS lines and run it at 6megabaud

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •