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: FT2232H  (Read 450 times)

kiran

  • Newbie
  • *
  • Posts: 3
    • View Profile
FT2232H
« on: August 07, 2023, 10:35:28 AM »

Hi,
Iam using FT2232h module in MPSSE mode for I2c  and how the remaining 4 pins(ADBUS4-ADBUS7) works,iam using libmpsse library 
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 866
    • View Profile
Re: FT2232H
« Reply #1 on: August 15, 2023, 04:20:12 PM »

Hello,

When using LibMPSSE, GPIOL[0:3] can only be used as SPI chip selects.
 
When using LibMPSSE, there is no way to control GPIOL[0:3] as GPIO.
 
LibMPSSE demonstrates controlling the higher line bytes (GPIOH) while using SPI on the lower line bytes using the following functions:
 
FT_WriteGPIO
FT_ReadGPIO
 
If you want to control some of the unused lower line bytes on the same ADBUS as SPI then see AN_411 FTx232H MPSSE I2C Master Example in C which demonstrates GPIO usage with MPSSE using D2xx direct (not using LibMPSSE).
This could be used as a base to understand using both I2C/GPIO in the same code.

Best Regards,
FTDI Community
Logged