J722SXH01EVM: J722S: System hangs at vxVerifyGraph with CSITx node

Part Number: J722SXH01EVM
Other Parts Discussed in Thread: SYSCONFIG

Hi Team, 

Description:

I am currently working on a custom j722s EVM application based on the app_single_cam demo within the Vision Apps framework.
I have a basic pipeline that works correctly when the output is directed to a Display node. However, when I replace the Display node with a CSITx node to transmit the processed video stream, the application hangs indefinitely during the vxVerifyGraph call. 


System Pipeline Configuration: 

  1. Successful Configuration
    [IMX219] -> [VISS] -> [LDC] -> [MSC] -> [ColorConverter] -> [Display Node]
  2.  
    Failing Configuration 

    [IMX219] -> [VISS] -> [LDC] -> [MSC] -> [ColorConverter] -> [CSITx Node

 

Detailed Issue
The application stops responding at status = vxVerifyGraph(obj->graph);. After further debugging, I have traced the hang to the following call stack:

  • vxVerifyGraph
    • ownGraphNodeKernelInit
      • ownNodeKernelInit
        • ownContextSendCmd
          • ownObjDescSend (Success)
          • tivxEventWait (Hang - never returns)

It appears that the CSITx node initialization command is sent to the target core, but the host is waiting indefinitely for an acknowledgment or event completion that never arrives.


I would appreciate any guidance on how to resolve this hang or further debug the CSITx node status on the remote core. 

 

Attachments

  1. app_single_cam_main.c
  2. app.log 

 

 

 

 

  • Hi,

    Have you powered on CSITX? I am suspecting that due to it not being powered on, core is crashing on accessing CSITX register and so verify graph is crashing.. I really doubt it is powered on explicitly in the vision apps, so can you please add the code to power on CSITX and then check the output? 

    Regards,

    Brijesh

  • Hi,

    Thanks for your comment, and apologies if this is a basic question.

    According to the app log, appCsi2TxInit (CSI2TX init) is executed and completes successfully (Init … Done). Based on this, it seems the initial power/clock setup is already done.

    In this case, is there any additional step required to fully enable CSITx beyond appCsi2TxInit?

  • Hi Joonki,

    For csitx you have to enable it in sysconfig file, have you done that ?

    By default csitx is powered off and these appCsiTxInit() functions is not taking care of turning on the csitx modeule.

    Regards,
    Gokul



  • Hi,

    I was able to resolve the issue.

    Based on the guidance from Brijesh and Gokul, I checked the sysconfig settings related to CSITX power configuration.

    I found that the DSI configurations were not set at all. After updating the sysconfig with the required settings, the CSITx node is now working correctly and the issue is resolved.

    Special thanks to Brijesh and Gokul for their guidance.

    Regards,