Contents
Figures
Tables
Release History
1 Introduction
1.1 Scope
1.2 Purpose
2 Terminology
2.1 Definitions
2.2 Abbreviations
2.3 Acronyms
3 References
4 CSI-3 Architecture (informative)
4.1 Typical Device Connections
4.2 3D Camera and Multi-view Formats
4.3 CSI-3 Protocol Stack
4.3.1 UniPro and M-PHY (UniPort-M) on CSI-3
4.4 Compatibility with CSI-2
4.5 CSI-3 Use Model
4.5.1 Host
4.5.2 Camera
5 Attributes
5.1 Address Map
5.2 CSI-3 Attributes for Device Identification
5.3 Shared Events
5.4 Virtual Channel Attributes
5.4.1 Pixel Transport Channel Attributes
5.4.2 JPEG Transport Channel
5.4.3 CCI Bridge Channel
5.4.4 Notification Channel
5.5 Protocol Implementation Conformance Statement (PICS) Proforma
5.5.1 Abbreviations and Special Symbols
5.5.1.1 Status Symbols
5.5.1.2 Abbreviations
5.5.2 Instructions for Completing the PICS Proforma
5.5.2.1 General Structure of the PICS Proforma
5.5.2.2 Additional Information
5.5.2.3 Exception Information
5.5.2.4 Conditional Items
5.5.3 Identification
5.5.3.1 Implementation Identification
5.5.3.2 Protocol Summary
5.5.3.3 Major Capabilities and Options
5.5.4 PICS Proforma Tables for Attributes
5.5.4.1 Attributes
5.5.4.2 Address Map
5.5.4.3 CSI-3 Attributes for Device Identification
5.5.4.4 Shared Events
5.5.4.5 Virtual Channel Attributes
6 Configuration Protocol for Camera (CPC)
6.1 Transport of CPC PDUs
6.2 Processing Order and Flow Control
6.3 Attribute Packet Encoding
6.4 Examples (informative)
6.5 Protocol Implementation Conformance Statement (PICS) Proforma
6.5.1 Abbreviations and Special Symbols
6.5.1.1 Status Symbols
6.5.1.2 Abbreviations
6.5.2 Instructions for Completing the PICS Proforma
6.5.2.1 General Structure of the PICS Proforma
6.5.2.2 Additional Information
6.5.2.3 Exception Information
6.5.2.4 Conditional Items
6.5.3 Identification
6.5.3.1 Implementation Identification
6.5.3.2 Protocol Summary
6.5.4 Global Statement of Conformance
6.5.5 PICS Proforma Tables for Configuration Protocol for Camera (CPC)
6.5.5.1 Configuration Protocol for Camera (CPC)
6.5.5.2 Supported Operations
6.5.5.3 Transport of CPC PDUs
6.5.5.4 Processing Order and Flow Control
6.5.5.5 Attribute Packet Encoding
7 Data Plane
7.1 Link Between CAL and Transport Layer
7.2 Packet Generation and Structure
7.3 Packet Header
7.3.1 DTYPE Field
7.3.2 TXOVR Field
7.3.3 SYNC Field
7.3.4 FRAME Field
7.3.5 OFST Field
7.3.6 X and Y Position
7.4 End Of Payload
7.5 Interleaving
7.6 Flow Control and Streaming Interface
7.6.1 Camera Application Layer Interaction with the UniPro Stack
7.6.2 UniPro Message Fragment Generation in the Camera
7.6.2.1 CAL TxBuffer Overflow Examples
7.6.3 Controlled Early Termination
7.6.4 UniPro Message Processing in the Receiver
7.7 Protocol Implementation Conformance Statement (PICS) Proforma
7.7.1 Abbreviations and Special Symbols
7.7.1.1 Status Symbols
7.7.1.2 Abbreviations
7.7.2 Instructions for Completing the PICS Proforma
7.7.2.1 General Structure of the PICS Proforma
7.7.2.2 Additional Information
7.7.2.3 Exception Information
7.7.2.4 Conditional Items
7.7.3 Identification
7.7.3.1 Implementation Identification
7.7.3.2 Protocol Summary
7.7.4 Global Statement of Conformance
7.7.5 PICS Proforma Tables for Data Plane
7.7.5.1 Data Plane
7.7.5.2 Link Between CAL and Transport Layer
7.7.5.3 Packet Generation and Structure
7.7.5.4 Packet Header
7.7.5.5 End of Payload (EOP)
7.7.5.6 Interleaving
7.7.5.7 Flow Control and Streaming Interface
7.7.5.8 CPort Safety Valve
8 Transport Abstraction Layer (TAL)
9 UniPro Configuration and Control
9.1 Application Layer (UniPro Layer LA)
9.2 UniPro Device Management Entity (DME)
9.3 DME DDB L1 Attributes
9.4 UniPro Layer 4 Attributes
9.4.1 T_NumCPorts – Number of Available CPorts
9.4.2 T_TCxTxMaxSDUSize – Maximum Transmit Payload (SDU) Size per Segment (in bytes) for Traffic Class x
9.4.3 T_TrafficClass[n] – Traffic Class of the Connection Established with CPort n
9.4.4 T_ProtocolID[n] – ProtocolID Value of the Connection Established with CPort n
9.4.5 T_CPortFlags[n] – End-to-End Flow Control, CPort Safety Valve, and Controlled Segment Dropping for the Connection Established with CPort n
9.5 UniPro Layer 3 Attributes
9.5.1 N_TCxTxMaxSDUSize – Maximum Transmit Payload (SDU) Size per Layer 3 Packet (in bytes) for Traffic Class x
9.6 UniPro Layer 2 Attributes
9.6.1 DL_TCxTxMaxSDUSize – Maximum Transmit Payload (SDU) Size per Frame (in symbols) for Traffic Class x
9.6.2 DL_TCxTxBufferSize – Total Size of Layer 2 Data Buffers Used to Store Transmitted Frames for Traffic Class x
9.6.3 DL_TCxOutAckThreshold – Number of Additional Data Frames That Must be Received Before an Acknowledgment Frame is Sent for Traffic Class x
9.6.4 DL_TCxRxInitCreditVal – Initial Credit Value of Layer 2 Data Buffers Used to Store Received Frames for Traffic Class x
9.6.5 DL_TxPreemptionCap – TX Preemption Capability for Both Traffic Classes
9.6.6 DL_AFCkCreditThreshold – Threshold on unsent credits for RX triggering the transmission of a flow control credits AFC for Traffic Class x
9.6.7 DL_TCxTXFCThreshold and DL_FCxProtectionTimeOutVal – “Remaining credits” threshold and FCk_PROTECTION_TIMER time out value, respectively, for TX triggering a flow control request AFC for Traffic Class x
9.7 UniPro Layer 1.5 Attributes
9.7.1 PA_PHY_Type – PHY Type
9.7.2 PA_AvailTxDataLanes – Number of Supported TX LANEs
9.7.3 PA_AvailRxDataLanes – Number of Supported RX LANEs
9.7.4 PA_TxTrailingClocks – Number of M-PHY Symbol Intervals Forced without Data at End of BURST before Entering SLEEP_STATE
9.8 UniPro Layer 1 (M-PHY) Attributes
9.8.1 TX_PWMGEAR_Capability[n] – PWM GEARs Other than PWM-G0 that are Supported by M-TX n
9.8.2 RX_PWMGEAR_ Capability[n] – PWM GEARs Other than PWM-G0 that are Supported by M-RX n
9.9 Reset and Boot Procedure
9.9.1 Types of Reset
9.9.2 Reset Procedure
9.9.3 Boot Procedure
9.10 Protocol Implementation Conformance Statement (PICS) Proforma
9.10.1 Abbreviations and Special Symbols
9.10.1.1 Status Symbols
9.10.1.2 Abbreviations
9.10.2 Instructions for Completing the PICS Proforma
9.10.2.1 General Structure of the PICS Proforma
9.10.2.2 Additional Information
9.10.2.3 Exception Information
9.10.2.4 Conditional Items
9.10.3 Identification
9.10.3.1 Implementation Identification
9.10.3.2 Protocol Summary
9.10.4 Global Statement of Conformance
9.10.5 PICS Proforma Tables for UniPro Configuration
9.10.5.1 UniPro Configuration
9.10.5.2 Application Layer (UniPro Layer LA)
9.10.5.3 UniPro Device Management Entity (DME)
9.10.5.4 DME DDB L1 Attributes
9.10.5.5 UniPro Layer 4 Attributes
9.10.5.6 UniPro Layer 3 Attributes
9.10.5.7 UniPro Layer 2 Attributes
9.10.5.8 UniPro Layer 1.5 Attributes
9.10.5.9 UniPro Layer 1 (M-PHY) Attributes
9.10.5.10 Reset and Boot Procedure
Annex A Color Spaces and Image Data Formats (normative)
A.1 Color Spaces (informative)
A.1.1 RGB Color Space Definition
A.1.2 YUV Color Space Definition
A.2 Image Data Formats
A.2.1 Null and Blanking Data (DT=0x0110 and DT=0x0111)
A.2.2 Embedded 8-bit Non-image Data (CSI-2 Legacy Embedded Data)
A.2.3 YUV Data
A.2.3.1 Legacy YUV420 8-bit
A.2.3.2 YUV420 8-bit
A.2.3.3 YUV420 10-bit
A.2.3.4 YUV422 8-bit
A.2.3.5 YUV422 10-bit
A.2.4 RGB Image Data
A.2.4.1 RGB888
A.2.4.2 RGB666
A.2.4.3 RGB565
A.2.4.4 RGB555
A.2.4.5 RGB444
A.2.5 Uncompressed RAW Data
A.2.5.1 RAW6
A.2.5.2 RAW7
A.2.5.3 RAW8
A.2.5.4 RAW10
A.2.5.5 RAW12
A.2.5.6 RAW14
A.2.5.7 RAW16
A.2.6 Compressed Image Data
A.2.6.1 Compressed RAW Data
A.2.6.1.1 RAW10 DPCM6
A.2.6.1.2 RAW10 DPCM7
A.2.6.1.3 RAW10 DPCM8
A.2.6.1.4 RAW12 DPCM6
A.2.6.1.5 RAW12 DPCM7
A.2.6.1.6 RAW12 DPCM8
A.2.6.2 Data Compression for RAW Data Types
A.2.6.3 Predictors
A.2.6.3.1 Predictor1
A.2.6.3.2 Predictor2
A.2.6.4 Encoders
A.2.6.4.1 Coder for 10–8–10 Data Compression
A.2.6.4.2 Coder for 10–7–10 Data Compression
A.2.6.4.3 Coder for 10–6–10 Data Compression
A.2.6.4.4 Coder for 12–8–12 Data Compression
A.2.6.4.5 Coder for 12–7–12 Data Compression
A.2.6.4.6 Coder for 12–6–12 Data Compression
A.2.6.5 Decoders
A.2.6.5.1 Decoder for 10–8–10 Data Compression
A.2.6.5.2 Decoder for 10–7–10 Data Compression
A.2.6.5.3 Decoder for 10–6–10 Data Compression
A.2.6.5.4 Decoder for 12–8–12 Data Compression
A.2.6.5.5 Decoder for 12–7–12 Data Compression
A.2.6.5.6 Decoder for 12–6–12 Data Compression
A.2.6.6 JPEG
A.2.6.6.1 Type 1 JPEG Packets (JIF)
A.2.6.6.2 Type 2 JPEG Packets (JFIF)
A.2.6.6.3 Type 3 JPEG Packets (Exif)
A.2.6.6.4 Rules for Outputting JFIF- and Exif-Compatible Data
A.2.6.6.5 JPEG Transport Channel Attributes
A.2.6.6.6 Exif Application Example (informative)
A.2.7 User Defined Data Formats
A.3 Protocol Implementation Conformance Statement (PICS) Proforma
A.3.1 Abbreviations and Special Symbols
A.3.1.1 Status Symbols
A.3.1.2 Abbreviations
A.3.2 Instructions for Completing the PICS Proforma
A.3.2.1 General Structure of the PICS Proforma
A.3.2.2 Additional Information
A.3.2.3 Exception Information
A.3.2.4 Conditional Items
A.3.3 Identification
A.3.3.1 Implementation Identification
A.3.3.2 Protocol Summary
A.3.4 Global Statement of Conformance
A.3.5 PICS Proforma Tables for Color Spaces and Image Data Formats
A.3.5.1 Image Data Formats
Annex B CCI Bridging over UniPort-M (normative)
B.1 System Application Scenarios
B.2 I2C/CCI Feature Support
B.3 CCI Bridging Architecture Overview
B.4 Terminology
B.5 CSI-3 Virtual Channel Attributes for CCI Bridging
B.6 CCI Transaction GET and SET PDU Formats
B.7 CCI GET PDU and SET PDU Preambles
B.7.1 CCI RESPONSE PDU Preamble
B.7.2 CCI SET PDU and RESPONSE PDU Payloads
B.8 Handling of CCI Multi-Byte Registers
B.9 CCI NOTIFY PDU Format
B.10 CCI Transaction Error Codes
B.11 Behavioral Pseudo-Code for CCI Read and Write Transactions
B.11.1 CCI Examples
B.11.1.1 CCI Write Transaction
B.11.1.2 CCI Read Transaction (Three of Four Consecutive Registers)
B.11.1.3 CCI Read Transaction (Read-current Transaction)
B.12 Protocol Implementation Conformance Statement (PICS) Proforma
B.12.1 Abbreviations and Special Symbols
B.12.1.1 Status Symbols
B.12.1.2 Abbreviations
B.12.2 Instructions for Completing the PICS Proforma
B.12.2.1 General Structure of the PICS Proforma
B.12.2.2 Additional Information
B.12.2.3 Exception Information
B.12.2.4 Conditional Items
B.12.3 Identification
B.12.3.1 Implementation Identification
B.12.3.2 Protocol Summary
B.12.4 Global Statement of Conformance
B.12.5 PICS Proforma Tables for CCI Bridging over UniPort-M
B.12.5.1 CCI Bridging over UniPort-M
B.12.5.2 CCI Bridging Architecture Overview
B.12.5.3 CCI Bridging Virtual Channel Attributes
B.12.5.4 CCI Transaction GET and SET PDU Formats
B.12.5.5 CCI Transaction GET and SET PDU Formats
B.12.5.6 Handling of CCI Multi-Byte Registers
B.12.5.7 CCI NOTIFY PDU Format
B.12.5.8 CCI Transaction Error Codes
Annex C Test Patterns for CSI-3 (normative)
C.1 Full Frame Deterministic Test Patterns
C.1.1 Solid Color Mode
C.1.2 100% Color Bars Pattern Mode
C.1.2.1 Pattern Size
C.1.3 “Fade to Grey' Color Bar Mode
C.1.3.1 Pattern Size
C.2 Test Cursors
C.3 Protocol Implementation Conformance Statement (PICS) Proforma
C.3.1 Abbreviations and Special Symbols
C.3.1.1 Status Symbols
C.3.1.2 Abbreviations
C.3.2 Instructions for Completing the PICS Proforma
C.3.2.1 General Structure of the PICS Proforma
C.3.2.2 Additional Information
C.3.2.3 Exception Information
C.3.2.4 Conditional Items
C.3.3 Identification
C.3.3.1 Implementation Identification
C.3.3.2 Protocol Summary
C.3.4 Global Statement of Conformance
C.3.5 PICS Proforma Tables for Test Patterns for CSI-3
C.3.5.1 Test Patterns for CSI-3
C.3.5.2 Full Frame Deterministic Test Patterns