资料介绍
This application note describes the design, development
and implementation of a smart, low-cost, stand-alone
Controller Area Network (CAN) node. It combines the
Microchip 8-pin PIC12C672 microcontroller and the
Microchip 18-pin MCP2515 Stand-Alone CAN controller.
This creates a fully autonomous CAN node, which
supports both “time-based” and “event driven” message
transmission.
The node is interrupt driven, capable of monitoring five
external inputs (two analog and three digital) and
automatically generating messages based upon their
value. The node also controls two digital outputs,
responding to message requests via the CAN network
and generating a repeating, time-based message. AN215
A Simple CAN Node Using the MCP2515 and PIC12C672
Author: Rick Stoneking,
SYSTEM DESCRIPTION
Anadigics, Inc.
Overview
INTRODUCTION Figure 1 shows the block diagram of the overall
system. There are two functional blocks. The first is the
This application note describes the design, development Control Logic block. This function is performed by the
and implementation of a smart, low-cost, stand-alone PIC12C672 microcontroller. The PIC12C672 was
C