mipi cadence presentation

55
Confidential Shri Jaganathan Solutions Architect Cadence Design Systems MIPI MPHY OVERVIEW

Upload: mohammed-nawaz-shaik

Post on 26-Dec-2015

115 views

Category:

Documents


5 download

DESCRIPTION

M PHY

TRANSCRIPT

Page 1: MIPI Cadence Presentation

Confidential

Shri Jaganathan Solutions Architect Cadence Design Systems

MIPI MPHY OVERVIEW

Page 2: MIPI Cadence Presentation

2 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

•  Introduction •  Who is MIPI Alliance •  What MIPI Do •  MPhy Introduction •  TX- Key parameters •  RX-Key parameters

AGENDA

Page 3: MIPI Cadence Presentation

3 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Who is MIPI® Alliance?

• MIPI drive mobile and mobile-influenced interface technology through the development of hardware and software specifications

• MIPI work globally and collaboratively with other standards bodies to benefit the mobile ecosystem

Copyright © 2013 MIPI Alliance. All rights reserved.

Page 4: MIPI Cadence Presentation

4 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

What MIPI Do

•  45+ interface specifications released to date • MIPI has full ecosystem of members to support

many types of mobile and mobile-influenced designs

• Specs are widely adopted for designs across the mobile industry and beyond

•  255 members worldwide

Copyright © 2013 MIPI Alliance. All rights reserved.

Page 5: MIPI Cadence Presentation

5 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

MIPI Overview

Page 6: MIPI Cadence Presentation

6 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

MIPI Interfaces / Stack

UniPro 1.5 and

2.0

Conf PIE

DDB

M-PHY

serial I/F

PTI

CMOS CMOS

M-PHY

serial I/F

CMOS-based

SLIMbus

CMOS-based

M-PHY

serial I/F

D-PHY

serial I/F

D-PHY

serial I/F

D-PHY

serial I/F

PHY

STP

HSI UniPro 1.5 and

2.0

UniPro 1.0

Transport

DigRF 4G

DigRF 3G

SPMI :

Power Mgmt.

RF-FE:

RF Control DSI-1 CSI-2

App-data

ICLC ICLC DCS

App-control

NAND SW IMF

Software

Gigabit Trace Trace Mass

Storage IPC BB-RF 4G BB-RF 3G Control Audio/ Data/Ctrl

UniPort- M

UniPort- D Display Camera

TWP OST

OST FrameWork

App-data

App-data

M-PHY

serial I/F

UniPro 1.5 and

2.0

Conf

Page 7: MIPI Cadence Presentation

7 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Page 8: MIPI Cadence Presentation

8 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

•  M-PHY –  V1.0 board approved 08 FEB 2011 – 1.45Gbps –  V2.0 Released on June 2012 – extends operation to 2.9Gbps –  V3.0 Released on Oct 2013 – extends operation to 5.8Gbps –  V4.0 expected in 2014 extends operation to 11.6Gbps

–  Connects Modem DigRF v4 and Memory LLI v1.0 to the Application Processor – Next generation cameras CSI-3 v0.8, displays DSI-2 v0.1 – Joint Standard Development: JEDEC UFS v1.1, USB SSIC v1, PCI Mobile Express

–  Features – Custom Clock – Self Consistent – Aggressive Power Management – Optical/Repeater ready

MPHY Specification Overview

Page 9: MIPI Cadence Presentation

9 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Introduction: Lane, Link and More…

Picture taken from the MPHY specification document

Page 10: MIPI Cadence Presentation

10 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Introduction: Lane, Link and More…

M-TX = TX

Module

M-RX = RX

Module

Picture taken from the MPHY specification document

Page 11: MIPI Cadence Presentation

11 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Introduction: Lane, Link and More…

Lane = unidirectional single-signal physical channel. Consists of one M-

TX, one M-RX and one line

Picture taken from the MPHY specification document

Page 12: MIPI Cadence Presentation

12 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Introduction: Lane, Link and More…

