Digital camera interface (DCMI)
The RGB planar format is compatible with standard OS frame buffer display formats.
Only 16 BPP (bits per pixel): RGB565 (2 pixels per 32-bit word) is supported.
The 24 BPP (palletized format) and gray-scale formats are not supported. Pixels are stored
in a raster scan order, that is from top to bottom for pixel rows, and from left to right within a
pixel row. Pixel components are R (red), G (green) and B (blue). All components have the
same spatial resolution (4:4:4 format). A frame is stored in a single part, with the
components interleaved on a pixel basis.
The table below shows how the data are stored.
Byte address
0
4
YCbCr format
Characteristics:
•
Raster format
•
YCbCr 4:2:2
•
Interleaved: one buffer: Y, Cb and Cr interleaved (such as CbYCrYCbYCr)
Pixel components are Y (luminance or "luma"), Cb and Cr (chrominance or "chroma" blue
and red). Each component is encoded in 8 bits. Luma and chroma are stored together
(interleaved) as shown in the table below.
Byte address
YCbCr format - Y only
Characteristics:
•
Raster format
•
YCbCr 4:2:2
•
The buffer only contains Y information - monochrome image
Pixel components are Y (luminance or "luma"), Cb and Cr (chrominance or "chroma" blue
and red). In this mode, the chroma information is dropped. Only the luma component of
each pixel, encoded in 8 bits, is stored as shown in
The result is a monochrome image having the same resolution as the original YCbCr data.
776/2301
Table 160. Data storage in RGB progressive video format
31:27
Red n + 1
Green n + 1
Red n + 4
Green n + 3
Table 161. Data storage in YCbCr progressive video format
31:24
0
Y n + 1
4
Y n + 3
26:21
20:16
Blue n + 1
Blue n + 3
23:16
Cr n
Cr n + 2
Table
RM0432 Rev 6
15:11
10:5
Red n
Green n
Red n + 2
Green n + 2
15:8
Y n
Y n + 2
162.
RM0432
4:0
Blue n
Blue n + 2
7:0
Cb n
Cb n + 2
Need help?
Do you have a question about the STM32L4+ Series and is the answer not in the manual?