For past many days, I was working to “port” my project to a LPC1769 (LPCXpresso) using a real compiler and writing the code from scratch, with almost zero libraries available. The most important part, after got my “image processing” working smooth (almost 20 fps for processing and extract blob details for a test image) without any optimization, I started working to the second part of the story: connect a OV7670 camera to my project. This should bring me a decent resolution with a decent frame rate at a very low price (targeting somewhere around 10-15 FPS) if everything works as it should…
Anyway, at the moment I got the SCCB protocol working by the book (will take few good seconds to initialize the camera with the current settings, (need to see if can do some tuning cause is too long), then I’m using an external interrupt to check VSYNC signal, to detect when a frame is finishing/starting, then with this will manipulate the rest o the signals that controls the camera. Basically, is a OV7670 with a FIFO chip, which give me the freedom to control the speed of “draining” data out of the camera.
Anyway, so far, so good: I got the entire setup spitting data, with everything in sync. For now is no image processing or storing, I am just monitoring the signals and few of the DATA lines. Will try to read again the SCCB manual for this camera and use a proper configuration for my application (QCIF, YCrCb, etc) then, will start to tune more on the data fetching (use Fast GPIO) and processing.
Since I am just learning about ARM microcontrollers, I think is not too bad ^_^