I am using the 6.4" VGA display on an L138 EVM with WinCE BSP.
The BSP supports the 4.3" WQVGA display but not the 6.4" VGA. The Sharp datasheet does not specify the porch parameters as clearly for the LQ64D343 as they do for the LQ043T1DG01. Through trial and error I was able to modify them to get the display reasonbly well centred, but would like to know what the ideal/typical settings should be.
Below is the default settings for the 4.3", followed by my attempt for the 6.4" version. Does anyone know what changes need to be made for optimal settings? Also if there are any other changes that need to be made to the WinCE environment to make the best use of the 6.4" Display, apart from these changes in the lcd_cfg file?
//------------------------------------------------------------------------------
//
// Sharp LQ043T1DG01 (Logic L-138 WQVGA display kit)
//
//
const orig_LCD_PARAMS LCD_PANEL_PARAMETERS = {
LCD_SYNCPOL_NEGATIVE, // VSYNC polarity (IVS)
LCD_SYNCPOL_NEGATIVE, // HSYNC polarity (IHS)
LCD_PIXELCLKPOL_POSITIVE, // Pixel clock polarity
LCD_SYNCEDGE_FALLING, // Sync falling edge
42, // Horizontal Sync Pulse Width (HSW)
10, // Vertical Sync Pulse Width (VSW)
485, // Pixel clock periods per line (HFP+PPL+HBP)
277, // Number of lines per field (VFP+LPP+VBP)
1, // Horzontal Back Porch (HBP)
3, // Vertical Back Porch (VBP)
480, // Horizontal valid data (PPL)
272, // Vertical valid data (LPP)
8000000, // Desired LCD pixel clock freq in Hz (8MHz)
60 // Refresh rate of display in Hz (60Hz)
};
//------------------------------------------------------------------------------
//
// Sharp LQ64D343 (Logic L-138 VGA display kit)
//
//
const LCD_PARAMS LCD_PANEL_PARAMETERS = {
LCD_SYNCPOL_NEGATIVE, // VSYNC polarity (IVS)
LCD_SYNCPOL_NEGATIVE, // HSYNC polarity (IHS)
LCD_PIXELCLKPOL_POSITIVE, // Pixel clock polarity
LCD_SYNCEDGE_FALLING, // Sync falling edge
96, // Horizontal Sync Pulse Width (HSW)
4, // Vertical Sync Pulse Width (VSW)
800, // Pixel clock periods per line (HFP+PPL+HBP)
525, // Number of lines per field (VFP+LPP+VBP)
160, // Horzontal Back Porch (HBP)
31, // Vertical Back Porch (VBP)
640, // Horizontal valid data (PPL)
480, // Vertical valid data (LPP)
26000000, // Desired LCD pixel clock freq in Hz (26MHz)
60 // Refresh rate of display in Hz (60Hz)
};
|