+ All Categories
Home > Documents > HS T2 10-45 Teledyne LeCroy M-PHY Gear4 and its …€¢ The local PHY Layer wilbe configured with...

HS T2 10-45 Teledyne LeCroy M-PHY Gear4 and its …€¢ The local PHY Layer wilbe configured with...

Date post: 21-May-2018
Category:
Upload: tranngoc
View: 221 times
Download: 2 times
Share this document with a friend
25
Roy Chestnut Director, Technical Marketing Teledyne LeCroy MIPI M-PHY® Gear4 and its impact on MIPI UniPort SM /UFS
Transcript

Roy ChestnutDirector, Technical MarketingTeledyne LeCroy

MIPI M-PHY® Gear4 and its impact on MIPI UniPortSM/UFS

©2017MIPIAlliance,Inc. 2

TeledyneLeCroy

Agenda

• M-PHY• UniPro• UFS

©2017MIPIAlliance,Inc. 3

MIPIM-PHY– BurstsandGears– Gear4– NewAttributes

• Min_SAVE_Config_Time_Capability

– ADAPT

TeledyneLeCroy

©2017MIPIAlliance,Inc.

BurstStates

4

TeledyneLeCroy

• BurstStates– DatatransmissionoccursinBURSTswithpowersavingstatesbetweenBURSTs.– BURSTscanbetransferredinHS-MODEorLS-MODE– TheMin_SAVE_Config_Time_Capability attributeincludesallimplementationspecifictimings

requiredtoprepareforthereceptionofthenextBURSTafterconfigurationduringSAVE.– EachBURSTstartsfromtheSAVEstateforthatoperatingmode,withatransitionfromDIF-NtoDIF-P.– AfteraperiodofDIF-PcalledPREPARE,asequenceof8b10bencodedsymbols– Afterthelast8b10bSYMBOLoftheBURSTeitheraseriesofb0soraseriesofb1s(TAIL-OF-BURST)is

transmitted.– Aseriesofequalbitsviolate8b10bcodecharacteristics,andindicateswhethertheM-RXreturnsto

theSAVEstateofthecurrentoperatingmodeorentersLINE-CFG.– InthecaseofPWMsignaling,thelastbitofthesequenceisinvertedtoindicatetheendofLINE

activity.

©2017MIPIAlliance,Inc. 5

GearsandRates• HS-GEARs

– AMODULEinHS-BURSTshallonlyoperateatthedefineddatarate,DRHS.– TherearetwoRATEseries,AandB,whereeachstepintheseriesscalesby

afactoroftwo– RATESareusedforLimitingEMIwiththeCellularmodem.– AMODULEthatincludesHS-MODEshallsupportbothRATEsofaGEAR.– AMODULEsupportingHS-MODEshallsupportHS-G1.IfahigherGEARis

supportedalllowerGEARsshallbesupportedaswell.

TeledyneLeCroy

©2017MIPIAlliance,Inc. 6

BurstandGears

TeledyneLeCroy

©2017MIPIAlliance,Inc. 7

MIPIM-PHYGear4• DoublingoftheDataRatefromHS-Gear3toHS-Gear4

TeledyneLeCroy

©2017MIPIAlliance,Inc. 8

Min_SAVE_Config_Time_Capability

TeledyneLeCroy

• Min_SAVE_Config_Time_CapabilityattributeincludesallimplementationspecifictimingsrequiredtoprepareforthereceptionofthenextBURSTafterconfigurationduringSAVE.– Prepare– ADAPT– Sync

©2017MIPIAlliance,Inc. 9

ADAPT• ADAPT

– TheADAPTsub-stateisintendedfortheRXequalizertraining– IfanM-RXsupportsADAPT,thePREPAREsub-statemaybefollowedbythe

ADAPTsub-stateforHS-G4.– ADAPTsequencestartswithMK0followedbyan8b10bencodedPRBS9

pattern– ADAPTsequenceiscompletedbyoneb0bit.– The8b10bPRBS9ADAPTsequencerepeatsevery650bits.– ADAPTsub-stateendswiththetransmissionofaTAIL-OF-BURST– M-RXandM-TXshallreturntotheSTALLstate.

TeledyneLeCroy

©2017MIPIAlliance,Inc. 10

