Embedded Artists Display Expansion Board, HDMI/DVI/VGA/LVDS interfaces EA-LCD-010 EA-LCD-010 데이터 시트

제품 코드
EA-LCD-010
다운로드
페이지 17
Display Expansion Board - User’s Guide 
Page 15 
 
 
 
Copyright 2012 © Embedded Artists AB 
 
 
Init sequence command string. The string must be interpreted by the software driver. 
 
Power down command string. The string must be interpreted by the software driver. 
 
Parameters related to touch screen. 
The general structure of an application utilizing the Display Expansion Board can be found in main() in 
main.c of the s_display_exp_board sample application. A call to ea_lcdb_open(…) will read the 
configuration e2prom and initialize the application. A call to ea_lcdb_getLcdParams(..) will get the 
retrieved parameters, where the main parameters are width and height of the display. 
4.6.1  
Settings for VGA (640x400 px, 60Hz) 
The code listing below contains the LCD controller settings for the controller that is used on many LPC 
processors. 
static const LCD_PARAM_T vga_60hz = 

    48,       /* Horizontal back porch = 1.92 us */ 
    16,       /* Horizontal front porch = 640 ns */ 
    96,       /* HSYNC pulse width = 3.84us */ 
    640,      /* Pixels per line */ 
    29,       /* Vertical back porch */ 
    10,       /* Vertical front porch */ 
    2,        /* VSYNC pulse width */ 
    480,      /* Lines per panel */ 
    0,        /* Do not invert output enable */ 
    1,        /* Invert panel clock */ 
    1,        /* Invert HSYNC */ 
    1,        /* Invert VSYNC */ 
    1,        /* AC bias frequency (not used) */ 
    16,       /* Bits per pixel */ 
    0,        /* Optimal clock rate (Hz). Use external 25.175MHz clock */ 
    TFT,      /* LCD panel type */ 
    0,        /* Single panel display */ 
}; 
 
4.6.2  
Settings for SVGA (800x600 px, 56Hz) 
The code listing below contains the LCD controller settings for the controller that is used on many LPC 
processors. 
static const LCD_PARAM_T svga_800x600_36MHz_56Hz = 

    128,      /* Horizontal back porch */ 
    24,       /* Horizontal front porch */ 
    72,       /* HSYNC pulse width */ 
    800,      /* Pixels per line */ 
    22,       /* Vertical back porch */ 
    1,        /* Vertical front porch */ 
    2,        /* VSYNC pulse width */ 
    600,      /* Lines per panel */ 
    0,        /* Do not invert output enable */ 
    1,        /* Invert panel clock */ 
    1,        /* Invert HSYNC */ 
    1,        /* Invert VSYNC */ 
    1,        /* AC bias frequency (not used) */ 
    16,       /* Bits per pixel */ 
    0,        /* Optimal clock rate (Hz). Use external 36MHz clock */ 
    TFT,      /* LCD panel type */ 
    0,        /* Single panel display */ 
};