Connecting an LCD

General discussion on all aspects of SwiftModule development.

Moderators: David1, eArchitect

Connecting an LCD

Postby Mette_S » Tue Dec 16, 2008 5:42 pm

How is the swiftkit configured to support different LCDs ?
Mette_S
 
Posts: 2
Joined: Fri Nov 28, 2008 11:37 am

Re: Connecting an LCD

Postby wrwhite » Thu Dec 18, 2008 10:04 am

First you need to check that you have the generic LCD driver in the WinCE6 BSP (BSP greater than v2.2.5) otherwise you will have to request it.

The LCD is configured in the WinCE6 registry. Check for the key [HKEY_LOCAL_MACHINE\Drivers\Display\PXA320\Config] in platform.reg and modify the parameters to match your LCD (example below). Then rebuild you OS Design and test your display.

You will need to understand a little about the PXA320 LCD controller registers which can be found in the Marvell documentation ("PXA320 Processor Family Graphics and Input Controller Configuration Developers Manual" and the "PXA320 Processor Family Design Guide").

You can attach either a standard digital display to the standard digital LCD outputs or an LVDS display to the LVDS outputs. The display driver in the current BSP (v2.2.4) is specifically for the display delivered with the Swift Kit. You will need to request the generic driver, however this should be included by default from v2.2.5 onwards.

You can then attach any display you wish either directly to the LCD digital outputs or if you have an LVDS display to the LVDS outputs.

Here are the registry entries. Replace the "Ns" with the correct hex values. LCCR0 to LCCR4 are the PXA320 LCD controller registers:

[HKEY_LOCAL_MACHINE\Drivers\Display\PXA320\Config]
"DisplayType"="GENERIC"
"CxScreen"=dword:NNN
"CyScreen"=dword:NNN
"Bpp"=dword:10
"LCCR0"=dword:NNNNNNNN
"LCCR1"=dword:NNNNNNNN
"LCCR2"=dword:NNNNNNNN
"LCCR3"=dword:NNNNNNNN
"LCCR4"=dword:NNNNNNNN

Example for the 7" LCD supplied as default:


[HKEY_LOCAL_MACHINE\Drivers\Display\PXA320\Config]
"DisplayType"="GENERIC"
"CxScreen"=dword:320
"CyScreen"=dword:1E0
"Bpp"=dword:10
"LCCR0"=dword:03b008f8
"LCCR1"=dword:2727bf1f
"LCCR2"=dword:1c0c09df
"LCCR3"=dword:04700000
"LCCR4"=dword:04007e00

If the "DisplayType" is set to LCD then the additional parameters are ignored. The LCD parameters are then defined in the boot loader. If "DisplayType" is set to CRT and if an external monitor is detected via the CRT detect signal on the VGA connector, the display parameters are set to VGA 800x600 and the LCD is disabled. If an external monitor is not detected then the display parameters revert to the LCD parameters set in the boot loader. Note, not many external LCD monitors do actually drive the CRT detect signal. Most CRT monitors do, however.

Will
wrwhite
 
Posts: 1
Joined: Fri Nov 07, 2008 3:44 pm

Re: Connecting an LCD

Postby carolin » Fri Sep 11, 2009 11:16 am

What is the difference between an LCD Monitor and an LCD TV? Why are LCD Monitors cheaper than LCD TVs? Both receive and process digital information so why the big price difference? Is it the resolution and clarity? Or is it just a rip off the industry doesn't want you to know about?
____________________
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite
carolin
 
Posts: 1
Joined: Fri Sep 11, 2009 5:02 am


Return to SwiftModule Technical Forum

Who is online

Users browsing this forum: No registered users and 1 guest

cron