ThePIC16C433isastandardPIC16CXXXmicro-
controllerwithaLIN(LocalInterconnectNetwork)
transceiverintegratedintothedevice.Therefore,the
microcontrolleralreadyhasthenecessaryhardwareto
easilyintegratethedeviceintoaLINsystem.This
applicationnoteprovidesafirmwarebase(driver)for
thesystemdesignertouseonthePIC16C433.The
driverutilizestheresourcesavailable,includingthe
Timer0module,Timer0prescaler,GPIOinterrupt-on-
changeortheexternalinterrupt,andtheLINtrans-
ceiver.Inthisdocument,significanteffortisspentdem-
onstratinghowtosetupandusethedriver.Some
generalinformationandtipsarealsodiscussedtohelp
thedesignerbuildtheirapplicationseamlesslyinthe
LINenvironment.Inaddition,forthecuriousdesigner,
someadditionaldetailsaboutthedriverareprovided
towardtheendofthedocument.
Thereadershouldnoteinformationinthisapplication
noteispresentedwiththeassumptionthatthereader
isfamiliarwithLINspecificationv1.2,themostcurrent
specificationavailableattheinitialreleaseofthisdoc-
ument.Therefore,notalldetailsaboutLINaredis-
cussed.Refertothereferenceslistedonpage14for
additionalinformation.AN240LINSlaveNodeonaPIC16C433Author:RossFoslerFIGURE1:AVAILABLEPROCESSTIMEMicrochipTechnology,Inc.(FOSCAT4MHZ)INTRODUCTIONAverageTimeAvailable70%ThePIC16C433isastandardPIC16CXXXmicro-controllerwithaLIN(LocalInterconnectNetwork)transceiverintegratedintothedevice.Therefore,the
暂无评论