Author Topic: Competitor to FTDI USB chips?  (Read 6699 times)

0 Members and 1 Guest are viewing this topic.

Offline richardmanTopic starter

  • Frequent Contributor
  • **
  • Posts: 427
  • Country: us
Competitor to FTDI USB chips?
« on: September 18, 2018, 05:15:36 pm »
For ease of use and longevity, FTDI USB chips seem to be the standard. Any new contenders showing up - I don't mean cheap clones ;-) but real alternatives. No particular needs but choices are always good right?
// richard http://imagecraft.com/
JumpStart C++ for Cortex (compiler/IDE/debugger): the fastest easiest way to get productive on Cortex-M.
Smart.IO: phone App for embedded systems with no app or wireless coding
 

Offline tsman

  • Frequent Contributor
  • **
  • Posts: 599
  • Country: gb
Re: Competitor to FTDI USB chips?
« Reply #1 on: September 18, 2018, 05:51:43 pm »
SiLabs CP210x and the WCH CH340 are popular replacements for the FTDI UART chips. The CH340 is aimed at the China market though. When FTDI altered their driver to break countfeit FTDI chips, a lot of people switched away from them to one of those. There is also the MCP2210 from Microchip which is basically a preprogrammed PIC.
 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3143
  • Country: ca
Re: Competitor to FTDI USB chips?
« Reply #2 on: September 18, 2018, 06:06:02 pm »
For ease of use and longevity, FTDI USB chips seem to be the standard. Any new contenders showing up - I don't mean cheap clones ;-) but real alternatives. No particular needs but choices are always good right?

They're good for simple applications, but they don't have any accessible brains. So, an MCU with a USB module will beat FTDI chips in and out. The problem is that MCUs with High Speed USB (or USB 3.0) are rather complex and expensive. I don't really know of any cheap and simple MCU with High Speed USB support.

Another problem with FTDI chips is that while serial FTDI drivers are built-in in Windows/Mac, more advanced things, such as MPSSE, require different FTDxx drivers which actually compete with serial FTDI drivers making things rather complicated.

Long story short, FTDI chips are widely used not because they're incredibly good, but simply because it's often nothing else.

 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14448
  • Country: fr
Re: Competitor to FTDI USB chips?
« Reply #3 on: September 18, 2018, 06:14:31 pm »
FTDI chips just work. That's already a big plus. :-+
But the biggest plus they have is their quality and FREE drivers that are WHQL on Windows.

If you're not targetting Windows platforms, this point is moot though as they use libusb both on Linux and MacOS. So Windows support would be my main decision factor here. Writing (or buying) good performance and bug-free drivers on Windows is either hard or could cost you an arm and a leg. Now if you're not using bulk transfers but use HID, you don't have this problem, and FTDI chips are not particularly ideal for HID (I'm not even sure they have chips that support HID - I'd have to check).

Again if you're targetting Linux only, that's another story: I've gotten much better performance using libusb directly than using their Linux drivers (which are based on libusb but seem to be poorly written!)
 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3143
  • Country: ca
Re: Competitor to FTDI USB chips?
« Reply #4 on: September 18, 2018, 06:29:15 pm »
I'm not even sure they have chips that support HID

I don't think so. No HID, no MSD, only serial or their own drivers.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14448
  • Country: fr
Re: Competitor to FTDI USB chips?
« Reply #5 on: September 18, 2018, 06:43:47 pm »
I'm not even sure they have chips that support HID

I don't think so. No HID, no MSD, only serial or their own drivers.

I just checked and actually they have one: https://www.ftdichip.com/Products/ICs/FT260.html
It seems a bit limited, but it does exist.
 

Offline jaromir

  • Supporter
  • ****
  • Posts: 337
  • Country: sk
Re: Competitor to FTDI USB chips?
« Reply #6 on: September 18, 2018, 07:00:30 pm »
No particular needs but choices are always good right?

In one of my applications designed for FT232RL I used CY7C65213 as drop-in replacement and it was perfectly good for given application.
As usual, it's worth checking datasheets.
 

Online nctnico

  • Super Contributor
  • ***
  • Posts: 26898
  • Country: nl
    • NCT Developments
Re: Competitor to FTDI USB chips?
« Reply #7 on: September 18, 2018, 07:05:43 pm »
For ease of use and longevity, FTDI USB chips seem to be the standard. Any new contenders showing up - I don't mean cheap clones ;-) but real alternatives. No particular needs but choices are always good right?
The latest Windows versions support almost all the serial to USB chips so you can pick whatever device you want. Due to FTDI gate I have stopped using chips from FTDI. I'm either using a microcontroller with a CDC port implementation or the Silabs CP21xx chips.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline asmi

  • Super Contributor
  • ***
  • Posts: 2731
  • Country: ca
Re: Competitor to FTDI USB chips?
« Reply #8 on: September 18, 2018, 07:11:50 pm »
I especially like they FT-X series, which are essentially bare USB-to-something chips that just work. Need to have a UART to talk to computer? Simple - FT230X will do that with bare minimum of pins and almost no external components required. Want more speed? FT221X for SPI-like or FT240X for FIFO bus will get you what you need. They have chips for I2C, SPI, UART and some other options - all in one series, with almost no external components required. And these chips are inexpensive.
I also used FT601 to get USB 3.0 speeds - these are more costly, but they are still the cheapest option as far as I know to connect FPGA to computer.

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3143
  • Country: ca
