TheMCP2510isalowpincountstand-aloneCANcon-

trollerwhichinterfacestoamicrocontrollerviaastan-

dardSerialPeripheralInterface(SPI™).

ThefeaturesetoftheMCP2510makesitveryversa-

tile.Itwouldbeimpossibletodocumenteverywaythe

MCP2510canbeconfiguredandused.Therefore,this

applicationnotewillprovideexamplesanddiscussions

onsometypicalconfigurations.

Thisapplicationnotefocuseson“using”theMCP2510

andsectionsinclude:

•Minimalconfigurationnecessarytoenablethe

CANnode

•Featuresandhowtheymaybeimplemented

•Adetaileddiscussionofmanyoftheregisters

•PotentialpitfallsduringimplementationAN739AnIn-depthLookattheMCP2510Author:PatRichardsThecodeexamplesarefortrainingpurposes.There-MicrochipTechnologyInc.fore,theyarenotnecessarilyoptimizedorfullydebugged.Forinstance,itmaybenoticedthatinter-ruptsarenotusedandtheMCP2510ispolledforINTRODUCTIONreceivedmessages.Thecodewouldbemoreopti-TheMCP2510isalowpincountstand-aloneCANcon-mizedifinterruptswereused.How

MCP2510的深入了解

MCP2510的深入了解