FTDI Community
General Category => Discussion - Software => Topic started by: petewall on May 07, 2018, 08:32:49 pm
-
I'm still working on debugging my other issue (http://www.ftdicommunity.com/index.php?topic=83.0 (http://www.ftdicommunity.com/index.php?topic=83.0)). While I was able to detect the FT4222 chip on my Mac OS X machine, when I built the software on Windows 10, I cannot see it.
To reduce any issues with my code, I'm using the i2c_master example. In the code, after the call to:
FT_STATUS status = FT_CreateDeviceInfoList(&numOfDevices);
numOfDevices is always 0.
However, when I look at the Windows Device Manager, I do see a "FT4222H Mode 3 Device" entry in the "Universal Serial Bus controllers" section.
I installed the D2xx drivers (http://www.ftdichip.com/Drivers/D2XX.htm) using the Windows setup executable. Can you help me detect this device in my code?
-
Hello,
There should be no problems running the example code provided with the library.
Does the same thing happen on a different Windows PC?
Please ensure that you are using the latest version LibFT4222 Windows Library (v1.4.1) and Examples (http://www.ftdichip.com/Support/SoftwareExamples/LibFT4222-v1.4.1.zip).
Mode 3 is the correct mode for using the device as 1 port for data stream (I2C or SPI) as per Table 5.1 in the FT4222H Datasheet (http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT4222H.pdf).
You could try completely uninstalling and reinstalling the FTDI drivers. See FTDI_Driver_Uninstall_with_2-12-28_Install.pdf (ftp://u45902898-ide:Ftd1$erv@ftp.ftdichip.com/CES/Forum/FTDI_Driver_Uninstall_with_2-12-28_Install.pdf) for details on how to do this.
Best Regards,
FTDI Community