找回密码
 注册
搜索
查看: 2902|回复: 12

[资料] MIPI-CS2

[复制链接]
发表于 2011-10-19 11:45:31 | 显示全部楼层 |阅读模式
Draft Version 1.01.00 Revision 0.04 – 2 April 2009 ........................................................................................  i 
1  Overview ...............................................................................................................................................  16 
1.1  Scope .............................................................................................................................................  16 
1.2  Purpose ..........................................................................................................................................  16 
2  Terminology ..........................................................................................................................................  17 
2.1  Definitions .....................................................................................................................................  17 
2.2  Abbreviations ................................................................................................................................  18 
2.3  Acronyms ......................................................................................................................................  18 
3  References .............................................................................................................................................  20 
4  Overview of CSI-2 ................................................................................................................................  21 
5  CSI-2 Layer Definitions ........................................................................................................................  22 
6  Camera Control Interface (CCI) ............................................................................................................  24 
6.1  Data Transfer Protocol ...................................................................................................................  24 
6.1.1  Message Type ........................................................................................................................  24 
6.1.2  Read/Write Operations ..........................................................................................................  25 
6.2  CCI Slave Addresses .....................................................................................................................  28 
6.3  CCI Multi-Byte Registers ..............................................................................................................  28 
6.3.1  Overview ...............................................................................................................................  28 
6.3.2  The Transmission Byte Order for Multi-byte Register Values ..............................................  30 
6.3.3  Multi-Byte Register Protocol .................................................................................................  31 
6.4  Electrical Specifications and Timing for I/O Stages ......................................................................  35 
7  Physical Layer .......................................................................................................................................  38 
8  Multi-Lane Distribution and Merging ...................................................................................................  39 
8.1  Multi-Lane Interoperability ...........................................................................................................  43 
9  Low Level Protocol ...............................................................................................................................  46 
9.1  Low Level Protocol Packet Format ...............................................................................................  46 
9.1.1  Low Level Protocol Long Packet Format ..............................................................................  46 
9.1.2  Low Level Protocol Short Packet Format ..............................................................................  48 
9.2  Data Identifier (DI) ........................................................................................................................  48 
9.3  Virtual Channel Identifier ..............................................................................................................  48 
9.4  Data Type (DT) .............................................................................................................................  49 
9.5  Packet Header Error Correction Code ...........................................................................................  50 
9.5.1  General Hamming Code Applied to Packet Header ..............................................................  51 
9.5.2  Hamming-modified Code ......................................................................................................  51 
9.5.3  ECC Generation on TX Side .................................................................................................  54 
9.5.4  Applying ECC on RX Side ....................................................................................................  55 
9.6  Checksum Generation ....................................................................................................................  56 
9.7  Packet Spacing ...............................................................................................................................  58 
9.8  Synchronization Short Packet Data Type Codes ...........................................................................  59 
9.8.1  Frame Synchronization Packets .............................................................................................  59 
9.8.2  Line Synchronization Packets ................................................................................................  60 
9.9  Generic Short Packet Data Type Codes .........................................................................................  60 
9.10  Packet Spacing Examples ..............................................................................................................  61 
9.11  Packet Data Payload Size Rules ....................................................................................................  63 
9.12  Frame Format Examples ................................................................................................................  64 
9.13  Data Interleaving ...........................................................................................................................  66 
9.13.1  Data Type Interleaving  ..........................................................................................................  66 
9.13.2  Virtual Channel Identifier Interleaving ..................................................................................  69 
  Color Spaces ......................................................................................................................................  71 
10.1  RGB Color Space Definition .........................................................................................................  71 
10.2  YUV Color Space Definition.........................................................................................................  71 
  Data Formats .....................................................................................................................................  72 
