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 set numDataLanes to 4 in csitx node.

Part Number: TDA4VM

Hi TI experts,

i use linux SDK8.4 on TDA4VM platform.

now csitx is  normal when i setting numDataLanes  to 2. but the fps is low. 

if i modify numDataLanes  to 4 in csitx node, and config mipi to 4 datalanes also, i find that the fps is more than before. but no display.

Is there anything need to modify again?

Best Regards

  • Hi,

    if i modify numDataLanes  to 4 in csitx node, and config mipi to 4 datalanes also, i find that the fps is more than before. but no display.

    Is there anything need to modify again?

    Sorry, did not understand. 

    You see the graph executing at correct FPS? 
    May I know how are you trying to display?

    Regards,

    Nikhil

  • Hi Nikhil,

    May I know how are you trying to display?

    my board is connect to car. my board send picture to car by csitx. car will receive it by csirx, and then display it.

    when i set  numDataLanes to 2 in csitx node, the car display normal. if i set numDataLanes  to 4 and mipi is also set to 4, the display is abnormal.

    Best Regards

  • Hi,

    Could you try modifying the lanebandspeed as well? 

    Also, the lanebandspeed should match at the display side as well, if you increase here.

    Regards,

    Nikhil

  • Hi Nikhil,

    Could you try modifying the lanebandspeed as well? 

    yes, i have done it. i modify laneSpeedMbps from 800 to 1600 and 2400, but it also black in car side.

    i see this words in your SDK . 'Data rates for lane band control. This parameter is ignored if 'laneSpeedMbps' is provided.'

    so if i increase lanebandspeed, can i no need to config laneSpeedMbps here?

    as you said 'the lanebandspeed should match at the display side as well, if you increase here.' 

    How to get correct lanebandspeed value?

    Best Regards

  • Hi,

    so if i increase lanebandspeed, can i no need to config laneSpeedMbps here?

    yes, that is correct. You could set laneSpeedMbps to TIVX_CSITX_LANE_SPEED_MBPS_RESERVED and continue modifying the landbandspeed.

    How to get correct lanebandspeed value?

    Can you try keeping it same as the capture node?

    Regards,

    Nikhil

  • Hi Nikhil,

    Now laneBandSpeed is set to TIVX_CSITX_LANE_BAND_SPEED_770_TO_870_MBPS, if i set to TIVX_CSITX_LANE_BAND_SPEED_1000_TO_1200_MBPS, the fps is also increase. it from 14 to 18. But if i continue increase the value. the display is black. so i cannot use the max value. it is limited by something.

    Can you try keeping it same as the capture node? if i use this value, it also black.

    How to let fps to 25? if i modify csitx resolution from 2560*1440 to 1280*720, the fps is 25. i think the limited in csitx node not in capture node.

    This is the setting i used in my code.

    tivx_csitx_params_init(&csitxObj->cstix_params);
    csitxObj->cstix_params.numInst = 1U;
    csitxObj->cstix_params.numCh = 1;
    csitxObj->cstix_params.instId[0U]                       = CSITX_INST_ID;

    csitxObj->cstix_params.instCfg[0U].rxCompEnable         = (uint32_t)vx_true_e;

    csitxObj->cstix_params.instCfg[0U].rxv1p3MapEnable      = (uint32_t)vx_true_e;

    csitxObj->cstix_params.instCfg[0U].laneBandSpeed        = CSITX_LANE_BAND_SPEED;

    csitxObj->cstix_params.instCfg[0U].numDataLanes         = 2U;

    Best Regards

  • Hi xie jc,

    Why do want to set the number of data lanes to 4? 

    Also please keep the lane band speed which is supported by your receiver.

    Regards,

    Brijesh

  • Hi Brijesh

    Why do want to set the number of data lanes to 4?

    we want to get biger fps. as i said the max fps is 18 i can get now. 

    but if i change resolution from 2560*1440 to 1280*720 in csitx node, the fps is 25. 

    i want to fps is 25 when resolution is  2560*1440.

    so i think that the limit is in csitx node.

    Best Regards

  • Hi,

    But if i continue increase the value. the display is black. so i cannot use the max value. it is limited by something.

    Could you please check what is the number of lanes and landspeed set in the display side csi-rx?

    If you only configure the csi-tx to 4 lanes and increase the speed, without doing the same on the csi-rx side of the display, this could cause issue with the display as seen.

    Could you please check what is the configuration at the display end?

    Regards,

    Nikhil