Embedded Artists LCD Board TFT 800x480 EA-LCD-006 EA-LCD-006 Datenbogen

Produktcode
EA-LCD-006
Seite von 15
LCD Board - User’s Guide 
Page 14 
 
 
 
Copyright 2012 © Embedded Artists AB 
 
    1,        /* Invert VSYNC */ 
    1,        /* AC bias frequency (not used) */ 
   16,        /* Bits per pixel */ 
  9000000,    /* Optimal clock rate (Hz) */ 
  TFT,        /* LCD panel type */ 
    0,        /* Single panel display */ 
}; 
static eaLcdbTouchParams_t touchParam =  

  0,   // don't swap 
  630, // x resistance   
  250, // y resistance 
}; 
static char* initSeqStr = "v1,cd0,cc0,c30,d100,c31,d100,cd1,d10,o,cc100"; 
static char* pdSeqStr   = "v1,cd0,d1,cc0,q,c30"; 
static char* lcdName    = "HSD043I9W1-A00-0299"; 
static char* lcdMfg     = "Hannstar"; 
 
4.4.2  
Note about 7.0 inch LCD (EA-LCD-006) 
It is recommended to generate the highest possible internal pixel clock from the LPC LCD controller. 
According to the datasheet a minimum clock frequency of 32.4MHz is needed, but 30MHz will work 
just fine. Do not use the on-board 40MHz oscillator (on rev A of the LCD Board) to generate the pixel 
clock. The clock frequency is too high for the LCD controllers on most LPC processors. 
The code listing below contains the LCD controller settings for the controller that is used on many LPC 
processors. It also lists parameters about the touch screen and startup/power down behavior for the 
general driver that Embedded Artists has created. 
static const LCD_PARAM_T lcdParams = 

   45,       /* Horizontal back porch */ 
   17,       /* Horizontal front porch */ 
    2,       /* HSYNC pulse width */ 
  800,       /* Pixels per line */ 
   22,       /* Vertical back porch */ 
   22,       /* Vertical front porch */ 
    2,       /* VSYNC pulse width */ 
  480,       /* Lines per panel */ 
    0,       /* Invert output enable */ 
    0,       /* Do not invert panel clock */ 
    1,       /* Invert HSYNC */ 
    1,       /* Invert VSYNC */ 
    1,       /* AC bias frequency (not used) */ 
   16,       /* Bits per pixel */ 
  36000000,  /* Optimal clock rate (Hz) between 32.4-43.0 MHz according to DS */ 
  TFT,       /* LCD panel type */ 
    0,       /* Single panel display */ 
}; 
static eaLcdbTouchParams_t touchParam =  

  0,   // don't swap 
  775, // x resistance   
  350, // y resistance 
}; 
static char* initSeqStr = "v1,cc0,c31,d50,o,d200,c51,cc100"; 
static char* pdSeqStr   = "v1,c50,d200,q,d50,c30"; 
static char* lcdName    = "AT070TN84-02"; 
static char* lcdMfg     = "Innolux";