I am using a FTDI's IC FT4222H, a programmable one which was released few months back. It's used for interfacing I2C/SPI based slave or master devices and acquire the signals or data. I am using the Evaluation module of the same IC to act as a I2C Master and communicate with a EEPROM 24LCB16 for reading and writing the data from and to it respectively.

I am using LabVIEW to communicate with the FTDI IC through USB. I am not using the Virtual COM port whereas I am importing the FT4222H .dll into vi and executing the program such a way. 

I find the device is listed properly in the VI, it is getting recognize as FT422H. The mode selected is Mode 3 where the I2C Master/Slave, SPI Master/Slave is enabled and the GPIOs are disabled. So it is listed as FT4222H. 

Even then the device is getting opened and doesn't through error from FT_Status till the device is initialized. Here I have configured the device as I2C Master and in the next step I am reading the data from EEPROM. But the following errors are listed.

1. Initialize- 1000( FT_STATUS)

2.Read device - 3 

3. Un initialize- 3

4. Close status-1.

The DWORD are listed under the Appendix of datasheet.

If someone can reason out the solution for this kindly help me out to go ahead. Its almost done only the write and read operation has to be performed.

I have attached the Zip file of VI and Sub-VIs that I am executing. If you find any errors in those please let me know.  

Similar questions and discussions