General Category > Discussion - Hardware

FT4232H_I2C connection

(1/1)

Arumugam:
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

FTDI Community:
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

Arumugam:
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

cioma:
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

FTDI Community:
Hello,

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

Best Regards,
FTDI Community

Navigation

[0] Message Index

Go to full version