Difference between revisions of "TV Output"
(→Tool installation) |
m (→Tool installation) |
||
Line 4: | Line 4: | ||
Instead of using a Linux driver, a simple userspace tool (CH7024) has been written to configure the S-Video controller. You just have to add it in Buildroot configuration: | Instead of using a Linux driver, a simple userspace tool (CH7024) has been written to configure the S-Video controller. You just have to add it in Buildroot configuration: | ||
$ make menuconfig | $ make menuconfig | ||
− | [[Image:Menuconfig_package.png]] <br> | + | [[Image:Menuconfig_package.png]] <br><br> |
[[Image:Menuconfig_package_hardware.png]] | [[Image:Menuconfig_package_hardware.png]] | ||
--> ch7024ctrl | --> ch7024ctrl |
Revision as of 18:16, 10 September 2008
How-To use the S-Video output of the APF9328DevFull. This way you can connect this board to a TV screen.
Contents
Tool installation
Instead of using a Linux driver, a simple userspace tool (CH7024) has been written to configure the S-Video controller. You just have to add it in Buildroot configuration:
$ make menuconfig
--> ch7024ctrl $ make
Once compiled you can copy the tool (buildroot/project_build_arm/armadeus/root/usr/bin/ch7024) directly on you target in /usr/bin or reflash 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.