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.

TDA4VM: How to change vout1/DPI1 in vision apps

Part Number: TDA4VM

Hi,

Because I need two bt1120 interfaces with the same configuration, I need to enable both vout0 / DP0 and Vout1 / DP1. Now the vout0 / DP0 interface can be used normally, but Vout1 / DP1 has problems all the time.The following is the configuration of the two BT interfaces:

1、pinumux: I use the pinmux configured by the ti-pinmux tool, so I'm sure that's right.

2、app_dctrl.h:

3、app_dss_defaults.c

·VOUT0/DP0

·VOUT1/DP1

4、app_dss_j721e.c

·VOUT0/DP0

·VOUT1/DP1

I enable one BT at a time, because I use single display to test. The register configuration for each test is as follows:

1、VOU0/DP0(74.25MHz 16bit)

·DSS0_VP_CONFIG(04AA0000): 03200000

·DSS0_COMMON_DISPC_CONNECTIONS(04A000E4): 00000002

·DSS0_VP_POL_FREQ(04AA004C): 00000000

·DSS0_VP_CONTROL(04AA0004): 00000141

2、VOU1/DP1(74.25MHz 16bit)

·DSS0_VP_CONFIG(04AE0000): 03200000

·DSS0_COMMON_DISPC_CONNECTIONS(04A000E4): 00000080

·DSS0_VP_POL_FREQ(04AE004C): 00000000

·DSS0_VP_CONTROL(04AE0004): 00000141

Because bt1120 will send background information when the system starts, I measured the data lines of two kinds of Vout,  found a phenomenon ,as follow:

·data0, data4 and data15 in VOUT0 have data signals, but data2 and data6 in VOUT1 have data signals. 

Is it the above phenomenon that causes Vout1 to be wrong all the time? If so, how to solve it? If not, how to locate the cause of the problem?

Looking forward to your reply!

Thank you!

  • Hi,

        You tried VOUT0/DP0 and VOUT1/DP1 in independent standalone applications and DP0 is working standalone & DP1 not. Your final goal is to get both working simultaneously.

    Can you please confirm if this is correct statement? 

    Thanks & Regards,
    Vivek Dhande.

    Texas Instruments (India) Pvt Ltd

  • Hi,

    Thank you for your help!

    Yes, I'm testing vout0 / DP0 and Vout1 / DP1 separately. I implemented vout0 / DP0 (bt1120 mode, VP2) in vision apps, but it was always abnormal when I changed it to Vout1 / DP1 (bt1120 mode, VP4). My final goal is to get both working simultaneously.

  • Hi Wang,

    Lets first get one BT1120 output working. 

    Can you please share what is the output you are getting for bt1120 VP2 output? Please note that BT1120 is 20 bit output, so you are using connecting/using 16bit, then you would have to ignore lsb bits for both the components. 

    Regards,

    Brijesh 

  • Hi,

    Thank you for your reply!

    Where to modify bt.1120 mode in vision_apps (16-bit mode or 20-bit mode)?

    I modified it in the following file:

    ti-processor-sdk-rtos-j721e-evm-07_02_00_06/vision_apps/utils/dss/src/app_dss_defaults.c

    After the above modification is successful, the corresponding position in the following register will change:

    Is the above modification correct? If wrong, where to modify it

    Looking forward to your reply!

    Thank you!

  • Hi hui wang,

    The API, appDctrlDefaultInit, In the file ti-processor-sdk-rtos-j721e-evm-07_01_00_11\vision_apps\utils\dss\src\app_dss_defaults.c initializes VP parameters by calling appDctrlVpParamsInit(&vpParams);. After this initialization, we need to change dvoFormat parameter of the vpParams to APP_DCTRL_DV_BT656_EMBSYNC/APP_DCTRL_DV_BT1120_EMBSYNC for BT output format.

    appDctrlVpParamsInit(&vpParams);

    vpParams.dvoFormat = APP_DCTRL_DV_BT1120_EMBSYNC;

    Can you try with above change?

    Regards,

    Brijesh