AN 754: MIPI D-PHY Solution with Passive Resistor Networks in Intel Low-Cost FPGAs

Similar documents
MIPI D-PHY Solution with Passive Resistor Networks in Altera Low Cost FPGA

AN 447: Interfacing Intel FPGA Devices with 3.3/3.0/2.5 V LVTTL/ LVCMOS I/O Systems

Implementing Bus LVDS Interface in Cyclone III, Stratix III, and Stratix IV Devices

6. I/O Features in Arria II Devices

Design Guidelines for Intel FPGA DisplayPort Interface

Intel Stratix 10 General Purpose I/O User Guide

Intel Stratix 10 Analog to Digital Converter User Guide

QDR II SRAM Board Design Guidelines

Intel Stratix 10 General Purpose I/O User Guide

Intel MAX 10 High-Speed LVDS I/O User Guide

MC Channel FPGA Bridge IC. for. MIPI D-PHY Systems and SLVS to LVDS Conversion PRELIMINARY DATASHEET. Version August 2014.

MC FPGA Bridge IC. for. MIPI D-PHY Systems and SLVS to LVDS Conversion DATASHEET. Version August Meticom GmbH

8. Selectable I/O Standards in Arria GX Devices

Intel FPGA USB Download Cable User Guide

Intel MAX 10 General Purpose I/O User Guide

MAX 10 FPGA Signal Integrity Design Guidelines

Interfacing Cyclone III Devices with 3.3/3.0/2.5-V LVTTL/LVCMOS I/O Systems

Intel Stratix 10 External Memory Interfaces IP Design Example User Guide

Intel Cyclone 10 External Memory Interfaces IP Design Example User Guide

5. Using MAX V Devices in Multi-Voltage Systems

Signal Integrity Comparisons Between Stratix II and Virtex-4 FPGAs

Intel FPGA USB Download Cable User Guide

Implementing LVDS in Cyclone Devices

SerialLite III Streaming IP Core Design Example User Guide for Intel Stratix 10 Devices

External Memory Interfaces Intel Arria 10 FPGA IP Design Example User Guide

ASMI Parallel II Intel FPGA IP Core User Guide

AN 523: Cyclone III Devices Configuration Interface Guidelines with EPCS Devices

6. I/O Features in Stratix IV Devices

9. Hot Socketing and Power-On Reset in Stratix IV Devices

6. I/O Features for HardCopy III Devices

SerialLite III Streaming IP Core Design Example User Guide for Intel Arria 10 Devices

4. Selectable I/O Standards in Stratix II and Stratix II GX Devices

MAX 10 General Purpose I/O User Guide

High Bandwidth Memory (HBM2) Interface Intel FPGA IP Design Example User Guide

AN 756: Altera GPIO to Altera PHYLite Design Implementation Guidelines

Intel Cyclone 10 LP Device Family Pin Connection Guidelines

Design Guidelines for 100 Gbps - CFP2 Interface

Quad-Serial Configuration (EPCQ) Devices Datasheet

4. Hot Socketing and Power-On Reset in MAX V Devices

AN 779: Intel FPGA JESD204B IP Core and ADI AD9691 Hardware Checkout Report

AN 830: Intel FPGA Triple-Speed Ethernet and On-Board PHY Chip Reference Design

Intel Stratix 10 Logic Array Blocks and Adaptive Logic Modules User Guide

AN 830: Intel FPGA Triple-Speed Ethernet and On-Board PHY Chip Reference Design

6. I/O Features for HardCopy IV Devices

H-tile Hard IP for Ethernet Intel Stratix 10 FPGA IP Design Example User Guide

Altera ASMI Parallel II IP Core User Guide

Intel Stratix 10 H-tile Hard IP for Ethernet Design Example User Guide

Intel Quartus Prime Pro Edition Software and Device Support Release Notes

ByteBlaster II Download Cable User Guide

Intel Stratix 10 Power Management User Guide

MIPI D-PHY REFERENCE TERMINATION BOARD (RTB) OVERVIEW AND DATASHEET

Altera I/O Phase-Locked Loop (Altera IOPLL) IP Core User Guide

Solving MIPI D-PHY Receiver Test Challenges

Intel FPGA Download Cable II User Guide

Intel Stratix 10 Power Management User Guide

Quad-Serial Configuration (EPCQ) Devices Datasheet

25G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide

Intel MAX 10 User Flash Memory User Guide

MC20902-EVB. MC20902 D-PHY 5-Channel Master Transmitter Evaluation Board User's Guide PRELIMINARY DATASHEET. Version February 2014.

4. Selectable I/O Standards in Stratix & Stratix GX Devices

Intel Quartus Prime Standard Edition User Guide