11.1  Generic 8-bit Long Packet Data Types ..........................................................................................  73 
11.1.1  Null and Blanking Data .........................................................................................................  73 
11.1.2  Embedded Information ..........................................................................................................  73 
11.2  YUV Image Data ...........................................................................................................................  73 
11.2.1  Legacy YUV420 8-bit ...........................................................................................................  74 
11.2.2  YUV420 8-bit ........................................................................................................................  76 
11.2.3  YUV420 10-bit ......................................................................................................................  79 
11.2.4  YUV422 8-bit ........................................................................................................................  81 
11.2.5  YUV422 10-bit ......................................................................................................................  82 
11.3  RGB Image Data ...........................................................................................................................  83 
11.3.1  RGB888 .................................................................................................................................  84 
11.3.2  RGB666 .................................................................................................................................  85 
11.3.3  RGB565 .................................................................................................................................  86 
11.3.4  RGB555 .................................................................................................................................  87 
11.3.5  RGB444 .................................................................................................................................  88 
11.4  RAW Image Data ..........................................................................................................................  88 
11.4.1  RAW6 ....................................................................................................................................  89 
11.4.2  RAW7 ....................................................................................................................................  89 
11.4.3  RAW8 ....................................................................................................................................  90 
11.4.4  RAW10 ..................................................................................................................................  91 
11.4.5  RAW12 ..................................................................................................................................  92 
11.4.6  RAW14 ..................................................................................................................................  93 
11.5  User Defined Data Formats ...........................................................................................................  94 
2  Recommended Memory Storage .......................................................................................................  97 
12.1  General/Arbitrary Data Reception .................................................................................................  97 
12.2  RGB888 Data Reception ...............................................................................................................  97 
12.3  RGB666 Data Reception ...............................................................................................................  98 
12.4  RGB565 Data Reception ...............................................................................................................  99 
12.5  RGB555 Data Reception ...............................................................................................................  99 
12.6  RGB444 Data Reception ...............................................................................................................  99 
12.7  YUV422 8-bit Data Reception ....................................................................................................  100 
12.8  YUV422 10-bit Data Reception ..................................................................................................  100 
12.9  YUV420 8-bit (Legacy) Data Reception .....................................................................................  101 
12.10  YUV420 8-bit Data Reception ................................................................................................  102 
12.11  YUV420 10-bit Data Reception ..............................................................................................  103 
12.12  RAW6 Data Reception ............................................................................................................  105 
12.13  RAW7 Data Reception ............................................................................................................  105 
12.14  RAW8 Data Reception ............................................................................................................  105 
12.15  RAW10 Data Reception ..........................................................................................................  106 
12.16  RAW12 Data Reception ..........................................................................................................  106 
12.17  RAW14 Data Reception ..........................................................................................................  107 
Annex A JPEG8 Data Format (informative) ...............................................................................................  108 
A.1  Introduction .................................................................................................................................  108 
A.2  JPEG Data Definition  ..................................................................................................................  109 
A.3  Image Status Information ............................................................................................................  109 
A.4  Embedded Images........................................................................................................................  111 
A.5  JPEG8 Non-standard Markers .....................................................................................................  112 
A.6  JPEG8 Data Reception ................................................................................................................  112 
Annex B CSI-2 Implementation Example (informative) .............................................................................  113 
B.1  Overview .....................................................................................................................................  113 
B.2  CSI-2 Transmitter Detailed Block Diagram ................................................................................  113 
B.3  CSI-2 Receiver Detailed Block Diagram .....................................................................................  114 
B.4  Details on the D-PHY implementation ........................................................................................  115 
B.4.1  CSI-2 Clock Lane Transmitter .............................................................................................  117 
B.4.2  CSI-2 Clock Lane Receiver .................................................................................................  117 
B.4.3  CSI-2 Data Lane Transmitter ...............................................................................................  118 
B.4.4  CSI-2 Data Lane Receiver ...................................................................................................  120 
Annex C CSI-2 Recommended Receiver Error Behavior (informative) .....................................................  122 
C.1  Overview .....................................................................................................................................  122 
C.2  D-PHY Level Error .....................................................................................................................  123 
C.3  Packet Level Error .......................................................................................................................  123 
C.4  Protocol Decoding Level Error ....................................................................................................  124 
Annex D CSI-2 Sleep Mode (informative) ..................................................................................................  126 
D.1  Overview .....................................................................................................................................  126 
D.2  SLM Command Phase .................................................................................................................  126 
D.3  SLM Entry Phase .........................................................................................................................  126 
D.4  SLM Exit Phase ...........................................................................................................................  127 
Annex E Data Compression for RAW Data Types (normative) ..................................................................  128 
E.1  Predictors .....................................................................................................................................  129 
E.1.1  Predictor1 ............................................................................................................................  130 
E.1.2  Predictor2 ............................................................................................................................  130 
E.2  Encoders ......................................................................................................................................  131 
E.2.1  Coder for 10–8–10 Data Compression ................................................................................  131 
E.2.2  Coder for 10–7–10 Data Compression ................................................................................  133 
E.2.3  Coder for 10–6–10 Data Compression ................................................................................  136 
E.2.4  Coder for 12–8–12 Data Compression ................................................................................  138 
E.2.5  Coder for 12–7–12 Data Compression ................................................................................  141 
E.2.6  Coder for 12–6–12 Data Compression ................................................................................  145 
E.3  Decoders ......................................................................................................................................  148 
E.3.1  Decoder for 10–8–10 Data Compression .............................................................................  148 
E.3.2  Decoder for 10–7–10 Data Compression .............................................................................  150 
E.3.3  Decoder for 10–6–10 Data Compression .............................................................................  153 
E.3.4  Decoder for 12–8–12 Data Compression .............................................................................  156 
E.3.5  Decoder for 12–7–12 Data Compression .............................................................................  159 
E.3.6  Decoder for 12–6–12 Data Compression .............................................................................  163 
Annex F JPEG Interleaving (informative) ...................................................................................................  168 
【文件名】:111019@52RD_mipi.pdf
【格 式】:pdf
【大 小】:2938K
【简 介】:
【目 录】:


 楼主| 发表于 2011-10-21 11:46:38 | 显示全部楼层
