Results 1 to 10 of 10

Thread: Output VGA with DE2

  1. #1
    Join Date
    May 2010
    Posts
    4
    Rep Power
    1

    Default Output VGA with DE2

    Hi all,

    I'm having a problem with my project, i need to output a video on a LCD screen from the DE2 board.
    My source video is an interlaced PAL signal.

    My system is actually a pipeline that converts the video format:
    4:2:2 interlaced => 4:4:4 progressive
    720X566 => 640X480.

    My problem is that the video that i'm reciving on the screen is scrambled:
    only one third of the screen have a runing video on it, the other two thirds are blue and flickring.
    I'm pretty sure is got something to do with my timing, but i really don't know
    from where to start.
    This is how my screen looks like:

    13052010147.jpg

    My project QAR:
    second_meeting_withSDRAM_3.qar

    Thanks a lot!

  2. #2
    Join Date
    Mar 2010
    Posts
    130
    Rep Power
    1

    Default Re: Output VGA with DE2

    I had the same problem, using an NTSC imput it worked well.
    How did you configure the on-board ADV converter?

  3. #3
    Join Date
    May 2010
    Posts
    4
    Rep Power
    1

    Default Re: Output VGA with DE2

    Phate,

    I was hoping that you were the one how will answer me, according to your qustions on this forum it seems like i'm doing the same project as you were doing.
    First i would like to ask if you finally make it work?

    I configure the ADV via the I2C bus, i took the standard configuration file from the Altera DE2_TV demo:
    I2C_AV_Config.v

    As i understand this gives an auto fromat detection.

    I realy could use any help, i really appreciate if you will send me your email on private.

    Thanks again.
    Last edited by itayavil; June 19th, 2010 at 10:25 AM.

  4. #4
    Join Date
    Apr 2010
    Posts
    11
    Rep Power
    1

    Default Re: Output VGA with DE2

    Hi,

    First check your camera's working by using DE2 demonstrations programs in the Altera CD attached with the board by the name of DE2_TV. Hopes it works.

  5. #5
    Join Date
    Mar 2010
    Posts
    130
    Rep Power
    1

    Default Re: Output VGA with DE2

    Quote Originally Posted by itayavil View Post
    Phate,

    I was hoping that you were the one how will answer me, according to your qustions on this forum it seems like i'm doing the same project as you were doing.
    First i would like to ask if you finally make it work?

    I configure the ADV via the I2C bus, i took the standard configuration file from the Altera DE2_TV demo:
    I2C_AV_Config.v

    As i understand this gives an auto fromat detection.

    I realy could use any help, i really appreciate if you will send me your email on private.

    Thanks again.
    Well, I made it work, but only with NTSC. I didn't try again to detect PAL format because I lost lots of time and I was a little hurry.
    Reading ADV datasheet, it seems that "altera audio and video config" configures ADV registers to autodetect both NTSC or PAL format.
    BUT any of the registers the ip core writes on the ADV seems to be a little differents from the settings that are given in the data sheet.
    I would try to config the ADV trough an I2C (taken form the an427, or from opencores.org) and using the nios proc to write correct values to the ADV.
    Well, I am not going to do it now, but maybe next week I'll try that.
    I don't know if this is going to work or not, it seems strange to me that with NTSC the video ip works and with PAL not.
    Because Altera tests wry well the ip cores is going to seel, i don't think is a matter of the video ips.
    just my two cents.
    Best Regards
    Phate

  6. #6
    Join Date
    May 2010
    Posts
    4
    Rep Power
    1

    Default Re: Output VGA with DE2

    I tried to run the DE2_TV (version 2 for PCB v2) from terasic site.
    All i'm reciving is a black screen.

    Now i really could use some help.

    Could some one send a QAR of a 100% working project?

  7. #7
    Join Date
    Apr 2010
    Posts
    11
    Rep Power
    1

    Default Re: Output VGA with DE2

    check FPS and aspect ratio of your camera. May be it is creating trouble

  8. #8
    Join Date
    Mar 2010
    Posts
    130
    Rep Power
    1

    Default Re: Output VGA with DE2

    Quote Originally Posted by itayavil View Post
    I tried to run the DE2_TV (version 2 for PCB v2) from terasic site.
    All i'm reciving is a black screen.

    Now i really could use some help.

    Could some one send a QAR of a 100% working project?
    remember that DE2_TV example works only with NTSC, 4:3.

  9. #9
    Join Date
    May 2010
    Posts
    4
    Rep Power
    1

    Default Re: Output VGA with DE2

    Good news, i managed to make the DE2_TV project work( probably a wrong NTSC signal).

    With the same signal i modified my project to NTSC and it's working now .

    Thanks a lot for your help, but i'm still curious about the PAL issue.

  10. #10
    Join Date
    Mar 2010
    Posts
    130
    Rep Power
    1

    Default Re: Output VGA with DE2

    I still belive that the ADV auto detect configuration is wrong, and that we need to configure with the rigth signals the converter..

Similar Threads

  1. Replies: 13
    Last Post: June 25th, 2013, 11:50 AM
  2. de2 gray image vga output
    By fsb1122 in forum General Discussion Forum
    Replies: 7
    Last Post: July 11th, 2010, 12:34 PM
  3. getting vga output error
    By arunkupradhan in forum Quartus II and EDA Tools Discussion
    Replies: 0
    Last Post: October 27th, 2009, 08:51 PM
  4. VGA output
    By Mountain in forum University Program
    Replies: 2
    Last Post: November 14th, 2008, 05:06 PM
  5. DE2 Board and Using VGA output
    By Delman in forum University Program
    Replies: 2
    Last Post: January 2nd, 2008, 01:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •