English
Language : 

DS_FT2232D Datasheet, PDF (41/61 Pages) List of Unclassifed Manufacturers – Future Technology Devices International Ltd
Document No.: FT_000173
FT2232D DUAL USB TO SERIAL UART/FIFO IC Datasheet
Version 2.05
Clearance No.: FTDI# 127
**Note 25: The Bit-Bang Mode (synchronous and asynchronous) WR# and RD# strobes are on these
pins when the main Channel mode is 245 FIFO, or Fast Opto-Isolated Serial Mode. Bit-Bang mode is not
available on Channel B when Fast Opto-Isolated Serial Mode is enabled.
**Note 26 : The Bit-Bang Mode (synchronous and asynchronous) WR# and RD# strobes are on these
pins when the main Channel mode is set to 232 UART Mode.
Enhanced Asynchronous Bit-Bang Mode
Enhanced Asynchronous Bit-Bang mode is the same as BM-style Bit-Bang mode, except that the internal
RD# and WR# strobes are now brought out of the device to allow external logic to be clocked by
accesses to the bit-bang IO bus.
On either or both channels any data written to the device in the normal manner will be self clocked onto
the data pins (those which have been configured as outputs). Each pin can be independently set as an
input or an output. The rate that the data is clocked out at is controlled by the baud rate generator.
For the data to change there has to be new data written, and the baud rate clock has to tick. If no new
data is written to the channel, the pins will hold the last value written.
To allow time for the data to be setup and held around the WR# strobe, the baud rate should be less
than 1 MegaBaud.
See the application note AN232B-01, “FT232BM/FT245BM Bit Bang Mode” for more details and a
sample application.
Enabling
Asynchronous Bit-Bang mode is enabled using Set Bit Bang Mode driver command. A hex value of 1 will
enable it, and a hex value of 0 will reset the device. See application note AN2232-02, “Bit Mode
Functions for the FT2232D” for more details and examples of this.
Synchronous Bit-Bang Mode
With Synchronous Bit-Bang mode data will only be sent out by the FT2232D if there is space in the
device for data to be read from the pins. This Synchronous Bit-Bang mode will read the data bus pins
first, before it sends out the byte that has just been transmitted. It is therefore 1 byte behind the output,
and so to read the inputs for the byte that you have just sent, another byte must be sent.
For example:-
(1) Pins start at 0xFF
Send 0x55, 0xAA
Pins go to 0x55 and then to 0xAA
Data read = 0xFF, 0x55
(2) Pins start at 0xFF
Send 0x55, 0xAA, 0xAA
(Repeat the last byte sent)
Pins go to 0x55 and then to 0xAA
Data read = 0xFF, 0x55, 0xAA
Enabling
Synchronous Bit-Bang mode is enabled using Set Bit Bang Mode driver command. A hex value of 4 will
enable it, and a hex value of 0 will reset the device. See application note AN2232-02, “Bit Mode
Functions for the FT2232D” for more details and examples.
Copyright © 2010 Future Technology Devices International Limited
41