SUB-LINK = a collection of lanes all in one direction

Picture taken from the MPHY specification document

Page 13: MIPI Cadence Presentation

13 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Link = 2 sublinks (one each in opposite direction) + Lane management function

M-PHY Introduction: Lane, Link and More…

Picture taken from the MPHY specification document

Page 14: MIPI Cadence Presentation

14 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-TX State Diagram

Page 15: MIPI Cadence Presentation

15 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-RX State Diagram

Page 16: MIPI Cadence Presentation

16 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Burst Operation

Page 17: MIPI Cadence Presentation

17 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY V1.0

•  HS Burst 25mW •  LS Burst 1mW •  Stall ns 10mW •  Sleep us 100uW •  Hibern8 0.1-1ms 10uW

state recovery power latency

Assumption: one M-TX and one M-RX (including clock multiplication)

Race to Halt Power Heuristics

HS Burst

Stall

LS Burst

Sleep

Hibern8

Disable

Power On

Power M-PHY States

Page 18: MIPI Cadence Presentation

18 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Configuration Using protocol configuration mechanism

•  Local protocol checks capabilities of local PHY and … … receives capabilities of remote PHY

•  Protocol decision on operation profile •  Profile request send to local PHY and via the protocol layer to the remote

PHY using the current PHY operation mode •  INIT-PCC cycle through the PHYs will activate the change •  Optical converters can be configured by flushing configuration data

during the INIT-PCC cycle

E/O O/E PHY PHY PROT PROT

E/O O/E LOCAL REMOTE

Page 19: MIPI Cadence Presentation

19 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Configuration Using protocol configuration mechanism

•  Local protocol checks capabilities of local PHY and … … receives capabilities of remote PHY

•  Protocol decision on operation profile •  Profile request send to local PHY and via the protocol layer to the remote

PHY using the current PHY operation mode •  INIT-PCC cycle through the PHYs will activate the change •  Optical converters can be configured by flushing configuration data

during the INIT-PCC cycle

E/O O/E PHY PHY PROT PROT

E/O O/E LOCAL REMOTE

Page 20: MIPI Cadence Presentation

20 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Configuration Using protocol configuration mechanism

•  Local protocol checks capabilities of local PHY and … … receives capabilities of remote PHY

•  Protocol decision on operation profile •  Profile request send to local PHY and via the protocol layer to the remote

PHY using the current PHY operation mode •  INIT-PCC cycle through the PHYs will activate the change •  Optical converters can be configured by flushing configuration data

during the INIT-PCC cycle

E/O O/E PHY PHY PROT PROT

E/O O/E LOCAL REMOTE

??

Page 21: MIPI Cadence Presentation

21 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Configuration Using protocol configuration mechanism

•  Local protocol checks capabilities of local PHY and … … receives capabilities of remote PHY

•  Protocol decision on operation profile •  Profile request send to local PHY and via the protocol layer to the remote

PHY using the current PHY operation mode •  INIT-PCC cycle through the PHYs will activate the change •  Optical converters can be configured by flushing configuration data

during the INIT-PCC cycle

E/O O/E PHY PHY PROT PROT

E/O O/E LOCAL REMOTE

??

Page 22: MIPI Cadence Presentation

22 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Configuration Using protocol configuration mechanism

•  Local protocol checks capabilities of local PHY and … … receives capabilities of remote PHY

•  Protocol decision on operation profile •  Profile request send to local PHY and via the protocol layer to the remote

PHY using the current PHY operation mode •  INIT-PCC cycle through the PHYs will activate the change •  Optical converters can be configured by flushing configuration data

during the INIT-PCC cycle

E/O O/E PHY PHY PROT PROT

E/O O/E LOCAL REMOTE

??

Page 23: MIPI Cadence Presentation

23 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Configuration Using protocol configuration mechanism

•  Local protocol checks capabilities of local PHY and … … receives capabilities of remote PHY

•  Protocol decision on operation profile •  Profile request send to local PHY and via the protocol layer to the remote

