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.

How to quick start to process VPIF raw data in DSP?

Other Parts Discussed in Thread: OMAP-L138, OMAPL138

Hi

    My board is OMAP-L138, DVSDK4.03 ,Kernel:DaVinci-PSP-SDK-03.22.00.02

    As it's different with 8168, i wonder how to start to capture raw data in dsp through VPIF.

    Is there some example to do that?

    Thanks very much!

  • Hi Changsheng,

    Thanks for your post.

    To capture raw data in dsp thru. VPIF, you need to configure the LCD controller in LIDD mode instead of raster mode. Usually, raster mode is configured in raster controller to capture and display image over LCD but to capture raw character/text display, you need to configure the code in LIDD mode in the display controller.

    In order to configure LCD in LIDD mode for interfacing character/text display, alternatively you could refer OMAPL138 starterware vpif_lcd_loopback examples, but by default the LCD controller is configured in raster mode in this code. To get you the reference to configure the LCD in LIDD controller mode, you could use the source file liddDisplay.c in the same starterware package from the below path, after installing the starterware pacakge:

    ~\OMAPL138_StarterWare_1_10_03_03\examples\evmOMAPL138\lidd\liddDisplay.c

    and for raster display, you could refer the below source file

    ~\OMAPL138_StarterWare_1_10_03_03\examples\evmOMAPL138\lidd\rasterDisplay.c

    Please refer SetUpLCD() function in the above source files to configure in Raster/LIDDmode.

    In general, to refer  vpif_lcd_loopback example in the OMAPL138 starterware package, you could see the below path:

    ~\OMAPL138_StarterWare_1_10_03_03\examples\evmOMAPL138\vpif_lcd_loopback\vpif_lcd_loopback.c

    To download the OMAPL138 Starterware software, you could write the code to capture raw data thru. VPIF by referring the above mentioned examples & source files to configure in LIDD mode.

    http://software-dl.ti.com/dsps/dsps_public_sw/c6000/starterware/01_10_04_01/index_FDS.html

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------
     

     

  • Hi Sivaraj Kuppuraj:

        Thanks very much!

        Does DVSDK4.03 can do that?

        Thanks.

  • Hi Changsheng,

    Thanks for your update.

    Usually, the DVSDK provides codec libraries and associated AV clips that enable developers to immediately develop and evaluate real-world applications. Please try out the Demo programs show decoding and encoding operations to illustrate how frameworks, codecs, video and audio subsystem drivers are integrated to implement complete applications.

    For more info, please refer the below doc.:

    http://www.ti.com/tool/LINUXDVSDK-DM37X

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------