ThisapplicationnotepresentsaLIN2.0-compliant

driverforthePIC18XXXXfamilyofmicrocontrollers.

Thisdocumentwillfocusonthesetupandimplemen-

tationofthedriverforamasterand/oraslavenode(s).

Thematerialinthisdocumentispresentedwiththe

assumptionthatthereaderisfamiliarwiththe

previousversionsoftheLINspecification.Onlykey

additionsandmodificationsoftheLINspecification

2.0,themostcurrentspecificationavailabletodate,

willbehighlighted.AN1009LIN2.0CompliantDriverUsingthePIC18XXXXFamilyMicrocontrollersAuthors:ThorstenWaclawcyzkLIN2.0CHANGESMicrochipTechnologyInc.SignalgroupsarereplacedwithbytearraysthatJinXusupportsignalsizesuptoeightbytes.MicrochipTechnologyInc.Automaticbitratedetectionisincorporated.Unliketheclassicchecksumthatincludesonlythedatabytes,theenh

PIC18XXXX系列微控制器的LIN2.0兼容的驱动程序

PIC18XXXX系列微控制器的LIN2.0兼容的驱动程序