excamera, what I'm hacking on, daily.

jamesb@excamera.com


       
Mon, 19 Jan 2004

CCD picture!
I found that running the LM9627 at 10MHz was causing clock glitches. Running at 5MHz (10MHz input with a divide by 2) is much safer - the signal looks pretty solid coming back.

In the default setup, the LM9627 gives you 504 lines of 780 clocks each, so each frame is 393120 clocks long. Each 780 clock line consists of 116 clocks of horizontal sync, followed by 664 clocks of actual pixel data.

The current setup samples a 32x32 pixel window into FPGA internal RAM, then scans out this window onto the monitor. I can see the 8 pixel black border around the frame, as well as the beyer pattern in the color samples themselves.

A full frame is about 600Kbytes, so the next step is to sample the whole frame into the 8Mbyte DRAM, then scan from DRAM onto the monitor.

*