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: TDA4VM DSI interface configuration issue

Part Number: TDA4VM

Hi, TI support team.

I have a DSI interface problem In ti-processor-sdk-rtos-j721e-evm-08_02_00_05.

The DSI interface could be able to output the signeal with below DSI parameter configuration

(dssDctrlUpdateVideoSizeConfig function in "pdk_jacinto_08_02_00_21/packages/ti/drv/dss/src/drv/dctrl/dss_dctrlDsi.c"

    horzTotal = mInfo->width + mInfo->hFrontPorch + mInfo->hBackPorch + mInfo->hSyncLen;

    dsiObj->videoSizeCfg.vact = mInfo->height;								//[720]
    dsiObj->videoSizeCfg.vfp = 1;									//[1]
    dsiObj->videoSizeCfg.vbp = mInfo->vBackPorch;							//[20]
    dsiObj->videoSizeCfg.vsa = mInfo->vSyncLen;								//[5]
    dsiObj->videoSizeCfg.hsa = (mInfo->hSyncLen * BPP) - 14;						//[106]
    dsiObj->videoSizeCfg.hbp = (mInfo->hBackPorch * BPP) - 12;						//[648]
    dsiObj->videoSizeCfg.rgb = mInfo->width * BPP;							//[3840]
    dsiObj->videoSizeCfg.hfp = (mInfo->hFrontPorch * BPP) - 6;						//[324]
    dsiObj->videoSizeCfg.blkLinePulsePacket = (horzTotal * BPP) - 20 - dsiObj->videoSizeCfg.hsa;	//[4824] ( 1280 + 110 + 220 + 40 ) * BPP - 20 - dsiObj->videoSizeCfg.hsa;

But this configuration is for the FPD Link Serializer to display on the LCD side.

I re-configurate the DSI parameter with standard VESA parameter as blow.

    uint32_t horzTotal;

    horzTotal = mInfo->width + mInfo->hFrontPorch + mInfo->hBackPorch + mInfo->hSyncLen;
    
    dsiObj->videoSizeCfg.vact = 720;
    dsiObj->videoSizeCfg.vfp = 5;
    dsiObj->videoSizeCfg.vbp = 20;
    dsiObj->videoSizeCfg.vsa = 5;
    dsiObj->videoSizeCfg.hsa = (  40 * BPP );
    dsiObj->videoSizeCfg.hbp = ( 220 * BPP );
    dsiObj->videoSizeCfg.rgb = (1280 * BPP );
    dsiObj->videoSizeCfg.hfp = ( 110 * BPP );
    dsiObj->videoSizeCfg.blkLinePulsePacket =  (horzTotal * BPP);

After modification, the DSI interface data lane have no any signal.

Do I miss something for the configuration? 

And how to calculate the "blkLinePulsePacket" value?

  • Hi,

    Please use driver interface to configure blanking parameters and for changing resolution for the DSI output. Changing internal driver fields directly is not recommended.

    Regards,

    Brijesh

  • Hi ,

    Originally I used the driver interface to configure the parameters but it is not workable.

    There is a little bit strange for the DSI interface that I configure the blanking parameter with VESA standard(1280x720x60 FPS)

    The data lanes have no output within VESA standard so I thought I miss something need to do modification.

    Could you give me some clues?

  • Hi shawn,

    I see you are using SDK8.2. There were few hard codings in the DSI driver in this release. Can you please check this in the latest SDK release? You should just use driver interface to configure DSI to get the output. If required, please also change output lane speed using driver interface.

    Regards,

    Brijesh