LV005-MIPI简介
在学习相机开发过程中,离不开的就是这个 MIPI,那么他到底是什么?
一、MIPI 是什么?
1. 简介
我们先去官网看一眼:Interface Specifications for Mobile Products | MIPI Allliance。我们来到 About Us 这个页面可以看到这样一段介绍:
MIPI Alliance is a collaborative global organization serving industries that develop mobile and mobile-influenced devices. The focus of the organization is to design and promote hardware and software interfaces that simplify the integration of components built into a device, from the antenna and modem, to peripherals and the application processor. MIPI Alliance crafts all of its specifications to meet the stringent operating conditions required in mobile devices: high-bandwidth performance, low power consumption, and low electromagnetic interference (EMI).
英语看不懂?哈哈,我们放到翻译软件翻译一下就是:
MIPI 联盟是一个全球性的协作组织,为开发移动和受移动影响的设备的行业提供服务。该组织的重点是 设计和推广硬件和软件接口,以简化内置到设备中的组件的集成,从天线和调制解调器到外围设备和应用处理器。MIPI 联盟制定的所有规格都符合移动设备所需的严格操作条件:高带宽性能、低功耗和低电磁干扰(EMI)。
MIPI,全称为 Mobile Industry Processor Interface,即移动行业处理器接口。它是 MIPI 联盟(ARM、诺基亚、TI 等)发起的为移动应用处理器制定的开放标准。MIPI 接口是一种专为移动设备和嵌入式系统设计的串行通信接口,定义了一系列的接口标准。
在 MIPI 联盟的中国成员中,仅 7 家公司是作为 contributor 身份存在,包括海思、卓胜微等,多家公司以 adopter 身份存在,例如全志、瑞芯微、小米、VIVO 等。
2. 发展
2000 年代初,功能手机向智能手机过渡时,摄像头、显示屏等模块的接口标准混乱(LVDS、并行总线等),存在 高功耗、高 EMI、带宽瓶颈 问题。厂商各自为政,供应链成本高企,亟需 标准化 以加速产品迭代。
2003 年,由 ARM、诺基亚、TI 等牵头成立 MIPI 联盟,目标是通过 开放协作 制定低功耗、高性能的移动端专用接口。关键理念:分层协议设计(物理层+协议层解耦),兼顾灵活性与扩展性。
中间怎么发展的,就没有去详细了解了。此处省略......但是官网好像有历史介绍:About Us | MIPI
二、框架
1. 四个方面的协议
MIPI 主要包含四个方面的协议:

- multimedia,多媒体,最常见
- Control&Data
- Chip-to-Chip Inter Process Communications
- Debug & Trace
2. 都有什么用?
四个方面分别包含如下用途,以颜色区分

2.1 MIPI multimedia spec
其中最常见的多媒体方向的协议,大家讨论的大都是多媒体方面的:

后面重点学习的就是用于 Camera 的 CSI。
上图分为三层:应用层、协议层、物理层。
DSI:Display Serial Interface,定义位于处理器和显示模组之间的高速串行接口。
CSI:Camera Serial Interface,定义位于处理器和摄像模组之间的高速串行接口。
DCS:Display Command Set,一个标准化的命令集,用于命令模式的显示模组。
D-PHY、C-PHY、A-PHY、M-PHY:提供 DSI 和 CSI 的物理层定义,其中大家讨论最多的是 D-PHY 这个协议,用的最多的也是 D-PHY。
2.2 MIPI Control & Data

2.3 MIPI Chip-to-Chip Communications spec

2.4 MIPI Debug spec
- MIPI Debug Specifications for Dedicated Debug Interfaces

- MIPI Debug Specifications for Networked Interfaces

- MIPI Debug Specifications for PHY & Pin Overlaid Interfaces

参考资料: