General Category > Discussion - Software

How do I configure FT232H device for I2C interface using FT_PROG

(1/1)

itco00:
Hi,

I'm trying to program FT232H device to work above I2C bus. I connected Logic to the orange wire (SCL) and the yellow wire (SDA data out, currently the green wire is disconnected), but the clock signal is wrong.
I guess that my problem relate to the configuration of FT232H device.
Could someone advise me how to configure the Template to perform correct I2C transaction.

Thanks,
Itamar

FTDI Community:
Hello,

To use I2C/SPI master with FT232H, see AN_135 FTDI MPSSE Basics and our existing MPSSE Example projects:

http://www.ftdichip.com/Support/SoftwareExamples/MPSSE.htm

There are two options to use I2C/SPI modes with the MPSSE engine:

a.            Use LibMPSSE libraries. Example code is provided with the download.
b.            Use D2XX drivers direct. Example code is shown at I2C / SPI. AN_108 Command Processor For MPSSE and MCU Host Bus Emulation Modes provides the necessary information.

Option b is the best option to use the D2XX drivers direct (no dependency on libMPSSE library).

Best Regards,
FTDI Community

itco00:
Hi,

Thanks for the quick reply.

I've downloaded the libMPSSE from the link below. I've run the executable (static and dynamic library) and it work fine now (I saw correct signals on the Logic).

But, I prefer using existing serial communication tool (such as Tera-Term or Docklight) over building software using Example/libraries.

Could you recommend me other FTDI USB COM Port - I2C cable which could be used with existing Serial communication tool?

Thanks,
Itamar

FTDI Community:
Hello,

There are no serial communication tools available for this functionality that we are aware of.

The I2C interface must be controlled using software as mentioned in my previous post.

Best Regards,
FTDI Community

Navigation

[0] Message Index

Go to full version