ADAPT• Duringinitialdiscovery,thelocalprotocolrequestsandreadscapabilitiesofMODULEsonbothsidesoftheLINK.• IfHS-G4equalizercapabilityisdetectedonbothsides,updatestheremoteM-RXADAPTlengthcapabilityinto

itslocalM-TXADAPTlengthconfiguration.

– TX_HS_ADAPT_Length >=RX_HS_ADAPT_INITIAL_Capability

• ThelocalprotocolshallupdatethefollowingsettingforaRefreshADAPT:

– TX_HS_ADAPT_Length >=RX_HS_ADAPT_REFRESH_Capability

• WhenaHS-G4BURSTisinitiatedandADAPThasbeenconfiguredtheM-TXtransitionsfromPREPAREtotheADAPTsub-stateinsteadofSYNC.

• TheM-TXtransitionsfromDIF-PtotransmittingtheADAPTsequence.• BothM-TXandM-RXremainintheADAPTsub-statefortheequalizertrainingforadurationofTADAPT• TheM-RXsignalsexitfromtheADAPTsub-statebyflippingtheADAPT_Control fieldofRX_ADAPT_Control from

ADAPTtoSYNCandreturningtoSTALL.

TeledyneLeCroy

©2017MIPIAlliance,Inc. 11

©2017MIPIAlliance,Inc. 12

MIPIUniPro 1.80• NewLinkStartupSequence• PACPChanges• BurstandDeskew• QualityofService• NewPrimitives• DeprecatedFunctions

TeledyneLeCroy

©2017MIPIAlliance,Inc. 13

ChangestoLinkStartup• TerminatingaLinkStartup• AUniPro LinkStartupSequenceshallbeabortedwithoutreportingPA_LM_LINKSTARTUP.cnf_L(FAILURE)to

theDMEbyeitherofthefollowingconditions:– LocalApplicationsettingPowerModetoHibernate_Mode orOff_Mode– LocalAssertionofUniPro ColdResetorUniPro WarmReset

• ErrorProcessingduringLinkStartup• DuringLinkStartup,thePAlayercanonlyadvancetheLinkStartupPhase

– evenwhenreceivingerrorsontheincomingLink.• ThePAReceivershouldadvancefromPhase0,Phase1orPhase3uponreceiptofthecorrectTRGSymbols• ThePAReceivershouldignoreerrorsreceivedduringPhase0throughPhase4.• APA_LM_LINKSTARTUP.cnf_L(FAILURE)shouldonlybegeneratedfromatimeout.• HIBERN8immediatelyafterPA_LM_LINKSTARTUP.cnf_L(FAILURE),toprepareforanewLinkStartup1792

attemptfromthelocalDMEorthepeerDevice.

TeledyneLeCroy

©2017MIPIAlliance,Inc. 14

PACPChanges• Gear4

– PACP_PWR-REQ/CNF• Addedvalueof4intheTX/RXGear field

• Adapt– PACP_PWR-REQ/CNF

• ThisfieldindicatesthepresenceofADAPTandtypeofADAPTrange(FineorCourse)selectedforthecurrentPowerModeChange

• PACP_CAP_ind– MaxHS

• ThisfieldshallbeignoredbythePAreceiverifPACP_CAP_EXT2_indisreceived.• Instead,theMaxHS fieldofPACP_CAP_EXT2_indshallbeused.• IfTX_HSGEAR_Capability isreturnedwithvalue4orabove,thePAtransmittershallsetthisfieldwithvalue2b’11• Inallothercases,thePAtransmittershallsetthisfieldwiththevalueretrievedfromTX_HSGEAR_Capability[1:0].

TeledyneLeCroy

©2017MIPIAlliance,Inc. 15

PACPChanges• PACP_CAP_EXT2_ind

– ThePACP_CAP_EXT2_indframeisnew– ItsupportsallnewcapabilitiesintroducedinM-PHYspecificationrevision4.0onwards.– Itisusedinphase5ofLinkStartupSequencebeforethePACP_CAP_EXT1_indtonotifythepeerPALayerofthe

localM-TX,M-RX,andPALayercapabilities– LegacyDevicespriortoUniPro version1.8notbeingabletorecognizePACP_CAP_EXT2_indshall– discardthereceptionofthosePACPframesandproceedtoPACP_CAP_EXT1_indorPACP_CAP_ind– Theframe’sfieldsareasfollows

