AnsweredAssumed Answered

Interfacing a 240RGBx320 lcd with iMXSabreauto

Question asked by Kunal Kulshrestha on Oct 7, 2016
Latest reply on Oct 12, 2016 by igorpadykov

Hi All,

 

I am trying to interface 3.5 inch lcd with iMX6qsabreauto board. Backlight is there after connecting cathode and anode per the attached datasheet for this lcd, but nothing displayed on lcd. Before this, I connected 5 inch lcd and it dispalyed some demo data from freescale.

 

For 3.5 inch lcd, In mxc_lcdif.c I believe it should be ok to keep below entry in fb_videomode struct:

{/*This is for 3.5inch lcd*/
    /* 240x320 @ 57 Hz , pixel clk @ 27MHz */
    "CLAA-WVGA", 60, 240, 320, 111111, 40, 60, 10, 10, 41, 10,
    FB_SYNC_CLK_LAT_FALL,
    FB_VMODE_NONINTERLACED,
    0,},

//    {    /*This is for 5inch lcd*/
    /* 800x480 @ 57 Hz , pixel clk @ 27MHz */
//    "CLAA-WVGA", 60, 480, 272, 111111, 40, 60, 10, 10, 41, 10,
//    FB_SYNC_CLK_LAT_FALL,
//    FB_VMODE_NONINTERLACED,

//    0,},

 

The lower struct (commented one) we kept for a 5 inch lcd which displayed data.

 

Kept everything else as same as when we interfaced 5 inch lcd, 5 inch lcd display worked. Please confirm if we need to consider anything else for this new 3.5 inch LCD. Datasheet is attached.

 

As per data sheet I used 16 bit DB interface i.e. DB[15:0] to RGB 565 pins with MCU, and IM[3:0] = 0001. Rest we connected HSYNC, VSYNC, DOTCLK, ENABLE, VDD, VSS accordingly to MCU parallel interface pins. Rest are not connected lines.Is there a need to connect RDX,WRX,DCX, SDA etc? Please let me know if there are any inputs here.

 

 

Thanksnd regards,KK

Attachments

Outcomes