Re: Competitor to FTDI USB chips?
« Reply #9 on: September 18, 2018, 07:50:38 pm »
I'm not even sure they have chips that support HID

I don't think so. No HID, no MSD, only serial or their own drivers.

I just checked and actually they have one: https://www.ftdichip.com/Products/ICs/FT260.html
It seems a bit limited, but it does exist.

I haven't seen that one. Unfortunately, Full Speed only :(

 

Offline PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 1536
  • Country: au
Re: Competitor to FTDI USB chips?
« Reply #10 on: September 18, 2018, 08:32:02 pm »
SiLabs CP210x and the WCH CH340 are popular replacements for the FTDI UART chips.

SiLabs have a new CP2102N  - which has higher top BAUD rates and FLASH reconfig.

If you want to roll your own, there is EFM8UB1/UB2/UB3  USB micros from SiLabs.

Exar have some good USB-UART bridges,  theirs have a 9 bit mode, and have the highest FS-USB sustained throughput Baud rates we have measured.
(but not as cheap as CP2102N, or as well stocked)

The CH340 supplier also now has CH552/CH554/CH554/CH559, which are FLASH 8051 USB with quite low prices.
https://www.electrodragon.com/?s=CH55&post_type=product
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Competitor to FTDI USB chips?
« Reply #11 on: September 18, 2018, 08:37:39 pm »
Why would a serial converter chip need anything beyond “full speed”?

 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3143
  • Country: ca
Re: Competitor to FTDI USB chips?
« Reply #12 on: September 18, 2018, 08:57:59 pm »
Why would a serial converter chip need anything beyond “full speed”?

For faster communications, of course. Full Speed is roughly 1MByte/s, and only 64KBytes/s if you use HID. With High Speed you can do almost 50MBytes/s, and 8MBytes/s with HID.
 

Online mikeselectricstuff

  • Super Contributor
  • ***
  • Posts: 13743
  • Country: gb
    • Mike's Electric Stuff
Re: Competitor to FTDI USB chips?
« Reply #13 on: September 18, 2018, 09:31:21 pm »
Why would a serial converter chip need anything beyond “full speed”?
Because RS485.
I routinely use multiple RS485 channels at up to 6MBaud.
The FTx232H high-speed chips work well, though their driver could be better as it doesn't support transmit buffering in the host, so you need to be rather careful with packet sizes if you don't want the throughput severely limited by the driver blocking.
Youtube channel:Taking wierd stuff apart. Very apart.
Mike's Electric Stuff: High voltage, vintage electronics etc.
Day Job: Mostly LEDs
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14448
  • Country: fr
Re: Competitor to FTDI USB chips?
« Reply #14 on: September 18, 2018, 11:47:35 pm »
I just checked and actually they have one: https://www.ftdichip.com/Products/ICs/FT260.html
It seems a bit limited, but it does exist.
I haven't seen that one. Unfortunately, Full Speed only :(

Well, it only has an I2C interface as I got it anyway?

That said, I'm not sure HID devices can go higher than full speed anyway. I'm not 100% sure about recent versions of the USB standard but surely with older HID devices you couldn't go higher.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 14448
  • Country: fr
Re: Competitor to FTDI USB chips?
« Reply #15 on: September 18, 2018, 11:55:19 pm »
Why would a serial converter chip need anything beyond “full speed”?

We were not just talking about serial converters as I reckon. The need for higher speeds in a lot of projects is obvious, and this is where FTDI chips give rather straightforward solutions, drivers included.
Granted that for just "serial converters" at low speeds, you can find many chips out there, a lot of them being much cheaper than FTDI's parts and work fine.

You're not going to get 30-40MBytes/s with a CP21xx and a virtual serial port driver. You will with a FT232H/FT2232H (and some others) in synchronous mode and the vendor's drivers in D2XX mode.
You *can* get that kind of throughput with some MCUs which have embedded high-speed USB cores, but it's not going to be as straightforward most of the time.

 

Offline NorthGuy

  • Super Contributor
  • ***
  • Posts: 3143
  • Country: ca
Re: Competitor to FTDI USB chips?
« Reply #16 on: September 19, 2018, 02:58:54 am »
Well, it only has an I2C interface as I got it anyway?

The datasheet quotes 12MBaud UART, although it's much faster than Full Speed HID can match.

That said, I'm not sure HID devices can go higher than full speed anyway. I'm not 100% sure about recent versions of the USB standard but surely with older HID devices you couldn't go higher.

I'm sure you can do High Speed HID. HID itself is not linked to any particular speed bin. The HID speed is limited by the throughput of interrupt transfers.

 

Offline technix

  • Super Contributor
  • ***
  • Posts: 3507
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: Competitor to FTDI USB chips?
« Reply #17 on: September 19, 2018, 10:32:24 am »
At least for me the STM32F042F4P6 and it’s bigger brother STM32F042F6P6 are interesting competitors. They are full 32-bit USB microcontrollers so versatility is never a problem. If you use GCC and skip CubeMX, I have 4kB unoptimized simple USB HID, 9kB unoptimized USB CDC (+stub HID) and a (yet to work fully) 24kB unoptimized USB CDC + CMSIS-DAP composite. (The above numbers are all pulled from DAP42 firmware in its various stages of development.)

If you just need USB serial there is also Holtek HT42B534-1 which also speaks USB CDC.
« Last Edit: September 19, 2018, 10:34:32 am by technix »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf