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-J721S2: CSIRX Error event callback

Part Number: PROCESSOR-SDK-J721S2

Tool/software:

Following version used for J721S2 platform:

PSDK - 10.01

QNX710

Query1:

Application registers CSIRX events using IOCTL_CSIRX_REGISTER_EVENT. Using this Application register for errorgroup (CSIRX_EVENT_GROUP_ERROR) with error mask CSIRX_EVENT_TYPE_ERR_ALL.

We would like to understand how to simulate the behavior to trigger error callback from Driver level. Is there a way we can inject this error and get call back from Driver.

Query2: 

Same way when frame is deque using Fvid2_dequeue, we retrieve Fvid2_Frame with status. This could provide certain failures like FVID2_FRAME_STATUS_PENDING, FVID2_FRAME_STATUS_ERROR etc.

Do we have a way to simulate this errors as well from Driver level?

We need this information to verify safety check flow when these errors are detected.

  • Query1:

    Application registers CSIRX events using IOCTL_CSIRX_REGISTER_EVENT. Using this Application register for errorgroup (CSIRX_EVENT_GROUP_ERROR) with error mask CSIRX_EVENT_TYPE_ERR_ALL.

    We would like to understand how to simulate the behavior to trigger error callback from Driver level. Is there a way we can inject this error and get call back from Driver.

    most of these errors are coming from the incoming stream, so please check your sensor can output such errors to simulate these errors. 

    Query2: 

    Same way when frame is deque using Fvid2_dequeue, we retrieve Fvid2_Frame with status. This could provide certain failures like FVID2_FRAME_STATUS_PENDING, FVID2_FRAME_STATUS_ERROR etc.

    Do we have a way to simulate this errors as well from Driver level?

    I think there are only two status here, short frame or long frame. Short frame error could be generated by programming large size than what is received and long frame error could be generated by programming small size that what is received.. So provide size to the driver accordingly. 

    Regards,

    Brijesh