The Interrupt Status register (ISR) is described in the following table and captures the error and status information for the core.
| Bits | Name | Reset Value | Access | Description |
|---|---|---|---|---|
| 31 | Frame Received | 0x0 | R/W1C | Asserted when the Frame End (FE) short packet is received for the current frame |
| 30 | VCX Frame Error | 0x0 | R/W1C | Asserted when the VCX Frame error is detected |
| 29 | RX_Skewcalhs | 0x0 | R/W1C | Asserted when
rxskewcalhs is detected. |
| 28 | YUV420 WC Error | 0x0 | R/W1C |
Asserted 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.
Note: 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.
|
| 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 |
Asserted 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 such case core limits processing of the packet on reduced number of bytes received through PPI interface. |
| 21 | Incorrect lane configuration | 0x0 | R/W1C | Asserted 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(2) |
| 17 | Stop state | 0x0 | R/W1C | Active-High signal indicates that the lane module is currently in Stop state(3) |
| 16 | Reserved | N/A | N/A | N/A |
| 15 | InValidcodehs1 | 0x0 | R/W1C | Indicate High-Speed Invalid Code
Word Detection invalidcodehs[1] incase of CPHY. The following High-Speed Invalid Code Word Detection signals are defined based on the width of the receive data path:
|
| 14 | InValidcodehs0 | 0x0 | R/W1C | Indicate High-Speed Invalid Code
Word Detection invalidcodehs[0] incase of CPHY. The following High-Speed Invalid Code Word Detection signals are defined based on the width of the receive data path:
|
| 13 |
SoT error (ErrSoTHS) |
0x0 | R/W1C | Indicates Start-of-Transmission (SoT) error detected |
| 12 |
SoT sync error (ErrSotSyncHS) |
0x0 | R/W1C | Indicates SoT synchronization completely failed |
| 11 | ECC-2 bit Error/CRC Header Error all | 0x0 | R/W1C | Asserted 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 | Asserted 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 | Asserted when the computed CRC code is different from the received CRC code |
| 8 |
Unsupported Data Type (ErrID) |
0x0 | R/W1C | Asserted when a packet header is decoded with an unrecognized or not implemented data ID |
| 7 |
Frame synchronization error for VC3 (ErrFrameSync) |
0x0 | R/W1C | Asserted when an FE is not paired with a Frame Start (FS) on the same virtual channel |
| 6 |
Frame level error for VC3 (ErrFrameData) |
0x0 | R/W1C |
Asserted 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 | Asserted when an FE is not paired with a FS on the same virtual channel |
| 4 |
Frame level error for VC2 (ErrFrameData) |
0x0 | R/W1C |
Asserted 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 | Asserted when an FE is not paired with a FS on the same virtual channel |
| 2 |
Frame level error for VC1 (ErrFrameData) |
0x0 | R/W1C |
Asserted 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 | Asserted when a FE is not paired with a FS on the same virtual channel |
| 0 |
Frame level error for VC0 (ErrFrameData) |
0x0 | R/W1C |
Asserted after an FE when the data payload received between FS and FE contains errors. The data payload errors are CRC errors. |
|
||||
The following table provide detailed information about the bits in the previous table.
| 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 desired. This error should be corrected before proceeding further. |
| 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. |
| 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: mipi.org/specifications/camera-interface#CSI2 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. |
| 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. |
| 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. |
| 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 to be a “soft error” in the leader sequence and confidence in the payload data is reduced. |
| 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. |
| 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. |
| Set Condition(s) | Set by the core when an all CPHY 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. |
| 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. |
| Set Condition(s) | Set by the core when atleast 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. |
| 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. |
| Set Condition(s) | Set by the core when a Packet Header is decoded with an unrecognized or un-implemented 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. |
| 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 should also generate 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). |
| Source | Impact on Packet Processing |
| FS followed by FS | Processed |
| ErrEccDouble | Not processed |
| FE followed FE | Processed |
| ErrSotSyncHS | Not processed |
| 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. |
| 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. |