Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed from November 25 through December 2. Thank you for your patience.

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.

TDA4VEN-Q1: use csi-tx output in the single cam app

Part Number: TDA4VEN-Q1

Tool/software:

Hi expert,

In the vision app single camera demo, DP is used to output. Our customer is referring to this demo but need to change the output interface to CSI-TX. Below is their app which can output image from CSI-TX. Could you please help to check how to combine below app with app_single_cam_main.c to realize output from CSI-TX? Thanks 

app_csitx_camera.rar

Best Regards,

Xingyu Zhu

  • Hi Xingyu,

    You just need to replace DDS with CSITX in the single camera or multi-camera example. Can you please try doing it? The node interface of CSITX is very similar to CSIRX, so you can just refer CSIRX configuration and make similar configuration for CSITX.

    Regards,

    Brijesh

  • Hi Brijesh,

    Thanks for your reply. Our customer is referring to below guide to change the output interface to CSI-TX.

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1306674/faq-tda4vm-enable-csi-tx-output-instead-of-dss-output-in-the-capture-demos-of-vision_apps

    In this guide, DSS_M2M is used to do format conversion. But we think the VISS can support YUV422 output so that we can bypass DSS_M2M. So first we change the mux.output2 to 5 to support YUV422 output.

    But after above change, csitx report format error.

    To resolve this issue, we do below change in the single cam app.

    But below error is reported. Could you please if our change is correct and how to make CSI-TX work?

    2_log.txt
    root@j722s-evm:/opt/vision_apps# source ./vision_apps_init.sh
    root@j722s-evm:/opt/vision_apps# [MCU2_0]      6.146666 s: CIO: Init ... Done !!!
    [MCU2_0]      6.146705 s: CPU is running FreeRTOS
    [MCU2_0]      6.146717 s: APP: Init ... !!!
    [MCU2_0]      6.146727 s: SCICLIENT: Init ... !!!
    [MCU2_0]      6.146789 s: SCICLIENT: DMSC FW version [9.0.6--w2023.01-j722s (Kool Koa]
    [MCU2_0]      6.146807 s: SCICLIENT: DMSC FW revision 0x9
    [MCU2_0]      6.146820 s: SCICLIENT: DMSC FW ABI revision 3.1
    [MCU2_0]      6.146833 s: SCICLIENT: Init ... Done !!!
    [MCU2_0]      6.146845 s: MEM: Init ... !!!
    [MCU2_0]      6.146857 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ b5800000 of size 33554432 bytes !!!
    [MCU2_0]      6.146884 s: MEM: Init ... Done !!!
    [MCU2_0]      6.146894 s: IPC: Init ... !!!
    [MCU2_0]      6.146906 s: IPC: 4 CPUs participating in IPC !!!
    [MCU2_0]      6.147113 s: IPC: Waiting for HLOS to be ready ... !!!
    [MCU2_0]     17.492896 s: IPC: HLOS is ready !!!
    [MCU2_0]     17.492953 s: IPC: Init ... Done !!!
    [MCU2_0]     17.492971 s: APP: DEBUG : appIpcInit J722S... !!!
    [MCU2_0]     17.492985 s: APP: Syncing with 3 CPUs ... !!!
    [MCU2_0]     17.493002 s: APP: Syncing with 3 CPUs ... Done !!!
    [MCU2_0]     17.493016 s: REMOTE_SERVICE: Init ... !!!
    [MCU2_0]     17.493961 s: REMOTE_SERVICE: Init ... Done !!!
    [MCU2_0]     17.494030 s: FVID2: Init ... !!!
    [MCU2_0]     17.494053 s: FVID2: Init ... Done !!!
    [MCU2_0]     17.494367 s: DispApp_init() - DONE !!!
    [MCU2_0]     17.494569 s: Display create complete!!
    [MCU2_0]     17.494646 s: VHWA: VPAC Init ... !!!
    [MCU2_0]     17.494690 s: SCICLIENT: Sciclient_pmSetModuleState module=219 state=2
    [MCU2_0]     17.494813 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     17.494827 s: VHWA: LDC Init ... !!!
    [MCU2_0]     17.495032 s: VHWA: LDC Init ... Done !!!
    [MCU2_0]     17.495048 s: VHWA: MSC Init ... !!!
    [MCU2_0]     17.495697 s: VHWA: MSC Init ... Done !!!
    [MCU2_0]     17.495715 s: VHWA: VISS Init ... !!!
    [MCU2_0]     17.495811 s: VHWA: VISS Init ... Done !!!
    [MCU2_0]     17.495829 s: VHWA: VPAC Init ... Done !!!
    [MCU2_0]     17.495841 s: VHWA: DMPAC: Init ... !!!
    [MCU2_0]     17.495851 s: SCICLIENT: Sciclient_pmSetModuleState module=277 state=2
    [MCU2_0]     17.495930 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     17.495944 s: VHWA: DOF Init ... !!!
    [MCU2_0]     17.496139 s: VHWA: DOF Init ... Done !!!
    [MCU2_0]     17.496155 s: VHWA: SDE Init ... !!!
    [MCU2_0]     17.496245 s: VHWA: SDE Init ... Done !!!
    [MCU2_0]     17.496261 s: VHWA: DMPAC: Init ... Done !!!
    [MCU2_0]     17.496283 s:  VX_ZONE_INIT:Enabled
    [MCU2_0]     17.496297 s:  VX_ZONE_ERROR:Enabled
    [MCU2_0]     17.496309 s:  VX_ZONE_WARNING:Enabled
    [MCU2_0]     17.496798 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MCU2-0
    [MCU2_0]     17.496866 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target VPAC_LDC1
    [MCU2_0]     17.496934 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target VPAC_MSC1
    [MCU2_0]     17.496999 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target VPAC_MSC2
    [MCU2_0]     17.497098 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target VPAC_VISS1
    [MCU2_0]     17.497171 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE1
    [MCU2_0]     17.497241 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE2
    [MCU2_0]     17.497307 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE3
    [MCU2_0]     17.497378 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CAPTURE4
    [MCU2_0]     17.497445 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DISPLAY1
    [MCU2_0]     17.497511 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DISPLAY2
    [MCU2_0]     17.497568 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CSITX
    [MCU2_0]     17.497621 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target CSITX2
    [MCU2_0]     17.497680 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DMPAC_SDE
    [MCU2_0]     17.497747 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DMPAC_DOF
    [MCU2_0]     17.497769 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
    [MCU2_0]     17.497782 s: APP: OpenVX Target kernel init ... !!!
    [MCU2_0]     17.501762 s: APP: OpenVX Target kernel init ... Done !!!
    [MCU2_0]     17.501784 s: UDMA: Init for CSITX/CSIRX ... !!!
    [MCU2_0]     17.501944 s: UDMA: Init for CSITX/CSIRX ... Done !!!
    [MCU2_0]     17.501967 s: CSI2RX: Init ... !!!
    [MCU2_0]     17.501978 s: SCICLIENT: Sciclient_pmSetModuleState module=182 state=2
    [MCU2_0]     17.502017 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     17.502030 s: SCICLIENT: Sciclient_pmSetModuleState module=247 state=2
    [MCU2_0]     17.502080 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     17.502092 s: SCICLIENT: Sciclient_pmSetModuleState module=185 state=2
    [MCU2_0]     17.502130 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     17.502142 s: SCICLIENT: Sciclient_pmSetModuleState module=251 state=2
    [MCU2_0]     17.502179 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     17.502345 s: CSI2RX: Init ... Done !!!
    [MCU2_0]     17.502361 s: CSI2TX: Init ... !!!
    [MCU2_0]     17.502371 s: SCICLIENT: Sciclient_pmSetModuleState module=250 state=2
    [MCU2_0]     17.502422 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     17.502435 s: SCICLIENT: Sciclient_pmSetModuleState module=238 state=2
    [MCU2_0]     17.502476 s: SCICLIENT: Sciclient_pmSetModuleState success
    [MCU2_0]     17.502489 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=250 clk=3 freq=16000000
    [MCU2_0]     17.502542 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0]     17.502555 s: SCICLIENT: Sciclient_pmSetModuleClkFreq module=250 clk=4 freq=500000000
    [MCU2_0]     17.502607 s: SCICLIENT: Sciclient_pmSetModuleClkFreq success
    [MCU2_0]     17.502635 s: CSI2TX: Init ... Done !!!
    [MCU2_0]     17.502649 s: ISS: Init ... !!!
    [MCU2_0]     17.502663 s: Found sensor OX03F-MAX96717F_D3 at location 0
    [MCU2_0]     17.502680 s: Found sensor IMX390-UB953_D3 at location 1
    [MCU2_0]     17.502697 s: Found sensor AR0233-UB953_MARS at location 2
    [MCU2_0]     17.502711 s: Found sensor AR0820-UB953_LI at location 3
    [MCU2_0]     17.502726 s: Found sensor UB9xxx_RAW12_TESTPATTERN at location 4
    [MCU2_0]     17.502741 s: Found sensor UB96x_UYVY_TESTPATTERN at location 5
    [MCU2_0]     17.502756 s: Found sensor GW_AR0233_UYVY at location 6
    [MCU2_0]     17.502770 s: IssSensor_Init ... Done !!!
    [MCU2_0]     17.502815 s: IttRemoteServer_Init ... Done !!!
    [MCU2_0]     17.502827 s: ISS: Init ... Done !!!
    [MCU2_0]     17.502840 s: VISS REMOTE SERVICE: Init ... !!!
    [MCU2_0]     17.502877 s: VISS REMOTE SERVICE: Init ... Done !!!
    [MCU2_0]     17.502896 s: APP: Init ... Done !!!
    [MCU2_0]     17.502908 s: APP: Run ... !!!
    [MCU2_0]     17.502918 s: IPC: Starting echo test ...
    [MCU2_0]     17.502979 s: APP: Run ... Done !!!
    [MCU2_0]     17.503617 s: IPC: Echo status: a530-0[.] main-r5f0-0[s] c75ss0[.] c75ss1[P]
    [MCU2_0]     17.503749 s: IPC: Echo status: a530-0[.] main-r5f0-0[s] c75ss0[P] c75ss1[P]
    [C7x_1 ]      6.681347 s: CIO: Init ... Done !!!
    [C7x_1 ]      6.681365 s: CPU is running FreeRTOS
    [C7x_1 ]      6.681376 s: APP: Init ... !!!
    [C7x_1 ]      6.681386 s: SCICLIENT: Init ... !!!
    [C7x_1 ]      6.681446 s: SCICLIENT: DMSC FW version [9.0.6--w2023.01-j722s (Kool Koa]
    [C7x_1 ]      6.681463 s: SCICLIENT: DMSC FW revision 0x9
    [C7x_1 ]      6.681475 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_1 ]      6.681487 s: SCICLIENT: Init ... Done !!!
    [C7x_1 ]      6.681497 s: UDMA: Init ... !!!
    [C7x_1 ]      6.681507 s: UDMA: Init ... Done !!!
    [C7x_1 ]      6.681518 s: MEM: Init ... !!!
    [C7x_1 ]      6.681531 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 102000000 of size 117440512 bytes !!!
    [C7x_1 ]      6.681557 s: MEM: Init ... Done !!!
    [C7x_1 ]      6.681567 s: IPC: Init ... !!!
    [C7x_1 ]      6.681579 s: IPC: 4 CPUs participating in IPC !!!
    [C7x_1 ]      6.681899 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_1 ]     17.080717 s: IPC: HLOS is ready !!!
    [C7x_1 ]     17.080792 s: IPC: Init ... Done !!!
    [C7x_1 ]     17.080807 s: APP: DEBUG : appIpcInit J722S... !!!
    [C7x_1 ]     17.080819 s: APP: Syncing with 3 CPUs ... !!!
    [C7x_1 ]     17.493003 s: APP: Syncing with 3 CPUs ... Done !!!
    [C7x_1 ]     17.493022 s: REMOTE_SERVICE: Init ... !!!
    [C7x_1 ]     17.493732 s: REMOTE_SERVICE: Init ... Done !!!
    [C7x_1 ]     17.493754 s:  VX_ZONE_INIT:Enabled
    [C7x_1 ]     17.493766 s:  VX_ZONE_ERROR:Enabled
    [C7x_1 ]     17.493778 s:  VX_ZONE_WARNING:Enabled
    [C7x_1 ]     17.494713 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-1
    [C7x_1 ]     17.494817 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-1_PRI_2
    [C7x_1 ]     17.494917 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-1_PRI_3
    [C7x_1 ]     17.495016 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-1_PRI_4
    [C7x_1 ]     17.495118 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-1_PRI_5
    [C7x_1 ]     17.495231 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-1_PRI_6
    [C7x_1 ]     17.495344 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-1_PRI_7
    [C7x_1 ]     17.495456 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-1_PRI_8
    [C7x_1 ]     17.495573 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
    [C7x_1 ]     17.495587 s: APP: OpenVX Target kernel init ... !!!
    [C7x_1 ]     17.495957 s: APP: OpenVX Target kernel init ... Done !!!
    [C7x_1 ]     17.495979 s: APP: Init ... Done !!!
    [C7x_1 ]     17.495989 s: APP: Run ... !!!
    [C7x_1 ]     17.496000 s: IPC: Starting echo test ...
    [C7x_1 ]     17.496133 s: APP: Run ... Done !!!
    [C7x_1 ]     17.504012 s: IPC: Echo status: a530-0[.] main-r5f0-0[P] c75ss0[s] c75ss1[.]
    [C7x_1 ]     17.504055 s: IPC: Echo status: a530-0[.] main-r5f0-0[P] c75ss0[s] c75ss1[P]
    [C7x_2 ]      7.216161 s: CIO: Init ... Done !!!
    [C7x_2 ]      7.216180 s: CPU is running FreeRTOS
    [C7x_2 ]      7.216192 s: APP: Init ... !!!
    [C7x_2 ]      7.216201 s: SCICLIENT: Init ... !!!
    [C7x_2 ]      7.216260 s: SCICLIENT: DMSC FW version [9.0.6--w2023.01-j722s (Kool Koa]
    [C7x_2 ]      7.216277 s: SCICLIENT: DMSC FW revision 0x9
    [C7x_2 ]      7.216290 s: SCICLIENT: DMSC FW ABI revision 3.1
    [C7x_2 ]      7.216302 s: SCICLIENT: Init ... Done !!!
    [C7x_2 ]      7.216311 s: UDMA: Init ... !!!
    [C7x_2 ]      7.216321 s: UDMA: Init ... Done !!!
    [C7x_2 ]      7.216331 s: MEM: Init ... !!!
    [C7x_2 ]      7.216343 s: MEM: Created heap (DDR_LOCAL_MEM, id=0, flags=0x00000004) @ 112000000 of size 117440512 bytes !!!
    [C7x_2 ]      7.216369 s: MEM: Init ... Done !!!
    [C7x_2 ]      7.216379 s: IPC: Init ... !!!
    [C7x_2 ]      7.216391 s: IPC: 4 CPUs participating in IPC !!!
    [C7x_2 ]      7.216712 s: IPC: Waiting for HLOS to be ready ... !!!
    [C7x_2 ]     17.337507 s: IPC: HLOS is ready !!!
    [C7x_2 ]     17.337579 s: IPC: Init ... Done !!!
    [C7x_2 ]     17.337594 s: APP: DEBUG : appIpcInit J722S... !!!
    [C7x_2 ]     17.337605 s: APP: Syncing with 3 CPUs ... !!!
    [C7x_2 ]     17.493004 s: APP: Syncing with 3 CPUs ... Done !!!
    [C7x_2 ]     17.493021 s: REMOTE_SERVICE: Init ... !!!
    [C7x_2 ]     17.493148 s: REMOTE_SERVICE: Init ... Done !!!
    [C7x_2 ]     17.493170 s:  VX_ZONE_INIT:Enabled
    [C7x_2 ]     17.493184 s:  VX_ZONE_ERROR:Enabled
    [C7x_2 ]     17.493196 s:  VX_ZONE_WARNING:Enabled
    [C7x_2 ]     17.493939 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-2
    [C7x_2 ]     17.494042 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-2_PRI_2
    [C7x_2 ]     17.494142 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-2_PRI_3
    [C7x_2 ]     17.494240 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-2_PRI_4
    [C7x_2 ]     17.494337 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-2_PRI_5
    [C7x_2 ]     17.494443 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-2_PRI_6
    [C7x_2 ]     17.494545 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-2_PRI_7
    [C7x_2 ]     17.494693 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target DSP_C7-2_PRI_8
    [C7x_2 ]     17.494718 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
    [C7x_2 ]     17.494731 s: APP: OpenVX Target kernel init ... !!!
    [C7x_2 ]     17.495270 s: APP: OpenVX Target kernel init ... Done !!!
    [C7x_2 ]     17.495343 s: APP: Init ... Done !!!
    [C7x_2 ]     17.495355 s: APP: Run ... !!!
    [C7x_2 ]     17.495369 s: IPC: Starting echo test ...
    [C7x_2 ]     17.495574 s: APP: Run ... Done !!!
    [C7x_2 ]     17.503724 s: IPC: Echo status: a530-0[.] main-r5f0-0[P] c75ss0[.] c75ss1[s]
    [C7x_2 ]     17.503925 s: IPC: Echo status: a530-0[.] main-r5f0-0[P] c75ss0[P] c75ss1[s]
    
    root@j722s-evm:/opt/vision_apps#
    root@j722s-evm:/opt/vision_apps#
    root@j722s-evm:/opt/vision_apps# ./run_app_single_cam.sh
    APP: Init ... !!!
    MEM: Init ... !!!
    MEM: Initialized DMA HEAP (fd=5) !!!
    MEM: Init ... Done !!!
    IPC: Init ... !!!
    IPC: Init ... Done !!!
    REMOTE_SERVICE: Init ... !!!
    REMOTE_SERVICE: Init ... Done !!!
       167.246190 s: GTC Frequency = 200 MHz
    APP: Init ... Done !!!
       167.260656 s:  VX_ZONE_INIT:Enabled
       167.260704 s:  VX_ZONE_ERROR:Enabled
       167.260714 s:  VX_ZONE_WARNING:Enabled
       167.261942 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-0
       167.262104 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-1
       167.262256 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-2
       167.262360 s:  VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-3
       167.262375 s:  VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
       167.265389 s:  VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
    Invalid token [
    ]
    sensor_selection = [0]
    Invalid token [
    ]
    ldc_enable = [0]
    Invalid token [
    ]
    num_frames_to_run = [1000000000]
    Invalid token [
    ]
    is_interactive = [1]
    IttCtrl_registerHandler: command echo registered at location 0
    IttCtrl_registerHandler: command iss_read_2a_params registered at location 1
    IttCtrl_registerHandler: command iss_write_2a_params registered at location 2
    IttCtrl_registerHandler: command iss_raw_save registered at location 3
    IttCtrl_registerHandler: command iss_yuv_save registered at location 4
    IttCtrl_registerHandler: command iss_read_sensor_reg registered at location 5
    IttCtrl_registerHandler: command iss_write_sensor_reg registered at location 6
    IttCtrl_registerHandler: command dev_ctrl registered at location 7
    IttCtrl_registerHandler: command iss_send_dcc_file registered at location 8
     NETWORK: Opened at IP Addr = 0.0.0.0, socket port=5000!!!
    tivxImagingLoadKernels done
       167.284523 s: ISS: Enumerating sensors ... !!!
    [MCU2_0]    167.284600 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_ENUMERATE
    [MCU2_0]    167.284722 s: Write 0x01 to MAX96722 (0x29) successful!!!
    [MCU2_0]    167.284744 s: MAX96722 config start
    [MCU2_0]    167.284930 s: MAX96722: Reg Write 0x040b=0x00
    [MCU2_0]    167.301034 s: MAX96722: Reg Write 0x0006=0xf0
    [MCU2_0]    167.317030 s: MAX96722: Reg Write 0x0010=0x11
    [MCU2_0]    167.333029 s: MAX96722: Reg Write 0x0011=0x11
    [MCU2_0]    167.349031 s: MAX96722: Reg Write 0x08a0=0x04
    [MCU2_0]    167.365033 s: MAX96722: Reg Write 0x00f4=0x0f
    [MCU2_0]    167.381034 s: MAX96722: Reg Write 0x08a3=0xe4
    [MCU2_0]    167.397035 s: MAX96722: Reg Write 0x0415=0x26
    [MCU2_0]    167.413036 s: MAX96722: Reg Write 0x0418=0x26
    [MCU2_0]    167.429038 s: MAX96722: Reg Write 0x041b=0x26
    [MCU2_0]    167.445039 s: MAX96722: Reg Write 0x041e=0x26
    [MCU2_0]    167.461041 s: MAX96722: Reg Write 0x090b=0x07
    [MCU2_0]    167.477041 s: MAX96722: Reg Write 0x092d=0x15
    [MCU2_0]    167.493043 s: MAX96722: Reg Write 0x090d=0x2b
    [MCU2_0]    167.509043 s: MAX96722: Reg Write 0x090e=0x2b
    [MCU2_0]    167.525045 s: MAX96722: Reg Write 0x090f=0x00
    [MCU2_0]    167.541046 s: MAX96722: Reg Write 0x0910=0x00
    [MCU2_0]    167.557047 s: MAX96722: Reg Write 0x0911=0x01
    [MCU2_0]    167.573051 s: MAX96722: Reg Write 0x0912=0x01
    [MCU2_0]    167.589051 s: MAX96722: Reg Write 0x094b=0x07
    [MCU2_0]    167.605052 s: MAX96722: Reg Write 0x096d=0x15
    [MCU2_0]    167.621052 s: MAX96722: Reg Write 0x094d=0x2b
    [MCU2_0]    167.637054 s: MAX96722: Reg Write 0x094e=0x6b
    [MCU2_0]    167.653056 s: MAX96722: Reg Write 0x094f=0x00
    [MCU2_0]    167.669057 s: MAX96722: Reg Write 0x0950=0x40
    [MCU2_0]    167.685057 s: MAX96722: Reg Write 0x0951=0x01
    [MCU2_0]    167.701060 s: MAX96722: Reg Write 0x0952=0x41
    [MCU2_0]    167.717060 s: MAX96722: Reg Write 0x098b=0x07
    [MCU2_0]    167.733062 s: MAX96722: Reg Write 0x09ad=0x15
    [MCU2_0]    167.749063 s: MAX96722: Reg Write 0x098d=0x2b
    [MCU2_0]    167.765064 s: MAX96722: Reg Write 0x098e=0xab
    [MCU2_0]    167.781067 s: MAX96722: Reg Write 0x098f=0x00
    [MCU2_0]    167.797067 s: MAX96722: Reg Write 0x0990=0x80
    [MCU2_0]    167.813069 s: MAX96722: Reg Write 0x0991=0x01
    [MCU2_0]    167.829069 s: MAX96722: Reg Write 0x0992=0x81
    [MCU2_0]    167.845071 s: MAX96722: Reg Write 0x09cb=0x07
    [MCU2_0]    167.861071 s: MAX96722: Reg Write 0x09ed=0x15
    [MCU2_0]    167.877073 s: MAX96722: Reg Write 0x09cd=0x2b
    [MCU2_0]    167.893074 s: MAX96722: Reg Write 0x09ce=0xeb
    [MCU2_0]    167.909076 s: MAX96722: Reg Write 0x09cf=0x00
    [MCU2_0]    167.925077 s: MAX96722: Reg Write 0x09d0=0xc0
    [MCU2_0]    167.941078 s: MAX96722: Reg Write 0x09d1=0x01
    [MCU2_0]    167.957079 s: MAX96722: Reg Write 0x09d2=0xc1
    [MCU2_0]    167.973081 s: MAX96722: Reg Write 0x0006=0xff
    [MCU2_0]    168.073090 s: MAX96722: Reg Write 0x0003=0xaa
    [MCU2_0]    168.089090 s: MAX96722: Reg Write 0x08a2=0xf4
    [MCU2_0]    168.105092 s: MAX96722: Reg Write 0x08a0=0x84
       168.121220 s: ISS: Enumerating sensors ... found 0 : OX03F-MAX96717F_D3
       168.121248 s: ISS: Enumerating sensors ... found 1 : IMX390-UB953_D3
       168.121265 s: ISS: Enumerating sensors ... found 2 : AR0233-UB953_MARS
       168.121274 s: ISS: Enumerating sensors ... found 3 : AR0820-UB953_LI
       168.121283 s: ISS: Enumerating sensors ... found 4 : UB9xxx_RAW12_TESTPATTERN
       168.121292 s: ISS: Enumerating sensors ... found 5 : UB96x_UYVY_TESTPATTERN
       168.121300 s: ISS: Enumerating sensors ... found 6 : GW_AR0233_UYVY
    Select camera port index 0-11 : [MCU2_0]    168.121093 s: MAX96722: Reg Write 0xffff=0x00
    [MCU2_0]    168.121104 s: End of MAX96722 config
    0a
    7 registered sensor drivers
    a : OX03F-MAX96717F_D3
    b : IMX390-UB953_D3
    c : AR0233-UB953_MARS
    d : AR0820-UB953_LI
    e : UB9xxx_RAW12_TESTPATTERN
    f : UB96x_UYVY_TESTPATTERN
    g : GW_AR0233_UYVY
    Select a sensor above or press '0' to autodetect the sensor : Sensor selected : OX03F-MAX96717F_D3
    LDC Selection Yes(1)/No(0) : LDC Selection Yes(1)/No(0) : 0
    CAC Selection Yes(1)/No(0) : CAC Selection Yes(1)/No(0) : 0
    app_init done
    Querying OX03F-MAX96717F_D3
       178.480743 s: ISS: Querying sensor [OX03F-MAX96717F_D3] ... !!!
       178.480892 s: ISS: Querying sensor [OX03F-MAX96717F_D3] ... Done !!!
    WDR mode is supported
    Expsoure control is supported
    Gain control is supported
    obj->aewb_cfg.ae_mode = 0
    obj->aewb_cfg.awb_mode = 0
    Sensor DCC is enabled
    Sensor width = 1920
    Sensor height = 1536
    Sensor DCC ID = 315
    Sensor Supported Features = 0x378
    Sensor Enabled Features = 0x158
       178.480957 s: ISS: Initializing sensor [OX03F-MAX96717F_D3], doing IM_SENSOR_CMD_PWRON ... !!!
       178.481078 s: ISS: Initializing sensor [OX03F-MAX96717F_D3], doing IM_SENSOR_CMD_CONFIG ... !!!
    [MCU2_0]    178.480803 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_QUERY
    [MCU2_0]    178.480822 s: Received Query for OX03F-MAX96717F_D3
    [MCU2_0]    178.480987 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_PWRON
    [MCU2_0]    178.481003 s: IM_SENSOR_CMD_PWRON : channel_mask = 0x1
    [MCU2_0]    178.481033 s: OX03F_PowerOn : chId = 0x0
    [MCU2_0]    178.481110 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_CONFIG
    [MCU2_0]    178.481125 s: Application requested features = 0x158
    [MCU2_0]
    [MCU2_0]    178.481140 s: Disabling broadcast mode
    [MCU2_0]    178.481152 s: MAX96722 config start
    [MCU2_0]    178.481162 s: End of MAX96722 config
    [MCU2_0]    178.481172 s: MAX96722 config start
    [MCU2_0]    178.481182 s: End of MAX96722 config
    [MCU2_0]    178.481193 s: IM_SENSOR_CMD_CONFIG channel_mask = 1
    [MCU2_0]    178.481210 s: OX03F_Probe
    [MCU2_0]    178.481239 s: Configuring Alias on MAX96722 CHID: 0, link 0 Config
    [MCU2_0]    178.481456 s: MAX96722 link:0x00
    [MCU2_0]    178.481468 s: MAX96722 config start
    [MCU2_0]    178.481643 s: MAX96722: Reg Write 0x0006=0xf1
    [MCU2_0]    178.481923 s: MAX96722: Reg Write 0xffff=0x00
    [MCU2_0]    178.481935 s: End of MAX96722 config
    [MCU2_0]    178.481953 s: MAX96722 curlink 0xf1
    [MCU2_0]    178.482331 s: max96722InstanceId 0 ,MAX96717f_SetSerAlias : SER_0_I2C_ADDR : 0x82
    [MCU2_0]    178.482347 s: max96717f config start : slaveAddr = 0x41
    [MCU2_0]    178.482527 s:  MAX96717f: Reg Write 0x02be=0x80
    [MCU2_0]    178.491924 s:  MAX96717f: Reg Write 0x0383=0x00
    [MCU2_0]    178.501925 s:  MAX96717f: Reg Write 0x0318=0x6b
    [MCU2_0]    178.756944 s:  MAX96717f: Reg Write 0x03f1=0x09
    [MCU2_0]    178.766945 s:  MAX96717f: Reg Write 0x03f0=0x59
    [MCU2_0]    178.776946 s:  MAX96717f: Reg Write 0x0570=0x1c
    [MCU2_0]    178.808949 s:  MAX96717f: Reg Write 0x02c7=0x81
    [MCU2_0]    178.818949 s:  MAX96717f: Reg Write 0x02cd=0x81
    [MCU2_0]    178.828950 s:  MAX96717f: Reg Write 0x02d6=0x81
    [MCU2_0]    178.838949 s:  MAX96717f: Reg Write 0x02be=0x90
    [MCU2_0]    178.848952 s:  MAX96717f: Reg Write 0x0330=0x00
    [MCU2_0]    178.858953 s:  MAX96717f: Reg Write 0x0331=0x33
    [MCU2_0]    178.868953 s:  MAX96717f: Reg Write 0xffff=0x00
    [MCU2_0]    178.868965 s:  End of MAX96717f config
    [MCU2_0]    178.869320 s: MAX96717_SetSensorAlias : max96722InstanceId 0, SENSOR_0_I2C_ADDR : 0x10
    [MCU2_0]    178.869558 s: OX03F_Probe SUCCESS : Read expected value 0x58 at chip ID register 0x300a
    [MCU2_0]    178.869578 s: Configuring camera # 0
    [MCU2_0]    178.869608 s: MAX96722_SetSensorAlias : max96722InstanceId 0
    [MCU2_0]    178.869622 s: max96717f config start : slaveAddr = 0x41
    [MCU2_0]    178.869816 s:  MAX96717f: Reg Write 0x02be=0x80
    [MCU2_0]    178.879972 s:  MAX96717f: Reg Write 0x0383=0x00
    [MCU2_0]    178.889970 s:  MAX96717f: Reg Write 0x0318=0x6b
    [MCU2_0]    179.144992 s:  MAX96717f: Reg Write 0x03f1=0x09
    [MCU2_0]    179.154991 s:  MAX96717f: Reg Write 0x03f0=0x59
    [MCU2_0]    179.164993 s:  MAX96717f: Reg Write 0x0570=0x1c
    [MCU2_0]    179.196995 s:  MAX96717f: Reg Write 0x02c7=0x81
    [MCU2_0]    179.206995 s:  MAX96717f: Reg Write 0x02cd=0x81
    [MCU2_0]    179.216997 s:  MAX96717f: Reg Write 0x02d6=0x81
    [MCU2_0]    179.226997 s:  MAX96717f: Reg Write 0x02be=0x90
    [MCU2_0]    179.236997 s:  MAX96717f: Reg Write 0x0330=0x00
    [MCU2_0]    179.246998 s:  MAX96717f: Reg Write 0x0331=0x33
    [MCU2_0]    179.256999 s:  MAX96717f: Reg Write 0xffff=0x00
    [MCU2_0]    179.257010 s:  End of MAX96717f config
    [MCU2_0]    179.257039 s:  Configuring OX03F imager 0x10.. Please wait till it finishes
       182.514215 s: ISS: Initializing sensor [OX03F-MAX96717F_D3] ... Done !!!
    Creating graph
    Initializing params for capture node
    [MCU2_0]    182.514088 s:  OX03F config done
    [MCU2_0]    182.514102 s: IM_SENSOR_CMD_CONFIG returning status = 0
    capture_config = 0x0xffff9258ea10
    Creating capture node
    obj->capture_node = 0x0xffff924ffa68
    read_test_image_raw : Unable to open file /opt/vision_apps/test_data/img_test.raw
    app_create_viss : sensor_dcc_id = 315
    Enabling CSI-TX
    vxSetGraphScheduleConfig done
    [MCU2_0]    186.547047 s:  return DCC_GET_OK
    [MCU2_0]    186.547145 s: return DCC_GET_OK
    [MCU2_0]    186.547170 s: return DCC_GET_OK
    [MCU2_0]    186.547201 s: return DCC_GET_OK
    [MCU2_0]    186.547233 s: return DCC_GET_OK
    [MCU2_0]    186.547269 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.547289 s: return DCC_GET_OK
    [MCU2_0]    186.547304 s: return DCC_GET_OK
    [MCU2_0]    186.547395 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.547421 s: return DCC_GET_OK
    [MCU2_0]    186.547450 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.547471 s: return DCC_GET_OK
    [MCU2_0]    186.547601 s: return DCC_GET_OK
    [MCU2_0]    186.547627 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.547651 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.547674 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.547698 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.547722 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.547745 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.547769 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.547793 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549092 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549137 s: return DCC_GET_OK
    [MCU2_0]    186.549156 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549173 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549188 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549202 s: return DCC_GET_OK
    [MCU2_0]    186.549579 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549600 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549615 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549630 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549645 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549660 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549675 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549689 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549704 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549719 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549734 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549749 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549763 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549778 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.549794 s: return DCC_GET_ERR_NO_SUCH_DCC
    app_create_graph exiting
    app_create_graph done
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice:
    Unsupported command
    
       186.566101 s: ISS: Starting sensor [OX03F-MAX96717F_D3] ... !!!
    
    
     ==========================
     Demo : Single Camera w/ 2A
     ==========================
    
     p: Print performance statistics
    
     s: Save Sensor RAW, VISS Output and H3A output images to File System
    
     e: Export performance statistics
    
     u: Update DCC from File System
    
    
     x: Exit
    
     Enter Choice: [MCU2_0]    186.566174 s: ImageSensor_RemoteServiceHandler: IM_SENSOR_CMD_STREAM_ON
    [MCU2_0]    186.566208 s: IM_SENSOR_CMD_STREAM_ON:  channel_mask = 0x1
    [MCU2_0]    186.566226 s: MAX96722 config start
    [MCU2_0]    186.566238 s: End of MAX96722 config
    [MCU2_0]    186.566254 s: disableMAX96722bBroadcast(0)
    [MCU2_0]    186.566267 s: MAX96722 config start
    [MCU2_0]    186.566277 s: End of MAX96722 config
    [MCU2_0]    186.566290 s: disableMAX96722bBroadcast(1)
    [MCU2_0]    186.566304 s: IssSensor_Start
    [MCU2_0]    186.586650 s: OX03F_StreamOn : frame count : 203
    [MCU2_0]    186.686653 s: OX03F_StreamOn : 96717f Read: 0x005B=02
    [MCU2_0]    186.686902 s: OX03F_StreamOn : 96717f Read: 0x0112=0a
    [MCU2_0]    186.687147 s: OX03F_StreamOn : 96717f Read: 0x55f=01
       186.787468 s: ISS: Starting sensor [OX03F-MAX96717F_D3] ... Done !!!
    vxGraphParameterEnqueueReadyRef 0
    vxGraphParameterEnqueueReadyRef 0
    vxGraphParameterEnqueueReadyRef 0
    vxGraphParameterEnqueueReadyRef 0
    [MCU2_0]    186.786654 s: OX03F_StreamOn : 96717f Read: 0x55f=01
    [MCU2_0]    186.786899 s: OX03F_StreamOn : 96722 Read: 0x108=62
    [MCU2_0]    186.787143 s: OX03F_StreamOn : 96722 Read: 0x1dc=81
    [MCU2_0]    186.787385 s: OX03F_StreamOn : frame count : 209
    get_dcc_dir_data : /opt/vision_apps/dcc/OX03F-MAX96717F_D3/wdr
    read 37036 bytes from dcc_2a_wdr.bin
    read 135088 bytes from dcc_ldc_wdr.bin
    read 34819 bytes from dcc_viss_wdr.bin
    [MCU2_0]    186.806181 s: return DCC_GET_OK
    [MCU2_0]    186.806259 s: return DCC_GET_OK
    [MCU2_0]    186.806285 s: return DCC_GET_OK
    [MCU2_0]    186.806319 s: return DCC_GET_OK
    [MCU2_0]    186.806352 s: return DCC_GET_OK
    [MCU2_0]    186.806387 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.806408 s: return DCC_GET_OK
    [MCU2_0]    186.806428 s: return DCC_GET_OK
    [MCU2_0]    186.806548 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.806574 s: return DCC_GET_OK
    [MCU2_0]    186.806606 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.806629 s: return DCC_GET_OK
    [MCU2_0]    186.806820 s: return DCC_GET_OK
    [MCU2_0]    186.806847 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.806872 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.806896 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.806921 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.806946 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.806970 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.806995 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.807020 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.807652 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.807682 s: return DCC_GET_OK
    [MCU2_0]    186.807699 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.807715 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.807731 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.807744 s: return DCC_GET_OK
    [MCU2_0]    186.808126 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808146 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808163 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808178 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808194 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808210 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808226 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808242 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808258 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808274 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808289 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808305 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808320 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808336 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    186.808352 s: return DCC_GET_ERR_NO_SUCH_DCC
    [MCU2_0]    187.287468 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.320472 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.353475 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.386478 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.419479 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.452482 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.485485 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.518487 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.551491 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.584494 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.617495 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.650499 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.683502 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.716504 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.749506 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.782509 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.815512 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.848515 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.881517 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.914520 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.947522 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    187.980525 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.013528 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.046530 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.079533 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.112536 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.145538 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.178542 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.211544 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.244547 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.277548 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.310551 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.343555 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.376556 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.409559 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.442562 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.475565 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.508568 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.541569 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.574573 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.607575 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.640578 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.673581 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.706584 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.739585 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.772588 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.805590 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.838593 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.871597 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.904600 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.937601 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    188.970604 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.003607 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.036609 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.069613 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.102615 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.135617 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.168621 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.201623 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.234625 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.267629 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.300630 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.333632 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.366636 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.399640 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.432640 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.465644 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.498646 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.531648 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.564652 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.597654 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.630656 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.663660 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.696662 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.729664 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.762667 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.795670 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.828672 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.861676 s: RTOS DPL ERROR: Semaphore wait failed. Timeout expired.
    [MCU2_0]    189.894679 s: RTOS DPL ERROR: Semaphore wait failed.[  179.604405] virtio_rpmsg_bus virtio2: msg received with no recipient
    ^C
    Clean up and exit while handling signal 2
    Application did n[  179.611776] virtio_rpmsg_bus virtio2: msg received with no recipient
    ot close some rpmsg_char devices
    [  179.637392] virtio_rpmsg_bus virtio2: msg received with no recipient
    [MCU2_0]    189.927681 s: RTOS DPL ERROR: Semaphore wait failed.[  179.643845] virtio_rpmsg_bus virtio2: msg received with no recipient
     Timeout expired.
    root@j722s-evm:/opt/vision_apps#
    

  • Hi Xingyu,

    On which SDK release are you seeing this issue? 

    Regards,

    Brijesh

  • Hi Brijesh,

    Customer is using 9.2 SDK. Linux + RTOS

  • Hi Xingyu,

    Can you please make a small change in the CSIRX driver, rebuild the SDK and try it out?

    In CsirxDrv_udmaCQEventCb API of CSIRX driver, please replace below code

     

                                /* Re-program dim0 and destination buffer */
                                pTr = (CSL_UdmapTR1 *)((uint8_t *)qObj->trpd +
                                                       sizeof(CSL_UdmapTR15));

     with

     

                               pTr = UdmaUtils_getTrpdTr1Pointer((uint8_t*)qObj->trpd, 0U);

    Regards,

    Brijesh

  • Hi Brijesh,

    Thanks for your reply. Our customer has done the replacement, but the issue is still the same. Maybe it is not caused by CSI-TX. Could you please help to check?

  • Hi Xingyu,

    Does YUV420 output work fine? and is the issue only with YUV422 output? 

    There was a fix in csitx in SDK9.2 release, can you please try this change?

    In kernels/video_io/host/vx_csitx_host.c file, in tivx_csitx_params_init APIm can you please add below highlighted code,

    #if defined(SOC_J721S2) || defined(SOC_J784S4)
    prms->instCfg[loopCnt].fifoDepth = 256U;
    #elif defined(SOC_J721E)
    prms->instCfg[loopCnt].fifoDepth = 128U;
    #elif defined(SOC_J722S)

    prms->instCfg[loopCnt].fifoDepth = 192U;

    #endif
     

    Regards,

    Brijesh