PHY using the current PHY operation mode •  INIT-PCC cycle through the PHYs will activate the change •  Optical converters can be configured by flushing configuration data

during the INIT-PCC cycle

E/O O/E PHY PHY PROT PROT

E/O O/E LOCAL REMOTE

??

Page 24: MIPI Cadence Presentation

24 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

M-PHY Specification Roadmap

M-PHY v1

Bandwidth support -  HS GEAR 1 -  PWM G0-G3 -  SYSBURST Bandwidth Provisional -  HS-Gear 2 -  PWM G4-G5

Bandwidth support - HS GEAR 1 & 2 - PWM G0-G5 - SYSBURST Bandwidth Provisional -  HS-Gear 3 -  PWM G6-G7

Bandwidth support - HS GEAR 1,2 & 3 - PWM G0-G7 - SYSBURST Bandwidth Provisional HS-Gear 4

v2.0

M-PHY v3

2011 2012 2013

v1.0

v3.0

Bandwidth support - HS GEAR 1, 2, 3 & 4 - PWM G0-G7 - SYSBURST

M-PHY v4

v4.0

2014

1.45Gbps 2.9Gbps 5.8Gbps 11.6Gbps

DigRF v4

UFS

LLI/SSIC

CSI-3/Mobile Express

M-P

HY

supp

orts

:

M-PHY v2

Page 25: MIPI Cadence Presentation

25 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

DPHY and MPHY Comparison Feature   DPHY   MPHY  

Min. number of pins per direction   4   2  