怎么没有人顶呢,我花了好长时间才找到的资料。谁有DSI和DPI的贴出来[em01]
点评回复

使用道具 举报

发表于 2011-10-19 14:46:00 | 显示全部楼层
看看怎么样。
点评回复

使用道具 举报

发表于 2011-11-13 22:19:04 | 显示全部楼层
free data for everyone
点评回复

使用道具 举报

发表于 2011-11-14 22:28:49 | 显示全部楼层
Thanks very much,支持免费!!
点评回复

使用道具 举报

发表于 2011-12-7 17:07:13 | 显示全部楼层
请问大侠有找到DPI方面的资料吗?
点评回复

使用道具 举报

发表于 2011-12-7 17:04:40 | 显示全部楼层
我也在找DPI接口的资料,请问大侠找到了吗?
点评回复

使用道具 举报

发表于 2011-12-19 22:02:55 | 显示全部楼层
xiang xiang AAAAA
点评回复

使用道具 举报

发表于 2012-2-29 18:38:36 | 显示全部楼层
顶!!!!!!!!!!谢谢!!!!!!
点评回复

使用道具 举报

发表于 2012-8-4 15:59:13 | 显示全部楼层
应该是个不错的资料 ~
点评回复

使用道具 举报

发表于 2013-7-26 23:40:28 | 显示全部楼层
目录不错,看不到东东
点评回复

使用道具 举报

发表于 2014-12-18 22:18:57 | 显示全部楼层
xiazai zainali
点评回复

使用道具 举报

发表于 2015-2-27 21:02:27 | 显示全部楼层
dingding
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies

本版积分规则

Archiver|手机版|小黑屋|52RD我爱研发网 ( 沪ICP备2022007804号-2 )

GMT+8, 2024-12-23 09:38 , Processed in 0.076027 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表