When connecting a FT245 USB to FIFO board to my Windows PC, it is immediately recognized as a Serial Port. In the Device Manager it shows up in the "Ports (COM & LPT)" section. I want to use it to control the individual I/O's, like on a relay board. But since it is not recognized as a 'FT245R USB FIFO', I cannot get it to work.
I've tried installing / re-installing several times, tried to force a new driver install, but whatever I do it just stays a Serial Port.
Anyone ever experienced this, and solved it ?
FT245R USBto FIFO only recognized as a Serial Port
93 Views Asked by Cees Meijer At
2
There are 2 best solutions below
0
On
The following library provides access to SPI, GPIO and I2C features of the FTDI chipsets that support them. If it appears in device manager, you are good to go
https://github.com/swharden/FtdiSharp/tree/main?tab=readme-ov-file#gpio-protocol
(I'm assuming assume you are using Visual Studio?)
As the other answer indicates, open a serial connection and send characters. Do they present themselves on the 8-bit databus?
Have play with 'Bray terminal' to send hex data.
If I get it correctly there are several issues:
I assume that "cannot get it to work" means you cannot access the devices via the D2XX driver.
According to the datasheet, the 245R has an EEPROM, which can be written via FT_PROG. FTDI provides this tool and allows you to change several default settings. The setting controlling the default driver to be loaded is named "Load VCP Driver". If you set it to "disabled" via FT_PROG, the devices should not appear as VCP anymore and be solely accessible via the D2XX driver.
I am not sure if this will work, because "Bit Bang Mode Availability for the FT232R and FT245R (FT_000339)" states:
However, I assume one can use the other modes and rig the devices to be write only and then use the serial write to set the pins accordingly. In this case each pin is repesented as one bit in the word written.