AN822: Intel Configuration Device Migration Guideline

Intel Arria 10 Native Floating- Point DSP Intel FPGA IP User Guide

Intel Acceleration Stack for Intel Xeon CPU with FPGAs 1.0 Errata

RiseUp RU8-DP-DV Series 19mm Stack Height Final Inch Designs in PCI Express Applications. Revision Date: March 18, 2005

Intel Stratix 10 Clocking and PLL User Guide

AN822: Intel FPGA Configuration Device Migration Guideline

Arria II GX FPGA Development Board

Low Latency 100G Ethernet Intel Stratix 10 FPGA IP Design Example User Guide

Errata Sheet for Cyclone IV Devices

Intel Stratix 10 Low Latency 40G Ethernet Design Example User Guide

Intel Xeon with FPGA IP Asynchronous Core Cache Interface (CCI-P) Shim

Intel Stratix 10 H-Tile PCIe Link Hardware Validation

MAX 10 FPGA Device Datasheet

Programmable CMOS LVDS Transmitter/Receiver

7. High-Speed Differential Interfaces in the Cyclone III Device Family

Q Pairs QTE/QSE-DP Final Inch Designs In PCI Express Applications 16 mm Stack Height

2:1 MULTIPLEXER CHIP FOR PCI-EXPRESS ICS Description. Features. Block Diagram DATASHEET

2:1 MULTIPLEXER CHIP FOR PCI-EXPRESS ICS Features

FIN1102 LVDS 2 Port High Speed Repeater

Intel MAX 10 FPGA Device Datasheet

Interlaken IP Core (2nd Generation) Design Example User Guide

EPCQA Serial Configuration Device Datasheet

Intel Stratix 10 High-Speed LVDS I/O User Guide

Recommended Protocol Configurations for Stratix IV GX FPGAs

Configuration via Protocol (CvP) Implementation in Altera FPGAs User Guide

Cyclone III Device Handbook Volume 2

13. Power Management in Stratix IV Devices

USB BitJetLite Download Cable

Generic Serial Flash Interface Intel FPGA IP Core User Guide

Intel Quartus Prime Pro Edition

Using High-Speed I/O Standards in APEX II Devices

7. External Memory Interfaces in Cyclone IV Devices

Configuration via Protocol (CvP) Implementation in V-series FPGA Devices User Guide

FIN1101 LVDS Single Port High Speed Repeater

UG0850 User Guide PolarFire FPGA Video Solution

ByteBlaster II Parallel Port Download Cable

TF10CP02 / TF10CP Gbps 2x2 LVDS Crosspoint Switches. Features. Description. Applications. Function Diagram. Ordering Information.

Remote Update Intel FPGA IP User Guide

December 2002, ver. 1.1 Application Note For more information on the CDR mode of the HSDI block, refer to AN 130: CDR in Mercury Devices.

Transcription:

AN 754: MIPI D-PHY Solution with Passive Resistor Networks in Intel Low-Cost FPGAs Subscribe Send Feedback Latest document on the web: PDF HTML

Contents Contents AN 754: MIPI D-PHY Solution with Passive Resistor Networks in Intel Low-Cost FPGAs... 3 Introduction to MIPI D-PHY... 3 Overview on MIPI Operation... 3 Functional Description: FPGA Receiving Interface and FPGA Transmitting Interface...4 I/O Standards for MIPI D-PHY Implementation...6 MIPI D-PHY Specifications... 6 MIPI D-PHY Specifications for Receiver...6 MIPI D-PHY Specifications for Transmitter...7 FPGA I/O Standard Specifications...8 FPGA I/O Standard Specifications for MIPI Receiver... 8 FPGA I/O Standard Specifications for MIPI Transmitter... 9 IBIS Simulation... 9 FPGA As Receiver: HS-RX and LP-RX Modes Simulation... 10 FPGA As Receiver: Simulation Results... 10 FPGA As Transmitter: HS-TX and LP-TX Modes Simulation... 17 FPGA As Transmitter: Simulation Results... 18 PCB Design Guidelines... 23 Conclusion... 24 Document Revision History for AN 754: MIPI D-PHY Solution with Passive Resistor Networks in Intel Low-Cost FPGAs... 25 2

