Difference between revisions of "TV Output"

From ArmadeusWiki
Jump to: navigation, search
m (Starting the tool)
m
Line 9: Line 9:
  
 
Once compiled, you will see a ch7024 program in the /usr/bin directory of your rootfs.<br>
 
Once compiled, you will see a ch7024 program in the /usr/bin directory of your rootfs.<br>
 
== Configuration ==
 
In order to program the right parameters in the CH7024, configuration files (.conf) are used.<br>
 
They are simple text files containing the register values of the CH7024 for a given configuration.<br>
 
Depending on your requirements, you have to use the right configuration file.
 
 
=== 320x240 input format (like MTFT035) ===
 
copy the ch424x283.conf file (armadeus/buildroot/build_arm_nofpu/ch7024ctrl-1.0/ )
 
in the /usr/bin directory of the APF9328 rootfs.
 
 
=== 480x272 input format (like LQ043) ===
 
copy the ch500x320.conf file (armadeus/buildroot/build_arm_nofpu/ch7024ctrl-1.0/ )
 
in the /usr/bin directory of the APF9328 rootfs.
 
  
 
== Starting the tool ==
 
== Starting the tool ==
Line 27: Line 14:
 
This can be done by means of the imxregs tool (http://www.armadeus.com/wiki/index.php?title=Linux_Debug). Do not forget to unlock the register access rights
 
This can be done by means of the imxregs tool (http://www.armadeus.com/wiki/index.php?title=Linux_Debug). Do not forget to unlock the register access rights
  
=== 320x240 input format ===
+
=== 320x240 input format (like MTFT035) ===
 
  imxregs LPCR 0XF8C80087
 
  imxregs LPCR 0XF8C80087
 
  imxregs HCR 0X78004401
 
  imxregs HCR 0X78004401
Line 35: Line 22:
 
  imxregs SPCTL1 0x00000040
 
  imxregs SPCTL1 0x00000040
  
=== 480x272 input format ===
+
=== 480x272 input format (like LQ043) ===
 
  imxregs LPCR 0XF8C80085
 
  imxregs LPCR 0XF8C80085
 
  imxregs HCR 0x28000500
 
  imxregs HCR 0x28000500
Line 44: Line 31:
  
 
Then
 
Then
sh
 
 
  cd /usr/bin
 
  cd /usr/bin
 
  ch7024 configurationFileName.conf    (ie: ch7024 ch424x283.conf)
 
  ch7024 configurationFileName.conf    (ie: ch7024 ch424x283.conf)

Revision as of 13:03, 20 May 2008

How-To use the SVideo output of the APF9328DevFull

The DevFull is equipped with a SVideo output which can be used to connect a TV to the board.

Tool installation

Instead of using a real driver, a simple debug tool (CH7024) has been written to configure the SVideo controller.

make menuconfig -> package selection target -> Hardware handling / blockdevices and filesystem maintenance -> ch7024ctrl 
make

Once compiled, you will see a ch7024 program in the /usr/bin directory of your rootfs.

Starting the tool

At first, the timings of the LCD controler have to be modified. This can be done by means of the imxregs tool (http://www.armadeus.com/wiki/index.php?title=Linux_Debug). Do not forget to unlock the register access rights

320x240 input format (like MTFT035)

imxregs LPCR 0XF8C80087
imxregs HCR 0X78004401
imxregs VCR 0X0C001414
imxregs CSCR 0x03010003
imxregs SPCTL0 0x04011402
imxregs SPCTL1 0x00000040

480x272 input format (like LQ043)

imxregs LPCR 0XF8C80085
imxregs HCR 0x28000500
imxregs VCR 0x0c001617
imxregs CSCR 0x03010003
imxregs SPCTL0 0x04011402
imxregs SPCTL1 0x00000040

Then

cd /usr/bin
ch7024 configurationFileName.conf    (ie: ch7024 ch424x283.conf)

Changing SVideo parameters

Changing the SVideo parameters is not easy due to several PLL parameters which have to be fine tuned. An external tool (running only under Windows :( )is required. As the documentation for this component is restricted to registered users (no other choice :( ), please contact us if you need informations.

Links