• MaxHS:MaximumHSgear,orzeroifHSmodeisunavailable– ThisfieldoverridesthefieldwiththesamenamethatisfoundinPACP_CAP_ind frame.

• RxHsG4SyncLength:M-PHYtiminginformation• RxHsG4PrepareLength:M-PHYtiminginformation• RxHsAdaptInitial:M-PHYtiminginformation• RxHsAdaptRefresh:M-PHYtiminginformation

– Unsupportedornon-existingM-PHYcapabilityattributesarereportedwitheverybitsetto'1'.

TeledyneLeCroy

©2017MIPIAlliance,Inc. 16

PowerModeChanges• WithMIPIUniPro Version1.8Only• LocalPALayersendsaPACP_PWR_req frame• WhentheremotePALayerreceivesavalidPACP_PWR_req frame• TheremotePALayershallsendthePACP_PWR_cnf frame.• ThelocalPALayerreceivesavalidPACP_PWR_cnf frame• ItcheckstheStatusfield.

– IftheStatusfieldcontainsPWR_OK,PAPowerModeUserData ispassedtothelocalDME.• ThelocalPHYLayerwil beconfiguredwiththerequestedparameters.• ThelocalPALayershallclosetheburstontheoutboundLink.• TheremotePALayershallclosetheburstontheotherLinkwhendetectingtheendofburstonits

inboundLink.

TeledyneLeCroy

©2017MIPIAlliance,Inc. 17

PowerModeChangewithAdapt

TeledyneLeCroy

Local PA Remote PA

PA_LM_SET.req (PA_PWRMode, x)

PA_LM_SET.cnf_L (SUCCESS)

PACP_PWR_req

Idle Idle

WaitCnf

Configure MODULEsPACP_PWR_cnf

WaitEoB

Burst TX

Burst TX

Check cnf

Configure MODULEs

PACP_REQUEST_TIMER

PACP_REQUEST_TIMER

WaitEoB

PA_DL_RESUME.indPA_DL_RESUME.ind

Idle Idle

PA_LM_PWR_MODE_CHANGED.ind (PWR_LOCAL)

Check Capability

Check Capability

End TX Burst

End TX Burst

Remote DMELocal DME

PACP_REQUEST_TIMER

PACP_REQUEST_TIMER

PA_DL_PAUSE

PA_DL_PAUSE

PA_LM_PWR_MODE.ind

PA_LM_PWR_MODE.rsp_L

PA_LM_PWR_MODE.ind

PA_LM_PWR_MODE.rsp_L

PA_LM_PWR_MODE_CHANGED.ind(PWR_REMOTE)

TX Adapt

Req Adapt TX

PACP_REQUEST_TIMER

PACP_REQUEST_TIMER PACP_REQUEST_TIMER

PACP_REQUEST_TIMER

WaitforAdaptCompleteIndfromM-TX&M-RX

WaitforAdaptCompleteIndfromM-TX&M-RX

Req Adapt TX

TX Adapt

©2017MIPIAlliance,Inc. 18

BurstStartandDeskew PatternBurstStartandDeskew Pattern• AnM-PHYburstshallbeginbytransmittingadeskew pattern<MK0,MK1>,• MK0functionsasanStartofBurstHEAD-OF-BURSTmarker.• Thedeskew patternisalsousedwhenresynchronizingLanes• Thedeskew patternshallbetransmittedsimultaneouslyonallactiveLanes.• Thedeskew patternmaybetransmittedatanypointintimeFor thepurposeofpotentialerrorrecovery

• DummyBurst• AdummyburstisanM-PHYburstthatissentoninactiveM-PHYLanesinaMulti-LanescenarioduringLink

configuration.• AdummyburstistosynchronizetheM-PHYLaneattributesacrossboth,inactiveandactivatedLanes• AdummyburstdoesnotcarryanypayloadandisnotusedinLanedistribution• AdummyburstisissuedonlyonLaneswithalogicalLanenumbergreaterthan0.• Thedummyburstshallbeginbytransmittingaspecialpattern<MK0,FLR>,whichdistinguishesthedummy

