Interrupt Status Register - Interrupt Status Register - 6.0 English - PG232

MIPI CSI-2 Receiver Subsystem v6.0 Product Guide (PG232)

Document_ID
PG232
Release_Date
2026-11-11
Version
6.0 English

The following table describes the Interrupt Status register (ISR) and captures the error and status information for the core.

Table 1. Interrupt Status Register (0x24)
Bits Name Reset Value Access 1 Description
31 Frame Received 0x0 R/W1C Asserts when the Frame End (FE) short packet is received for the current frame.
30 VCX Frame Error 0x0 R/W1C Asserts when the VCX Frame error is detected.
29 RX_Skewcalhs 0x0 R/W1C Asserts when rxskewcalhs is detected.
28 YUV420 WC Error 0x0 R/W1C Asserts when the user-configured YUV420 word count value is less than the actual Y-line word count of the incoming data, which results in an internal buffer full condition. 2
27 Pending write in internal FIFO 0x0 R/W1C Indicates internal FIFO has insufficient clocks to process the packet. This happens in non-continuous clock mode if there are insufficient clocks to completely write the PPI data to internal FIFO.

To resolve this, the user needs to increase the Tclk-post parameter in the transmitter.

In case this bit is seen set by default, write 1 to clear this bit after the rxbyteclkhs starts toggling.

26–23 Reserved N/A N/A N/A
22 Word Count (WC) corruption 0x0 R/W1C Asserts when WC field of packet header corrupted and core receives less bytes than indicated in WC field. Such a case can occur only where more than 2-bits of header are corrupted which ECC algorithm cannot report and the corruption is such that the ECC algorithm reports a higher Word Count (WC) value as part of ECC correction.

In this case, the core limits processing of the packet on reduced number of bytes received through PPI interface.

21 Incorrect lane configuration 0x0 R/W1C Asserts when Active lanes is greater than Maximum lanes in the protocol configuration register
20 Short packet FIFO full 0x0 R/W1C Active-High signal asserted when the short packet FIFO full condition detected
19 Short packet FIFO not empty 0x0 R/W1C Active-High signal asserted when short packet FIFO not empty condition detected.
18 Stream line buffer full 0x0 R/W1C Asserts when the line buffer is full 3
17 Stop state 0x0 R/W1C Active-High signal indicates that the lane module is currently in Stop state. 4
16 Reserved N/A N/A N/A
15 Reserved N/A N/A N/A
14 InValidcodehs 0x0 R/W1C In case of C-PHY Indicate High-Speed Invalid Code Word Detected.
13 SoT error (ErrSoTHS) 0x0 R/W1C Indicates Start-of-Transmission (SoT) error detected. 4
12 SoT sync error (ErrSotSyncHS) 0x0 R/W1C Indicates SoT synchronization completely failed. 4
11 ECC-2 bit Error/CRC Header Error all 0x0 R/W1C Asserts when an ECC syndrome is computed and two bit errors detected in the received packet header in C-PHY.

In case of C-PHY, CRC header check fails for all header copy.

10 ECC 1-bit error/CRC Header Error (Detected and Corrected) (ErrEccCorrected) 0x0 R/W1C Asserts when an ECC syndrome was computed and a single bit error in the packet header was detected and corrected in D-PHY. In case of C-PHY, the CRC header check passes for at least one header copy.
9

CRC error (ErrCrc)

0x0 R/W1C Asserts when the computed CRC code is different from the received CRC code.
8 Unsupported Data Type (ErrID) 0x0 R/W1C Asserts when a packet header is decoded with an unrecognized or not implemented data ID.
7 Frame synchronization error for VC3 (ErrFrameSync) 0x0 R/W1C Asserts when an FE is not paired with a Frame Start (FS) on the same virtual channel. 4
6 Frame level error for VC3 (ErrFrameData) 0x0 R/W1C Asserts after an FE when the data payload received between FS and FE contains errors.

The data payload errors are CRC errors.

5 Frame synchronization error for VC2 (ErrFrameSync) 0x0 R/W1C Asserts when an FE is not paired with an FS on the same virtual channel. 4
4 Frame level error for VC2 (ErrFrameData) 0x0 R/W1C Asserts after an FE when the data payload received between FS and FE contains errors.

The data payload errors are CRC errors.

3 Frame synchronization error for VC1 (ErrFrameSync) 0x0 R/W1C Asserts when an FE is not paired with an FS on the same virtual channel. 4
2 Frame level error for VC1 (ErrFrameData) 0x0 R/W1C Asserts after an FE when the data payload received between FS and FE contains errors.

The data payload errors are CRC errors.

1 Frame synchronization error for VC0 (ErrFrameSync) 0x0 R/W1C Asserts when a FE is not paired with an FS on the same virtual channel. 4
0 Frame level error for VC0 (ErrFrameData) 0x0 R/W1C Asserts after an FE when the data payload received between FS and FE contains errors.