AN 754: MIPI D-PHY Solution with Passive Resistor Networks in Intel Low-Cost FPGAs Introduction to MIPI D-PHY The Mobile Industry Processor Interface (MIPI) is an industry consortium specifying high-speed serial interface solutions to interconnect between components inside a mobile device. The group specifies both protocols and physical layer standards for a variety of applications. The D-PHY is a popular MIPI physical layer standard for Camera Serial Interface (CSI-2) and Display Serial Interface (DSI) protocols. You can use the CSI-2 interface with D-PHY for the Camera (Imager) to Host interface, as a streaming video interface between devices, and in applications outside of mobile devices. Overview on MIPI Operation The D-PHY provides a synchronous connection between a master and slave. The minimum PHY configuration consists of a clock and one or more data signals. The D- PHY uses two wires per data lane and two wires for the clock lane. The lane can operate in a high-speed (HS) signaling mode for fast-data traffic and low-power (LP) signaling mode for control purpose. The maximum data rate that can be supported in high-speed signaling is determined by the performance of the transmitter, receiver, and interconnect implementations. In practice, the typical implementation has a bit rate of approximately 500-800 Mbps per lane in high-speed mode for passive D-PHY. However, for some D-PHY applications, the bit rate can go up to 1.5 Gbps per lane. The maximum data rate in low-power mode is 10 Mbps. The three possible implementations for connecting MIPI / D-PHY compliant device to Intel FPGAs are as follows: Use of an external D-PHY ASSP (for example Meticom MC2000x and MC2090x devices) as an active level shifter Use passive resistor network to create the compatible D-PHY with FPGA generalpurpose I/O (GPIO) Use FPGA transceiver I/O to achieve higher data rate This application note discusses the implementation using passive resistor network to achieve the lowest cost implementation. The D-PHY can support bidirectional data transmission or unidirectional data transmission. CSI-2 protocol only requires unidirectional data transmission. Thus this implementation of a MIPI D-PHY compatible solution for Intel s low cost FPGAs only supports unidirectional data transmission. Intel Corporation. All rights reserved. Intel, the Intel logo, Altera, Arria, Cyclone, Enpirion, MAX, Nios, Quartus and Stratix words and logos are trademarks of Intel Corporation or its subsidiaries in the U.S. and/or other countries. Intel warrants performance of its FPGA and semiconductor products to current specifications in accordance with Intel's standard warranty, but reserves the right to make changes to any products and services at any time without notice. Intel assumes no responsibility or liability arising out of the application or use of any information, product, or service described herein except as expressly agreed to in writing by Intel. Intel customers are advised to obtain the latest version of device specifications before relying on any published information and before placing orders for products or services. *Other names and brands may be claimed as the property of others. ISO 9001:2008 Registered

Receiving interface FPGA I/O receives the high-speed or low-power signaling from a MIPI D-PHY transmitter (TX) device such as camera sensor or imager Transmitting interface FPGA I/O transmits the high-speed or low-power signaling to a MIPI D-PHY receiver (RX) device such as a host or display The high-speed differential signaling and low-power single-ended serial signals have different electrical characteristics. This application note covers the recommendation of the I/O standard for the FPGA I/O to emulate a MIPI D-PHY RX or TX, and provide an electrically compatibility between FPGA I/O and the MIPI interface. The single-ended mode uses LVCMOS or HSTL I/O standard for low-power mode, and differential I/O standard (LVDS) for high-speed mode. Resistors are used to connect, isolate, terminate, and level set to construct the compatible D-PHY. Functional Description: FPGA Receiving Interface and FPGA Transmitting Interface MIPI D-PHY IP incorporated in the FPGA is able to receive and transmit serial data which consists of one clock and one or more data lanes. The data lanes can switch between the high-speed and low-power signaling through a passive resistor network in unidirectional mode as shown in the following figures. This may be a spate IP block or integrated into the MIPI CSI-2 protocol controllers depending on the IP source or third-party IP partner. The lane control and interface logic are essential to the D-PHY functionality that needs to be built inside the FPGA logic. Figure 1. FPGA Unidirectional Receiver Implementation Block Diagram This figure shows high-speed and low-power modes in a single lane and common resistor configuration. Passive Resistor Network MIPI D-PHY Module Receiver FPGA MIPI D-PHY TX Device (such as camera sensor) Rx Ω High Speed Lane Control and Interface Logic Ry Ω Low Power 4

Figure 2. FPGA Unidirectional Transmitter Implementation Block Diagram This figure shows high-speed and low-power modes in a single lane and common resistor configuration. When the interface is in high-speed mode, the MIPI D-PHY RX device presents a 100 Ω differential termination. When the common-mode of the lines indicates that the interface is in low-power mode, the 100 Ω termination is switched to high Z. Passive Resistor Network MIPI D-PHY Module Transmitter FPGA MIPI D-PHY RX Device (such as host/display) zz Ω zz Ω xx Ω High Speed Lane Control and Interface Logic yy Ω Low Power Related Links MIPI CSI-2 Controller Core Provides more information about MIPI CSI-2 Controller Core 5

