Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

problem while displaying D5M image data on LCD using VIP core

Hi all,

I'm trying to use the D5M camera and an LTM LCD touch screen connected to DE4 board using Altera VIP open core. The block diagram of my design is described in the attached picture. In Nios system, the 800x600 D5M RGB pixel data(which is the output of D5M custom IP) is used as the source of Clocked Video In IP core, followed by Frame Buffer which write pixel data into DDR and retrieve them from DDR, Clipper which generate the 800x480 to suite the LCD and then followed by Clocked Video Out, the 800X640 RGB output is directly connect with LCD.

As I don't need any runtime control, none of the IP core is connected with avalon bus, When I downloaded the design onto the board, there are data on the LCD but they are not synchronized at all. My DDR clock is set to 400Mhz and other nios2 components uses 200MHz as system clock. I'm posting my Qsys system and the top module of my design, could any on take a look at it and tell me what could probably the problem be? If my design is wrong, is there any other way to display camera data on the LCD? Could you please give me a hint, I'm already stuck for more than two weeks. Thank you very much

13 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi gladys,

    I am using d5m camera with 800x600 resolution but there something wrong. Can you up the d5m configuration file for me to compare with mine?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi gladys!

    I am working a project: use D5M camera and VGA connected to SocKit Cyclone Evaluation. I look over your block diagram above that likewise to my design.I config D5M with raw 1280x960. After out of "RAW2RGB" block , i have data format 640x480 and follow by Clocked Video output, then RGB 640x480 is directly connect with LCD.

    Result is not good,. I attached image that I capture a lamp, it only has 2 colours: white and black, not RGB???? I am stuck for more than 1 week. Could you give me a hint!

    Thank you so much!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi gladys!

    I am working a project: use D5M camera and VGA connected to SocKit Cyclone Evaluation. I look over your block diagram above that likewise to my design.I config D5M with raw 1280x960. After out of "RAW2RGB" block , i have data format 640x480 and follow by Clocked Video output, then RGB 640x480 is directly connect with LCD.

    Result is not good,. I attached image that I capture a lamp, it only has 2 colours: white and black, not RGB???? I am stuck for more than 1 week. Could you give me a hint!

    Thank you so much!https://www.alteraforum.com/forum/attachment.php?attachmentid=8945 https://www.alteraforum.com/forum/attachment.php?attachmentid=8946