The data payload errors are CRC errors.

  1. W1C = Write 1 to clear.
  2. Ensure the Y-line word count of the incoming data is at least 8 bytes less than the value configured in GUI to avoid this flag.
  3. In a line buffer full condition, reset the core using the external reset, video_aresetn.
  4. Reported through the PPI.
  5. An ErrSotSyncHS error also generates this error signal.
  6. Short packet and line buffer FIFO full conditions take a few clock periods to reflect in the register clock domain from the core clock domain due to Clock Domain Crossing (CDC) blocks.
  7. All PPI signals captured in the ISR take a few clock periods to reflect in the register clock domain from the PPI clock domain due to CDC blocks.
  8. Frame level errors due to ErrSotSyncHS are mapped to the recent VC processed by the ECC block of the core.
  9. Set conditions take priority over the reset conditions for the ISR bits.
  10. Signal names in brackets are defined in the MIPI Alliance Standard for Camera Serial Interface CSI-2 .
  11. ISR ECC still is reported in scenarios where the packet is dropped.
  12. For YUV420 data, if any Virtual Channel (VC) experiences corruption in either the even or odd line, the corrupted data propagates to the video output. To mitigate this, monitor the word count at the TUSER signal, and apply a reset to reinitialize and receive a fresh data packet.

    An ECC (Error-Correcting Code) 2-bit error in the even or odd line is not recoverable. This unrecoverable error can lead to the corruption of critical metadata, such as the data type, word count, or VC identifier. Consequently, such corruption can cause a cascading (domino) effect, resulting in all subsequent packets associated with the affected VC being corrupted.

The following table provides detailed information about the bits in the previous table.

Table 2. Incorrect Lane Configuration
Field Description
Set Condition(s) Set by the core when incorrect lane configuration is programmed.

For example, maximum available lanes =2 and “Active lanes” configured as 3.

Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact This is a core configuration error and the core cannot function as required. Correct this error before proceeding further.
Table 3. Stream Line Buffer Full
Field Description
Set Condition(s) Set by the core when the line buffer storing pixel data is full.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact Core reports this condition on stream interface using an error indication on the TUSER[1] port if a partial packet is being written to line buffer. Because PPI does not allow back pressure, you need to ensure that this condition does not occur.
Table 4. Control Error, Escape Entry Error, Escape Ultra Low Power Mode, Stopstate
Field Description
Set Condition(s) Set by the core when the condition for the corresponding signal as defined in the MIPI CSI-2 specification See MIPI Alliance Standard for Camera Serial Interface CSI-2: https://www.mipi.org/specifications/csi-2 is seen, reported through the PPI interface.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact Current packet being processed does not have any impact.
Table 5. Invalidcodehs Error
Field Description
Set Condition(s) Set by the core when the current packet being processed has High-Speed Invalid Code Word Detection Error reported through PPI Interface. This indicates that the data word being output has a low confidence of being correct.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact The current packet being processed is not processed further. The core waits for the next packet to process. The current packet results in a CRC mismatch.
Table 6. SoT Error
Field Description
Set Condition(s) Set by the core when the current packet being processed has Start-of-Transmission (SoT) Error reported through PPI Interface.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact Current packet under process does not have any impact as synchronization is still achieved. This is considered a “soft error” in the leader sequence and confidence in the payload data is reduced.
Table 7. SoT Sync Error
Field Description
Set Condition(s) Set by the core when current packet being processed has Start-of-Transmission Synchronization Error reported through PPI interface.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact The current packet being processed is not processed further. The core waits for the next packet to process.
Table 8. ECC 2-Bit Error
Field Description
Set Condition(s) Set by the core when an ECC syndrome was computed and two bit-errors are detected in the received Packet Header.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact Current packet being processed is not processed further as WC is not usable, and thus the packet end cannot be estimated. The core waits for the next packet to process.
Table 9. CRC Header Error All
Field Description
Set Condition(s) Set by the core when an all C-PHY CRC header syndrome was computed and CRC error is detected in the received Packet Header.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact Current packet being processed is not processed further as WC is not usable, and thus the packet end cannot be estimated. The core waits for the next packet to process.
Table 10. ECC 1-Bit Error
Field Description
Set Condition(s) Set by the core when an ECC syndrome was computed and a single bit-error in the Packet Header was detected and corrected.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact Current packet being processed does not have any impact.
Table 11. CRC Header Error
Field Description
Set Condition(s) Set by the core when at least one CPHY Header CRC syndrome was computed and the error in the Packet Header was detected and at least one copy detected no error.
Reset Sequence Write 1 to clear this bit.
Priority Priority Set condition takes priority over reset sequence.
Impact Current packet being processed does not have any impact.
Table 12. CRC Error
Field Description
Set Condition(s) Set by the core when the computed CRC code is different than the received CRC code.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact Current packet being processed does not have any impact, but the payload might be corrupted.
Table 13. Unsupported Data Type
Field Description
Set Condition(s) Set by the core when a Packet Header is decoded with an unrecognized or unimplemented data ID.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact Current packet being processed is not processed further. The core waits for the next packet to process.
Table 14. Frame Synchronization Error
Field Description
Set Condition(s) Set by the core when a Frame End (FE) is not paired with a Frame Start (FS) on the same virtual channel. An ErrSotSyncHS also generates this error signal.
Reset Sequence Write 1 to clear this bit.
Priority Set condition takes priority over reset sequence.
Impact Based on the different sources for this error packet might or might not be processed (that is, stored in the line buffer).
Table 15. ErrFrameSync Sources
Source Impact on Packet Processing
Source Impact on Packet Processing
FS followed by FS Processed
ErrEccDouble Not processed
FE followed FE Processed
ErrSotSyncHS Not processed
Table 16. Header Error All
Field Description
Set Condition(s) Set by the core when an CRC syndrome was computed for all CRC Headercopy and CRC check failed for all the copies in the received Packet Header.
Reset Sequence Write 1 to clear this bit.
Priority Set Condition Takes priority over reset sequence. Impact Current packet being processed is not processed further as WC is not usable, and thus the packet end cannot be estimated. The core waits for the next packet to process.
Table 17. CRC Header 1
Field Description
Set Condition(s) When an CRC syndrome was computed for all CRC Header copy and CRC check is passed at-least for one the copy in the received Packet Header.
Reset Sequence Write 1 to clear this bit.
Priority Set Condition Takes priority over reset sequence. Impact Current packet being processed does not have any impact.