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.

PROCESSOR-SDK-DRA8X-TDA4X: AR0233 in built ISP Capture display usecase issue

Part Number: PROCESSOR-SDK-DRA8X-TDA4X

Hi,

I am trying to develop an application with camera and display node as i am using AR0233 in built ISP sensor.

I referred test_capture_display.c and modified single camera app by just keeping capture and display node. I also modified SerDes registers in imaging part.

I modified setting data format to FVID2_DF_YUV422I_UYVY in tiovx\kernels_j7\hwa\capture\vx_capture_target.c and VX_DF_IMAGE_UYVY in single camera app but not getting frames and application keeps waiting at vxGraphParameterDequeueDoneRef() only.

Please guide me to resolve issue.

Regards,

Prashant

  • Hi Prashant,

    Please refer to FAQ . This explains how to change multi-cam example for YUV sensor. In addition to these changes, you might require changes to configure ISP.

    Regards,

    Brijesh

  • Hi Brijesh,

    Thank you for response.

    I have tried that patch for YUV422 input to TDA4X but getting below error during capture graph creation.

    Sensor init done!
    captureObj->params.numDataLanes = 4
    captureObj->params.dataLanesMap[0] = 1
    captureObj->params.dataLanesMap[1] = 2
    captureObj->params.dataLanesMap[2] = 3
    captureObj->params.dataLanesMap[3] = 4
    Capture init done!
    app_init 600 ADDED is_yuv_capture=1
    Img Mosaic init done!
    Display init done!
    App Init Done! 
    Graph create done!
    app_create_graph_capture 260 ADDED
        51.211435 s:  VX_ZONE_ERROR:[vxSetParameterByIndex:228] Supplied value was not actually a reference
        51.211441 s:  VX_ZONE_ERROR:[vxSetParameterByIndex:306] Specified: parameter[1] type:00000000 => (nil)
        51.211447 s:  VX_ZONE_ERROR:[vxSetParameterByIndex:308] Required: parameter[1] dir:1 type:00000813
    app_create_graph_capture 262 ADDED
        51.211456 s:  VX_ZONE_ERROR:[vxGetStatus:700] Reference is NULL
    app_create_graph_capture 264 ADDED
    app_create_graph_capture 266 ADDED
        51.211466 s:  VX_ZONE_ERROR:[vxSetReferenceName:646] Invalid reference
    app_create_graph_capture 268 ADDED
    app_create_graph 720 ADDED
    Capture graph done!

    Please guide me to resolve this issue.

    Regards,

    Prashant

  • Hi Prashant,

    It seems it is giving error while adding some graph parameter. can you please add some debug info and try to figure out for which parameter it is giving error? 

    Rgds,

    Brijesh

  • Hi Brijesh,

    I resolved that issue. Actually there is correction in patch as need to use captureObj->image_arr[q] = vxCreateObjectArray(context, (vx_reference)image, , sensorObj->num_cameras_enabled); instead of  captureObj->image_arr[q] = vxCreateObjectArray(context, (vx_reference)raw_image, , sensorObj->num_cameras_enabled); for yuv capture enable.

    Regards,

    Prashant