7" Display Modul

Gentlemen

I struggle with my skills.

I try to build a gadgeteer module for a AT070 7"Display. The confusing point is, I remember, I used it with my EMX board, but, I lost my Solution and my code, fortunatelyI know, the LCD works.

So as the code base, I’m unsing the Display_CP7 class, replaced the values, depends the datesheet, but the without a sucess, the LCD shows only colorized lines.

I kindly request a help of one of your hardware crack’s to check my parameters, configured as followed:

Kind regards and thanks a lot!
Josch

Here the display spec:

Here the config code:

  Mainboard.LCDConfiguration lcdConfig = new Mainboard.LCDConfiguration();

            lcdConfig.LCDControllerEnabled = true;

            lcdConfig.Width = Width;
            lcdConfig.Height = Height;

            // Only use if needed, see documentation.
            lcdConfig.PriorityEnable = true;

            lcdConfig.OutputEnableIsFixed = false;
            lcdConfig.OutputEnablePolarity = true;

            lcdConfig.HorizontalSyncPolarity = false;
            lcdConfig.VerticalSyncPolarity = false;
            lcdConfig.PixelPolarity = false;

            lcdConfig.HorizontalSyncPulseWidth = 48; //*
            lcdConfig.HorizontalBackPorch = 40; //*
            lcdConfig.HorizontalFrontPorch = 40; //*
            lcdConfig.VerticalSyncPulseWidth = 3; //*
            lcdConfig.VerticalBackPorch = 29; //*
            lcdConfig.VerticalFrontPorch = 13;//*
          
            lcdConfig.PixelClockDivider = 5; // hyrda runs with 200mhz-> display with 40mhz
            // Set configs
            DisplayModule.SetLCDConfig(lcdConfig);

What is Width and Height set to?

The rest all looks fine…

The Width is 800 and Height 480.

Thanks for your answer.

How did you connect the LCD? Cable type? Cable length?