Digital camera interface (DCMI) RM0090
339/1422 Doc ID 018909 Rev 4
13.6 Data format description
13.6.1 Data formats
Three types of data are supported:
● 8-bit progressive video: either monochrome or raw Bayer format
● YCbCr 4:2:2 progressive video
● RGB565 progressive video. A pixel coded in 16 bits (5 bits for blue, 5 bits for red, 6 bits
for green) takes two clock cycles to be transferred.
Compressed data: JPEG
For B&W, YCbCr or RGB data, the maximum input size is 2048 × 2048 pixels. No limit in
JPEG compressed mode.
For monochrome, RGB & YCbCr, the frame buffer is stored in raster mode. 32-bit words are
used. Only the little endian format is supported.
Figure 70. Pixel raster scan order
13.6.2 Monochrome format
Characteristics:
● Raster format
● 8 bits per pixel
Tabl e 6 6 shows how the data are stored.
13.6.3 RGB format
Characteristics:
● Raster format
● RGB
● Interleaved: one buffer: R, G & B interleaved: BRGBRGBRG, etc.
● Optimized for display output
Pixel raster
scan order
(increasing
addresses)
Word
0
Word
1
Word
2
Pixel row 0
Pixel row n – 1
ai15848
Table 66. Data storage in monochrome progressive video format
Byte address 31:24 23:16 15:8 7:0
0 n + 3 n + 2 n + 1 n
4 n + 7 n + 6 n + 5 n + 4