I/O Standards for MIPI D-PHY Implementation Table 1. I/O Standards for MIPI D-PHY Implementation This table lists the I/O standards supported for the FPGA I/O buffer for the MIPI D-PHY implementation in highspeed or low-power RX or TX mode. The recommendation has selected such that the following I/Os can coexist in an I/O bank depending on the FPGA device. High-speed Low-power High-speed and low-power Device FPGA I/O Buffer Mode Signaling Mode I/O Standard I/O Voltage Supply (V) Input Output Cyclone IV GX, Cyclone V, Intel MAX 10 RX High-speed LVDS (1) 2.5 (2) Low-power HSTL-12 (1), 1.2 V LVCMOS 2.5 (2), 1.2 TX High-speed Differential HSTL-18 (3) 1.8 Low-power 1.8 V LVCMOS (3), 2.5 V LVCMOS 1.8, 2.5 MIPI D-PHY Specifications MIPI D-PHY Specifications for Receiver Table 2. High-Speed MIPI D-PHY Receiver DC Specifications This table shows the MIPI D-PHY receiver high-speed signal DC specifications as stipulated in the MIPI D-PHY specifications from the MIPI Alliance. Parameter Description Minimum Typical Maximum Unit V CMRX(DC) Common-mode voltage high-speed receive mode 70 330 mv V IDTH Differential input high threshold 70 mv V IDTL Differential input low threshold 70 mv V IHHS Single-ended input high voltage 460 mv V ILHS Single-ended input low voltage 40 mv V TERM-EN Single-ended threshold for high-speed termination enable 450 mv Z ID Differential input impedance 80 100 125 Ω (1) The LVDS can co-exist in the same I/O bank as HSTL-12 when the FPGA is configured as input buffer in Cyclone V devices. (2) Input buffer for LVDS and HSTL-12 I/O standards are powered by V CCPD in Cyclone V devices. (3) The Differential HSTL-18 can co-exist in the same I/O bank as 1.8 V LVCMOS when the FPGA is configured as output buffer in Cyclone IV GX, Cyclone V, and Intel MAX 10 devices. 6

Table 3. Low-Power MIPI D-PHY Receiver DC Specifications This table shows the MIPI D-PHY receiver low-power signal DC specifications as stipulated in the MIPI D-PHY specifications from the MIPI Alliance. Parameter Description Minimum Typical Maximum Unit V IH Logic 1 input voltage 880 mv V IL Logic 0 input voltage, not in ultra low power (ULP) state 550 mv MIPI D-PHY Specifications for Transmitter Table 4. High-Speed MIPI D-PHY Transmitter DC Specifications This table shows the MIPI D-PHY transmitter high-speed signal DC specifications as stipulated in the MIPI D- PHY specifications from the MIPI Alliance. Parameter Description Minimum Typical Maximum Unit V CMTX ΔV CMTX(1,0) High-speed transmit static common-mode 150 200 250 mv voltage (4) V CMTX mismatch when output is 5 mv Differential-1 or Differential-0 (5) V OD High-speed transmit differential voltage (4) 140 200 270 mv ΔV OD V OD mismatch when output is 10 mv Differential-1 or Differential-0 (5) V OHHS High-speed output high voltage (4) 360 mv Z OS Single-ended output impedance 40 50 62.5 Ω ΔZ OS Single-ended output impedance mismatch 10 % Table 5. Low-Power MIPI D-PHY Transmitter DC Specifications This table shows the MIPI D-PHY transmitter low-power signal DC specifications as stipulated in the MIPI D-PHY specifications from the MIPI Alliance. Parameter Description Minimum Typical Maximum Unit V OH Thevenin output high level 1.1 1.2 1.3 V V OL Thevenin output low level 50 50 mv (4) When driving into load impedance within the Z ID range. (5) Recommended to minimize ΔV OD and ΔV CMTX(1,0) to minimize radiation and optimize signal integrity. 7

