From: eLinux.org

Sparkfun Camera

MagnaChip HV7131GP CMOS Camera Module

8-Bit Output Format Support:

  • YCbCr 4:2:2
  • Bayer

the libdc1394 howto
provides an excellent introduction to the Bayer format.

the starting row and column determine the Bayer format

  • even BGGR
  • odd GRBG

basically because the camera is slightly larger than 640x480 you can set
the window for usage:

  • Row 2 and Column 2 with Window Heigh 640 and Width 480 produces
    Bayer BGGR
  • Row 1 and Column 1 with Window Heigh 640 and Width 480 produces
    Bayer GRBG

the odd/even are dependent on the orientation of the scan.

Information gathered from the Sparkfun Forums

although the camera does support a 16-bit mode, the ribbon cable only
provides support for the 8-bit mode.

  1. ------------
  2. ENB | 11 1 | Y0
  3. RST | 12 2 | Y1
  4. GND | 13 3 | Y2
  5. VDD | 14 4 | Y3
  6. SCL | 15 5 | Y4
  7. SDA | 16 6 | Y5
  8. FVALID | 17 7 | Y6
  9. LVALID | 18 8 | Y7
  10. PCLK | 19 9 | VDD
  11. MCLK | 20 10 | GND
  12. ------------
  13. NOTE: Pins 14 + 9 are connected to VDD :
  14. V+ --|
  15. |
  16. |----[B1]--------------#--------- Pin 9
  17. | |
  18. | |
  19. |----[B2]-------#------)--------- Pin 14
  20. | |
  21. | |
  22. [C1] [C2]
  23. | |
  24. ----- -----
  25. --- ---
  26. - -
  27. busonerd states - "My guess for the parts values would be a ~600ohm @ 100MHZ ferrite bead (B1 and B2), current capacity ~100-200 ma, and a 0.1uf caps(C1 and C2). You really can't go wrong with the ferrite bead - just get a higher impedance + higher current capacity one if in doubt. For the caps(C1 and C2) - if you really want to be paranoid, use an 0.47uf, an 0.1uf and an 0.01uf - with the smaller values nearer the connector - but that is guaranteed overkill."

Category: