AN5020 · Application noteIntroduction to digital camera interface (DCMI) for STM32 MCUs
Download .pdfOpen in the full document

Supported devices

Supported devices

To know if a CMOS sensor (a camera module) is compatible with the DCMI or not, the user must check the following points in the CMOS sensor specifications:
  • Parallel interface (8-, 10-, 12-, or 14-bit)
  • Control signals (VSYNC, HSYNC, and PIXCLK)
  • Supported pixel clock frequency output
  • Supported data output
There is a wide range of camera modules and CMOS sensors that are compatible with the STM32 DCMI. The table below lists some of them.
Table 15. Examples of supported camera modules
CMOS sensorCamera moduleFormatsParallel interface
MT9D111ArduCAM 2 megapixelsRGB, YCbCr, JPEG10-bit
MT9P1115 megapixelsRGB, YCbCr, JPEG8-bit
NT99141ArduCAM 1 megapixelRGB, YCbCr, JPEG8-bit
OV2640ArduCAM 2 megapixelsRGB, YCbCr, JPEG8-bit, 10-bit
OV36603 megapixelsRGB, YCbCr8-bit, 10-bit
OV5640ArduCAM 5 megapixelsRGB, YCbCr, JPEG8-bit, 10-bit
OV5642ArduCAM 5 megapixelsRGB, YCbCr, JPEG8-bit, 10-bit
OV9655ArduCAM 1.3 megapixelsRGB, YCbCr8-bit
S5k4ECGX5 megapixelsRGB, JPEG10-bit
S5k5CAGA3 megapixelsRGB, JPEG10-bit

Conclusion

The DCMI represents an efficient interface to connect the camera modules to the STM32 MCUs supporting high speed, high resolutions, and a variety of data formats/widths.

Together with the variety of peripherals and interfaces integrated in STM32 MCUs and benefiting from the STM32 smart architecture, the DCMI can be used in large and sophisticated imaging applications.

This application note covers the DCMI across the STM32 MCUs, providing all the necessary information to correctly use the DCMI, and to succeed in implementing applications starting from the compatible camera module selection to detailed examples implementation.

Revision history

Table 16. Document revision history
DateVersionChanges
3-Aug-20171Initial release.
17-Oct-20222Updated:
24-Feb-20233Updated:
20-Nov-20244

Document updated to add STM32H523/533 and STM32N647/657 lines to the scope of this document.