FTDI Community
General Category => Discussion - Hardware => Topic started by: Arumugam 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
-
Hello,
Please refer to AN_135 MPSSE Basics (https://www.ftdichip.com/Support/Documents/AppNotes/AN_135_MPSSE_Basics.pdf) which contains example circuits for I2C.
Please note that the I2C is a master only.
We also have Development Modules (https://www.ftdichip.com/Products/Modules/DevelopmentModules.htm) for test, evaluation and reference:
FT4232H Mini-Module (https://www.ftdichip.com/Products/Modules/DevelopmentModules.htm#FT4232H_Mini)
FT4232H-56 Mini-Module (https://www.ftdichip.com/Products/Modules/DevelopmentModules.htm#FT4232H-56_Mini)
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 (https://www.ftdichip.com/Support/Documents/AppNotes/AN_232R-01_Bit_Bang_Mode_Available_For_FT232R_and_Ft245R.pdf)
AN_373 Bit-Bang Modes for the FT-X Series (https://www.ftdichip.com/Support/Documents/AppNotes/AN_373 Bit-Bang Modes for the FT-X Series.pdf)
Note that the bit bang/GPIO documents are not specifically for FT4232H but the same principles apply.
Best Regards,
FTDI Community
-
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
-
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
-
Hello,
Example code of bit bang/GPIO is shown in the documents linked in the previous post.
Best Regards,
FTDI Community