Ov7670 output image is divided

This image is accurate, but it's fragmented.
Do I need to change a specific register value to get the correct image?
For now, here are the values I changed

  // Reset all registers
  { 0x12, 0b10000000 },  // COM7: Reset all registers

  /*CLKRC: divide systemclock (31 + 1 = 32, 8mhz => 250khz)*/
  { 0x11, 0b10011111 },

  /*com14: change pixel clock frequency(divide by 16), manual scaling enable for pre-defined resolutions*/
  { 0x3E, 0b00010111 },
  /*to change pclk, should change this too?*/
  { 0x73, 0b00000111 },

Please read the pinned post on how to get the most from the forum. At the very least we need to see ALL the code posted in code tags.
I can tell you I use these all the time and don't recall ever changing anything other than the PSRAM selector.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.