RM0090
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 grayscale 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.
Table 84
Byte address
0
4
15.6.4
YCbCr format
Characteristics:
•
Raster format
•
YCbCr 4:2:2
•
Interleaved: one Buffer: Y, Cb & Cr interleaved: CbYCrYCbYCr, etc.
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
Byte address
15.7
DCMI interrupts
Five interrupts are generated. All interrupts are maskable by software. The global interrupt
(IT_DCMI) is the OR of all the individual interrupts.
Interrupt name
IT_LINE
IT_FRAME
IT_OVR
IT_VSYNC
IT_ERR
IT_DCMI
shows how the data are stored.
Table 84. Data storage in RGB progressive video format
31:27
Red n + 1
Green n + 1
Red n + 4
Green n + 3
Table
Table 85. Data storage in YCbCr progressive video format
31:24
0
Y n + 1
4
Y n + 3
Indicates the end of line
Indicates the end of frame capture
indicates the overrun of data reception
Indicates the synchronization frame
Indicates the detection of an error in the embedded synchronization frame
detection
Logic OR of the previous interrupts
DocID018909 Rev 11
26:21
20:16
Blue n + 1
Blue n + 3
85.
23:16
Cr n
Cr n + 2
Table 86
Table 86. DCMI interrupts
Interrupt event
Digital camera interface (DCMI)
15:11
10:5
Red n
Green n
Red n + 2
Green n + 2
15:8
Y n
Y n + 2
gives the list of all interrupts.
4:0
Blue n
Blue n + 2
7:0
Cb n
Cb n + 2
467/1731
479
Need help?
Do you have a question about the STM32F405 and is the answer not in the manual?