libftdi Archives

Subject: Re: FT2232H + LCD?

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 12 Dec 2011 11:52:35 +0100
>>>>> "Daniel" == Daniel O'Shea <dan@xxxxxxxxxxxxx> writes:

    Daniel> Hello, this is my first message to the list and I am very happy
    Daniel> to have found my way here - I want to get some opinions on an
    Daniel> idea I have, to find out if it sounds like I am on the right
    Daniel> track or just barking up the wrong tree! I want to use the
    Daniel> FT2232H to drive a 2.4" LCD display over USB. Using Channel A in
    Daniel> asynchronous bit-bang mode connected to the WR and RD pins on
    Daniel> the LCD, sending 16-bit colour values for each pixel (2
    Daniel> transfers per pixel in 8-bit mode). 

Bit Banging is a slow interface. CPU-style FIFO  ist faster, as is FT245
asynchronous FIFO and fastest is Synchronous FIFO.

    Daniel> While simultaneously using
    Daniel> Channel B in MPSSE mode and utilising two of the available GPIOs
    Daniel> to drive the 'Chip Select' and 'Register Select' pins on the
    Daniel> LCD. Here is the datasheet for the LCD driver chip:

    Daniel> http://www.adafruit.com/datasheets/ILI9325.pdf

You realize that the chip is unpackaged and needs to be bonded by the
customer?

    Daniel> Does this sound feasible? Can I expect the two channels on the
    Daniel> FT2232H to be tightly integrated enough to have them cooperate
    Daniel> in this way? and still have a usable I2C port available on
    Daniel> Channel B while driving the MPSSE GPIOs at the same time?

Setting some pins to select a register on Interface B while data transfer is
on Interface A  will be sloooow. You will need to make sure that the
transaction has completed on Interface B before you start the transaction on
Interface A. Both interfaces are not "tightly integrated".

    Daniel> And lastly, what sort of frame rate should I be expecting per
    Daniel> second, at 153,600 bytes per frame? (240 * 320 pixels * 16-bits
    Daniel> per pixel / 8)

    Daniel> Thank you very much for any advice and insight you can offer!

I would suggest to use some uC or programmable logic together with the
ILI9325. The uC/FPGA would connect to the ILI9325, and the FTDI would pump
data to this part. Maybe even the FTDI is not needed when the uC has a HS
USB Interface.

Bye

-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread