FTDI Community

Please login or register.

Login with username, password and session length.
Advanced Search  

News:

Welcome to the FTDI Community!

Please read our Welcome Note

Technical Support enquires
please contact the team
@ FTDI Support


New Bridgetek Community is now open

Please note that we have created the Bridgetek Community to discuss all Bridgetek products e.g. EVE, MCU.

Please follow this link and create a new user account to get started.

Bridgetek Community

Author Topic: How do I configure FT232H device for I2C interface using FT_PROG  (Read 205 times)

itco00

  • Newbie
  • *
  • Posts: 2
    • View Profile

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
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 507
    • View Profile
Re: How do I configure FT232H device for I2C interface using FT_PROG
« Reply #1 on: October 23, 2020, 04:43:57 PM »

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
Logged

itco00

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: How do I configure FT232H device for I2C interface using FT_PROG
« Reply #2 on: October 25, 2020, 08:01:27 AM »

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
« Last Edit: October 25, 2020, 08:39:26 AM by itco00 »
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 507
    • View Profile
Re: How do I configure FT232H device for I2C interface using FT_PROG
« Reply #3 on: October 27, 2020, 04:36:37 PM »

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
Logged