Digital camera interface (DCMI)
15.5
DCMI functional overview
The digital camera interface is a synchronous parallel interface that can receive high-speed
(up to 54 Mbytes/s) data flows. It consists of up to 14 data lines (D13-D0) and a pixel clock
line (PIXCLK). The pixel clock has a programmable polarity, so that data can be captured on
either the rising or the falling edge of the pixel clock.
The data are packed into a 32-bit data register (DCMI_DR) and then transferred through a
general-purpose DMA channel. The image buffer is managed by the DMA, not by the
camera interface.
The data received from the camera can be organized in lines/frames (raw YUB/RGB/Bayer
modes) or can be a sequence of JPEG images. To enable JPEG image reception, the JPEG
bit (bit 3 of DCMI_CR register) must be set.
The data flow is synchronized either by hardware using the optional HSYNC (horizontal
synchronization) and VSYNC (vertical synchronization) signals or by synchronization codes
embedded in the data flow.
Figure 72
458/1731
shows the DCMI block diagram.
Figure 72. DCMI block diagram
DMA
interface
AHB
interface
FIFO/
Data
formatter
Figure 73. Top-level block diagram
DocID018909 Rev 11
Control/Status
register
Data
Synchronizer
extraction
DCMI_D[0:13], DCMI_HSYNC, DCMI_VSYNC
RM0090
DCMI_PIXCLK
ai15604
Need help?
Do you have a question about the STM32F405 and is the answer not in the manual?