Digital camera interface (DCMI)
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
Table 66
Table 66.
Byte address
13.6.3
RGB format
Characteristics:
●
Raster format
●
RGB
●
Interleaved: one buffer: R, G & B interleaved: BRGBRGBRG, etc.
●
Optimized for display output
339/1422
Pixel raster
scan order
(increasing
addresses)
shows how the data are stored.
Data storage in monochrome progressive video format
31:24
0
n + 3
4
n + 7
Doc ID 018909 Rev 4
Word
Word
Word
0
1
2
23:16
n + 2
n + 6
RM0090
Pixel row 0
Pixel row n – 1
ai15848
15:8
7:0
n + 1
n
n + 5
n + 4
Need help?
Do you have a question about the STM32F40 Series and is the answer not in the manual?
Questions and answers