Likemostnetworkprotocols,theLocalInterconnect
Network(LIN)asdescribedintheofficialspecification
isamulti-layeredsystem.Thelevelsvaryfromthe
physicalinterfaceuptothehighlevelapplication,with
logicaldataconnectionsbetweennodesatvariouslay-
ers.Thisapplicationnotefocusesontheimplementa-
tionofaninterfacebetweenthephysicalinterfaceand
higherlevelapplicationfirmware,essentiallyahard-
waredriver(theshadedblocksinFigure1).Specifi-
cally,thisdocumentpresentsaMasternodedriverthat
isdesignedforPIC18microcontrollerswithastandard
USARTmodule.AN235ImplementingaLINMasterNodeDriveronaPIC18MicrocontrollerwithUSARTAuthor:RossM.FoslerUsersinterestedintheimplementationofLINSlavenodes(notdiscussedinthisdocument)areMicrochipTechnologyInc.encouragedtovisittheMicrochipwebsite(www.microchip.com)foradditionalapplicationnotesINTRODUCTIONandotherinformation.Likemostnetworkprotocols
暂无评论