您好,欢迎访问三七文档
©FreescaleSemiconductor,Inc.,2004.Allrightsreserved.FreescaleSemiconductorApplicationNoteAN2767Rev.0,11/2004LIN2.0ConnectivityonFreescale8/16-bitMCUsUsingVolcanoLTPby:ZdenekKaspar,JiriKuhn8/16-bitSystemsEngineeringRoznovpodRadhostem,CzechRepublicIntroductionLIN(LocalInterconnectNetwork)isalow-cost,serialcommunicationprotocolintendedforusemainlyinthedistributedelectronicsystemsofvehicles.LINwillbetheenablingfactorinimplementingahierarchicalvehiclenetworktoachievefurtherfeatureenhancementandcostreductioninvehicles.LINcannotcompeteagainstmuchmoresophisticatednetworkssuchasCAN(controllerareanetwork)andMOST(media-orientedsystemtransport),orByteflight.However,LIN’ssimplicityandverylowmodulepricemakeitidealforapplicationsthatdonotrequiresuchsophisticatednetworks.Thisdocumentdescribesallthenecessary“how-to”stepsforimplementingLIN2.0connectivityonFreescale8/16-bitmicrocontrollerunits(MCUs)usingtheVolcanoLIN2.0TargetPackage(LTP2.0).ItisnotintendedtoreplaceeithertheLIN2.0specificationpackageortheVolcanoLTP2.0relateddocumentation,butitisintendedtobeabriefandeasy-to-readdocumentthatintroducesanddescribesthesubjectofLIN2.0implementation.Thus,itcanbereadbybothnovicesandexperienceddevelopers,whomayberequiredtoaddLIN2.0connectivitytotheirapplications.BecauseofanorderfromtheUnitedStatesInternationalTradeCommission,BGA-packagedproductlinesandpartnumbersindicatedherecurrentlyarenotavailablefromFreescaleforimportorsaleintheUnitedStatespriortoSeptember2010:MPC551xandMPC5533productsin208MAPBGApackages;MPC5534andMPC5553productsin208and496APBGApackages;MPC5554,MPC5565,MPC5566andMPC5567productsin496MAPBGApackagesLIN2.0ConnectivityonFreescale8/16-bitMCUsUsingVolcanoLTP,Rev.02FreescaleSemiconductorFreescaleLINPortfolioFreescaleLINPortfolioFreescaleoffersawidevarietyofMCUsandotherLINrelatedproducts,suchas:8/16-bitMCUsforbothLINslaveandmasterimplementations–HC08–HCS12–HCS12X32-bitMCUsforLINmasterimplementations–MPC55xx–MAC71xxAnalogProductGroupproducts,includingLINphysicallayers,LIN/CANSBC(SystemBasisChip),andIDC(IntelligentDistributionControl)devicesForthelatestinformationontheseproducts,pleasevisit(Notethat,althoughthesedriversarefullyfunctional,theyarenotsupportedbytheVolcanoLINToolChain(page3).MainChangesfromLIN1.3toLIN2.0AftertheLIN1.3specificationwasreleased,theLINConsortiumdecidedtomakeamajorrevisionsteptomeetthenewrequirementsoftheautomotiveindustry.Thismajorrevisionincludesthefollowingchanges.(Formoredetailedinformation,seeReference[1].)TheLINAPI(aspartoftheLINspecificationReference[1])ismademandatoryforallnodesprogrammedinClanguage.Anenhancedchecksumhasbeenadded(includingtheprotectedidentifierbyte).Anewframetypeandsignaltypehavebeendefined,allowingsporadicframesandbytearraysignalstobeused.Anodecapabilitylanguagehasbeenspecifiedtoenableoff-the-shelfslavenodesupport.Nodeconfigurationcommandshavebeenaddedandaremandatory(resolutionofconflictingframes).DiagnosticsanddiagnosticAPIhaveadded.Thegoto_sleepandthewake_upsignalshavebeenseparated.Inspiteofthenewfeatures,itispossibletoconnectaLIN1.3enabledslavenodetoaLIN2.0masternode.Inthisconfiguration,theenhancedchecksum,configurationanddiagnosticfeatures,andautomaticbaudratedetectionarenotrequiredbythemasternode.Theinverseconfiguration,thatis,aLIN1.3masternodewithaLIN2.0slavenode,isnotallowed.BecauseofanorderfromtheUnitedStatesInternationalTradeCommission,BGA-packagedproductlinesandpartnumbersindicatedherecurrentlyarenotavailablefromFreescaleforimportorsaleintheUnitedStatespriortoSeptember2010:MPC551xandMPC5533productsin208MAPBGApackages;MPC5534andMPC5553productsin208and496APBGApackages;MPC5554,MPC5565,MPC5566andMPC5567productsin496MAPBGApackagesLIN2.0SpecPackageOverviewLIN2.0ConnectivityonFreescale8/16-bitMCUsUsingVolcanoLTP,Rev.0FreescaleSemiconductor3LIN2.0SpecPackageOverviewTheLIN2.0SpecPackageconsistsofthefollowingspecifications.(Formoredetailedinformation,seeReference[1]).TheLINPhysicalLayerSpecificationdescribesthephysicallayer,includingbitrateandclocktolerances.TheLINProtocolSpecificationdescribesthedatalinklayer.TheLINDiagnosticandConfigurationSpecificationdescribestheservicethatcanbelayeredontopofthedatalinklayertoprovidefordiagnosticmessagesandnodeconfiguration.TheLINAPISpecificationdescribestheinterfacebetweenthenetworkandtheapplicationprogram,includingthediagnosticmodule.TheLINConfigurationLanguageSpecificationdescribestheformatoftheLINdescriptionfile,whichisusedtoconfigurethecompletenetworkandserveasacommoninterfacebetweentheOEMandthesuppliersofthedifferentnetworknodes,aswellasaninputtodevelopmentandanalysistools.The*.ldfextensionisusedfortheLINconfigurationlanguagespecificationfiles.TheLINNodeCapabilityLanguageSpecificationdescribesaformatusedtodescribeoff-the-shelfslavenodesthatcanbeusedwithaplug-and-playtoo
本文标题:LIN_2.0
链接地址:https://www.777doc.com/doc-4210041 .html