I have ft2232 breakout board and xc2c64a cpld breakout,
I don`t have a 7x5mm SMD oscillator for the cpld breakout.
I would need to generate a pulse from ft2232 as timer for the cpld
is this possible?
if you switch 2232h into 245 high speed mode (single channel) you will get 60MHz output on ftdi chip that you can feed into your cpld breakout ... not the best idea but ... use as short piece of wire as possible as at 60MHz it's going to be dirty as hell ...
If you are using the fastest mode of the ft2232 the 285 parallel synchronous... one of the pis outputs a 60mhz clk... Sorry didn't refresh the page before response :)
I would like to give it a try
how can I switch in 245 high speed mode and what pin is the output on?
nfortunatly I haven't played with the FT2232H yet, but I can link you the datasheet.
from it I discovered pin 32 is clock out or ACBUS5, it should be marked on the bottom side of the board.
http://www.ftdichip.com/Support/Documen ... T2232H.pdf (http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT2232H.pdf)
If an external EEPROM is fitted (93LC46/56/66) it can be programmed over USB using MPROG V3.4a or later. The EEPROM must be 16 bits wide and capable or working at a VCC supply of +3.0 to +3.6 volts.
CLKOUT (AC5 pin) is where you get 60MHz
You set the chip into 245 mode using ftdi application FT_PROG from http://www.ftdichip.com/Support/Utilities.htm (http://www.ftdichip.com/Support/Utilities.htm)
I have configured portA hardware and portB hardware as 245 FIFO
but after power cicle I still see 2 Usb serial ports
is this how it should be?
you want to disable port B if you want to use 60MHz 245
I can`t see where to disable port b
A software command (Set Bit Mode option) is then sent by the application to the FTDI driver to tell the chip to enter single channel synchronous FIFO mode.
how can I send the Set Bit Mode to the Ftdi chip?