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.

AM62A7-Q1: How to check MIPI D-PHY Skew calibration result?

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

Tool/software:

Hi,

In the MIPI DPHY of the AM62A7, I am using a data receive rate of 1.5G, I observed an error in the received data, I suspect that the RX side is not entering the de-skewed state.

On the MIPI-RX side of the AM62A7 chip, how should I check if it is currently in the deskewed state?

Thanks,

Yuwei

  • Hello Yuwei

    Thank you for the query.

    Let me review the query and comeback.

    Regards,

    Sreenivasa

  • Hello Yuwei

    Not sure if you have looked at these registers.

    14.9.6.2 DPHY_RX Registers
    Table 14-24055. DPHY_RX0_VBUS2APB_WRAP_VBUSP_K3_DPHY_RX,
    DPHY_RX0_VBUS2APB_WRAP_VBUSP_K3_DPHY_RX Registers, Base Address=3011 0000H,

    Please review as i check internally with the expert.

    Regards,

    Sreenivasa

  • Hello Yuwei

    I am assigning to the expert to support further.

    Regards,

    Sreenivasa

  • Hi Yuwei,

    Can you advise what bits 1:0 of 0x301102B8 address read?

    Best regards,

    Luis Parga

  • Hi Luis,

    The value I read at address  0x301102B8 is: 0x00010020.

    Does this mean that the deskew mode was not entered correctly?

    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x301102b8
    /dev/mem opened.
    Memory mapped at address 0xffff9bd6f000.
    Read at address  0x301102B8 (0xffff9bd6f2b8): 0x00010020
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x301102b8
    /dev/mem opened.
    Memory mapped at address 0xffffa6908000.
    Read at address  0x301102B8 (0xffffa69082b8): 0x00010020
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x301102b8
    /dev/mem opened.
    Memory mapped at address 0xffff9a176000.
    Read at address  0x301102B8 (0xffff9a1762b8): 0x00010020
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x301102b8
    /dev/mem opened.
    Memory mapped at address 0xffffac590000.
    Read at address  0x301102B8 (0xffffac5902b8): 0x00010020
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x301102b8
    /dev/mem opened.
    Memory mapped at address 0xffff8051d000.
    Read at address  0x301102B8 (0xffff8051d2b8): 0x00010020
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x301102b8
    /dev/mem opened.
    Memory mapped at address 0xffff8b712000.
    Read at address  0x301102B8 (0xffff8b7122b8): 0x00010020
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x301102b8
    /dev/mem opened.
    Memory mapped at address 0xffff8227d000.
    Read at address  0x301102B8 (0xffff8227d2b8): 0x00010020
    root@am62axx-evm:/opt/edgeai-gst-apps# devmem2 0x301102b8
    /dev/mem opened.
    Memory mapped at address 0xffffb8f33000.
    Read at address  0x301102B8 (0xffffb8f332b8): 0x00010020
    

    Sometimes my camera displays a scrambled screen, and ECC error detection fails.

    What suggestions do you have for solving this problem?

    Thanks,

    Yuwei

  • Thanks Yuwei,

    It is possible deskew mode has not been entered correctly. Can you advise what the registers suggested by Sreenivasa read also? Is your camera sensor sending the initial deskew calibration sequence? Do the deskew calibration requirements of the TX side meet the minimum requirements of the RX side? Is it possible that the scrambled screen on the camera means a periodic deskew pattern also needs to be sent?

    Best regards,

    Luis Parga

  • Hi Luis,

    The problem has been solved, thanks for your help.

    Thanks,

    Yuwei

  • Hello Yuwei

    Thank you for the note. Appreciated.

    Are you able to add a couple of sentences on the resolution that can help wider E2E users

    Regards,

    Sreenivasa

  • Hi,Kallikuppa

    After troubleshooting the problem, we found that it might be an issue with the MIPI bandwidth. The problem was resolved after we reduced the camera’s frame rate.

    Thanks,

    Yuwei

  • Hello Yuwei

    Thank you for the inputs.

    Regards,

    Sreenivasa