资料介绍
The MCP2510 is a low pincount stand-alone CAN con-
troller which interfaces to a microcontroller via a stan-
dard Serial Peripheral Interface (SPI™).
The feature set of the MCP2510 makes it very versa-
tile. It would be impossible to document every way the
MCP2510 can be configured and used. Therefore, this
application note will provide examples and discussions
on some typical configurations.
This application note focuses on “using” the MCP2510
and sections include:
• Minimal configuration necessary to enable the
CAN node
• Features and how they may be implemented
• A detailed discussion of many of the registers
• Potential pitfalls during implementation AN739
An In-depth Look at the MCP2510
Author: Pat Richards The code examples are for training purposes. There-
Microchip Technology Inc. fore, they are not necessarily optimized or fully
debugged. For instance, it may be noticed that inter-
rupts are not used and the MCP2510 is polled for
INTRODUCTION received messages. The code would be more opti-
The MCP2510 is a low pincount stand-alone CAN con- mized if interrupts were used. How