FTDI Community

General Category => FTDI News => Topic started by: suman.sinha on June 29, 2022, 06:08:27 PM

Title: Regarding FT260 HID-I2C Implementation using pywinusb HID driver
Post by: suman.sinha on June 29, 2022, 06:08:27 PM
Hi,
A few days ago, I was trying to interface the FT260 with ADC module using the LibFT260 drivers in C# and was able to execute it.
Now, I am using the pywinusb HID drivers to interface FT260 with ADC module using I2C. I am pretty much sure about the hardware as i have already implemented in C#.
Can you please help me in implementing HID-I2C for FT260 using pywinusb HID drivers?
Title: Re: Regarding FT260 HID-I2C Implementation using pywinusb HID driver
Post by: suman.sinha on July 04, 2022, 10:30:12 AM
Hi,

As per this documentation "AN_394_User_Guide_for_FT260",  the bit 7(as shown in figure 1) of the "Get system status" tells if the FT260 is configured as HID-I2C or not.

I am reading this value and always get 0 as shown in figure 2 although I have done the hardware configuration for DCNF0 and DCNF1 to select the mode of FT260 as I2C mentioned in "AN_438_FT260_I2C_Example_in_Csharp"(shown in figure 3)
 
Also i tried programming the FT260 through FT_Prog software as shown in figure 4("AN_399_FT260_HID-over-I2C"). To what value should i set it to enable the HID-I2C?
I am trying this for many days now as we are thinking to integrate the FT260 in our product. Can you please reply as soon as possible @FTDI COMMUNITY?