没有合适的资源?快使用搜索试试~ 我知道了~
首页MIPI Camera Serial Interface 2 (CSI-2).pdf
资源详情
资源评论
资源推荐

Version 1.01.00 r0.04 2-Apr-2009 DRAFT MIPI Alliance Specification for CSI-2
Copyright © 2005-2009 MIPI Alliance, Inc. All rights reserved.
MIPI Alliance Member Confidential.
DRAFT MIPI Alliance Specification for
Camera Serial Interface 2 (CSI-2)
Draft Version 1.01.00 Revision 0.04 – 2 April 2009
Further technical changes to this document are expected as work continues in the Camera Working Group

Version 1.01.00 r0.04 2-Apr-2009 DRAFT MIPI Alliance Specification for CSI-2
Copyright © 2005-2009 MIPI Alliance, Inc. All rights reserved.
MIPI Alliance Member Confidential.
ii
NOTICE OF DISCLAIMER 1
The material contained herein is not a license, either expressly or impliedly, to any IPR owned or controlled 2
by any of the authors or developers of this material or MIPI®. The material contained herein is provided on 3
an “AS IS” basis and to the maximum extent permitted by applicable law, this material is provided AS IS 4
AND WITH ALL FAULTS, and the authors and developers of this material and MIPI hereby disclaim all 5
other warranties and conditions, either express, implied or statutory, including, but not limited to, any (if 6
any) implied warranties, duties or conditions of merchantability, of fitness for a particular purpose, of 7
accuracy or completeness of responses, of results, of workmanlike effort, of lack of viruses, and of lack of 8
negligence. 9
All materials contained herein are protected by copyright laws, and may not be reproduced, republished, 10
distributed, transmitted, displayed, broadcast or otherwise exploited in any manner without the express 11
prior written permission of MIPI Alliance. MIPI, MIPI Alliance and the dotted rainbow arch and all related 12
trademarks, tradenames, and other intellectual property are the exclusive property of MIPI Alliance and 13
cannot be used without its express prior written permission. 14
ALSO, THERE IS NO WARRANTY OF CONDITION OF TITLE, QUIET ENJOYMENT, QUIET 15
POSSESSION, CORRESPONDENCE TO DESCRIPTION OR NON-INFRINGEMENT WITH REGARD 16
TO THIS MATERIAL OR THE CONTENTS OF THIS DOCUMENT. IN NO EVENT WILL ANY 17
AUTHOR OR DEVELOPER OF THIS MATERIAL OR THE CONTENTS OF THIS DOCUMENT OR 18
MIPI BE LIABLE TO ANY OTHER PARTY FOR THE COST OF PROCURING SUBSTITUTE 19
GOODS OR SERVICES, LOST PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY INCIDENTAL, 20
CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES WHETHER UNDER 21
CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR 22
ANY OTHER AGREEMENT, SPECIFICATION OR DOCUMENT RELATING TO THIS MATERIAL, 23
WHETHER OR NOT SUCH PARTY HAD ADVANCE NOTICE OF THE POSSIBILITY OF SUCH 24
DAMAGES. 25
Without limiting the generality of this Disclaimer stated above, the user of the contents of this Document is 26
further notified that MIPI: (a) does not evaluate, test or verify the accuracy, soundness or credibility of the 27
contents of this Document; (b) does not monitor or enforce compliance with the contents of this Document; 28
and (c) does not certify, test, or in any manner investigate products or services or any claims of compliance 29
with the contents of this Document. The use or implementation of the contents of this Document may 30
involve or require the use of intellectual property rights ("IPR") including (but not limited to) patents, 31
patent applications, or copyrights owned by one or more parties, whether or not Members of MIPI. MIPI 32
does not make any search or investigation for IPR, nor does MIPI require or request the disclosure of any 33
IPR or claims of IPR as respects the contents of this Document or otherwise. 34
Questions pertaining to this document, or the terms or conditions of its provision, should be addressed to: 35
MIPI Alliance, Inc. 36
c/o IEEE-ISTO 37
445 Hoes Lane 38
Piscataway, NJ 08854 39
Attn: Boa
rd Secretary 40
41

Version 1.01.00 r0.04 2-Apr-2009 DRAFT MIPI Alliance Specification for CSI-2
Copyright © 2005-2009 MIPI Alliance, Inc. All rights reserved.
MIPI Alliance Member Confidential.
iii
Contents 42
Draft Version 1.01.00 Revision
0.04 – 2 April 2009 ........................................................................................ i43
1
Overview ............................................................................................................................................... 1644
1.1
Scope ............................................................................................................................................. 1645
1.2
Purpose .......................................................................................................................................... 1646
2
Terminology .......................................................................................................................................... 1747
2.1
Definitions ..................................................................................................................................... 1748
2.2
Abbreviations ................................................................................................................................ 1849
2.3
Acronyms ...................................................................................................................................... 1850
3
References ............................................................................................................................................. 2051
4
Overview of CSI-2 ................................................................................................................................ 2152
5
CSI-2 Layer Definitions ........................................................................................................................ 2253
6
Camera Control Interface (CCI) ............................................................................................................ 2454
6.1
Data Transfer Protocol ................................................................................................................... 2455
6.1.1
Message Type ........................................................................................................................ 2456
6.1.2
Read/Write Operations .......................................................................................................... 2557
6.2
CCI Slave Addresses ..................................................................................................................... 2858
6.3
CCI Multi-Byte Registers .............................................................................................................. 2859
6.3.1
Overview ............................................................................................................................... 2860
6.3.2
The Transmission Byte Order for Multi-byte Register Values .............................................. 3061
6.3.3
Multi-Byte Register Protocol ................................................................................................. 3162
6.4
Electrical Specifications and Timing for I/O Stages ...................................................................... 3563
7
Physical Layer ....................................................................................................................................... 3864
8
Multi-Lane Distribution and Merging ................................................................................................... 3965
8.1
Multi-Lane Interoperability ........................................................................................................... 4366
9
Low Level Protocol ............................................................................................................................... 4667
9.1
Low Level Protocol Packet Format ............................................................................................... 4668

