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: hdmi output is fine in my board with qnx7.1 sdk. Now we want to run on linux8.4 sdk, but i find the modify of dss code cannot run fine in new sdk.

Part Number: TDA4VM

hdmi output is fine in my board with qnx7.1 sdk. Now we want to run on linux8.4 sdk, but i find the modify of dss code cannot run fine in new sdk.

i compared with qnx7.1 dss code. there is something change. it add app_dss_default_m2m_obj_t parameters.

i want to known how can i enable hdmi output in my board with linux8.4 sdk.

The data flow is  DPI1->ADV7511->hdmi monitor. 

Now i move the dss code in qnx7.1 sdk to new sdk, i find dss code can not run fine.

it stuck in Dss_init function.

  • Hi,

    Could you brief me what is the error or issue seen when you are connecting to the hdmi output of your board in linux8.4 sdk?

    Could you please share the logs of "source ./vision_apps_init.sh"?

    Are you not able to stream anything on display or is the display not getting detected at all?

    Are you using the DSS driver on the RTOS or on Linux?

    Regards,
    Nikhil

  • Hi Nikhil Dasan,

    Thanks for your reply.

    i use DSS driver on RTOS.

    Now there is no problem when run DSS driver. But when i use iic function to config ADV7511, i get err.

    src/devices/common/common.c:326] I2C_transfer : ret = -1

    This is the err log. i think iic can not setting correctly. 

    i have a question. how to setting pin mux in linux sdk? in qnx sdk code, it will setting in sbl(tiboot3.bin) code. but in linux sdk code, this sbl code is not use. so where can i setting pin mux in linux sdk? i also setting ADV7511 on mcu2_0 core.

    //iic code i use

    Board_STATUS Board_i2c8BitRegWr()

    {

    ...

    ret = I2C_transfer(i2cHandle, &transaction);
    if(ret != I2C_STS_SUCCESS)
    {
    BOARD_DEVICES_ERR_LOG("Failing while writing data by returning - %d\n\r", ret);
    printf("\n[%s:%d] I2C_transfer : ret = %d\n", __FILE__, __LINE__, ret);

    ret = -1;
    return ret;

    }

    ...

    }

  • Hi Nikhil Dasan,

    I meet new problem.

    last time the DSS driver run no err. i think it is fine. Because of iic0 communication fail. so i am not sure that DSS driver run fine.

    Now i find that iic1 communication fine. so i modify hardware, i use iic1 to config ADV7511. 

    i find that DSS driver and config ADV7511 are run fine. it is no err infomation when runing. But the hdmi monitor is show 'no signal' all the time.

    As my experience with hdmi output on qnx7.1 SDK, if  DSS driver and config ADV7511 fine. the hdmi monitor is light. also it will show the resolution ratio of hdmi monitor. 

    So i think DSS driver is not fine, it is only run no err information.

    As i said that there is some differerce bettween DSS driver on qnx7.1 SDK and linux8.4 SDK.

    if i use copy qnx7.1 DSS driver on linux8.4 SDK, i find that it will run with some err,and mcu2_0 core is stuck.

    How can i use the DSS driver correctly?

    1. Could you please share the logs of "source ./vision_apps_init.sh"?

    ==> I share you all the log named 2023-1-2_1.log.  it has log of './vision_apps_init.sh' and  '/opt/vision_apps/vx_app_arm_remote_log.out'

    so you can see all mcu2_0 core logs.

    2. Are you using the DSS driver on the RTOS or on Linux?

    ==>DSS driver run on mcu2_0 core, not on linux OS.

    3. Are you not able to stream anything on display or is the display not getting detected at all?

    ==> now the hdmi can not be detected .

  • add file '2023-1-2_1.log'2023-1-2_1.log

  • Btw i see that below in the log, which means your output format is not HDMI, but you are trying to enable BT601 output format.. Please check if this is correct. 

    [MCU2_0] 146.108363 s: DSS: Init ... !!!
    [MCU2_0] 146.108395 s: DSS: Display type is BT601 on VOUT1 !!!
    [MCU2_0] 146.108428 s: DSS: M2M Path is enabled !!!

    Regards,

    Brijesh

  • Yes, in my board, we use 2vp to generate bt601 signals. This is the information we debug on qnx7.1 SDK.

    e2e.ti.com/.../3993009

  • Hi Brijesh,

    Now DSS looks like fine. it is light when power on. 

    But the display color is not correct. I create a new ticket. we can communicate on below link. The dss run fail problem is resolved.

    e2e.ti.com/.../tda4vm-output-color-is-not-corect-and-shape-is-also-not-corect-in-screen