Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: LCD refresh problem
PostPosted: Tue Mar 31, 2009 10:22 pm 
Offline

Joined: Fri Jan 16, 2009 10:46 pm
Posts: 44
Dear All,

I'm using the Wince 6.0 BSP on the SAM9263. I have changed the LCD from the 240x320 16bpp color LCD to a 320x240 16bpp color LCD: I have correctly set the new value on the lcdc.reg as you see below and everything seems good but I have some problems with the refresh (the cursor has the arrow with a black line, when I close the explorer some icons remain visible in the central part of the LCD. Maybe is something related to the 2DGPE, but I have checked that the parameters height and width are correctly setted.
Have you some ideas?

Many thanks in advance
bob

; Video driver settings
[HKEY_LOCAL_MACHINE\Drivers\Display\LCDC]
;the board does have 240x320 16 bpp color LCD - old
; "Width"=dword:F0 ; Screen width in pixel
; "Height"=dword:140 ; Screen heigth in pixel
;the board does have 320x240 24 bpp color LCD - new
"Width"=dword:140 ; Screen width in pixel
"Height"=dword:F0 ; Screen heigth in pixel
;
"Bpp"=dword:10 ; Bit per pixel
; old lcd
; "VRAMWidthInPixel"=dword:100 ;
; "VRAMHeightInPixel"=dword:1000 ;

; new lcd
"VRAMWidthInPixel"=dword:1000
"VRAMHeightInPixel"=dword:100 ;
;
"VRAMaddress"=dword:23e00000 ; Frame buffer location.
"VRAMBusWidth"=dword:20 ; SDRAM has a 32-bits bus width
; "VRAMaddress"=dword:300000

"DisplayPowerClass"=multi_sz:"{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"
; "forceRGB"=dword:1 ;
; old lcd
; "UpperMargin"=dword:1 ; Value for Vertical Back Porch
; "LowerMargin"=dword:0 ; Value for Vertical Front Porch
; "LeftMargin"=dword:0 ; Value for Horizontal Back Porch
; "RightMargin"=dword:20 ; Value for Horizontal Front Porch
; "Vsync"=dword:0 ; Value for Vertical Synchronization
; "Hsync"=dword:4 ; Value for Horizontal synchronization
; "PixelClock"=dword:4BC288 ; The pixel clock wanted

; new lcd
"UpperMargin"=dword:11 ; Value for Vertical Back Porch
"LowerMargin"=dword:3 ; Value for Vertical Front Porch
"LeftMargin"=dword:44 ; Value for Horizontal Back Porch
"RightMargin"=dword:14 ; Value for Horizontal Front Porch
"Vsync"=dword:1 ; Value for Vertical Synchronization
"Hsync"=dword:2 ; Value for Horizontal synchronization
"PixelClock"=dword:4BC288 ; The pixel clock wanted

;Signal Polarities : 0 => normal, 1 => inverted
"VSyncPol"=dword:1 ; ori Vertical Sync polarity
"HSyncPol"=dword:1 ; ori Horizontal Sync polarity
"DataPol"=dword:0 ; Data polarity
"DEnablePol"=dword:1 ; Data Enable polarity
"PClockPol"=dword:1 ; Pixel Clock polarity
"PClockMode"=dword:1 ; Pixel Clock mode : 0 => Pixel Clock only active
; during active display period,
; 1 => Pixel Clock always active

[HKEY_LOCAL_MACHINE\system\gdi\monitors]
"TOTAL MONITORS"=dword:1

[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="at91sam9263ek_DDI.dll"


Top
 Profile  
 
 Post subject: Re: LCD refresh problem
PostPosted: Thu Apr 02, 2009 4:42 pm 
Offline

Joined: Fri Jan 16, 2009 10:46 pm
Posts: 44
Hello
Just to add another information I can't see the background strip on the desktop where is displayed the windows CE built date and especially in this zone I have refresh problem. Is something related with the configuration of the video memory buffer?
Thank you
bob


Top
 Profile  
 
 Post subject: Re: LCD refresh problem
PostPosted: Fri Apr 03, 2009 7:56 pm 
Offline

Joined: Fri Jan 16, 2009 10:46 pm
Posts: 44
Resolved! memory setting issue.

many thanks


Top
 Profile  
 
 Post subject: Re: LCD refresh problem
PostPosted: Wed Apr 15, 2009 11:30 pm 
Offline

Joined: Wed Apr 15, 2009 11:28 pm
Posts: 1
Hello-
i'm in a similar situation, but having errors when trying to rebuild.

Does your new LCD that's in 320 x 240 use DE mode like the original Hitachi panel?

or something with VSYNC and HSYNC

if VSYNC, would you be willing to assist with enabling the VSYNC in Win CE?

i'm having trouble and wondering exactly what steps you took

THANKS!
-Evan


Top
 Profile  
 
 Post subject: Re: LCD refresh problem
PostPosted: Fri Apr 24, 2009 5:10 pm 
Offline

Joined: Fri Jan 16, 2009 10:46 pm
Posts: 44
Hi Evan,

I have just now see your request: have you already resolved you problem? do you need some more help?

bob


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: