by jackchung » Mon Jul 14, 2008 7:45 am
As you said, because of the same clock source of the main microcontroller and the camera, we know that RB port will change value after 6 clock cycles. I read datasheet of the OV6620, 1 pclk just last 56 nns so how can you keep up with this fast data streaming. In the main loop you need 16 clock cycles to receive one pixel block and skip one pixel block. However in that amount of time, there might be 16 pixel was sent from camera because 1 pclk is equal with one machine cycle of the microcontroller. Can you explain more clearly about this calculation ? and why is your resolution is 88x144 but not 176x144, is it due to the skip of 1 pixel block in the main loop?