The camera controller controller design reads images from the camera and sends them to the Gumstix.
The OV7670 camera can be configures for different image sizes and frame rates.
In this design, the images are stored in the FPGA memory. The Spartan-6 LX100 FPGA has:
- 122 KB distributed RAM
- 603 KB Block RAM built out of 4.5 KB blocks
The following table provides the required memory for different image sizes for 1 byte per pixel:
|resolution||pixel number||data volume|
|VGA||640 x 480||307.2 K|
|QVGA||320 x 240||76.8 K|
|CIF||352 x 288||101.4 K|
|QCIF||176 x 144||25.3 K|
VGA resolution doesn't allow to have 2 images at a time, so CIF resolution is chosen.