FTDI公司的FT2232系列芯片可实现USB与异步串行口RS232/RS485、同步串行总线IIC/SPI/JTAG相互通信,市场占有率,使用普遍。
FTDI芯片有两种类型的驱动:virtual COM port driver (VCP)和D2xx。VCP就是常用的U转串COM驱动,实现USB到虚拟串口功能,应用于异步RS232/RS485与USB间通信,linux设备文件为/dev/ttyUSBx;D2XX应用于同步串行总线IIC/SPI/JTAG与USB间通信,整个驱动框架都有FTDI公司提供。
COM驱动
linux支持FTDI公司的VCP驱动需配置内核:
Device Drivers ---> [*] USB support ---> <M> USB Serial Converter support ---> <M> USB Prolific 2303 Single Port Serial Driver <M> USB FTDI Single Port Serial Driver
Prolific和FTDI是常用的USB转串口芯片厂商。通用模块usbserial.ko,prolific公司的模块pl2303.ko,ftdi公司的模块ftdi_sio.ko
[ 1.771996] usbcore: registered new interface driver usbfs [ 1.777600] usbcore: registered new interface driver hub [ 1.782975] usbcore: registered new device driver usb [ 3.227325] usbcore: registered new interface driver usb-storage [ 3.331190] usbcore: registered new interface driver bcm203x [ 3.336872] usbcore: registere