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-Q1: CSI RX integrity and protocol error flagging

Part Number: TDA4VM-Q1
Other Parts Discussed in Thread: TDA4VM

Hello,

The TDA4VM TRM refers to some status bits such as ASF_INTEGRITY_ERR and ASF_PROTOCOL_ERR but provides no additional information about these errors.

My customer is specifically interested in understanding if there is a way for the CSI receiver to detect that a frame is incomplete or incorrect, and if on top of reporting the error, the CSI RX module replaces the erroneous data by e.g. pixels set to 0, or any other processing.

Thank you.


Best regards,
François.

  • Hi François,

                 These ASF interrupts will not help to detect incomplete OR incorrect frames.

    You can do following to detect improper image:

    1. For Incomplete frame
      1. This will returned as "Frm->status" during 'Fvid2_dequeue()' API call
      2. This will not be 'FVID2_FRAME_STATUS_COMPLETED' for incomplete frames
    2. For incorrect frames
      1. There could be multiple ways in which this can be manifested
      2. If you receive a complete frame but with wrong data, these kind of errors, can be identified by dumping the frame and then looking at them manually/visually
      3. If some error happened during reception and due to this frame data got corrupted or something, this can be known from this 'CSI_RX_IF_VBUS2APB_ERROR_IRQS' register

     

    Thanks & Regards,
    Vivek Dhande.

    Texas Instruments (India) Pvt Ltd