Minimum configuration (# of pins)   4   4  

Data traffic for minimum configuration  

Unidirectional or half-duplex   dual-simplex  

Medium   <30 cm PCB, flex,micro-coax  

< 30 cm PCB, flex,micro coax,<1.2 m cable, optical  

Data rate per lane  

HS Mode   80 Mb/s - 1.5 Gb/s   ~ 1.25, 2.5, 5 Gb/s (A series); ~ 1.5, 3, 6 Gb/s (B series)  

LP Mode   < 10 Mb/s   10k-600Mb/s  

Electrical signaling  

HS Mode   SLVS - 200 mV   SLVS - 200 mV  

LP Mode   LVCMOS - 1.2V   SLVS - 200 mV w/o RX-RT  

HS Clocking method   DDR Source-Sync Clk   Embedded Clk  

HS Line coding   None or 8b-9b   8b-10b  

Power – Energy/bit   Low   Lower than DPHY  

Receiver Complexity   CDR not required   CDR required  

LP only PHY’s   Disallowed   Allowed  

Page 26: MIPI Cadence Presentation

26 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

•  High-Speed data transfer per lane –  Multiple transmission speed ranges and rates per BURST mode to further scale

bandwidth to application needs; Mitigates interference problems.

•  Supports both SYS and PWM mode LS operation –  Flexibility in data rates

•  Low power dissipation –  Multiple power saving modes, where power consumption can be traded-off

against recovery time •  Clocking flexibility: designed to be able to operate with independent local

reference clocks at each side, but suitable to exploit the benefits of a shared reference clock

•  Optical friendly: enables low-complexity electro-optical signal conversion and optical data

•  Distance: optimized for short interconnect (<10 cm) but extendable to a meter with good quality interconnect or even further with optical converters and optical waveguides.

•  Configurability: differences in supported functionality (to reduce cost) and tune for best performance (implementation) without hampering interoperability

MIPI M-PHY IP Key Feature List

Page 27: MIPI Cadence Presentation

27 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

MPHY – Key Features v3.0

• Supports 2 Low speed modes – Type-1 (PWM Signaling) – Type-2

•  Supports 2 amplitude modes – LA – SA

•  Supports 3 Speed modes and 2 rates per mode •  Supports 8b-10b encoding •  Supports Termination and no Termination modes •  Standard RMMI interface definition

Page 28: MIPI Cadence Presentation

28 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

PWM Bit waveform and Bit Stream Example

Page 29: MIPI Cadence Presentation

29 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Line Conditions and States

Page 30: MIPI Cadence Presentation

30 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Line Conditions and States

DIF-P and DIF-N : States during normal operation and used for data-transmission

Page 31: MIPI Cadence Presentation

31 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Line Conditions and States

DIF-Z : Possible only during power-up and power-saving states

Page 32: MIPI Cadence Presentation

32 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Line Conditions and States

DIF-Q : Possible only when the M-RX has been powered off.

Page 33: MIPI Cadence Presentation

33 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

MPHY TX Architecture

PPI Interface

HS / LS FSM

DATA PATH

DATA Serializer & Clock Gen

DRIVERS

TX_DP

TX_DN

CONTROL + BIST

LOOPBACK

HSCLK LSCLK

HSCLK LSCLK

BIST

CFGCLK

CTRLInterface

DATAInterface

CLK from CMN Block

RM

MI I

nter

face

Driver +

Term

Page 34: MIPI Cadence Presentation

34 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

PPI Interface

HS / LS FSM

DATA PATH

DATA DeSerializer & CDR

PREAMP + TERM

RX_DP

RX_DN

CONTROL

LOOPBACK

REFCLK

CFGCLK

CTRLInterface

DATAInterface

SYMCLK

DATA

MPHY RX Architecture

RM

MI I

nter

face

Page 35: MIPI Cadence Presentation

35 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

PPI Interface

HS / LS FSM

DATA PATH

DATA DeSerializer & CDR

PREAMP + TERM

RX_DP

RX_DN

CONTROL

LOOPBACK

REFCLK

CFGCLK

CTRLInterface

DATAInterface

SYMCLK

DATA

MPHY RX Architecture

RM

MI I

nter

face

HS Amp for G1/G2/G3

modes

Page 36: MIPI Cadence Presentation

36 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

PPI Interface

HS / LS FSM

DATA PATH

DATA DeSerializer & CDR

PREAMP + TERM

RX_DP

RX_DN

CONTROL

LOOPBACK

REFCLK

CFGCLK

CTRLInterface

DATAInterface

SYMCLK

DATA

MPHY RX Architecture

RM

MI I

nter

face

LP Amp for low-speed

modes

Page 37: MIPI Cadence Presentation

37 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

PPI Interface

HS / LS FSM

DATA PATH

DATA DeSerializer & CDR

PREAMP + TERM

RX_DP

RX_DN

CONTROL

LOOPBACK

REFCLK

CFGCLK

CTRLInterface

DATAInterface

SYMCLK

DATA

MPHY RX Architecture

RM

MI I

nter

face

Ultra low power squelch detector

for Hibernate mode

Page 38: MIPI Cadence Presentation

38 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Data Transfer Modes

Data Transfer Modes

HS Mode

HS-Gear1 (Mandatory)

HS-Gear2 (Optional)

HS-Gear3 (Optional)

LS Mode

PWM Mode (Type-1)

SYS mode (Type-2)

OR

AND

AND

AND

Page 39: MIPI Cadence Presentation

39 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

BIST Details

BISTGenerator

InputLatch

BISTSelect

Encoding+ Serializer

TXP

TXN

RXP

RXN

Decoding+ Deserializer

Output Latch

BISTChecker

from PPI/RMMI

to PPI/RMMI

BIST_FLAG

•  Comprehensive BIST functionality to o  Ease production testing o  Support standalone bring-up of the IP.

•  The BIST modules can generate and check various patterns ranging from simple data ramps to complex jitter-inducing patterns.

Page 40: MIPI Cadence Presentation

40 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

•  Option to –  generate and check various patterns like PRBS, CRPAT, CJTPAT

etc. –  run the BIST infinitely or in a burst mode. –  control the burst length. –  control the idle time between bursts, within limits of the MPHY

specification. –  send patterns that repeat in every burst or differ in every burst. –  inject a single-bit error at a programmable point in the data stream.

•  Supports observable BIST status •  BIST error signal is observable at the IP port if required •  BIST error counters are readable as status registers

BIST Features

Page 41: MIPI Cadence Presentation

41 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

•  Burn-in Mode: Stress testing by putting TX and RX in maximum power consumption modes with the help of external loopback.

•  Loopback Mode: Provides a transparent bit-by-bit path from an M-RX serial input to an M-TX serial output.

BIST Modes

Page 42: MIPI Cadence Presentation

42 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

MPHY – Silicon Validation

• No certification or Sigfest

• Conformance Test suite (CTS) – Developed as part of the PHY Work group – Defines Test procedures – Tek presentation will have details of this

Page 43: MIPI Cadence Presentation

43 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

MPHY – Silicon Validation

• Tx Test setup requirements – 20GHz BW Oscilloscope – 20GHz Active Probe – Clock Source – Digital IO Source/Capture card – Power supplies & Multimeters

•  Rx Test setup requirements – BERT (with Datarate of atleast 7.5Gbps)

–  Rj & Sj Jitter injection capabilities –  ISI channel

Page 44: MIPI Cadence Presentation

44 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

MPHY – Silicon Validation Key Tx Parameters

•  Jitter Test

•  Eye Mask Test – Channel de-embedding

• PWM signal Test

Page 45: MIPI Cadence Presentation

45 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

•  Jitter separation is a time consuming process if Spectral method is followed to get the exact Jitter separation.

•  Dual Dirac method can be used to get the Jitter split much faster and if lesser number of samples can be taken and extrapolate the RJ numbers to reduce the time much lower.

•  HS default mode is terminated mode and this has to be a 100ohm differential termination across Dp and Dn. This has to be measure at the pin. This can be achieved only through probing directly on a 100ohm terminated very near to the Dp/Dn pin using an active probe.

•  Active probes normally have a high noise floor which adds RJ to the measurement and this is reflected on the TX measurements

Jitter Test

Page 46: MIPI Cadence Presentation

46 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Eye Mask Test

G1 and G2 eye diagram G3 Eye Diagram

Page 47: MIPI Cadence Presentation

47 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Impact of active probe noise

Page 48: MIPI Cadence Presentation

48 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

•  Unterminated mode probing

•  PWM data decoding

PWM Test Challenges

Page 49: MIPI Cadence Presentation

49 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

MPHY – Silicon Validation Key Rx Parameters

•  Jitter Calibration and Test

• PWM signal and PPM Offset Test

Page 50: MIPI Cadence Presentation

50 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

RX calibration Setup

DUT RX

Oscilloscope

Physical Calibration Setup

Pattern Generator

+ De-emphasis

+ Jitter Sources

SMA Cables

Replica Channel

Active Probe

Block diagram taken from CTS discussion PPT

Page 51: MIPI Cadence Presentation

51 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Jitter Mask for G3A

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

2

0.8 8 10 26 100 166.4

Tota

l Jitt

er(U

I)

SJ Frequency(MHz)

Spec TJ

Page 52: MIPI Cadence Presentation

52 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

•  RX input should have following components –  Low frequency Jitter component as shown in the Jitter Mask –  Low frequency RJ – High Frequency RJ – High frequency SJ tone –  ISI to meet the Spec defines channel loss

•  No Channel defined- RX spec is defined at the Pin

Jitter Components

Page 53: MIPI Cadence Presentation

53 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

•  For PWM test data need to be sourced from 10kHz to 576MHz

•  This test cannot be done directly using a BERT •  Sourcing can be done by creating the PWM patterns by

adding 1’s and 0’s. •  BER cannot be measured using BERT for PWM and this

need to be done by an On Chip Error counter or need to be captured using FPGA and compare. Another option is to loopback to TX and compare using BER counter in oscilloscope.

•  PPM offset cannot be measure in loopback mode because of data rate mismatch.

PWM test and PPM offset

Page 54: MIPI Cadence Presentation

54 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Questions???

Page 55: MIPI Cadence Presentation

55 © 2012 Cadence Design Systems, Inc. Cadence confidential. Internal use only.

Thank You