Version 1.01.00 r0.04 2-Apr-2009 DRAFT MIPI Alliance Specification for CSI-2
Copyright © 2005-2009 MIPI Alliance, Inc. All rights reserved.
MIPI Alliance Member Confidential.
iv
9.1.1
Low Level Protocol Long Packet Format .............................................................................. 4669
9.1.2
Low Level Protocol Short Packet Format .............................................................................. 4870
9.2
Data Identifier (DI) ........................................................................................................................ 4871
9.3
Virtual Channel Identifier .............................................................................................................. 4872
9.4
Data Type (DT) ............................................................................................................................. 4973
9.5
Packet Header Error Correction Code ........................................................................................... 5074
9.5.1
General Hamming Code Applied to Packet Header .............................................................. 5175
9.5.2
Hamming-modified Code ...................................................................................................... 5176
9.5.3
ECC Generation on TX Side ................................................................................................. 5477
9.5.4
Applying ECC on RX Side .................................................................................................... 5578
9.6
Checksum Generation .................................................................................................................... 5679
9.7
Packet Spacing ............................................................................................................................... 5880
9.8
Synchronization Short Packet Data Type Codes ........................................................................... 5981
9.8.1
Frame Synchronization Packets ............................................................................................. 5982
9.8.2
Line Synchronization Packets ................................................................................................ 6083
9.9
Generic Short Packet Data Type Codes ......................................................................................... 6084
9.10
Packet Spacing Examples .............................................................................................................. 6185
9.11
Packet Data Payload Size Rules .................................................................................................... 6386
9.12
Frame Format Examples ......................................................................................................... ....... 6487
9.13
Data Interleaving ........................................................................................................................... 6688
9.13.1
Data Type Interleaving .......................................................................................................... 6689
9.13.2
Virtual Channel Identifier Interleaving .................................................................................. 6990
10
Color Spaces ...................................................................................................................................... 7191
10.1
RGB Color Space Definition ......................................................................................................... 7192
10.2
YUV Color Space Definition......................................................................................................... 7193
11
Data Formats ..................................................................................................................................... 7294
11.1
Generic 8-bit Long Packet Data Types .......................................................................................... 7395
11.1.1
Null and Blanking Data ......................................................................................................... 7396

Version 1.01.00 r0.04 2-Apr-2009 DRAFT MIPI Alliance Specification for CSI-2
Copyright © 2005-2009 MIPI Alliance, Inc. All rights reserved.
MIPI Alliance Member Confidential.
v
11.1.2
Embedded Information .......................................................................................................... 7397
11.2
YUV Image Data ........................................................................................................................... 7398
11.2.1
Legacy YUV420 8-bit ........................................................................................................... 7499
11.2.2
YUV420 8-bit ........................................................................................................................ 76100
11.2.3
YUV420 10-bit ...................................................................................................................... 79101
11.2.4
YUV422 8-bit ........................................................................................................................ 81102
11.2.5
YUV422 10-bit ...................................................................................................................... 82103
11.3
RGB Image Data ........................................................................................................................... 83104
11.3.1
RGB888 ................................................................................................................................. 84105
11.3.2
RGB666 ................................................................................................................................. 85106
11.3.3
RGB565 ................................................................................................................................. 86107
11.3.4
RGB555 ................................................................................................................................. 87108
11.3.5
RGB444 ................................................................................................................................. 88109
11.4
RAW Image Data .......................................................................................................................... 88110
11.4.1
RAW6 .................................................................................................................................... 89111
11.4.2
RAW7 .................................................................................................................................... 89112
11.4.3
RAW8 .................................................................................................................................... 90113
11.4.4
RAW10 .................................................................................................................................. 91114
11.4.5
RAW12 .................................................................................................................................. 92115
11.4.6
RAW14 .................................................................................................................................. 93116
11.5
User Defined Data Formats ........................................................................................................... 94117
12
Recommended Memory Storage ....................................................................................................... 97118
12.1
General/Arbitrary Data Reception ................................................................................................. 97119
12.2
RGB888 Data Reception ............................................................................................................... 97120
12.3
RGB666 Data Reception ............................................................................................................... 98121
12.4
RGB565 Data Reception ............................................................................................................... 99122
12.5
RGB555 Data Reception ............................................................................................................... 99123
12.6
RGB444 Data Reception ............................................................................................................... 99124
剩余169页未读,继续阅读










安全验证
文档复制为VIP权益,开通VIP直接复制

评论0