Go Down

Topic: FT2232H standard 245 FIFO mode (Read 2950 times) previous topic - next topic

russdx

Jun 23, 2012, 10:06 pm Last Edit: Jun 23, 2012, 10:46 pm by russdx Reason: 1
Has any one used the FT2232H in normal 245 FIFO mode. not the special synchronised mode.



0x0 = Reset
0x1 = Asynchronous Bit Bang
0x2 = MPSSE (FT2232, FT2232H, FT4232H and FT232H devices only)
0x4 = Synchronous Bit Bang (FT232R, FT245R, FT2232, FT2232H, FT4232H and FT232H devices only)
0x8 = MCU Host Bus Emulation Mode (FT2232, FT2232H, FT4232H and FT232H devices only)
0x10 = Fast Opto-Isolated Serial Mode (FT2232, FT2232H, FT4232H and FT232H devices only)
0x20 = CBUS Bit Bang Mode (FT232R and FT232H devices only)
0x40 = Single Channel Synchronous 245 FIFO Mode (FT2232H and FT232H devices only)

I can only seam to put it into (Asynchronous Bit Bang) not (245 FIFO) mode where it uses all RXF,TXE,RD,WR
which mode do you select for the Asynchronous 245 FIFO?

the mode is on page 13 of this datasheet :)
http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT2232H.pdf

I have selected 245 FIFO on the eeprom.


does any one have any examples of using the FT2232H with the normal Asynchronous 245 FIFO mode with the standard d2xx ftdi libraries.

Thanks :)

adamfk

I know this topic is old, but I had the same problem and just got the answer so I thought I would share for the betterment of the interwebs:

You have to select Asynchronous 245 Mode using the FTDI utility FT_Prog (http://www.ftdichip.com/Support/Utilities.htm#FT_Prog) and actually don't need to send a FT_SetBitMode command.

This confused me quite a bit because recent part datasheets talk about "SYNC 245 FIFO" and  "ASYNC 245 FIFO" whereas FT_Prog just says "245 FIFO" mode and I thought you would still have to specify if you wanted sync or async.

From the datasheet:
When in FT245 FIFO mode, the FT_SetBitMode command can be used to select Synchronous FIFO (FT_SetBitMode = 0x40). Note that FT245 FIFO mode must be configured in the EEPROM before selecting the Synchronous FIFO mode.

Hope this helps someone.

Go Up