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.

DS90UB953A-Q1: Ser-Des Pass-though? CSI-2 -> 953 -> 954 -> CSI-2 is a Tunnel?

Part Number: DS90UB953A-Q1

Hi,

We are trying to understand if CSI-2 frame that receives by Serializer(953) passing-through transparently to CSI-2 interface at Deserializer?

Original CRC that lays within the CSI-2 footer from the Image sensor is removed by Serializer, checked and regenerated on Deserializer side when wrapped a new CSI-2 frame?

Thanks

  • Hello Alon,

    Yes, you can consider 953 like a passthrough for CSI-2 data. It should be unmodified. 

    Best Regards,

    Casey 

  • Hi Casey, thank you for reply.

    I understand that the csi-2 data is passthrough, but what about the original 16crc header? Is it removed on 953 and generated again on 954 side?

  • Hello Alon,

    No it should just be passed through as well. 

    Best Regards,

    Casey 

  • OK Thanks.

    I will explain our approach for the image path integrity : please correct me if I am wrong.

    The Image sensor transmits a CSI-2 frame which contains a Header(ID,WC, ECC), Data (pixels), and Footer (16 CRC).

    1. The Serializer (953) extract the data, computes the CRC and ECC to check for corruption MIPI link. Assuming a default configuration. in case the serializer finds ECC or CRC error, CSI_ERR_STATUS (Address 0x5D)  will be flagged. (953 datasheet, Table 94), ALARM_CSI_EN (Address 0x1C)  default is to set an alarm to the corresponding ECC\CRC error, what is this alarm? 

    CSI-2 Checksum Error Alarm Enable

    2. If case the is CSI-2 checksum error alarm, the CSI-2 frame will be forwarded to Deserializer?

    3. How the 954 Deserializer will react? again, assuming default configuration (PORT_CONFIG (Address 0x6D), "Forward packets with error". the 954 will forward the errored packets with its original CRC?

    Assuming that the CSI-2 frame hs passed through transparently, so we don't have to implement any register reading to ensure the Original frame received as generated by Image sensor?

    We are checking for CRC and ECC only at received CSI from to HOST, we are not checking for 953-954 registers - so we assume that the original CSI header produced by the Image sensor will be passed through to the host, so it is sufficient to do the CRC and ECC comparison in the host side - that will cover the integrity of the link.

    Please confirm that this approach will ensure Imager-Ser-Des-Host link.

  • Hello Alon,

    I believe your understanding here is correct. The 953 will check the CSI-2 packet for ECC/CRC first and flag any errors/alarms like you mentioned. Errored frames at the 953 should be forwarded to the 954 but I do expect this behavior to be very unpredictable because SoT/EoT errors or other protocol errors besides just data bit errors may trigger a while packet not to get recognized. 

    Finally on the 954 side, CSI-2 errored packets are forwarded by default as they were received. This can be disabled with registers to disable forwarding errored packers. I think to be safe, CSI-2 errors should be monitored from the 953/954 as well. 

    Best Regards,

    Casey 

  • Hi Casey. 

    1. "Errored frames at the 953 should be forwarded to the 954 but I do expect this behavior to be very unpredictable because SoT/EoT errors or other protocol errors besides just data bit errors may trigger a while packet not to get recognized. "  

    Can you please explain a bit more? not sure I understand.

    2. " I think to be safe, CSI-2 errors should be monitored from the 953/954 as well."

     I think that every bitflip \ failure on the link will be recognized be the CRC checksum at Host? in case the CRC is not regenerated.

    Why it is safer to check for CSI-2 errors on Ser\Des if we perform the checksum for the received packet to Host? it is end-to-end verification.

    3. by 953 datasheet :

    3.1 "Each frame contains video payload data"  That means that the FPD link contains the Video payload data only from the CSI2 frame?? this is why I asked about the original Header and Footer from the CSI-2... 

    3.2 "CRC information" Is that the Forward channel CRC for the FPD from? what type of CRC?

    Thanks again,

  • Alon,

    1. For example, if the 953 CSI-2 RX encounters an SOT error, this may cause the whole lock/short packet to not get recognized rather than just causing a single data bit error. That is why I think the behavior could be unpredictable 

    2. For the 953, you will get checksum for the CSI-2 packets being received, but if there are some single bit errors in the FPD Link forward channel it is possible that errors can be introduced there as well, and then the DES may be able to detect a CSI-2 error on the receive side. Also remember that checksum is only done for the packet header, not the data bits as the SERDES have no knowledge of the expected data

    3. The FPD frame includes the CSI-2 header/footer information too. We call this all "video payload". CRC is for the back channel in order to detect errors in the low speed control channel. 

    Best Regards,

    Casey