Thisapplicationnotedescribesthedesign,development

andimplementationofasmart,low-cost,stand-alone

ControllerAreaNetwork(CAN)node.Itcombinesthe

Microchip8-pinPIC12C672microcontrollerandthe

Microchip18-pinMCP2515Stand-AloneCANcontroller.

ThiscreatesafullyautonomousCANnode,which

supportsboth“time-based”and“eventdriven”message

transmission.

Thenodeisinterruptdriven,capableofmonitoringfive

externalinputs(twoanalogandthreedigital)and

automaticallygeneratingmessagesbasedupontheir

value.Thenodealsocontrolstwodigitaloutputs,

respondingtomessagerequestsviatheCANnetwork

andgeneratingarepeating,time-basedmessage.AN215ASimpleCANNodeUsingtheMCP2515andPIC12C672Author:RickStoneking,SYSTEMDESCRIPTIONAnadigics,Inc.OverviewINTRODUCTIONFigure1showstheblockdiagramoftheoverallsystem.Therearetwofunctionalblocks.ThefirstistheThisapplicationnotedescribesthedesign,developmentControlLogicblock.Thisfunctionisperformedbytheandimplementationofasmart,low-cost,stand-alonePIC12C672microcontroller.ThePIC12C672wasC

利用MCP2515的PIC12C672一个简单的CAN节点

利用MCP2515的PIC12C672一个简单的CAN节点