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.

TDA4VH-Q1: csitx node is slow

Part Number: TDA4VH-Q1

Hi Ti Teams,

I added a csitx node as output .

capture->ldc->mosaic->convert_node->csitx

FPS is 23.

The stat of the graph is below,


GRAPH: app_multi_cam_graph (#nodes = 9, #executions = 415)
NODE: CAPTURE1: capture_node0: avg = 4503 usecs, min/max = 91 / 51003 usecs, #executions = 415
NODE: VPAC_LDC1: ldc_node: avg = 3076 usecs, min/max = 3050 / 3933 usecs, #executions = 415
NODE: VPAC_MSC1: mosaic_node: avg = 14425 usecs, min/max = 13856 / 41294 usecs, #executions = 415
NODE: A72-0: convert_node->CSITXNode: avg = 29076 usecs, min/max = 28740 / 32194 usecs, #executions = 415
NODE: CSITX: CSITXNode: avg = 42757 usecs, min/max = 42680 / 43478 usecs, #executions = 415
NODE: VPAC_MSC1: scaler_node: avg = 4639 usecs, min/max = 4550 / 5340 usecs, #executions = 415
NODE: A72-0: stream_output_node: avg = 313 usecs, min/max = 285 / 358 usecs, #executions = 415
NODE: DISPLAY1: DisplayNode: avg = 8150 usecs, min/max = 60 / 16619 usecs, #executions = 415
NODE: A72-0: capture_write_node: avg = 12 usecs, min/max = 10 / 30 usecs, #executions = 415

PERF: FILEIO: avg = 0 usecs, min/max = 4294967295 / 0 usecs, #executions = 0
PERF: TOTAL: avg = 42816 usecs, min/max = 6890 / 83290 usecs, #executions = 130

PERF: TOTAL: 23.35 FPS

The csitx node cost 42757us.

Can I reduce the exec time of csitx?

  • Hi,

    May I know what is the data rate the csi-tx is being configured with?

    what is the resolution of the image being transferred?

    What is the target fps you are trying to achieve?

    Regards,

    Nikhil

  • Hi Nikhil,

    Thanks for your reply.

    I've found the csi-tx is not the reason. The data rate of csi-tx is 240_TO_320_MBPS.

    When I use one capture node to capture 10 cameras, the csi-tx cannot output correctly and I configured the data rate of csi-tx with 240_TO_320_MBPS.

    What is the target fps you are trying to achieve?

    30 FPS.

    The data rate of csitx has be changed to 390_TO_450.

    I  use 3 capture node (2+4+4), 10 cameras. The FPS is 29.9.

    I use 1 capture node, 10 cameras. The FPS is 25~27.

    Regards,

    Zhang

  • Hi Zhang,

    May I know what is the resolution of the camera that is being used? 

    Also, I believe you are passing 10 cameras to 2 separate VPACs or is it going to single VPAC?

    By 3 capture nodes, do you mean each capture node is on 3 csi instance? or 3 capture nodes are on single csi-rx instance?

    Regards,

    nikhil

  • May I know what is the resolution of the camera that is being used? 

    1920X1536 UYVY

    I believe you are passing 10 cameras to 2 separate VPACs or is it going to single VPAC?

    Use 10 cameras to single VPAC.

    By 3 capture nodes, do you mean each capture node is on 3 csi instance? or 3 capture nodes are on single csi-rx instance?

    ___________________________________________

    capture node0->csi0rx->2 cameras

    capture node1->csi1rx->4 cameras

    capture node2->csi2rx->4 cameras

    The FPS is 29.9.

    ___________________________________________

                           |->csi0rx ->2 cameras

    capture node0|->csi1rx ->4 cameras

                           |->csi2rx ->4 cameras

    The FPS is 25~27.

    ___________________________________________

    Regards,

    Zhang

  • Hi Zhang,

    Could you provide the performance stats for both use cases?

    i.e., with 30 FPS and with 25-27 FPS?

    Also to identify if this is because of capture node, could you disable all the other nodes and run just the capture node in the graph? Please let me know if you have already tried this usecase?

    Regards,

    Nikhil

  • Hi Nikhil,

    I have tested these two cases.There are seems some issue in the capture node. I think you should test that.

    Also to identify if this is because of capture node, could you disable all the other nodes and run just the capture node in the graph? Please let me know if you have already tried this usecase?

    I dont have time to test this usecae.

    Regards,

    Zhang

  • Hi Zhang,

    Could you provide the performance stats for both use cases?

    i.e., with 30 FPS and with 25-27 FPS?

    Could you provide me the performance stats for both usecase?

    Regards,

    Nikhil