FPGA I/O Standard Specifications FPGA I/O Standard Specifications for MIPI Receiver The DC specifications for 1.2 V LVCMOS, HSTL-12, and LVDS I/O standards are as stipulated in the device datasheets for the respective devices. When an FPGA functions as a MIPI D-PHY receiver, the transmitted high-speed and low-power signals from the MIPI D-PHY transmitter are expected to meet these FPGA I/O standards specifications with passive resistor network. Table 6. I/O Standard 1.2 V LVCMOS I/O Standard DC Specifications V CCIO (V) V IL (V) V IH (V) Min Typ Max Min Max Min Max 1.2 V 1.14 1.2 1.26 0.3 0.35 V CCIO 0.65 V CCIO V CCIO + 0.3 Table 7. I/O Standard HSTL-12 Class I, II Single-Ended HSTL-12 I/O Reference Voltage Specifications V CCIO (V) V REF (V) V TT (V) Min Typ Max Min Typ Max Min Typ Max 1.14 1.2 1.26 0.48 V CCIO (6) 0.50 V CCIO (6) 0.52 V CCIO (6) 0.50 V CCIO 0.47 0.50 0.53 V (7) CCIO V (7) CCIO V (7) CCIO Table 8. I/O Standard Single-Ended HSTL-12 I/O Standard Signal Specifications V IL(DC) (V) V IH(DC) (V) V IL(AC) (V) V IH(AC) (V) Min Max Min Max Min Max Min Max HSTL-12 Class I, II 0.15 V REF 0.08 V REF + 0.08 V CCIO + 0.15 0.24 V REF 0.15 V REF + 0.15 V CCIO + 0.24 Table 9. LVDS I/O Standard DC Specifications I/O Standard V CCIO (V) V ID (V) V ICM (V) Min Typ Max Min Max Min Condition Max LVDS 2.375 2.5 2.625 100 0.05 D MAX 500 Mbps 1.8 0.55 500 Mbps D MAX 700 Mbps 1.8 1.05 D MAX > 700 Mbps 1.55 (6) Value shown refers to DC input reference voltage, V REF(DC). (7) Value shown refers to AC input reference voltage, V REF(AC). 8

FPGA I/O Standard Specifications for MIPI Transmitter The DC specifications for Differential HSTL-18, 1.8 V LVCMOS, and 2.5 V LVCMOS I/O standards are as stipulated in the device datasheets for the respective devices. When an FPGA functions as a MIPI D-PHY transmitter, the transmitted high-speed and lowpower signals from the FPGA I/O are expected to meet the high-speed and low-power MIPI D-PHY receiver specifications with passive resistor network. Table 10. Differential HSTL-18, 1.8 V LVCMOS, and 2.5 V LVCMOS I/O Standards DC Specifications I/O Standard V CCIO (V) V OL (V) V OH (V) Min Typ Max Max Min HSTL-18 (8) Class I, II 1.71 1.8 1.89 0.4 V CCIO 0.4 1.8 V LVCMOS 1.71 1.8 1.89 0.45 V CCIO 0.45 2.5 V LVCMOS 2.375 2.5 2.625 0.4 2 Related Links IBIS Simulation MIPI D-PHY Specifications for Receiver on page 6 IBIS simulation using HyperLynx is performed to show the link simulation between the MIPI D-PHY, transmission line, passive resistor network, and FPGA I/O for Cyclone IV, Cyclone V, and Intel Intel MAX 10 devices. The simulation demonstrates the following signaling modes with the passive resistor networks setups: Input and output differential and common-mode voltage levels for high-speed signaling Single-ended input and output high and low voltage levels for low-power signaling During normal operation, either high-speed or low-power signaling can drive a lane. The states for high-speed lane are Differential-0 and Differential-1. The two singleended lines in low-power lane states can drive a different or same state depending on the mode of operation. The low-power lane can drive four possible states: LP00, LP11, LP01 and LP10. The high-speed mode is simulated at 840 Mbps for Cyclone IV and Cyclone V devices, and 720 Mbps for Intel MAX 10 device. The low-power mode is simulated at 10 Mbps for Cyclone IV, Cyclone V, and Intel MAX 10 devices. The simulation uses simple transmission line that assumed to have the characteristics impedance of 50 Ω with 500 ps transmission delay. (8) Differential HSTL-18 is a pseudo differential I/O standard consists of two single-ended HSTL-18 output buffers. One single-ended output buffer is the P channel and another single-ended output buffer is the N channel (inversion of P channel). The output differential signal (V OD ) is the difference of V OH V OL. The output common mode voltage (V OCM ) is the signal crossing point for P and N channels. 9

FPGA As Receiver: HS-RX and LP-RX Modes Simulation In the HS-RX and LP-RX mode simulation, the FPGA acts as a receiver to receive the MIPI D-PHY high-speed and low-power signals from MIPI D-PHY TX device in a single lane. The differential termination is fixed at 300 Ω across the LVDS pair in a single lane. The termination is set high to avoid the complexity of switching in and out of the high-speed mode termination. The termination supports the required signal quality at the targeted data rates although the termination does not match the characteristics impedance of the transmission line. The 300 Ω load between the lines minimizes loading in the low-power mode and in the LP01 or LP10 state. The two fixed series termination resistors are used for the low-power signals. Figure 3. FPGA As Receiver HS-RX and LP-RX Modes IBIS Simulation Circuit MIPI D-PHY Transmitter Transmission Line Board Passive Resistor Network Circuit MIPI D-PHY Receiver FPGA 50.0 Ω 500.000 ps Simple TL81 R162 150.0 Ω ov5647 MDP0 TL82 50.0 Ω 500.000 ps Simple C12 100.0 pf R164 R163 150.0 Ω Cyclone IV lvds25_rdinp 100.0 Ω Cyclone IV hstl12_cin R165 100.0 Ω Cyclone IV hstl12_cin FPGA As Receiver: Simulation Results The simulated waveforms for the Cyclone IV, Cyclone V, and Intel MAX 10 devices are based on the recommended setup. The I/O standards used in the FPGA I/O pins are compliant to the following voltage levels transmitted from the MIPI D-PHY TX device under typical conditions: High-speed signals Output differential (V OD ) and common mode (V OCM ) voltage levels Low-power single-ended signals Output voltage high (V OH ) and output voltage low(v OL ) signals 10

