AN6211 · Application noteIntroduction to digital camera interface pixel pipeline for STM32 MCUs
Download .pdfOpen in the full document

Conclusion

Conclusion

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

The STM32 MCUs, equipped with the DCMIPP, are capable of handling extensive computer vision applications due to the integrated pipeline that manages image processing.

This application note gives the STM32 users some basic concepts, with easy-to-understand explanations of the features, architecture, and configuration of the DCMIPP.

Revision history

List of tables

List of figures

Figure 1. Camera module components

Figure 2. Parallel interfacing a camera module with anSTM32MCU

Figure 3. Serial interfacing a camera module with anSTM32MCU

Figure 4. DCMIPP overview

Figure 5. DCMIPP interconnection and data path onSTM32H7R7/7S7

Figure 6. DCMIPP interconnection and data path onSTM32N6x7

Figure 7. DCMIPP architecture

Figure 8. DCMIPP signals

Figure 9. Frame structure in hardware synchronization mode

Figure 10. Frame structure in embedded synchronization mode 1

Figure 11. Frame structure in embedded synchronization mode 2

Figure 12. Low-level protocol overview

Figure 13. CSI-2 short-packet structure based on D-PHY physical layer

Figure 14. CSI-2 long-packet structure for a D-PHY physical layer

Figure 15. Snapshot capture mode

Figure 16. Continuous capture mode

Figure 17. DCMIPP data register filled with monochrome/raw Bayer data

Figure 18. DCMIPP data register filled with RGB data

Figure 19. DCMI data register filled with YUV data

Figure 20. FIFO allocation among IP-Plug clients forSTM32N6x5/6x7

Figure 21. Data flow and processing modules in Pipe0

Figure 22. Decimation module

Figure 23. Double buffer example

Figure 24. Data flow and processing modules in ISP, Pipe1, and Pipe2

Figure 25. Data flow and processing modules in ISP Pipe

Figure 26. Demosaicing module

Figure 27. Data flow and processing modules in Pipe1

Figure 28. Data flow and processing modules in Pipe2

Figure 29. Raw sensor module integration

Figure 30. ISP IQTune application architecture

Figure 31. Capturing RGB pixels using Pipe0

Figure 32. Capturing RGB pixels using Pipe1

Figure 33. Capturing RGB pixels using Pipe2

Figure 34. Capturing raw Bayer pixels using Pipe1

Figure 35. Capturing monochrome pixels using Pipe1

Figure 36. Capturing YUV pixels using Pipe1

Figure 37. Capturing JPEG pixels using Pipe0

Figure 38. Use case: Pipe0 (statistics), Pipe1 (pixels)

Figure 39. Use case with CSI-2 interface: Pipe0 (statistics) and Pipe1 (pixels)

Figure 40. Example of ISP processing

Figure 41. STM32N6570-DK development kit

Figure 42. DCMIPP use case example

Figure 43. Data path in capture and display application

Figure 44. Camera connector on STM32H7S78-DK

Figure 45. STM32CubeMX - DCMIPP synchronization mode selection

Figure 46. STM32CubeMX - GPIO settings selection

Figure 47. STM32CubeMX - DCMIPP pin selection

Figure 48. STM32CubeMX - GPIO no pull-up and no pull-down selection

Figure 49. STM32CubeMX - DCMIPP control signals and capture mode

Figure 50. STM32CubeMX - Configuration of DCMIPP interrupts

Figure 51. STM32CubeMX - HSI configuration

Figure 52. STM32CubeMX - HCLK configuration

Table 9. Document revision history
DateVersionChanges
08-Apr-20251Initial release.