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.

TDA4VM: TDA4VM: TDA4 CSIRX receiving camera data problem

Part Number: TDA4VM

hi,all

  I had the same problem, e2e.ti.com/.../933985

  Since the capture node has no frame rate, we started to debug the underlying driver pdk. In the function CsirxDrv_udmaCQEventCb, we found that it was stuck in the frame loss condition. The data address obtained in the FVID driver is consistent with the data address when the frame is lost. Please help analyze Cause of the problem.

  The following is the judgment when the function CsirxDrv_udmaCQEventCb loses frame. file location in psdk_rtos_auto_j7_06_02_00_21/pdk/packages/ti/drv/csirx/src/csirx_drvUdma.c
Looking forward to your reply!
Regards
  • Hi donny,

    This essentially means that driver is running out of buffers and so dropping the frames. Can you please make sure to provide enough buffers to the CSIRX node? 

    Can you also check if any of your node in the chain is running slower? 

    Regards,

    Brijesh

  • Hi Brijesh,

    I did the following tests:

    Reference results printing:

    The TDA4 UDMA has received four pictures, but the app_multi_cam didn't receive it, Next, all received data is dropping the frames.

    what could be the solution of this issue?

    Regards,

    Donny

  • Hi Donny,

    I am sorry i am not able to understand from the shared screen shots. 

    Which SDK release are you using? Are you seeing any error frames, ie code going under "if ((CSL_REG32_RD(pTrResp) & 0xFU) != 0U)" statement? 

    Can you put breakpoint on the capture callback and see if it is called? Also is the capture output set as graph parameter in the application? Then can you make sure to enqueue it back once it is dequeued?

    Regards,

    Brijesh