Datasheet
2017 Microchip Technology Inc. DS60001516A-page 695
SAM9G20
Figure 38-3: HSYNC and VSYNC Synchronization
Figure 38-4: SAV and EAV Sequence Synchronization
38.3.2 Data Ordering
The RGB color space format is required for viewing images on a display screen preview, and the YCbCr color space format is required for
encoding.
All the sensors do not output the YCbCr or RGB components in the same order. The ISI allows the user to program the same component
order as the sensor, reducing software treatments to restore the right format.
Table 38-2: Data Ordering in YCbCr Mode
Mode Byte 0 Byte 1 Byte 2 Byte 3
Default Cb(i) Y(i) Cr(i) Y(i+1)
Mode1 Cr(i) Y(i) Cb(i) Y(i+1)
Mode2 Y(i) Cb(i) Y(i+1) Cr(i)
Mode3 Y(i) Cr(i) Y(i+1) Cb(i)
Table 38-3: RGB Format in Default Mode, RGB_CFG = 00, No Swap
Mode Byte D7 D6 D5 D4 D3 D2 D1 D0
RGB 8:8:8
Byte 0 R7(i) R6(i) R5(i) R4(i) R3(i) R2(i) R1(i) R0(i)
Byte 1 G7(i) G6(i) G5(i) G4(i) G3(i) G2(i) G1(i) G0(i)
Byte 2 B7(i) B6(i) B5(i) B4(i) B3(i) B2(i) B1(i) B0(i)
Byte 3 R7(i+1) R6(i+1) R5(i+1) R4(i+1) R3(i+1) R2(i+1) R1(i+1) R0(i+1)
ISI_VSYNC
ISI_HSYNC
ISI_PCK
Frame
1 line
YCbY CrYCb Y CrYCbY Cr
DATA[7..0]
ISII_PCK
Cr Y Cb Y Cr Y Y Cr Y Cb FF 00
DATA[7..0]
FF 00 00
80 Y Cb Y 00 9D
SAV EAVActive Video