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: FT4232H_I2C connection  (Read 9498 times)

Arumugam

  • Newbie
  • *
  • Posts: 2
    • View Profile
FT4232H_I2C connection
« on: August 28, 2020, 03:59:08 PM »

Hi,
I could not find I2C application (schematics) with FT4232H datasheet.
Could you please review attached snapshot and let me know your comments.

1. I2C1 and I2C2 connection are OK ?
2. Can we use CD and DD bank pins general GPIO's ?

Thanks and Regards,
Arumugam.P
« Last Edit: August 30, 2020, 05:25:48 AM by Arumugam »
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: FT4232H_I2C connection
« Reply #1 on: September 01, 2020, 04:31:27 PM »

Hello,

Please refer to AN_135 MPSSE Basics which contains example circuits for I2C.
Please note that the I2C is a master only.

We also have Development Modules for test, evaluation and reference:

FT4232H Mini-Module
FT4232H-56 Mini-Module

Yes Port C and Port D could also be used for GPIO.
See the following application notes:

Bit Bang Modes for the FT232R and FT245R
AN_373 Bit-Bang Modes for the FT-X Series

Note that the bit bang/GPIO documents are not specifically for FT4232H but the same principles apply.

Best Regards,
FTDI Community
Logged

Arumugam

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: FT4232H_I2C connection
« Reply #2 on: September 01, 2020, 04:41:27 PM »

Hi,
Thanks for your support.
I have a query on the FT4232H bit bang mode.
I understand ports C and D can be configured as either UART or bit bang.
But if I want to use the bit band port as regular GPIO port,  what is required from software perspective? Can you share an example code?



Thanks and Regards,
Arumugam.P
« Last Edit: September 01, 2020, 04:58:56 PM by Arumugam »
Logged

cioma

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: FT4232H_I2C connection
« Reply #3 on: September 03, 2020, 05:27:04 PM »

Pinouts for FT232H, FT2232H, FT4232H MPSSE

Pin        JTAG  SPI   I2C
D0, output TCK   SCK   SCL
D1, output TDI   MOSI  SDAO
D2, input  TDO   MISO  SDAI
D3, output TMS   SS#   no connection
Logged

FTDI Community

  • Administrator
  • Hero Member
  • *****
  • Posts: 892
    • View Profile
Re: FT4232H_I2C connection
« Reply #4 on: September 04, 2020, 04:21:05 PM »

Hello,

Example code of bit bang/GPIO is shown in the documents linked in the previous post.

Best Regards,
FTDI Community
Logged