burstfromanormalburst.Duringthedummyburst,thePALayershallsendonlyFILLERs.

TeledyneLeCroy

©2017MIPIAlliance,Inc. 19

NewPrimitives– PA_INIT.ind

• InformstheDLLayerthattherewasaPA_INITrequestedbythePeerPALayer.TheDLLayershouldnotifytheDME

– PA_LM_RX_SYMBOL_CNT.ind• PALayergeneratesthisprimitiveeverytimeitreceives1024SymbolsbetweentheHeadof

BurstandtheEndofBurst– PA_LM_TX_SYMBOL_CNT.ind

• PALayergeneratesthisprimitiveeverytimeittransmits1024symbolsbetweenbetween HoBandEoB

– M-LANE-AdaptStart– M-LANE-AdaptComplete– M-LANE-MRXSaveState– M-LANE-AdaptComplete

TeledyneLeCroy

©2017MIPIAlliance,Inc. 20

MIPIUniPro DeprecatedFunctionsin1.80• T-MPI: T-MPIavoidsexcessivepin-countsbyutilizinghigh-speedSERDES

technologiesfoundinmodernFPGAs.• LCC:LINEControlCommand(LCC)• BasicOpticalMediaConvertersaresupportedasoptional• AdvancedOpticalMediaConvertersarenotsupportedasoptions.

– UniPro doesnotmandatetheimplementationoftheM-PHYstateLINE-CFG,nordoesUniPro makeuseoftheLINE-CFGstate,shoulditbepartoftheM-PHYimplementation.

• UniPro specificationVersion1.80givesupbackwardcompatibilitytoUniPro Versionsv1.41.00andearlier. SpecificallyduetodeprecationofLCC

TeledyneLeCroy

©2017MIPIAlliance,Inc. 21

UFS• GeneralFeatures

– Targetperformance– HighspeedGEARs

• SupportforGEAR1ismandatory• SupportforGEAR2ismandatory• SupportforGEAR3isoptional• SupportforGEAR4ismandatory

TeledyneLeCroy

©2017MIPIAlliance,Inc. 22

UFSDataRatesandClockconsiderations

TeledyneLeCroy

©2017MIPIAlliance,Inc. 23

PWMBurst• PWMBurst• AUFSdeviceshallsupportthePWM-G1(default,mandatedby[M-PHY]),PWM-G2,PWM-G3

andPWM-G4GEARS.• ThePWM-G5,PWM-G6andPWM-G7areoptional.

– EvenifthephysicallayersupportsPWM-G0,thisgearcannotbeusedbecauseitisnotsupportedbyUniPro• ThePWM-G1istheactivegearbydefaultafterpoweruporreset.• SUBLINKSinaLINKmaycommunicatewithdifferentPWM-GEARorHS-GEAR.

• LSPrepareLengthControl• TheTX_LS_PREPARE_LENGTHM-PHYconfigurationattributedefinesthetimetomovefrom

SLEEPtoPWM-BURST.• Atreset,M-TXsetsTX_LS_PREPARE_LENGTH=10.

TeledyneLeCroy

©2017MIPIAlliance,Inc. 24

UFSHSBurst• UFSHSBurst

– AUFSdeviceshallsupporttheHS-GEAR1,HS-GEAR2andtheHS-GEAR4.– SupportforHS-GEAR3isoptional.

• ThisviolatestheM-PHYspecwhichstatesthatalllowergearsmustbesupported.– SUBLINKSinaLINKmaycommunicatewithdifferentHS-GEARorPWM-GEAR.

• HSPrepareLengthControl– TheTX_HS_PREPARE_LENGTHM-PHYconfigurationattributedefinesthetimetomovefromSTALLtoHS-BURST.

Atreset,M-TXsetsTX_HS_PREPARE_LENGTH=15.• HSSyncLengthControl

– TheTX_HS_SYNC_LENGTHM-PHYconfigurationattributedefinesthenumberofsynchronizationsymbolsbeforeaHSBurst.

– IntheUFSinterfacethesynchronizationsequenceshallbegeneratedbytheM-TX.– Supportforprotocolcontrolledsynchronizationisoptional.– M-TXstartsatresetwithTX_HS_SYNC_LENGTH=15,inCOARSEtype.

TeledyneLeCroy


Recommended