1. 首页
  2. 课程学习
  3. 嵌入式
  4. 利用MCP2515的开发工具包

利用MCP2515的开发工具包

上传者: 2022-10-22 03:35:54上传 PDF文件 378.45 KB 热度 10次

TheMCP2515easessoftwaredevelopmentand

shortensthelearningcurvefortheMCP2515by

providingthreePCsoftwaretemplateswithdifferent

functionsthatCANnodedesignerscanuseasneeded.

Byusingoneofthetemplates,theusercanread,

display,andmodifyalloftheregistersintheMCP2515

downtothebitlevel.Anothertemplatecan

demonstratebasicinput/outputfunctionalityby

allowingmessagestobetransmittedandreceivedon

theCANbus.Finally,thethirdtemplateisa

demonstrationtemplatethat,byusinga

preprogrammedPICmicro

®

microcontroller(MCU),

implementsatwonodeCANbusthatgetstheuser“on

thebus”intheshortestamountoftimeandeffort.

Thisapplicationnoteservesasathree-parttutorialfor

theMCP2515anddiscussesthethreesoftware

templatesindetailaswellastheimportantmenuitems.

Figure1isablockdiagramoftheMCP2515board.The

boardisatwonodeCANsystemthatcanbeused

togethertoimplementasimplebusorcanbe

connectedtoanexternalbususingtheoff-boardMAN873UsingtheMCP2515CANDeveloper’sKitconnector.Forthepurposesofthisapplicationnote,Author:PatRichardstheleftnodewillbereferredtoasthePCnodeandtheMicrochipTechnologyInc.rightnodewillbereferredtoasthePICmicronode.Bothnodesareidenticalexceptforthecontroll

下载地址
用户评论