FAETrainingApril23rd,2001SanJose,CAEthernetSignalingOzdalBarkan2Overview-EthernetSignalingSamplewaveformsGig100M10MAuto-NegMDC/MDIOEthernetLineCodesNRZ,NRZI,MLT-3,ManchesterLineCodeexercise3Overview(Continued)Whatisalinecodevs.PCSCoding?Whatarethe3“codings”doneona100BASE-TXwaveform?EthernetFrameStructureStudyEthernetFrameusing10MwaveformsGigabitcodingandsignalingMDC/MDIOprotocolandwaveformsAuto-Negotiationprotocolandwaveforms41000BASE-Tand100BASE-TXWaveformsGigabit.100M.5Gigabit802.3abTestWaveforms610Mpacketdata710Base-TManchesterDifferential+2.5,-2.52010.5EthernetNomenclatureBlockEncodingLineSignalingVoltageLevelsSymbolRate/Pair(Baud)XmitPairsEfficiency(Bits/Baud)100Base-TX4B/5BMLT-3+1,0,-112510.81000Base-T4D-PAM5PAM5+1,+0.5,0,-0.5,-112542.01000Base-SX8B/10BDifferentialHigh/LowIntensity125010.81000Base-Toperationis2.0x4x125=1000Mb/sEthernetCodingandSignaling8EthernetLineCodes1101101NRZ1101101NRZI1101101MLT-31101101ManchesterNRZ-1=High,0=LowNRZI-1Changepreviouslevel,0SameaspreviouslevelMLT-3-SameasNRZI,buteveryother+1Vis-1VManchester-Eachbittimeisdividedintotwooppositehalves.Thesecondhalfmatchesbitvalue.i.e.1=secondhalfishigh,firsthalfislow.9Quiz-EthernetLineCodesNRZNRZIMLT-3ManchesterQUIZonlinecodes:Determinethebitsequenceforeachofthewaveformsabove.Notethatthefirstthreehavebittimesdefinedbythedottedlines.Manchesterencodedlinehasnobittimesdefined,it'sforyoutofigureoutwherethebittimesare.10EthernetFrameFormat1110Mpacketwaveforms&EthernetPacketFormat10MwaveformsPreambleDAandpacketdataEndofPacket10Mlinkpulses10McodingandwaveformshapingManchestercodingfordata.(seewaveshapingbelow)EndoflinecodingWaveshaping•The100nswidepulsesare“pre-equalized”.Funnyshapesecondhalfisloweramplitude.•The50nsnarrowpulsesarenotpre-equalized.1210Mbeginningofpacket1310Mpacketdata1410Mendofpacket1510Mb/sLinkPulse16100Mpacketwaveforms&coding100Mcoding(3differentkindsofcoding!!)4B/5BScramblingLinecoding100MwaveshapingRiseandfalltime3-5ns174B/5Bcoding18KeyIdeasin4B/5BcodingAllthe5Bcodesassignedtoeach4Binputdata,havebitstogglingbetween“1”and“0”GuaranteesthatPLLcanseeedgesandextractclockThereare32possiblecodewordsforeachpossible16dataword.16ofthe32codewordsareassignedtothe16possibledatainputs.Theremaining16canbeusedtodetecterrorsorforcontrol.8B/10Bencodingusedin1000BASE-X,SGMII,and10GigabitEthernet,usessimilarideas.19KeyIdeasin4B/5Bcoding(continued)Becauseofthe4B/5Bor8B/10Bcoding,thereis25%redundancyadded.Requiresthat100BASE-TXtransmits125Mb/sdataonthewire.RequiresthatMidwayPHYtransmits3.125Gb/stohandle2.5Gb/sofdata.RequiresthatSGMIIoperatesat1.25Gb/sfor1000Gb/soperation.20Quiz--4B/5BAssumingthatthescramblingisturnedoff,showhowthe100BASE-TXMLT-3waveformswilllooklikefor:IdlesDatapatternof343434…...211000BASE-Tpacketwaveforms&coding1000BASE-Tcoding(3differentkindsofcoding!!)4B/PAM5ScramblingLinecoding(PartialResponseCoding)1000MwaveshapingIEEEtemplates221000BASE-Tand100BASE-TXWaveformsGigabit.100M.231000BASE-Tsignaling-FAQQ:Ithoughtthat1000BASE-Tusedfivevoltagelevels(+1,+0.5,0,-0.5,-1V).Ilookonthescope,anditdoesn’tlookanythinglikeit?1000BASE-Tusespartialresponsecoding(seenextquestion)whichconvertsthe5levelsto17.Inaddition,1000BASE-Tisfullduplexsothatthevoltagelevelssentbythetwolinkpartnersaddup.Q:Howdoespartialresponsecodingconvertthe5levelsto17levels?Whatisitanyway?ToreduceEMIemissions,aweightedaverageisusedasfollows:Vout[n]=0.75*x[n]+0.25*x[n-1]wherex[n]andx[n-1]arethepresentandpreviousvalues.Forexampleifthepresentvaluex[n]=0.5Vandthepreviousvaluex[n-1]=-1VthenVout[n]=+0.125VIfyougothroughallthe25possiblecombinationsofx[n]andx[n-1],youwillseethat17uniqueVout[n]valuesresult.Q:Whatdoyoumeanby“forfullduplexoperationthevoltagelevelssentbythetwolinkpartnersaddup”?Ifonelinkpartnerissendingout.125Vwhiletheotherissendingout1Vshouldn’ttherebeaconflict?Ifthevoltagesourceshadzeroohmsourceimpedance,thenofcoursetherewouldhavebeenaconflict.Howeverthedrivershave100ohmdifferentialsourceimpedance.Thevoltageismeasuredonthewire,andnotonthedriversideofthesourceimpedance.IftwovoltagesourcesV1andV2eachhavesourceimpedanceofRsthenthevoltagemeasuredonthelinewillbe(V1+V2)/2.24Quiz--1000BASE-TsignalingHomeworkexerciseCreateatablewith5columnsand5rows.Therowsandcolumnsheadersshowthe5possiblevoltageassignmentsforx[n]andx[n-1].Thereare25tableentries.Usingtheformulaeforpartialresponsecoding:Vout[n]=0.75*x[n]+0.25*x[n-1]showthatthereare17uniquevaluesforeachoutput.25Auto-NegotiationAuto-NegwaveformsAuto-NegprotocolQuizLookatanyEthernetdatasheetforregister4.IdentifywhichbitareusedtoadvertisewhatcapabilitiesLookattheFLPburstnextpage.Determinewhichcapabilitiesareadvertised.26AsingleFLPburst27FLPbursts16ms+/-8ms28Auto-NegotiationPulses29FLPtiming30MDC/MDIOMDC/MDIOwaveformsMDC/MDIOprotocolLabExerciseWritetoaregisterlocationandobserveMDIO.31Questions:(a)Pleasedetermineifthisisareadorawrite?WhatisthePHYaddressshownfromthiswaveform?MDC/MDIOwaveforms32MDC/MDIOprotocol