Overview of CSI-2
The CSI-2 Specification defines standard data transmission and control interfaces between transmitter and receiver. Two high-speed serial data transmission interface options are defined.
CSI-2 Layer Definitions
PHY layer
The Link includes a High-Speed signaling(高速模式) mode for fast-data traffic and a Low-Power signaling(低速模式) mode for control purposes. Optionally, a Low-Power Escape mode can be used for low speed asynchronous data communication.
低速模式用於低速的異步通信。
High speed data communication appears in bursts with an arbitrary number of payload data bytes.
高速模式用於大數據傳輸。
D-PHY有兩種傳輸模式:
(1) HS 高速傳輸模式,用於傳輸突發數據,同步傳輸,信號爲差分信號,電平範圍爲100mv-300mv,傳輸速度範圍是80-1000Mbps。在該模式下傳輸時,當正端接收到300m V,負端接收到100m V 時接收端識別爲1.反之則識別爲0.
(2) LP 低功耗模式,用於傳輸控制指令,異步傳輸,信號線爲單端,電平範圍是0-1.2v,沒有用時鐘線,時鐘是通過兩個數據線異或而來的,速度只有10Mbps。在該模式下傳輸時,當差分線正端收到 1.2V 信號,負端收到 0V信號時,這時接收端識別爲 1。反之爲0。
Csi-2的物理層每個lane的原理圖:
Csi-2的物理層的電平定義:
Low Level Protocol
結合mipi low level protocol的圖例,可以看到,csi-2底層的傳輸過程和DVP傳輸有很大相似。
參考官方規格書:
MIPI Alliance Specification for D-PHY.pdf
mipi_CSI-2_specification_v2-1-2018.pdf