FPGA As Receiver: Simulation Results Using Cyclone IV Devices Figure 4. HS-RX Mode Eye Diagram Measured At Cyclone IV FPGA Receiver Die At 840 Mbps True (P) and Inverted (N) signals are plotted in purple and green. The P and N signals are overlapped. Differential signal (P-N) is plotted in yellow. 11

Figure 5. LP-RX Mode Waveform Measured At Cyclone IV FPGA Receiver Die for LP11 and LP00 States at 10 Mbps DP signal is shown in blue and DN signal is shown in pink. The DN signal (pink) overlaps with the DP signal (blue) because both signals are driven on the same state (LP11, LP00). Figure 6. LP-RX Mode Waveform Measured At Cyclone IV FPGA Receiver Die for LP10 and LP01 States at 10 Mbps Both DP and DN signals are not overlapped because they are driven out of phase (LP10, LP01). 12

FPGA As Receiver: Simulation Results Using Cyclone V Devices Figure 7. HS-RX Mode Eye Diagram Measured At Cyclone V FPGA Receiver Die At 840 Mbps True (P) and Inverted (N) signals are plotted in purple and green. The P and N signals are overlapped. Differential signal (P-N) is plotted in yellow. 13

Figure 8. LP-RX Mode Waveform Measured At Cyclone V FPGA Receiver Die for LP11 and LP00 States at 10 Mbps DP signal is shown in green and DN signal is shown in red. The DN signal (red) overlaps with the DP signal (green) because both signals are driven on the same state (LP11, LP00). Figure 9. LP-RX Mode Waveform Measured At Cyclone V FPGA Receiver Die for LP10 and LP01 States at 10 Mbps Both DP and DN signals are not overlapped because they are driven out of phase (LP10, LP01). 14

FPGA As Receiver: Simulation Results Using Intel MAX 10 Devices Figure 10. HS-RX Mode Eye Diagram Measured At Intel MAX 10 FPGA Receiver Die At 720 Mbps True (P) and Inverted (N) signals are plotted in yellow and pink. The P and N signals are overlapped. Differential signal (P-N) is plotted in blue. 15

Figure 11. LP-RX Mode Waveform Measured At Intel MAX 10 FPGA Receiver Die for LP11 and LP00 States at 10 Mbps DP signal is shown in blue and DN signal is shown in red. The DN signal (red) overlaps with the DP signal (blue) because both signals are driven on the same state (LP11, LP00). Figure 12. LP-RX Mode Waveform Measured At Intel MAX 10 FPGA Receiver Die for LP10 and LP01 States at 10 Mbps Both DP and DN signals are not overlapped because they are driven out of phase (LP10, LP01). 16

FPGA As Transmitter: HS-TX and LP-TX Modes Simulation In the HS-TX and LP-TX mode simulation, the FPGA acts as a MIPI D-PHY TX device. The MIPI D-PHY RX device is represented by the package parasitic components with a worst case capacitive load of 3.0 pf. When the interface is in high-speed mode, the MIPI D-PHY RX device presents a 100 Ω differential termination in this simulation (as shown in the FPGA As Transmitter HS- TX Mode IBIS Simulation Circuit diagram). When the common-mode of the lines indicates that the interface is in low-power mode, the 100 Ω termination is switched to high Z, which is not shown in the LP-TX mode IBIS simulation circuit (as shown in the FPGA As Transmitter LP-TX Mode IBIS Simulation Circuit diagram). In this simulation, the MIPI D-PHY high-speed receiver is turned off during the low-power mode operation, thus the input differential termination is removed. The IBIS simulation uses the buffers in different modes as follows: High-speed mode A differential buffer is used to transmit signals. Two single-ended buffers are configured as input mode to act as tri-stated outputs. Low-power mode A differential buffer is configured as input mode to act as tri-stated output. Two single-ended buffers are used to transmit signals. Figure 13. FPGA As Transmitter HS-TX Mode IBIS Simulation Circuit MIPI D-PHY Transmitter FPGA Board Passive Resistor Network Circuit Transmission Line MIPI D-PHY Receiver Cyclone V 18_crin Cyclone V dhst18i_criop_r50c Cyclone V 18_crin R236 60.0 Ω R237 150.0 Ω R238 150.0 Ω R239 60.0 Ω R246 100.0 Ω R247 100.0 Ω TL112 50.0 Ω 500.000 ps Simple TL113 50.0 Ω 500.000 ps Simple R242 100.0 Ω L13 2.6 nh C40 3.9 pf L14 2.6 nh C41 3.9 pf R243 351.0 mω R244 351.0 mω Package Parasitic RLC (Worst case capacitive load = 3.0 pf) C42 3.0 pf C43 3.0 pf 17

