MIPI-CSI Protocol and Physical Layer Errors in CX3 (CYUSB3065 and CYUSB3064)
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
The CyU3PMipicsiGetErrors function can be used to get a count of CSI protocol and physical layer errors from the MIPI-CSI block.
CyU3PMipicsiGetErrors (
CyBool_t clrErrCnts, /**< Set to CyTrue to clear the error counts*/
CyU3PMipicsiErrorCounts_t * errorCounts /**< Error Counts*/
);
There are nine types of error counts that can be retrieved using this function. The error counts for each error type is retrieved via a pointer of type CyU3PMipicsiErrorCounts_t passed to this function. The error count values for each type can reach a maximum count of 0xFF. The count values will continue to report the existing error value on each call unless the function explicitly clears the counts using clrErrCnts.
The error types are described as follows:
Error Type |
Description |
frmErrCnt (Framing Error Count) |
This field is incremented when an unexpected Frame start (FS) or Frame end (FE) short packet is received. |
crcErrCnt (CRC Error Count) |
This counter is incremented when an HS packet is received with CRC errors. |
mdlErrCnt (Multi-Data Lane Sync Byte Error Count) |
This counter is incremented when HS Sync Bytes were not received at the same clock cycle by CSI-2 Receiver. |
ctlErrCnt (Control Error (Incorrect Line State Sequence) Count) |
This counter is incremented when escape mode is exited using the wrong sequence. |
eidErrCnt (Unsupported Packet ID Error Count) |
This counter is incremented when an HS packet that is not supported by the CSI-2 Receiver is received. |
recrErrCnt (Recoverable Packet Header Error Count) |
This counter is incremented when an HS packet header is received with errors that are correctable by ECC. |
unrcErrCnt (Unrecoverable Packet Header Error Count) |
This counter is incremented when an HS packet header is received with errors that are not correctable by ECC. |
recSyncErrCnt (Recoverable Sync Byte Error Count) |
This counter is incremented when an HS Sync Byte was received by the Receiver with correctable errors. |
unrSyncErrCnt (Unrecoverable Sync Byte Error Count) |
This counter is incremented when an HS Sync Byte was received by the Receiver with uncorrectable errors. |
- Tags:
- cx3
- cyu3pmipicsigeterrors
- cyusb
- cyusb3064
- cyusb3065
- fx3 sdk
- mipi
- mipi csi protocol error
- mipi errors
- MIPI-CSI Protocol
- physical layer errors
- ssusb