This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Display UYVY image in S-video port on Beagle board

Other Parts Discussed in Thread: OMAP3530

Hi All,

We are trying to display 720X480 UYVY image on the TV using Beagle board. We want to try this from DSP side i.e read data from a file and put in SDRAM and configure the peripherlas from DSP side to display the frame on S-video output.

The CCS setup is CCS3.3 with SR11 patch and bios 5_33_03.  The U-Boot was giving a color bar in the S-video output. We could change this into background color of green, magenta by configuring the Display controller.

The UYVY file data is available in SDRAM. We did a research in OMAP3530 TRM and also configured the Display controller registers for resolution, format, output mode etc specific to TV. All the time , we were thinking that DMA is necesary to transfer pixel data from SDRAM to TV via Display controller. When googled we found the S-video demo in Linux kernel and we could run in our board. We got the utDstream_tennis.c from community and tried to get some config for DMA from this. But still we are not clear about how to invoke and make use of DMA to transfer data from SDRAM to TV.

Do DMA is required to display a frame in S-video on TV for Beagle/OMAP?

 We want the display to happen from DSP side and with out running kernel in Beagleboard.

Has someone tried similar thing?

Thanks in advance,

Rama

 

 

 

 

 

  • RamaDevi said:
    Do DMA is required to display a frame in S-video on TV for Beagle/OMAP?

    The display controller has its own built in DMA functionality, so you do not configure a user DMA to service the display controller, but rather you just configure the display controller and it manages the fetching of data from RAM.

    RamaDevi said:
    Has someone tried similar thing?

    I have not seen this done before on the OMAP3, though it should be possible, I am curious why you would want to have the DSP managing the display directly as opposed to passing the frame back to the ARM to be displayed by a Linux driver?

  • Hi Bernie,

    Thanks a lot for your inputs.

    We are actaully trying to find the feasibility of getting the S-video display on TV from the DSP in OMAP3530 and without running any OS in ARM.

    Our setup is like U-boot  running background and no OS is loaded. Later we connect to ARM and DSP thru CCS and start configuring the Display Sub System registers.

    In this effort, we were able to get the color bar/background color and solid background color from Video Encoder and Display controller respectively.

    We have disabled graphics and video2 layer. When we enable video1 layer and set the digital output path, also the pixel data available in DDR2, the color bar vanishes and screen goes to blank. As per your suggestion , we have configured the DMA registers inside Display controller.

    Please find attached the DSS register configuration we are trying out.

    Could you please help us in pointing out the configuration we are missing out?

    Thanks in advance,
    Rama

  • Hi Rama,

    Hope you will be fine. I am searching Google and fortunately find this thread. I am porting a LCD driver for BeagleBoard(BB) for s-video support and facing some problems. As you discussed that you have found s-video demo for linux for BB, can you please send it to my email address mentioned below. Also please send me your register configuration for DSS, DISCP and VENC modules. I just want to display the data from frame buffer to the TV output.Hope you will find some time for me :-)

     

    Thanks in anticipation.

     

  • Hi Rama,

    Sory, 4get to mentioned my email

     

    email: pucitian2003@yahoo.com, zaheer.pu@gmail.com