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.

loopback test

Hello All,

I have dm6446 dvevm and CCS v3.3, i downloaded loopback test from this page http://c6000.spectrumdigital.com/davincievm/revf but there is code only for NTSC. LCD monitor can work only with PAL, how need i change the code for PAL video? Or LCD monitor can work with NTSC?

Thanks

  • Hi,

    Thanks for your post.

    DM6446 LCD display would work for both PAL and NTSC video formats. If you use PAL video, set switch 10 on the S3 (USER) bank of switches to On. If you use NTSC video, set this switch to Off. You can configure the EVM to select either the NTSC or PAL video standard during the default boot sequence too. Kindly refer section 2.1 for setting up the hardware in DM6446 getting started guide as below:

    http://www.ti.com.cn/cn/lit/ug/sprue66e/sprue66e.pdf

    Kindly see Figure 1–1 which is EVM hardware block diagram for S3 switch bank location on the above doc.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

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

    --------------------------------------------------------------------------------------------------------

  • Hi,

    There are several  ways to set video mode to PAL

    1) Output and mode setting using sysfs interface

    To see how to use sysfs interface you can refer the example code comes with DVSDK named

    " dvsdk_2_xx_xx_xx/PSP_02_10_xx_xx/examples/dm644x/fbdev/fbdev_loopback_hd.c"

    in above example the to sysfs call is used to do so named

    change_sysfs_attrib(ATTRIB_OUTPUT, DISPLAY_INTERFACE_COMPOSITE);

    change_sysfs_attrib(ATTRIB_MODE, DISPLAY_MODE_PAL);

    the above call will modify "/sys/class/davinci_display/ch0/mode" file for you.

    2) After doing this set the boot args for the respective mode(PAL)

    like " osd0=720x576x16,5400K@0,0 " or

    you can use any other window (vid0/vid1)

    3) Now run your application for PAL mode.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

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

    --------------------------------------------------------------------------------------------------------

  • Hello, Sivaraj,

    It help when i used demo:

    when i used NTSC mode (S10 off) grayscale image which is above than must

    when i turn on S10 i have

    after i try to run loopback test, s10 still on, but i get video stream like for NTSC:

    how can i get result similar PAL mode demo?

    Thanks