没有合适的资源?快使用搜索试试~ 我知道了~
首页MIPI CSI-2 specification v3-0.pdf 2019最新版
MIPI CSI-2 specification v3-0.pdf 2019最新版
5星 · 超过95%的资源 需积分: 5 504 下载量 80 浏览量
更新于2023-03-03
评论 20
收藏 2.95MB PDF 举报
2019年9月份发布的V3.0版官方手册,是目前最新的版本。 Specification for Camera Serial Interface 2(CSI-2) Version 3.0 31 May 2019
资源详情
资源评论
资源推荐
Copyright © 2005-2019 MIPI Alliance, Inc.
All rights reserved.
Confidential
Specification for
Camera Serial Interface 2
(CSI-2
SM
)
Version 3.
0
31 May 201
9
MIPI Board Adopted 10 September 2019
This document is
a MIPI Specification. MIPI member companies’ rights and obligations apply to this
MIPI
Specification as defined in the MIPI Membership Agreement and MIPI Bylaws.
Further technical changes to this document are expected as work continues in the PHY Working Group.
Specification for CSI-2 Version 3.0
31-May-2019
ii Copyright © 2005-2019 MIPI Alliance, Inc.
All rights reserved.
Confidential
NOTICE OF DISCLAIMER
The material contained herein is provided on an “AS IS” basis. To the maximum extent permitted by
applicable law, this material is provided AS IS AND WITH ALL FAULTS, and the authors and developers
of this material and MIPI Alliance Inc. (“MIPI”) hereby disclaim all other warranties and conditions, either
express, implied or statutory, including, but not limited to, any (if any) implied warranties, duties or
conditions of merchantability, of fitness for a particular purpose, of accuracy or completeness of responses,
of results, of workmanlike effort, of lack of viruses, and of lack of negligence. ALSO, THERE IS NO
WARRANTY OR CONDITION OF TITLE, QUIET ENJOYMENT, QUIET POSSESSION,
CORRESPONDENCE TO DESCRIPTION OR NON-INFRINGEMENT WITH REGARD TO THIS
MATERIAL.
IN NO EVENT WILL ANY AUTHOR OR DEVELOPER OF THIS MATERIAL OR MIPI BE LIABLE TO
ANY OTHER PARTY FOR THE COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST
PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT,
INDIRECT, OR SPECIAL DAMAGES WHETHER UNDER CONTRACT, TORT, WARRANTY, OR
OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO
THIS MATERIAL, WHETHER OR NOT SUCH PARTY HAD ADVANCE NOTICE OF THE
POSSIBILITY OF SUCH DAMAGES.
The material contained herein is not a license, either expressly or impliedly, to any IPR owned or controlled
by any of the authors or developers of this material or MIPI. Any license to use this material is granted
separately from this document. This material is protected by copyright laws, and may not be reproduced,
republished, distributed, transmitted, displayed, broadcast or otherwise exploited in any manner without the
express prior written permission of MIPI Alliance. MIPI, MIPI Alliance and the dotted rainbow arch and all
related trademarks, service marks, tradenames, and other intellectual property are the exclusive property of
MIPI Alliance Inc. and cannot be used without its express prior written permission. The use or
implementation of this material may involve or require the use of intellectual property rights (“IPR”)
including (but not limited to) patents, patent applications, or copyrights owned by one or more parties,
whether or not members of MIPI. MIPI does not make any search or investigation for IPR, nor does MIPI
require or request the disclosure of any IPR or claims of IPR as respects the contents of this material or
otherwise.
Without limiting the generality of the disclaimers stated above, users of this material are further notified that
MIPI: (a) does not evaluate, test or verify the accuracy, soundness or credibility of the contents of this
material; (b) does not monitor or enforce compliance with the contents of this material; and (c) does not
certify, test, or in any manner investigate products or services or any claims of compliance with MIPI
specifications or related material.
Questions pertaining to this material, or the terms or conditions of its provision, should be addressed to:
MIPI Alliance, Inc.
c/o IEEE-ISTO
445 Hoes Lane, Piscataway New Jersey 08854, United States
Attn: Managing Director
Version 3.0 Specification for CSI-2
31-May-2019
Copyright © 2005-2019 MIPI Alliance, Inc. iii
All rights reserved.
Confidential
Contents
Figures ........................................................................................................................ viii
Tables ..........................................................................................................................xv
Release History .............................................................................................................. xvii
1 Introduction .................................................................................................................1
1.1 Scope ............................................................................................................................... 1
1.2 Purpose ............................................................................................................................ 1
2 Terminology .................................................................................................................2
2.1 Use of Special Terms ....................................................................................................... 2
2.2 Definitions ....................................................................................................................... 2
2.3 Abbreviations ................................................................................................................... 3
2.4 Acronyms ......................................................................................................................... 3
3 References ....................................................................................................................6
4 Overview of CSI-2 .......................................................................................................7
5 CSI-2 Layer Definitions ..............................................................................................9
6 Camera Control Interface (CCI) ............................................................................. 11
6.1 CCI (I
2
C) Data Transfer Protocol .................................................................................. 12
6.1.1 CCI (I
2
C) Message Type ............................................................................................. 12
6.1.2 CCI (I
2
C) Read/Write Operations ............................................................................... 13
6.2 CCI (I3C) Data Transfer Protocol .................................................................................. 19
6.2.1 CCI (I3C SDR) Data Transfer Protocol ...................................................................... 19
6.2.2 CCI (I3C DDR) Data Transfer Protocol ..................................................................... 27
6.3 CCI (I3C) Error Detection and Recovery ...................................................................... 37
6.3.1 CCI (I3C SDR) Error Detection and Recovery Method ............................................. 37
6.3.2 CCI (I3C DDR) Error Detection and Recovery Method ............................................ 39
6.3.3 Error Detection and Recovery for CCI (I3C) Master Devices .................................... 45
6.4 CCI (I
2
C) Slave Addresses ............................................................................................. 45
6.5 CCI (I3C) Slave Addresses ............................................................................................ 45
6.6 CCI Multi-Byte Registers .............................................................................................. 46
6.6.1 Overview ..................................................................................................................... 46
6.6.2 Transmission Byte Order for Multi-Byte Register Values .......................................... 48
6.6.3 Multi-Byte Register Protocol (Informative) ............................................................... 49
6.7 CCI I/O Electrical and Timing Specifications ............................................................... 53
7 Physical Layer ...........................................................................................................57
7.1 D-PHY Physical Layer Option ...................................................................................... 57
7.2
C-PHY Physical Layer Option ....................................................................................... 58
7.3 PHY Support for the CSI-2 Unified Serial Link (USL) Feature .................................... 59
7.3.1 D-PHY Support Requirements for USL Feature ......................................................... 59
7.3.2 C-PHY Support Requirements for USL Feature ......................................................... 60
Specification for CSI-2 Version 3.0
31-May-2019
iv Copyright © 2005-2019 MIPI Alliance, Inc.
All rights reserved.
Confidential
8 Multi-Lane Distribution and Merging ....................................................................61
8.1 Lane Distribution for the D-PHY Physical Layer Option .............................................. 66
8.2 Lane Distribution for the C-PHY Physical Layer Option .............................................. 69
8.3 Multi-Lane Interoperability ........................................................................................... 71
8.3.1 C-PHY Lane De-Skew ................................................................................................ 73
9 Low Level Protocol ....................................................................................................75
9.1 Low Level Protocol Packet Format ............................................................................... 76
9.1.1 Low Level Protocol Long Packet Format ................................................................... 76
9.1.2 Low Level Protocol Short Packet Format ................................................................... 81
9.2 Data Identifier (DI) ........................................................................................................ 82
9.3 Virtual Channel Identifier .............................................................................................. 82
9.4 Data Type (DT) .............................................................................................................. 84
9.5 Packet Header Error Correction Code for D-PHY Physical Layer Option .................... 85
9.5.1 General Hamming Code Applied to Packet Header .................................................... 85
9.5.2 Hamming-Modified Code ........................................................................................... 86
9.5.3 ECC Generation on TX Side ....................................................................................... 90
9.5.4 Applying ECC on RX Side (Informative) .................................................................. 91
9.6 Checksum Generation .................................................................................................... 93
9.7 Packet Spacing ............................................................................................................... 95
9.8 Synchronization Short Packet Data Type Codes............................................................ 96
9.8.1 Frame Synchronization Packets .................................................................................. 96
9.8.2 Line Synchronization Packets ..................................................................................... 97
9.9 Generic Short Packet Data Type Codes ......................................................................... 99
9.10 Packet Spacing Examples Using the Low Power State ............................................... 100
9.11 Latency Reduction and Transport Efficiency (LRTE) ................................................. 103
9.11.1 Interpacket Latency Reduction (ILR) ....................................................................... 103
9.11.2 Using ILR and Enhanced Transport Efficiency Together ......................................... 113
9.11.3 LRTE Register Tables ............................................................................................... 114
9.12 Unified Serial Link (USL) ........................................................................................... 117
9.12.1 USL Technical Overview .......................................................................................... 118
9.12.2 USL Command Payload Constructs ......................................................................... 119
9.12.3 USL Operation Procedures ....................................................................................... 122
9.12.4 Monitoring USL Command Transport Integrity ....................................................... 124
9.12.5 USL Powerup / Reset, SNS Configuration, and Mode Switching ............................ 125
9.13 Data Scrambling .......................................................................................................... 137
9.13.1 CSI-2 Scrambling for D-PHY ................................................................................... 138
9.13.2
CSI-2 Scrambling for C-PHY ................................................................................... 139
9.13.3 Scrambling Details .................................................................................................... 142
9.14 Smart Region of Interest (SROI) ................................................................................. 147
9.14.1 Overview of SROI Frame Format............................................................................. 147
9.14.2 Transmission of SROI Embedded Data Packet ........................................................ 149
9.14.3 SROI Packet Detection Options................................................................................ 150
9.14.4 SROI Use Cases (Informative) ................................................................................. 152
9.14.5 Format of SROI Embedded Data Packet (SEDP) ..................................................... 154
9.15 Packet Data Payload Size Rules .................................................................................. 157
9.16 Frame Format Examples .............................................................................................. 158
Versi o n 3.0 Specification for CSI-2
31-May-2019
Copyright © 2005-2019 MIPI Alliance, Inc. v
All rights reserved.
Confidential
9.17 Data Interleaving ......................................................................................................... 161
9.17.1 Data Type Interleaving .............................................................................................. 161
9.17.2 Virtual Channel Identifier Interleaving ..................................................................... 164
10 Color Spaces.............................................................................................................165
10.1 RGB Color Space Definition ....................................................................................... 165
10.2 YUV Color Space Definition ....................................................................................... 165
11 Data Formats ...........................................................................................................167
11.1 Generic 8-bit Long Packet Data Types ........................................................................ 169
11.1.1 Null and Blanking Data ............................................................................................ 169
11.1.2 Embedded Information ............................................................................................. 170
11.1.3 Generic Long Packet Data Types 1 Through 4 ......................................................... 170
11.2 YUV Image Data ......................................................................................................... 171
11.2.1 Legacy YUV420 8-bit ............................................................................................... 171
11.2.2 YUV420 8-bit ........................................................................................................... 174
11.2.3 YUV420 10-bit ......................................................................................................... 178
11.2.4 YUV422 8-bit ........................................................................................................... 180
11.2.5 YUV422 10-bit ......................................................................................................... 182
11.3 RGB Image Data .......................................................................................................... 184
11.3.1 RGB888 .................................................................................................................... 185
11.3.2 RGB666 .................................................................................................................... 187
11.3.3 RGB565 .................................................................................................................... 189
11.3.4 RGB555 .................................................................................................................... 191
11.3.5 RGB444 .................................................................................................................... 192
11.4 RAW Image Data ......................................................................................................... 193
11.4.1 RAW6 ....................................................................................................................... 194
11.4.2 RAW7 ....................................................................................................................... 195
11.4.3 RAW8 ....................................................................................................................... 196
11.4.4 RAW10 ..................................................................................................................... 197
11.4.5 RAW12 ..................................................................................................................... 199
11.4.6 RAW14 ..................................................................................................................... 200
11.4.7 RAW16 ..................................................................................................................... 202
11.4.8 RAW20 ..................................................................................................................... 203
11.4.9 RAW24 ..................................................................................................................... 205
11.5 User Defined Data Formats ......................................................................................... 206
12 Recommended Memory Storage ............................................................................209
12.1 General/Arbitrary Data Reception ............................................................................... 209
12.2 RGB888 Data Reception ............................................................................................. 210
12.3 RGB666 Data Reception ............................................................................................. 210
12.4 RGB565 Data Reception ............................................................................................. 211
12.5 RGB555 Data Reception ............................................................................................. 211
12.6 RGB444 Data Reception ............................................................................................. 212
12.7 YUV422 8-bit Data Reception .................................................................................... 212
12.8 YUV422 10-bit Data Reception .................................................................................. 213
12.9 YUV420 8-bit (Legacy) Data Reception ..................................................................... 214
12.10 YUV420 8-bit Data Reception .................................................................................... 215
12.11 YUV420 10-bit Data Reception .................................................................................. 216
12.12 RAW6 Data Reception ................................................................................................. 217
剩余337页未读,继续阅读
Eric.Wu
- 粉丝: 2
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
- SPC统计方法基础知识.pptx
- MW全能培训汽轮机调节保安系统PPT教学课件.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论15