Skip to main content
Graduate
October 24, 2025
Solved

How to display Camera on STM32F429I-Discovery LCD

  • October 24, 2025
  • 1 reply
  • 247 views

Hello,

I am using the STM32F429I-Discovery board with an MT9M001 camera module, and I am developing with STM32CubeIDE.

I would like to display the live camera image on the built-in LCD of the F429 board.

I have already connected the camera and can read image data through DCMI, but I am not sure how to configure LTDC (and possibly DMA2D) to display the image in real time on the LCD.

Could you please provide guidance or an example on how to:
1. Configure LTDC for displaying a frame buffer
2. Transfer camera image data from DCMI to the LTDC frame buffer using DMA
3. Match the resolution and pixel format between camera and LCD
4. Set up these peripherals correctly in STM32CubeIDE

Thank you for your support.

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hello @chachamaru and welcome to the community,

     

    I recommend you to look at DCMI_CaptureMode example in STM32CubeF4 firmware package under "STM32Cube_FW_F4_V1.X.X\Projects\STM324x9I_EVAL\Examples\DCMI" path and get inspired to configure the LTCD and the DMA2D.

    This example provides a short description of how to use the DCMI to interface with camera module and display in continuous mode the picture on LCD.

    In this example, the Digital camera interface is configured to receive the capture from the camera module mounted on STM324x9I-EVAL RevB evaluation board. DMA2 Stream1 channel1 is configured to transfer the picture from DCMI peripheral to an external RAM. At each camera line event, the line is converted to ARGB8888 pixel format
    and transferred to LCD_FRAME_BUFFER using DMA2D. The camera module is configured to generate (480x272) image resolution and the LCD is configured to display (480x272) image resolution.

     

    Thank you.

    Kaouthar

    1 reply

    KDJEM.1Answer
    Technical Moderator
    October 24, 2025

    Hello @chachamaru and welcome to the community,

     

    I recommend you to look at DCMI_CaptureMode example in STM32CubeF4 firmware package under "STM32Cube_FW_F4_V1.X.X\Projects\STM324x9I_EVAL\Examples\DCMI" path and get inspired to configure the LTCD and the DMA2D.

    This example provides a short description of how to use the DCMI to interface with camera module and display in continuous mode the picture on LCD.

    In this example, the Digital camera interface is configured to receive the capture from the camera module mounted on STM324x9I-EVAL RevB evaluation board. DMA2 Stream1 channel1 is configured to transfer the picture from DCMI peripheral to an external RAM. At each camera line event, the line is converted to ARGB8888 pixel format
    and transferred to LCD_FRAME_BUFFER using DMA2D. The camera module is configured to generate (480x272) image resolution and the LCD is configured to display (480x272) image resolution.

     

    Thank you.

    Kaouthar