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.

DS90UB964-Q1EVM: 964 913 CRC error

Part Number: DS90UB964-Q1EVM
Other Parts Discussed in Thread: DS90UB913A-Q1,

Hi,

I am using 964evm and 913, and an image sensor.

There are CRC errors with the reg 0xc and 0xa of  913.

Can anyone help me with this?

  • Output format of the image sensor is YUV422 8bit 1280x720
    For DT of the CSI2 of 964, I write 0x1c to RW12_ID.
    I get the value of LIN_LEN of 964 is 0xf00, which is 3840.
    According to the specification of CSI-2, the Data Size of YUV422 8bit should be 32bits for each two pixels.
    Is there any wrong with this?
  • Hi,

    1. For CRC, please reset it after power-on, then check the CRC counter register again;

    2. please refer to page23 in UB964 user guide http://www.ti.com/lit/ug/snlu177/snlu177.pdf. as you use YUB422_8_8, the register 0x70 should be set 0x1E based on  MIPI spec., while in our example, the 0x70 is assigned as 0x1F for 10bits mode.

    best regards,

    Steven

  • Hi Steven,
    Thank you for your time!
    1. After I reset the 913, the CRC error gone, but it will be CRC error again in a seconds.
    2. The DT I use is 0x1E. If I change the DT, the LINE_LEN of 964 is still 0xf00 (RAW12 HF mode). I'm wondering which factor determines the LINE_LEN?

    If I use the RAW10 mode, the LINE_LEN of DS90UB964 is 4260.
    If I use the RAW12 LF mode, the LINE_LEN of DS90UB964 is 2558(It is not the same each time the board powered on. It may be 2559 or 2565).
    The LINE_LEN won't change with different DT value in RAWx_ID.
  • Hi,
    1. please check the link media, does the cable be qualified? it seems your link has bit error. does the lock in UB964 is always high? please try to improve the link performance to catch the IC spec.
    2. Please don't set the register for RAW12. if you use 1280x720@ YUV422-8-8, the LINE-Len is 2560.


    best regards,
    Steven
  • Hi Steven,
    Thank you !
    1. Use another cable, the crc error gone.
    2. The image sensor and DS90UB913A-Q1 are provided by a third supplier. They said they have tested the 913 with 914 successfully. The mode they used was RAW12 HF.
    I am testing it with DS90UB964-Q1EVM, but the LINE_LEN is not correct as I said before. Can you give me some suggestion?
    Thanks!
    Best Regards,
    JT

  • JT,
    that sounds good.
    please check the d/s of UB964, you need set UB964's mode_sel as 12bit HF mode, then you need set the register RAW12 of UB964 in the correct mode. thanks.

    best regards,
    Steven