mipi devcon 2016: mipi c-phy - introduction from basic theory to practical implementation

Post on 15-Apr-2017

1.181 Views

Category:

Mobile

53 Downloads

Preview:

Click to see full reader

TRANSCRIPT

MIPI C-PHY℠: Introduction

From Basic Theory to Practical Implementation

Mohamed Hafed Introspect Technology

Original Spark: Three Phase Encoding!

2

GeorgeWiley,Qualcomm

1UnitIntervalofData

2.285BitsofInforma?on

Basic Concept of Three Phase Encoding

3

Three Voltage Levels Per Wire Ensure Proper Differential Reception

4

Always-Toggle Design Allows for Simple Clock Recovery (100% Transition Density)

5

Key Takeaways

6

Three-level single-ended signaling

Non-deterministic transitions based on self-clocked mapping and encoding algorithm

Evolution from D-PHY (1 Lane, 4 Wires)

7

Evolution from D-PHY (1 Lane, 4 Wires)

8

Evolution from D-PHY (1 Lane, 4 Wires)

9

Evolution from D-PHY (1 Lane, 4 Wires)

10

Architecturally Flexible

11

Source:MIPIAlliance

Mapping and Encoding

12

C-PHY Data Types

13

ANALOG DIGITAL

A

B

C

•  3wiresperlane•  3-levelwires(LOW,MID,HIGH)•  Everyunitintervalmustcontain

LOW,MID,andHIGHwires•  Notwoconsecu?veiden?cal

wirestates

Symbols(3bits)

Integers(16bits)

A>B

B>C

C>A

WireStates(3bits)

Wiredifferen?al

7-symbolto16-bitmapping

Wires Wirestates

65

6 3 4 6 5 3 6

-z -y -z -x +x -z -z-y -x

02

2 4 1 0 0 0

0x7290

Wire States

14

A B C A>B B>C C>AWirestatename

HIGH LOW MID 1 0 0 +x

LOW HIGH MID 0 1 1 -x

MID HIGH LOW 0 1 0 +y

MID LOW HIGH 1 0 1 -y

LOW MID HIGH 0 0 1 +z

HIGH MID LOW 1 1 0 -z

ANALOG DIGITAL(3bits)

•  Awirestateisthecollec?onofA,B,andC•  6possiblewirestates

Symbols: Now We’re Transmitting!

15

•  Asymbolrepresentsatransi?onbetweentwowirestates•  5possiblesymbols

Symbol(3bits)

Flip Rotate Polarity

0 0 0 0

1 0 0 1

2 0 1 0

3 0 1 1

4 1 DC DC

Rotate

0 Decr.le_er

1 Incr.le_er

Polarity

0 -

1 Togglesign

Flip

0 -

1 Samele_er,togglesign.

-z+x

Example:

1

Mapping 7 Symbols 16-bit Integers

16

•  C-PHYdefinesamappingbetween7-symbolwordsand16-bitintegers

Numberof7-symbolwords: Numberof16-bitintegers:

65536

7-symbolwords 16-bitintegers

65536

12589unmappedwords

1-to-1mapping

{0224100} 0x7290

{3444443}

{4444444}

SyncWord(Alignmentmarker)

Post(End-of-Packetmarker)

Well Defined Algorithms from MIPI Alliance

17

18

“Don’t Even Worry

About It”

Eco-System Is Developed for Tools

19

Three-PhaseSignals

DecodedData

Anatomy of a Packet Transmission

20

Practical Experiences

21

Tx: Both Mapping and Encoding Before Serializer

22

Rx: Avoiding False Sync Detection (Problem Statement)

23

Rx: Avoiding False Sync Detection (Solution)

24

DetectSYNCwithPre-EndasMarkerforStartofTransmission

CSI-2 Long Packets in C-PHY

25

CSI-2 Long Packets in C-PHY

26

CSI-2 Long Packets in C-PHY

27

CSI-2 Long Packets in C-PHY

28

CSI-2 Long Packets in C-PHY: The Invisible SYNC

29

DSI-2 Long Packets in C-PHY

30

DSI-2 Long Packets in C-PHY

31

DSI-2 Long Packets in C-PHY

32

DSI-2 Long Packets in C-PHY

33

DSI-2 Sample Protocol Analyzer Trace

34

DSI-2 Sample Protocol Analyzer Trace

35

Key Takeaways

36

Tx mapping and encoding in parallel domain

Rx false sync avoidance required pre-begin monitoring

Packet header definition required careful design of SYNC manipulation (both Tx and Rx)

CSI-2 & DSI-2 treat SYNC insertion differently

April 10, 2014: World’s First C-PHY Interoperability!

37

Leading Image Sensor Manufacturer Test Chip

(Tx)

2.0 Gsps

First Packet Received First Eye Diagram

top related