English
Language : 

VL6524 Datasheet, PDF (24/70 Pages) STMicroelectronics – VGA single-chip camera module
Output data formats
VL6524/VS6524
7.2
Note:
RGB and Bayer data formats
The VL6524/VS6524 can output RGB data in the following formats:
● RGB565
● RGB444 (encapsulated as RGB565)
● RGB444 (zero padded)
● Bayer 10-bit
Pixels in Bayer 10-bit data output are defect corrected, correctly exposed and white
balanced. Any or all of these functions can be disabled.
In each of these modes 2 bytes of data are required for each output pixel. The encapsulation
of the data is shown in Figure 12.
Figure 12. RGB and Bayer data formats
(1) RGB565 data packing
Bit 7 6 5 4 3 2 1 0
Bit 7 6 5 4 3 2 1 0
R4 R3 R2 R1 R0 G5 G4 G3
G2 G1 G0 B4 B3 B2 B1 B0
second byte
(2) RGB 444 packed as RGB565
Bit 7 6 5 4 3 2 1 0
R3 R2 R1 R0 1 G3 G2 G1
first byte
Bit 7 6 5 4 3 2 1 0
G0 1 0 B3 B2 B1 B0 1
second byte
(3) RGB 444 zero padded
Bit 7 6 5 4 3 2 1 0
first byte
Bit 7 6 5 4 3 2 1 0
0 0 0 0 R3 R2 R1 R0
G3 G2 G1 G0 B3 B2 B1 B0
second byte
(4) Bayer 10-bit
Bit 7 6 5 4 3 2 1 0
first byte
Bit 7 6 5 4 3 2 1 0
1 0 1 0 1 0 b9 b8
b7 b6 b5 b4 b3 b2 b1 b0
second byte
first byte
24/70