Closed Nippey closed 2 years ago
FT260Q is not a FT232 device. It uses a fully different protocol (I2C over HID) to manage I2C communication, where FT232 devices are using FTDI proprietary MPSSE protocol. You cannot use PyFtdi w/ this device, at least for I2C.
There is only little added value to use PyFdti for a pure UART bridge, as all OSes already support the VCP mode out of the box.
Thank you for the quick reply, I understand now. I was already using pyftdi, but due to chip shortage, I switched over to FT260 and wanted to keep using my code.
But then, I'll dive into /dev/hidraw0 ;)
Hi,
I just tried to use the pyftdi module with the new FT260Q. This device enumerates as HID device and provides two channels, one UART and one I2C channel.
I tried to add its VID into ftdi.py, but with no success, I don't find any modules connected.
Q1: From technical perspective, is pyftdi able to support such device with fixed I2C function? Q2: What parts are to be modified for support of this new device? As of now, I added it to FTDI_VENDOR, DEVICE_NAMES, FIFO_SIZES (dummy entry), FtdiEeprom._PROPERTIES (dummy entry). But no success so far.
Thanks Nippey