解決爭用情況的程序。D-PHY 包含數種偵測 Link 爭用的機制。然而,某些爭用情況只能在較高層級偵測到,因此並未包含在本規格中。
確保不同 Lane Module 類型之間的連接操作正常。有多種不同的 Lane Module 類型,可最佳支援多種應用的不同功能需求。這表示除了一些基本功能之外,還可以包含或排除一些可選功能。本規格僅確保匹配的 Lane Module 類型之間的連接操作正確,也就是說:支援相同特性且功能互補的模組。如果車道的兩側並非相同類型,而這些車道應該可以正確運作,則車道模組的製造商應確保所提供的附加功能不會損壞運作。若能以其他獨立於 MIPI D-PHY 介面的方式停用附加功能,使 Lane 模組的行為與相同類型的 Lane 模組無異,則最易達到此目的。
IO 的 ESD 保護等級。所需的等級取決於特定的應用環境和產品類型。
精確的 Bit-Error-Rate (BER) 值。實現的 BER 的實際值取決於整體系統整合和環境的敵對程度。因此,不可能為 Link 的個別部分指定 BER。本規格允許實作的 BER 為 < 10^(-12)<10^{-12} 。
Version 2.0 Specification for D-PHY
23-Nov-2015
144 Mbps Megabits per second
145 MSB Most Significant Bit
146 PHY Physical Layer
147 PLL Phase-Locked Loop
148 PPI PHY-Protocol Interface
149 RF Radio Frequency
150 RX Receiver
151 SE Single-Ended
152 SoT Start of Transmission
153 TLIS Transmission-Line Interconnect Structure: physical interconnect realization between Master
154 and Slave
155 TX Transmitter
156 UI Unit Interval, equal to the duration of any HS state on the Clock Lane
157 ULPS Ultra-Low Power State| | Version 2.0 | Specification for D-PHY |
| :--- | :--- | :--- |
| | 23-Nov-2015 | |
| 144 | Mbps | Megabits per second |
| 145 | MSB | Most Significant Bit |
| 146 | PHY | Physical Layer |
| 147 | PLL | Phase-Locked Loop |
| 148 | PPI | PHY-Protocol Interface |
| 149 | RF | Radio Frequency |
| 150 | RX | Receiver |
| 151 | SE | Single-Ended |
| 152 | SoT | Start of Transmission |
| 153 | TLIS | Transmission-Line Interconnect Structure: physical interconnect realization between Master |
| 154 | | and Slave |
| 155 | TX | Transmitter |
| 156 | UI | Unit Interval, equal to the duration of any HS state on the Clock Lane |
| 157 | ULPS | Ultra-Low Power State |
D-PHY 描述一種來源同步、高速、低耗電、低成本的 PHY,特別適用於行動應用。此 D-PHY 規格主要是針對相機與顯示應用程式與主機處理器的連接而撰寫。然而,它也可應用於許多其他應用。我們預期同類型的 PHY 也會用在雙重複合配置中,用於更一般的通訊網路互連。由於 Link 兩側之間的主從關係,因此 Link 的操作和可用資料速率是不對稱的。非對稱的設計大大降低了 Link 的複雜性。某些功能(如雙向、半雙工操作)是可選的。對於有非對稱資料流量需求的應用,以及回傳通道的獨立互連成本過高時,利用此功能會很有吸引力。雖然這項功能是可選的,但對於沒有回傳流量需求或想要應用物理上不同的回傳通訊通道的應用,它可以避免強制性的開銷成本。
4.1 PHY 功能摘要
D-PHY 提供 Master 和 Slave 之間的同步連線。實用的 PHY 組態包含一個時脈信號和一個或多個資料信號。時脈信號是單向的,從主端開始,到從端結束。資料信號可以是單向或雙向,視所選的選項而定。對於半雙工操作,反向頻寬是正向頻寬的四分之一。令牌傳遞用於控制 Link 的通訊方向。
Link 包括用於快速資料通訊的 High-Speed 信令模式和用於控制目的的 Low-Power 信令模式。低功率逃逸模式可選擇用於低速異步資料通訊。高速資料通訊以具有任意數量有效負載資料位元組的 burst 形式出現。
PHY 的每個資料通道使用兩條線,加上時脈通道的兩條線。這樣,最小的 PHY 配置就有四條線。在高速模式下,每條 Lane 都在兩側端接,並由低搖擺、差動訊號驅動。在低功耗模式下,所有線路都是單端操作且無端線。基於 EMI 的理由,此模式的驅動器應採用壓縮率控制和電流限制。
PHY 組態包含一個時脈 Lane 模組和一個或多個資料 Lane 模組。每個 PHY Lane 模組透過兩條線與 Lane 互連另一端的互補零件通訊。
每個 Lane 模組包含一個或多個同時使用兩條互連線的差動高速功能、一個或多個在每條互連線上單獨操作的單端低功耗功能,以及控制和介面邏輯。所有功能的概覽如圖 1 所示。高速信號的電壓擺幅較低,例如 200 mV,而低功率信號的電壓擺幅較大,例如 1.2V。高速功能用於高速資料傳輸。低功耗功能主要用於控制,但也有其他可選的使用情況。I/O 功能由 Lane Control and Interface Logic 區塊控制。此區塊與通訊協定連接,並決定 Lane 模組的全局操作。
高速功能包括差分傳送器 (HS-TX) 和差分接收器 (HS-RX)。
一個 Lane 模組可能包含 HS-TX、HS-RX 或兩者。在正常操作期間,單一 Lane 模組中的 HS-TX 和 HS-RX 絕不會同時啟用。啟用的高速功能應根據第 9.1.1 節和第 9.2.1 節的定義,終止其一端的 Lane 互連。如果一個
Lane
Interconnect Side| Lane |
| :--- |
| Interconnect Side |
高速性能
支援的前向逃逸模式功能
Forward
Direction Escape Mode Features Supported| Forward |
| :--- |
| Direction Escape Mode Features Supported |
支援的反向 Escape 模式功能 ^(1){ }^{1}
Reverse
Direction Escape
Mode Features Supported ^(1)| Reverse |
| :--- |
| Direction Escape |
| Mode Features Supported ${ }^{1}$ |
CIL-
M - 主人 S - 奴隸 X - 無所謂
M - Master
S - Slave
X - Don't Care| M - Master |
| :--- |
| S - Slave |
| X - Don't Care |
F - 僅正向 RR - 反向和正向X - 無所謂 ^(2){ }^{2}
F - Forward Only
R - Reverse and Forward
X - Don't Care ^(2)| F - Forward Only |
| :--- |
| $R$ - Reverse and Forward |
| X - Don't Care ${ }^{2}$ |
A - 全部(包括 LPDT) E - 僅限事件觸發器和 ULPS X - 不關心
A - All (including LPDT)
E - events Triggers and ULPS Only X - Don't Care| A - All (including LPDT) |
| :--- |
| E - events Triggers and ULPS Only X - Don't Care |
A - All (including LPDT) E-events - Triggers and ULPS Only N - None Y - Any (A, E, or A and E) X - Don't Care
C-Clock
N - 不適用
N - 不適用
Prefix "Lane
Interconnect Side" High-Speed Capabilities "Forward
Direction Escape Mode Features Supported" "Reverse
Direction Escape
Mode Features Supported ^(1)"
CIL- "M - Master
S - Slave
X - Don't Care" "F - Forward Only
R - Reverse and Forward
X - Don't Care ^(2)" "A - All (including LPDT)
E - events Triggers and ULPS Only X - Don't Care" A - All (including LPDT) E-events - Triggers and ULPS Only N - None Y - Any (A, E, or A and E) X - Don't Care
C-Clock N - Not Applicable N - Not Applicable| Prefix | Lane <br> Interconnect Side | High-Speed Capabilities | Forward <br> Direction Escape Mode Features Supported | Reverse <br> Direction Escape <br> Mode Features Supported ${ }^{1}$ |
| :---: | :---: | :---: | :---: | :---: |
| CIL- | M - Master <br> S - Slave <br> X - Don't Care | F - Forward Only <br> $R$ - Reverse and Forward <br> X - Don't Care ${ }^{2}$ | A - All (including LPDT) <br> E - events Triggers and ULPS Only X - Don't Care | ```A - All (including LPDT) E-events - Triggers and ULPS Only N - None Y - Any (A, E, or A and E) X - Don't Care``` |
| | | C-Clock | N - Not Applicable | N - Not Applicable |
請注意:
「任意 」是一個或多個功能的任意組合。
僅對資料車道有效,表示「F」或「R」。
建議的 PHY 通訊協定介面包含位元組格式的資料輸入(Data-in)和資料輸出(Data-out)、輸入和/或輸出時鐘訊號以及控制訊號。控制信號包括請求、握手、測試設定和初始化。附件 A 中描述了邏輯內部介面的建議。儘管並非必要,但使用建議的 PPI 可能非常有用。對於 IC 的外部使用,實作可以在相同的引腳上多路複用許多訊號。然而,基於電源效率的理由,PPI 通常是在 IC 內。
Supported Directions for Escape mode including LPDT
(Bi-directional, Forward Only or Reverse Only)| Supported Directions for Escape mode including LPDT |
| :--- |
| (Bi-directional, Forward Only or Reverse Only) |
rarr\rightarrow
larr\leftarrow
時脈方向 (依定義從 Master 到 Slave,必須指向與「Clock Only Lane」箭頭相同的方向)
Clock Direction
(by definition from Master to Slave, must point in the same direction as the "Clock Only Lane" arrow)| Clock Direction |
| :--- |
| (by definition from Master to Slave, must point in the same direction as the "Clock Only Lane" arrow) |
PPI:PHY-通訊協定介面
This Other Options Meaning
C1CCCCCCC1 https://cdn.mathpix.com/cropped/2024_12_07_47a3926ad0b042cab51dg-026.jpg?height=93&width=153&top_left_y=1703&top_left_x=792 Supported Directions for High-Speed Data Transmission (Bi-directional or Unidirectional)
C1[I-][In][IH]1 C1C[I-][I-]1 Clock Lane
longleftrightarrow longrightarrow Supported Directions for Escape mode excluding LPDT (Bi-directional or Forward Only)
⊮ longrightarrow ⋙≪ "Supported Directions for Escape mode including LPDT
(Bi-directional, Forward Only or Reverse Only)"
rarr larr "Clock Direction
(by definition from Master to Slave, must point in the same direction as the "Clock Only Lane" arrow)"
https://cdn.mathpix.com/cropped/2024_12_07_47a3926ad0b042cab51dg-026.jpg?height=85&width=86&top_left_y=2267&top_left_x=607 PPI: PHY-Protocol Interface| This | Other Options | Meaning |
| :---: | :---: | :---: |
| <smiles>C1CCCCCCC1</smiles> | ![](https://cdn.mathpix.com/cropped/2024_12_07_47a3926ad0b042cab51dg-026.jpg?height=93&width=153&top_left_y=1703&top_left_x=792) | Supported Directions for High-Speed Data Transmission (Bi-directional or Unidirectional) |
| <smiles>C1[I-][In][IH]1</smiles> | <smiles>C1C[I-][I-]1</smiles> | Clock Lane |
| $\longleftrightarrow$ | $\longrightarrow$ | Supported Directions for Escape mode excluding LPDT (Bi-directional or Forward Only) |
| $\nVdash \longrightarrow$ | $\ggg \ll$ | Supported Directions for Escape mode including LPDT <br> (Bi-directional, Forward Only or Reverse Only) |
| $\rightarrow$ | $\leftarrow$ | Clock Direction <br> (by definition from Master to Slave, must point in the same direction as the "Clock Only Lane" arrow) |
| ![](https://cdn.mathpix.com/cropped/2024_12_07_47a3926ad0b042cab51dg-026.jpg?height=85&width=86&top_left_y=2267&top_left_x=607) | | PPI: PHY-Protocol Interface |
圖 5 車道符號巨集與符號圖例
對於多重資料車道,可以有多種不同的配置。圖 6 顯示不同 Lane 類型的符號表示概觀。每個 Lane 種類所提到的縮寫以簡短的方式表示每個模組的功能。這也設定了每個模組內 CIL 功能的需求。
此組態包括一條時鐘通道(Clock Lane)和多條雙向資料通道(Data Lane)。每個單獨的 Lane 都可以正向和反向進行通訊。最大可用頻寬會隨著每個方向的 Lane 數量而增加。PHY 規格並不要求所有資料通道同時啟動,甚至不要求在同一方向上操作。事實上,通訊協定層會個別控制所有資料通道。圖 11 顯示兩個資料通道的配置範例。如果 N 是資料通道的數量,此配置需要 2**(N+1)2 *(\mathrm{~N}+1) 互連線。
傳送器功能透過驅動特定的線路電平來決定 Lane 狀態。在正常操作期間,HS-TX 或 LP-TX 會驅動一個 Lane。HS-TX 始終以差分方式驅動 Lane。兩個 LPTX 則獨立單端驅動一 Lane 的兩條 Line。這導致兩種可能的高速 Lane 狀態和四種可能的低功耗 Lane 狀態。高速 Lane 狀態為 Differential-0 和 Differential-1。低功耗 Lane 狀態的解釋取決於操作模式。LP 接收器應始終將兩個高速差分狀態解釋為 LP-00。
州法
線路電壓等級
高速
低功耗
Dp-Line
Dn-Line
連拍模式
控制模式
逃離模式
HS-0
HS 低
HS 高
差分-0
不適用,註 1
不適用,註 1
HS-1
HS 高
HS 低
差分-1
不適用,註 1
不適用,註 1
LP-00
LP 低
LP 低
不適用
橋樑
空間
LP-01
LP 低
LP 高
不適用
HS-Rqst
Mark-0
LP-10
LP 高
LP 低
不適用
LP-Rqst
Mark-1
LP-11
LP 高
LP 高
不適用
停止
不適用,附註 2
State Code Line Voltage Levels High-Speed Low-Power
Dp-Line Dn-Line Burst Mode Control Mode Escape Mode
HS-0 HS Low HS High Differential-0 N/A, Note 1 N/A, Note 1
HS-1 HS High HS Low Differential-1 N/A, Note 1 N/A, Note 1
LP-00 LP Low LP Low N/A Bridge Space
LP-01 LP Low LP High N/A HS-Rqst Mark-0
LP-10 LP High LP Low N/A LP-Rqst Mark-1
LP-11 LP High LP High N/A Stop N/A, Note 2| State Code | Line Voltage Levels | | High-Speed | | Low-Power |
| :--- | :--- | :--- | :--- | :--- | :--- |
| | Dp-Line | Dn-Line | Burst Mode | Control Mode | Escape Mode |
| HS-0 | HS Low | HS High | Differential-0 | N/A, Note 1 | N/A, Note 1 |
| HS-1 | HS High | HS Low | Differential-1 | N/A, Note 1 | N/A, Note 1 |
| LP-00 | LP Low | LP Low | N/A | Bridge | Space |
| LP-01 | LP Low | LP High | N/A | HS-Rqst | Mark-0 |
| LP-10 | LP High | LP Low | N/A | LP-Rqst | Mark-1 |
| LP-11 | LP High | LP High | N/A | Stop | N/A, Note 2 |
Observes transition from LP-11 to LP-01 on the
Lines| Observes transition from LP-11 to LP-01 on the |
| :--- |
| Lines |
驅動電橋狀態 (LP-00) 的時間 THS-PREPARE
觀察線路從 LP-01 到 LP-00 的轉換,在 TD-TERM-EN 時間後啟用線路終止。
Observes transition form LP-01 to LP-00 on the
Lines, enables Line Termination after time TD-TERM-EN| Observes transition form LP-01 to LP-00 on the |
| :--- |
| Lines, enables Line Termination after time TD-TERM-EN |
Enables HS-RX and waits for timer THS-SETTLE to
expire in order to neglect transition effects| Enables HS-RX and waits for timer THS-SETTLE to |
| :--- |
| expire in order to neglect transition effects |
驅動 HS-0 一段時間 THS-ZERO
開始尋找領袖序列
識別到領導序列 'O11101' 時進行同步
Synchronizes upon recognition of Leader Sequence
'O11101'| Synchronizes upon recognition of Leader Sequence |
| :--- |
| 'O11101' |
在時鐘上升沿
TX Side RX Side
Drives Stop state (LP-11) Observes Stop state
Drives HS-Rqst state (LP-01) for time TLPX "Observes transition from LP-11 to LP-01 on the
Lines"
Drives Bridge state (LP-00) for time THS-PREPARE "Observes transition form LP-01 to LP-00 on the
Lines, enables Line Termination after time TD-TERM-EN"
"Enables High-Speed driver and disables Low-Power
drivers simultaneously." "Enables HS-RX and waits for timer THS-SETTLE to
expire in order to neglect transition effects"
Drives HS-0 for a time THS-ZERO Starts looking for Leader-Sequence
"Synchronizes upon recognition of Leader Sequence
'O11101'"
on a rising Clock edge | TX Side | RX Side |
| :--- | :--- |
| Drives Stop state (LP-11) | Observes Stop state |
| Drives HS-Rqst state (LP-01) for time TLPX | Observes transition from LP-11 to LP-01 on the <br> Lines |
| Drives Bridge state (LP-00) for time THS-PREPARE | Observes transition form LP-01 to LP-00 on the <br> Lines, enables Line Termination after time TD-TERM-EN |
| Enables High-Speed driver and disables Low-Power <br> drivers simultaneously. | Enables HS-RX and waits for timer THS-SETTLE to <br> expire in order to neglect transition effects |
| Drives HS-0 for a time THS-ZERO | Starts looking for Leader-Sequence |
| | Synchronizes upon recognition of Leader Sequence <br> 'O11101' |
| on a rising Clock edge | |
保留所有權利。
6.4.3 傳輸結束
TX 側
RX 側
完成傳輸有效載荷資料
接收有效負載資料
在最後一個有效負載資料位元之後立即切換差動狀態,並將該狀態維持一段時間 THS-TRAIL
Toggles differential state immediately after last
payload data bit and keeps that state for a time
THS-TRAIL| Toggles differential state immediately after last |
| :--- |
| payload data bit and keeps that state for a time |
| THS-TRAIL |
停用 HS-TX,啟用 LP-TX,並驅動停止狀態 (LP-11) 一段時間 THS-EXIT
Disables the HS-TX, enables the LP-TX, and drives
Stop state (LP-11) for a time THS-EXIT| Disables the HS-TX, enables the LP-TX, and drives |
| :--- |
| Stop state (LP-11) for a time THS-EXIT |
Detects the Lines leaving LP-00 state and entering
Stop state (LP-11) and disables Termination| Detects the Lines leaving LP-00 state and entering |
| :--- |
| Stop state (LP-11) and disables Termination |
忽略最後一期 THS-SKIP 的位元,以隱藏轉換效果
Neglect bits of last period THS-SKIP to hide transition
effects| Neglect bits of last period THS-SKIP to hide transition |
| :--- |
| effects |
偵測有效資料的最後一次轉換,決定最後有效的資料位元組,並跳過預告序列
Detect last transition in valid Data, determine last
valid Data byte and skip trailer sequence| Detect last transition in valid Data, determine last |
| :--- |
| valid Data byte and skip trailer sequence |
TX Side RX Side
Completes Transmission of payload data Receives payload data
"Toggles differential state immediately after last
payload data bit and keeps that state for a time
THS-TRAIL"
"Disables the HS-TX, enables the LP-TX, and drives
Stop state (LP-11) for a time THS-EXIT" "Detects the Lines leaving LP-00 state and entering
Stop state (LP-11) and disables Termination"
"Neglect bits of last period THS-SKIP to hide transition
effects"
"Detect last transition in valid Data, determine last
valid Data byte and skip trailer sequence"| TX Side | RX Side |
| :--- | :--- |
| Completes Transmission of payload data | Receives payload data |
| Toggles differential state immediately after last <br> payload data bit and keeps that state for a time <br> THS-TRAIL | |
| Disables the HS-TX, enables the LP-TX, and drives <br> Stop state (LP-11) for a time THS-EXIT | Detects the Lines leaving LP-00 state and entering <br> Stop state (LP-11) and disables Termination |
| | Neglect bits of last period THS-SKIP to hide transition <br> effects |
| | Detect last transition in valid Data, determine last <br> valid Data byte and skip trailer sequence |
State "Line
Condition/State" Exit State Exit Conditions
TX-Stop Transmit LP-11 TX-HS-Rqst "On request of Protocol for High-Speed
Transmission"
TX-HS-Rqst Transmit LP-01 TX-HS-Prpr End of timed interval TLPX
TX-HS-Prpr Transmit LP-00 TX-HS-Go End of timed interval THS-PREPARE
TX-HS-Go Transmit HS-0 TX-HS-Sync End of timed interval THS-zERO
TX-HS-Sync "Transmit
sequence
HS-00011101" TX-HS-0 After Sync sequence if first payload data bit is 0
TX-HS-1 After Sync sequence if first payload data bit is 1
TX-HS-0 Transmit HS-0 TX-HS-0 Send another HS-0 bit after a HS-0 bit
TX-HS-1 Send a HS-1 bit after a HS-0 bit
TX-HS-1 Transmit HS-1 TX-HS-0 Send a HS-1 bit after a HS-0 bit
TX-HS-1 Send another HS-1 bit after a HS-1
Trail-HS-0 Last payload bit is HS-1, trailer sequence is HS-0
Trail-HS-0 Transmit HS-0 TX-Stop End of timed interval THS-TRAlL
Trail-HS-1 Transmit HS-1 TX-Stop End of timed interval THS-TRAlL
RX-Stop Receive LP-11 RX-HS-Rqst Line transition to LP-01
RX- HS-Rqst Receive LP-01 RX-HS-Prpr Line transition to LP-00| State | Line <br> Condition/State | Exit State | Exit Conditions |
| :--- | :--- | :--- | :--- |
| TX-Stop | Transmit LP-11 | TX-HS-Rqst | On request of Protocol for High-Speed <br> Transmission |
| TX-HS-Rqst | Transmit LP-01 | TX-HS-Prpr | End of timed interval TLPX |
| TX-HS-Prpr | Transmit LP-00 | TX-HS-Go | End of timed interval THS-PREPARE |
| TX-HS-Go | Transmit HS-0 | TX-HS-Sync | End of timed interval THS-zERO |
| TX-HS-Sync | Transmit <br> sequence <br> HS-00011101 | TX-HS-0 | After Sync sequence if first payload data bit is 0 |
| | | TX-HS-1 | After Sync sequence if first payload data bit is 1 |
| TX-HS-0 | Transmit HS-0 | TX-HS-0 | Send another HS-0 bit after a HS-0 bit |
| | | TX-HS-1 | Send a HS-1 bit after a HS-0 bit |
| TX-HS-1 | Transmit HS-1 | TX-HS-0 | Send a HS-1 bit after a HS-0 bit |
| | | TX-HS-1 | Send another HS-1 bit after a HS-1 |
| | | Trail-HS-0 | Last payload bit is HS-1, trailer sequence is HS-0 |
| Trail-HS-0 | Transmit HS-0 | TX-Stop | End of timed interval THS-TRAlL |
| Trail-HS-1 | Transmit HS-1 | TX-Stop | End of timed interval THS-TRAlL |
| RX-Stop | Receive LP-11 | RX-HS-Rqst | Line transition to LP-01 |
| RX- HS-Rqst | Receive LP-01 | RX-HS-Prpr | Line transition to LP-00 |
國家
線狀態/狀態
Line
Condition/State| Line |
| :---: |
| Condition/State |
Proper match found (any single bit error allowed if
deskew calibration feature is not used) for Sync
sequence in HS stream, the following bits are
payload data.| Proper match found (any single bit error allowed if |
| :--- |
| deskew calibration feature is not used) for Sync |
| sequence in HS stream, the following bits are |
| payload data. |
RX-HS-1
RX-HS-0
接收 HS-0
RX-HS-0
接收有效負載資料位元或拖曳位元
RX-HS-1
RX-HS-1
接收 HS-1
RX-HS-0
接收有效負載資料位元或拖曳位元
RX-HS-1
RX-Stop
線路轉換至 LP-11
State "Line
Condition/State" Exit State Exit Conditions
RX-HS- Prpr Receive LP-00 RX-HS-Term End of timed interval TD-TERM-EN
RX-HS-Term Receive LP-00 RX-HS-Sync End of timed interval THS-SETTLE
RX-HS-Sync "Receive HS
sequence
...00000011101" RX-HS-0 "Proper match found (any single bit error allowed if
deskew calibration feature is not used) for Sync
sequence in HS stream, the following bits are
payload data."
RX-HS-1
RX-HS-0 Receive HS-0 RX-HS-0 Receive payload data bit or trailer bit
RX-HS-1
RX-HS-1 Receive HS-1 RX-HS-0 Receive payload data bit or trailer bit
RX-HS-1
RX-Stop Line transition to LP-11| State | Line <br> Condition/State | Exit State | Exit Conditions |
| :--- | :--- | :--- | :--- |
| RX-HS- Prpr | Receive LP-00 | RX-HS-Term | End of timed interval TD-TERM-EN |
| RX-HS-Term | Receive LP-00 | RX-HS-Sync | End of timed interval THS-SETTLE |
| RX-HS-Sync | Receive HS <br> sequence <br> ...00000011101 | RX-HS-0 | Proper match found (any single bit error allowed if <br> deskew calibration feature is not used) for Sync <br> sequence in HS stream, the following bits are <br> payload data. |
| | | RX-HS-1 | |
| RX-HS-0 | Receive HS-0 | RX-HS-0 | Receive payload data bit or trailer bit |
| | | RX-HS-1 | |
| RX-HS-1 | Receive HS-1 | RX-HS-0 | Receive payload data bit or trailer bit |
| | | RX-HS-1 | |
| | | RX-Stop | Line transition to LP-11 |
Observes the transition from LP-10 to Bridge state
and waits for a time TAA-SURE. After correct
completion of this time-out this side knows it is in
control.| Observes the transition from LP-10 to Bridge state |
| :--- |
| and waits for a time TAA-SURE. After correct |
| completion of this time-out this side knows it is in |
| control. |
停止驅動線路,並使用 LP-RX 觀察線路狀態,以查看確認。
Stops driving the Lines and observes the Line states
with its LP-RX in order to see an acknowledgement.| Stops driving the Lines and observes the Line states |
| :--- |
| with its LP-RX in order to see an acknowledgement. |
Observes LP-10 on the Lines, interprets this as
acknowledge that the other side has indeed taken
control. Waits for Stop state to complete Turnaround
procedure.| Observes LP-10 on the Lines, interprets this as |
| :--- |
| acknowledge that the other side has indeed taken |
| control. Waits for Stop state to complete Turnaround |
| procedure. |
Initial TX Side = Final RX Side Initial RX Side = Final TX Side
Drives Stop state (LP-11) Observes Stop state
Drives LP-Rqst state (LP-10) for a time TLPX Observes transition from LP-11 to LP-10 states
Drives Bridge state (LP-00) for a time T TPX Observes transition from LP-10 to LP-00 states
Drives LP-10 for a time T TPX Observes transition from LP-00 to LP-10 states
Drives Bridge state (LP-00) for a time TTA-GO "Observes the transition from LP-10 to Bridge state
and waits for a time TAA-SURE. After correct
completion of this time-out this side knows it is in
control."
"Stops driving the Lines and observes the Line states
with its LP-RX in order to see an acknowledgement." Drives Bridge state (LP-00) for a period TTA-GET
Drives LP-10 for a period TLPX
"Observes LP-10 on the Lines, interprets this as
acknowledge that the other side has indeed taken
control. Waits for Stop state to complete Turnaround
procedure." | Initial TX Side = Final RX Side | Initial RX Side = Final TX Side |
| :--- | :--- |
| Drives Stop state (LP-11) | Observes Stop state |
| Drives LP-Rqst state (LP-10) for a time TLPX | Observes transition from LP-11 to LP-10 states |
| Drives Bridge state (LP-00) for a time T TPX | Observes transition from LP-10 to LP-00 states |
| Drives LP-10 for a time T TPX | Observes transition from LP-00 to LP-10 states |
| Drives Bridge state (LP-00) for a time TTA-GO | Observes the transition from LP-10 to Bridge state <br> and waits for a time TAA-SURE. After correct <br> completion of this time-out this side knows it is in <br> control. |
| Stops driving the Lines and observes the Line states <br> with its LP-RX in order to see an acknowledgement. | Drives Bridge state (LP-00) for a period TTA-GET |
| | Drives LP-10 for a period TLPX |
| Observes LP-10 on the Lines, interprets this as <br> acknowledge that the other side has indeed taken <br> control. Waits for Stop state to complete Turnaround <br> procedure. | |
初始 TX 端 = 最終 RX 端
初始 RX 端 = 最終 TX 端
觀察轉換至停止狀態 (LP-11) 上的
行,將此解釋為 Turnaround 完成
確認,切換到正常的 LP 接收
模式,並等待其他
旁邊
Initial TX Side = Final RX Side Initial RX Side = Final TX Side
Observes transition to Stop state (LP-11) on the
Lines, interprets this as Turnaround completion
acknowledgement, switches to normal LP receive
mode and waits for further actions from the other
side | Initial TX Side = Final RX Side | Initial RX Side = Final TX Side |
| :--- | :--- |
| Observes transition to Stop state (LP-11) on the | |
| Lines, interprets this as Turnaround completion | |
| acknowledgement, switches to normal LP receive | |
| mode and waits for further actions from the other | |
| side | |
Line
Condition/State| Line |
| :---: |
| Condition/State |
退出狀態
退出條件
任何 RX 狀態
任何收到
RX-Stop
在線上觀察 LP-11
TX 停止
傳輸 LP-11
TX-LP-Rqst
依據《轉彎規約》的要求
TX-LP-Rqst
傳輸 LP-10
TX-LP-Yield
定時間隔結束 TLPX
TX-LP-Yield
傳輸 LP-00
TX-TA-Rqst
定時間隔結束 TLPX
TX-TA-Rqst
傳輸 LP-10
TX-TA-Go
定時間隔結束 TLPX
TX-TA-Go
傳輸 LP-00
RX-TA-Look
計時間結束 TTA-GO
RX-TA-Look
接收 LP-00
RX-TA-Ack
線路轉換至 LP-10
RX-TA-Ack
接收 LP-10
RX-Stop
線路轉換至 LP-11
RX-Stop
接收 LP-11
RX-LP-Rqst
線路轉換至 LP-10
RX-LP-Rqst
接收 LP-10
RX-LP-Yield
線路轉換至 LP-00
RX-LP-Yield
接收 LP-00
RX-TA-Rqst
線路轉換至 LP-10
RX-TA-Rqst
接收 LP-10
RX-TA-Wait
線路轉換至 LP-00
RX-TA-Wait
接收 LP-00
TX-TA-Get
計時間結束 TTA-SURE
TX-TA-Get
傳輸 LP-00
TX-TA-Ack
計時間結束 TTA-GET
TX-TA-Ack
Transit LP-10
TX 停止
定時間隔結束 TLPX
State "Line
Condition/State" Exit State Exit Conditions
Any RX state Any Received RX-Stop Observe LP-11 at Lines
TX-Stop Transmit LP-11 TX-LP-Rqst On request of Protocol for Turnaround
TX-LP-Rqst Transmit LP-10 TX-LP-Yield End of timed interval TLPX
TX-LP-Yield Transmit LP-00 TX-TA-Rqst End of timed interval TLPX
TX-TA-Rqst Transmit LP-10 TX-TA-Go End of timed interval TLPX
TX-TA-Go Transmit LP-00 RX-TA-Look End of timed interval TTA-GO
RX-TA-Look Receive LP-00 RX-TA-Ack Line transition to LP-10
RX-TA-Ack Receive LP-10 RX-Stop Line transition to LP-11
RX-Stop Receive LP-11 RX-LP-Rqst Line transition to LP-10
RX-LP-Rqst Receive LP-10 RX-LP-Yield Line transition to LP-00
RX-LP-Yield Receive LP-00 RX-TA-Rqst Line transition to LP-10
RX-TA-Rqst Receive LP-10 RX-TA-Wait Line transition to LP-00
RX-TA-Wait Receive LP-00 TX-TA-Get End of timed interval TTA-SURE
TX-TA-Get Transmit LP-00 TX-TA-Ack End of timed interval TTA-GET
TX-TA-Ack Transit LP-10 TX-Stop End of timed interval TLPX| State | Line <br> Condition/State | Exit State | Exit Conditions |
| :--- | :--- | :--- | :--- |
| Any RX state | Any Received | RX-Stop | Observe LP-11 at Lines |
| TX-Stop | Transmit LP-11 | TX-LP-Rqst | On request of Protocol for Turnaround |
| TX-LP-Rqst | Transmit LP-10 | TX-LP-Yield | End of timed interval TLPX |
| TX-LP-Yield | Transmit LP-00 | TX-TA-Rqst | End of timed interval TLPX |
| TX-TA-Rqst | Transmit LP-10 | TX-TA-Go | End of timed interval TLPX |
| TX-TA-Go | Transmit LP-00 | RX-TA-Look | End of timed interval TTA-GO |
| RX-TA-Look | Receive LP-00 | RX-TA-Ack | Line transition to LP-10 |
| RX-TA-Ack | Receive LP-10 | RX-Stop | Line transition to LP-11 |
| RX-Stop | Receive LP-11 | RX-LP-Rqst | Line transition to LP-10 |
| RX-LP-Rqst | Receive LP-10 | RX-LP-Yield | Line transition to LP-00 |
| RX-LP-Yield | Receive LP-00 | RX-TA-Rqst | Line transition to LP-10 |
| RX-TA-Rqst | Receive LP-10 | RX-TA-Wait | Line transition to LP-00 |
| RX-TA-Wait | Receive LP-00 | TX-TA-Get | End of timed interval TTA-SURE |
| TX-TA-Get | Transmit LP-00 | TX-TA-Ack | End of timed interval TTA-GET |
| TX-TA-Ack | Transit LP-10 | TX-Stop | End of timed interval TLPX |
Spaced-One-Hot 編碼是指每個 Mark 狀態與 Space 狀態交錯。因此,每個符號由兩部分組成:一個 One-Hot 階段(Mark-0 或 Mark-1)和一個 Space 階段。TX 應發送 Mark-0 之後的 Space 來傳送「零位元」,並應發送 Mark-1 之後的 Space 來傳送「一位元」。沒有跟隨空格的 Mark 不代表一個位元。在以 Stop 狀態離開 Escape 模式之前的最後一個階段應該是 Mark-1 狀態,由於它後面沒有 Space 狀態,所以不屬於通訊位元的一部分。時脈(Clock)可透過一個 exclusive-OR 函數從兩個 Line 訊號 Dp 和 Dn 得到。每個獨立 LP 狀態週期的長度至少應為 T_("LPX,MIN ")\mathrm{T}_{\text {LPX,MIN }} 。
逃生模式動作
指令類型
輸入指令樣式(傳送的第一個位元到傳送的最後一個位元)
Entry Command Pattern (first
bit transmitted to last bit
transmitted)| Entry Command Pattern (first |
| :---: |
| bit transmitted to last bit |
| transmitted) |
低功耗資料傳輸
模式
11100001
超低功耗狀態
模式
00011110
未定義-1
模式
10011111
未定義-2
模式
11011110
重設-觸發器
Reset-Trigger| Reset-Trigger |
| :--- |
觸發器
01100010
HS 測試模式的輸入順序
觸發器
01011101
未知-4
觸發器
00100001
未知-5
觸發器
10100000
Escape Mode Action Command Type "Entry Command Pattern (first
bit transmitted to last bit
transmitted)"
Low-Power Data Transmission mode 11100001
Ultra-Low Power State mode 00011110
Undefined-1 mode 10011111
Undefined-2 mode 11011110
"Reset-Trigger" Trigger 01100010
Entry sequence for HS Test Mode Trigger 01011101
Unknown-4 Trigger 00100001
Unknown-5 Trigger 10100000| Escape Mode Action | Command Type | Entry Command Pattern (first <br> bit transmitted to last bit <br> transmitted) |
| :--- | :--- | :---: |
| Low-Power Data Transmission | mode | 11100001 |
| Ultra-Low Power State | mode | 00011110 |
| Undefined-1 | mode | 10011111 |
| Undefined-2 | mode | 11011110 |
| Reset-Trigger | Trigger | 01100010 |
| Entry sequence for HS Test Mode | Trigger | 01011101 |
| Unknown-4 | Trigger | 00100001 |
| Unknown-5 | Trigger | 10100000 |
如果在 Escape mode Entry 指令之後傳送 Ultra-Low Power State Entry 指令,Lane 應進入 Ultra-Low Power State (ULPS)。此命令應標記到接收端通訊協定。在此狀態期間,線路處於空間狀態 (LP-00)。超低功耗狀態(Ultra-Low Power State)是透過一個長度為 Twakeup 的 Mark-1 狀態(Mark-1 State)退出,接著是一個 Stop 狀態(Stop State)。附件 A 描述了退出程序的範例,以及控制 Mark-1 狀態時間長度的程序。
6.6.4 逃脫模式狀態機
Escape 模式操作的狀態機如圖 20 所示,並在表 9 中描述。
註: 水平對齊的狀態會同時出現。
圖 20 逃脫模式狀態機
表 9 逃脫模式狀態機說明
國家
線狀態/狀態
退出狀態
退出條件
任何 RX 狀態
任何收到
RX-Stop
在線上觀察 LP-11
TX 停止
傳輸 LP-11
TX-LP-Rqst
應 Esc 模式 (PPI) 協定的要求
TX-LP-Rqst
傳輸 LP-10
TX-LP-Yield
經過時間 T_("LPX ")\mathrm{T}_{\text {LPX }} 之後
TX-LP-Yield
傳輸 LP-00
TX-Esc-Rqst
時間 T TPX 之後
TX-Esc-Rqst
傳輸 LP-01
TX-Esc-Go
時間 T LPX^("a ")\mathrm{LPX}^{\text {a }} 之後
TX-Esc-Go
傳輸 LP-00
TX-Esc-Cond
時間 T TPX 之後
TX-Esc-Cmd
傳送 8 位元(16 行狀態)單步進熱編碼輸入指令序列
TX-Triggers
觸發指令之後
TX-ULPS
超低功率指令之後
TX-LPDT
低功率資料傳輸指令之後
After Low-Power Data
Transmission Command| After Low-Power Data |
| :--- |
| Transmission Command |
TX-Triggers
空間狀態或用於產生時鐘的可選虛擬位元組
TX 標記
依據通訊協定 (PPI) 的要求退出觸發狀態
TX-ULPS
傳輸 LP-00
TX 標記
應議定書 (PPI) 的要求結束 ULP 狀態
State Line Condition/State Exit State Exit Conditions
Any RX state Any Received RX-Stop Observe LP-11 at Lines
TX-Stop Transmit LP-11 TX-LP-Rqst On request of Protocol for Esc mode (PPI)
TX-LP-Rqst Transmit LP-10 TX-LP-Yield After time T_("LPX ")
TX-LP-Yield Transmit LP-00 TX-Esc-Rqst After time T TPX
TX-Esc-Rqst Transmit LP-01 TX-Esc-Go After time T LPX^("a ")
TX-Esc-Go Transmit LP-00 TX-Esc-Cond After time T TPX
TX-Esc-Cmd Transmit sequence of 8-bit (16-line-states) One-Spaced-Hot encoded Entry Command TX-Triggers After a Trigger Command
TX-ULPS After Ultra-Low Power Command
TX-LPDT "After Low-Power Data
Transmission Command"
TX-Triggers Space state or optional dummy bytes for the purpose of generating clocks TX-Mark Exit of the Trigger State on request of Protocol (PPI)
TX-ULPS Transmit LP-00 TX-Mark End of ULP State on request of Protocol (PPI)| State | Line Condition/State | Exit State | Exit Conditions |
| :---: | :---: | :---: | :---: |
| Any RX state | Any Received | RX-Stop | Observe LP-11 at Lines |
| TX-Stop | Transmit LP-11 | TX-LP-Rqst | On request of Protocol for Esc mode (PPI) |
| TX-LP-Rqst | Transmit LP-10 | TX-LP-Yield | After time $\mathrm{T}_{\text {LPX }}$ |
| TX-LP-Yield | Transmit LP-00 | TX-Esc-Rqst | After time T TPX |
| TX-Esc-Rqst | Transmit LP-01 | TX-Esc-Go | After time T $\mathrm{LPX}^{\text {a }}$ |
| TX-Esc-Go | Transmit LP-00 | TX-Esc-Cond | After time T TPX |
| TX-Esc-Cmd | Transmit sequence of 8-bit (16-line-states) One-Spaced-Hot encoded Entry Command | TX-Triggers | After a Trigger Command |
| | | TX-ULPS | After Ultra-Low Power Command |
| | | TX-LPDT | After Low-Power Data <br> Transmission Command |
| TX-Triggers | Space state or optional dummy bytes for the purpose of generating clocks | TX-Mark | Exit of the Trigger State on request of Protocol (PPI) |
| TX-ULPS | Transmit LP-00 | TX-Mark | End of ULP State on request of Protocol (PPI) |