Figure 14. FPGA As Transmitter LP-TX Mode IBIS Simulation Circuit MIPI D-PHY Transmitter FPGA Board Passive Resistor Network Circuit Transmission Line MIPI D-PHY Receiver Cyclone V 18_crin R236 60.0 Ω R237 150.0 Ω TL112 50.0 Ω 500.000 ps Simple L13 2.6 nh C40 3.9 pf R243 351.0 mω C42 3.0 pf Cyclone V 18_crin Cyclone V dhst18i_criop_r50c R238 150.0 Ω R239 60.0 Ω R246 100.0 Ω R247 100.0 Ω TL113 50.0 Ω 500.000 ps Simple L14 2.6 nh C41 3.9 pf R244 351.0 mω C43 3.0 pf Package Parasitic RLC (Worst case capacitive load = 3.0 pf) FPGA As Transmitter: Simulation Results The simulated waveforms for the Cyclone IV, Cyclone V, and Intel MAX 10 devices are based on the recommended setup. The I/O standards used in the FPGA I/O pins are compliant to the following voltage levels as defined for high-speed or low-power MIPI D-PHY RX device under typical conditions: High-speed signals Input differential (V ID ) and common mode (V ICM ) voltage levels Low-power single-ended signals Input voltage high (V IH ) and input voltage low (V IL ) signals The signal quality for high-speed signal is better with less jitter compared to the highspeed signal when FPGA acts as the receiving interface. The 100 Ω differential termination resistor at the load provides good impedance matching to the characteristic impedance of the transmission line. 18

FPGA As Transmitter: Simulation Results Using Cyclone IV Devices Figure 15. Cyclone IV HS-TX Mode Eye Diagram Measured At MIPI D-PHY Receiver Die At 840 Mbps True (P) and Inverted (N) signals are plotted in purple and blue. Differential signal (P-N) is plotted in green. Figure 16. Cyclone IV LP-TX Mode Waveform Measured At MIPI D-PHY Receiver Die for LP11 and LP00 States at 10 Mbps DP signal is shown in pink and DN signal is shown in yellow. The DN signal (yellow) overlaps with the DP signal (pink) because both signals are driven on the same state (LP11, LP00). 19

Figure 17. Cyclone IV LP-TX Mode Waveform Measured At MIPI D-PHY Receiver Die for LP10 and LP01 States at 10 Mbps Both DP and DN signals are not overlapped because they are driven out of phase (LP10, LP01). FPGA As Transmitter: Simulation Results Using Cyclone V Devices Figure 18. Cyclone V HS-TX Mode Eye Diagram Measured At MIPI D-PHY Receiver Die At 840 Mbps True (P) and Inverted (N) signals are plotted in green and orange. Differential signal (P-N) is plotted in red. 20

Figure 19. Cyclone V LP-TX Mode Waveform Measured At MIPI D-PHY Receiver Die for LP11 and LP00 States at 10 Mbps DP signal is shown in yellow and DN signal is shown in blue. The DN signal (blue) overlaps with the DP signal (yellow) because both signals are driven on the same state (LP11, LP00). Figure 20. Cyclone V LP-TX Mode Waveform Measured At MIPI D-PHY Receiver Die for LP10 and LP01 States at 10 Mbps Both DP and DN signals are not overlapped because they are driven out of phase (LP10, LP01). 21

FPGA As Transmitter: Simulation Results Using Intel MAX 10 Devices Figure 21. Intel MAX 10 HS-TX Mode Eye Diagram Measured At MIPI D-PHY Receiver Die At 720 Mbps True (P) and Inverted (N) signals are plotted in yellow and pink. Differential signal (P-N) is plotted in blue. Figure 22. Intel MAX 10 LP-TX Mode Waveform Measured At MIPI D-PHY Receiver Die for LP11 and LP00 States at 10 Mbps DP signal is shown in red and DN signal is shown in blue. The DN signal (blue) overlaps with the DP signal (red) because both signals are driven on the same state (LP11, LP00). 22

