Forum Discussion

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

How to show an image on LCD using VGA

I am using DE2 board I need to do edge detection using a camera, but for beginning I save an image on SDRAM using control panel then I detect edges and save new values of pixels on SDRAM again, my question is how can I show these new image on LCD using VGA, in other word how can I show an image on LCD that has been saved on SDRAM?

4 Replies

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

    you would need an VGA controller to generate the required timings for hsync and vsync, but once youve got those showing the image is a straightforward sd ram access.

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

    --- Quote Start ---

    you would need an VGA controller to generate the required timings for hsync and vsync, but once youve got those showing the image is a straightforward sd ram access.

    --- Quote End ---

    I am a beginner would you explain more in details, lets say I downloaded a picture into sdram using control panel, now i disconnect controlpanel, now i want to show it on LCD, what kind of controller do i need? i have to write the controler module myself or is there any demo or tutorial?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i am also a beginner. as far as i know, which is not much, a VGA controller generates sync signals to your LCD monitor (hsync, vsync, rgb). you can find references on how to make the vga controller on the internet.

    i am also trying to read/write into the sdram without using the control panel for Cyclone II but with no luck so far. please post if you've got progress. i'd really like to know how you did it.

    thanks,

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

    er, i just realize that VGA Controller is in the library in Qsys.

    BR

    glenn