Electronic – nything inherently wrong whith this fpga project

fpga

I am a software engineer in 3d graphics by day so please bear with any obvious mistakes. I am looking for a project that I can use my software knowledge with in hardware and am thinking of creating a frame buffer and lcd to display it. I have looked around and think I can accomplish it with this fpga:

https://xess.com/prods/prod048.php

And this LCD:

http://www.sparkfun.com/products/8335

I think they have:

480 x 272 = 130560 pixels on the screen

130560 x 24-bit = 3133440 bits for the frame buffer

67108864 bits of sdram to store the frame buffer

So I think I'm ok there. And I think can run the fpga at 9 MHz (that the lcd needs) because it has "digital clock managers" to change from 12 MHz. Which I believe I will need 3133440 Hz to write the entire buffer. I think I can also get input from the usb for writing the pixel colours to the buffer.

The fpga can output either 5, 3.3 or 1.2 v for logic, but the lcd requires 2.5v however in the manual it says "0 ~ +4.5"… So could I use the fpga logic voltage directly?

I am learning as I am doing this so I am going to make a lot of mistakes, but is there anything obvious I am missing or am I good to get our my breadboard and have some fun?

Thank-you

Best Answer

If you got a board which had a VGA connector (or rigged one up, with some resistors) you might find it simpler to start by driving an LCD with that interface, and then work up to a bare one.

Block memory inside an FPGA tends to be easier to work with than SDRAM, and is dual port which simplifies access, but of course it's more limited. Still, it could be worthwhile to start that way and then add the SDRAM complexity. A higher gate count FPGA would typically have more block ram, too.

Of course you can start by drawing some bars on the screen just using a state machine or counter without any frame buffer at all.

An oscilloscope would be a huge help.

Many LCDs actually aren't that picky about frequency, so while you can use the clock generators to get it just right, you may not need to.

An issue not to overlook is the practical task of securely cabling the LCD to the FPGA board - with 24 bit color there's a bit of work there unless you really luck out and you can just plug one into the other.