I guess I can change register 0x12 to get RGB instead of YUV. leaving 0x0c as default & 0x40 to select between RGB 565 or RGB 555
Be careful that your interperation of what RGB is matches the camera designer's. RGB RAW is not what you are expecting - it is the pixel values from behind each colour filter, only one colour per pixel. You then need to post-filter with a Bayer filter (http://en.wikipedia.org/wiki/Bayer_filter) to give you a RGB triplet per pixel.
Also, it is far better to get the pain over with and learn how YUV 4:2:2 works, if only because you end up with three more bits of data per channel and can avoid ugly posterisation effect that 555 or 565 gives you.
Thanks,
Yeah, I can't even get the RAW data (well I could but not D0 and D1 since they are not connected) but I what actually thinking at the end to leave it as YUV because it's easier to do DSP by using the frequency of the UV data and then applying the luminance to it.
The reason I wanted to do RBG at the beginning is just to implement an easy frame buffer that I could display directly. But I guess I could just use the YUV since the conversion is pretty simple. I've done it before by software.
BTW thanks for your link on the first page and your work on your FPGA implementation. I was planning on doing mine from scratch to maximize my learning, but it's so tempting to peek
I'm getting a 3 channel DAC 330Msps from China:
http://www.wayengineer.com/digiasic-fpga-adv7125adv7123-vga-board-p-160.htmlUnsure if it's 8 or 10 bit but it doesn't matter since the 10 bit one has the lower two grounded but that will reduce noise anyways. So, it's already in NJ so should get it next week. At the moment I'm using a 3bit DAC R2R that works great but I coded it and wired it so it will work with the one coming. And the connector is Altera GPIO compatible so pretty much plug and play and I already have the pins configured for the board.
Hmm, I did look up the Bayer filter you linked and now I want to implement it as well, Curse you! (in a good way). My camera has D9 to D0 for raw, for the rest is two bytes D9 to D2. But it has two pins not connected that I could wire to D1 and D0.
Here is a picture of the connector, D3 and DGND are connected by vias on the other side, D0 and D1 are totally unconnected and I have two spare N/C pins on the header, so maybe I'll wire them up.