Figure 23. Intel MAX 10 LP-TX Mode Waveform Measured At MIPI D-PHY Receiver Die for LP10 and LP01 States at 10 Mbps Both DP and DN signals are not overlapped because they are driven out of phase (LP10, LP01). PCB Design Guidelines The interconnect between the MIPI TX and RX devices must be designed with caution. The interconnect includes PCB traces, connectors (if any), and cable media (typically flex-foils). Signal quality guidelines are as follows: Match the electrical length of all pairs as close as possible to maximize data valid margins. Place the passive components as close as possible to the FPGA. Avoid any stub when placing the passive resistors on the high-speed signal trace. Minimize the stub length from the low-power signal trace to high-speed signal trace. Use the on chip termination feature on FPGA I/O whenever possible. The reference characteristics impedance level per line is 100 Ω for differential and 50 Ω for single-ended. Control the impedance of the trace on the PCB to avoid impedance mismatch between the driver output impedance and input impedance of the receiver over the operating frequency. Keep the traces matched in lengths and as short as possible. The flight time for signals across the interconnect should not exceed 2 ns. Ensure equal length for all high-speed differential traces. The differential channel is also used for low-power single-ended signaling. Intel recommends applying only very loosely coupled differential transmission lines. 23

Conclusion If probe points are required, ensure they are in line with the trace and not creating a transmission line stub. Do not place noisy signals (example: voltage regulator module, clock generator) over or near MIPI signals. Use the I/O standards supported for the FPGA I/O as listed in the I/O standards for MIPI D-PHY Implementation table. Related Links I/O Standards for MIPI D-PHY Implementation on page 6 I/O Features in Cyclone IV Devices Chapter, Cyclone IV Device Handbook Volume 1 Provides the I/O banks locations in Cyclone IV devices. I/O Features in Cyclone V Devices Chapter, Cyclone V Device Handbook Volume 1: Device Interfaces and Integration Provides the I/O banks locations in Cyclone V Devices. All the I/O banks in the Cyclone V devices can accommodate both the single-ended and differential I/Os, except the HPS row and column I/O banks. MAX 10 I/O Banks Locations, MAX 10 General Purpose I/O User Guide Provides the I/O banks locations in MAX 10 devices. Support Resources: Board Design Provides more information about the general board design guidelines. The passive resistor network in this application illustrates and validates the IBIS simulations. You can use the passive resistor network to build a FPGA I/O based compatible MIPI D-PHY for receiving or transmitting both high-speed and low-power signals using various FPGA GPIO connected. The passive resistor network is capable to enable an electrically compatible connection between Intel FPGA I/O to a MIPI D-PHY TX or RX device via MIPI D-PHY interface. Table 11. Passive Resistor Values Used in the IBIS Simulations Refer to the FPGA Unidirectional Receiver Implementation Block Diagram and FPGA Unidirectional Transmitter Implementation Block Diagram for the simulation block diagrams. FPGA Implementation Passive Resistor Value (Ω) R x R y xx yy zz FPGA unidirectional receiver implementation 300 100 FPGA unidirectional transmitter implementation 150 60 100 Note: Table 12. MIPI D-PHY solution can also use others I/O standards that are powered with different V CCIO. This will be available in a future release of this application note. Maximum Achievable Data Rate Using Intel FPGA GPIO The maximum achievable data rate depends on the device speed grade. Device Supported Data Rate (Mbps) Cyclone IV, Cyclone V 840 Intel MAX 10 720 24

Intel recommends performing HSPICE/IBIS simulations to verify the signal quality based on your specific system setup and PCB info at the desired operating frequency. Actual achievable frequency depends on design- and system-specific factors. Perform HSPICE/IBIS simulation based on your specific design, system setup, and PCB info to determine the maximum achievable frequency. The MIPI D-PHY passive solution with different approaches (I/O, passive network, and FPGA devices) are validated using multiple demo boards. You can use the following demo boards as reference: Intel 10M50 Evaluation Kit, EK-10M50F484 (available March 2016 onwards) Internal HSMC Passive D-PHY lab validation board for use with Cyclone V Development Kits Arrow DECA Intel MAX 10 Evaluation Kit For more information about the demo boards, contact your local Intel sales representatives. Related Links I/O Standards for MIPI D-PHY Implementation on page 6 Document Revision History for AN 754: MIPI D-PHY Solution with Passive Resistor Networks in Intel Low-Cost FPGAs Date Version Changes November 2017 2017.11.20 Updated links. May 2017 2017.05.08 Rebranded as Intel. December 2015 2015.12.23 Initial release. 25