Forum Discussion

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

Connecting a Graphics LCD to Max10

I am looking to wire up a small 1/4 VGA LCD to my DECA board, I'd like to show some simple graphics (labels, maybe some text boxes, indicators, etc)...No animation or anything like that. I do not want to use any HDMI (such as a computer monitor), but an actual wired hookup. Ae there any straightforward guides or examples for such an endeavor?

15 Replies

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

    Thanks for the link, however it does not look correct...there should be 8 wires for red, green and blue for the LCD, and timing signal(s). This is for an LCD display, not a video system (it appears this is for HDMI). Also, this seems to just be showing a picture. How is the message (such as "This display is now working!") set up? Is there an Altera function to spit out a message? I don't see where any messages are being created. This should form a simple status monitor/control panel, ultimately with push buttons & some sliders to control things.

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

    Hi, to display a massage you need a character generator and logic to perform display or overlay.

    University program appear to doing that, you can find in quartus IPCore library.

    As I wrote, I checked this to save time, at last I completely rewrote my IPCore from scratch.

    University program are great if you have time to study it and learn how it work and how to solve some task and you have no idea how to code them.

    IN my point of view I was developing an existing obsolete IPCore about two video controller to be view on an LCD, so first I wrote LCD controller to generate timing then some test core then display from memory. After that all logic simulating graphics and character display.

    Enjoy what you can find for free, many example are there.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Enjoy what you can find for free, many example are there. ?????????????????????????

    WHERE ARE THESE EXAMPLES (that was my question, if you recall)??...PLEASE PROVIDE SOME LINKS, AT A MINIMUM BE ABLE TO DISPLAY A SIMPLE MESSAGE, AND CHANGE THE COLOR OF THE TEXT.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi, instead of screaming about why you don't try to study some examples come from terasic, rocketboard and altera?

    University program is documented and if you don't have the skill to develop a video system then you can use what is provided for you.

    Open QSys, then check on left IPCores,

    library -- processors and peripherals -- peripherals -- video sync generators

    place on qsys, then customize choosing lcd 4.3 and you have sync for <lcd module, then you must attach all other module as is documented on.

    I am not altera internal so my spare time is limited and I cannot design a module for you, try also free ip core, many example are on web, you MUST read documentation from altera.

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

    I am sorry, I looked at rocketboard, altera, etc---but I sill don't see such examples. Say I want to say "HELLO WORLD" in top left corner in red & "THIS IS A TEST" in the bottom right in Green..I am not seeing how this is done (or even close ) in any of these examples. You keep saying there are many examples--can you point to one that actually does? This was my original question. I do NOT want to show a video, picture file ,HDMI...just put up various messages messages on the RGB screen. This should be a very common thing, but for some reason I don't see anything about it--such as what functions are used. I am not certain what you keep mentioning about the "university"

    For example, here is something for another board I have--what is the equivalent for MAX10 (even if it looks very different in command structure):

    MyFont = Resources.GetFont(Resources.FontResources.NinaB);

    //clears the memory and not the display

    LCD.Clear()

    // print some text on the screen

    LCD.DrawText("Still Amazing!", MyFont, Colors.Red, 100, 20);