MCP2515 CAN Bus Monitor Demo Board User’s Guide © 2008 Microchip Technology Inc.
Note the following details of the code protection feature on Microchip devices: • Microchip products meet the specification contained in their particular Microchip Data Sheet. • Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the intended manner and under normal conditions. • There are dishonest and possibly illegal methods used to breach the code protection feature.
MCP2515 CAN BUS MONITOR DEMO BOARD USER’S GUIDE Table of Contents Preface ........................................................................................................................... 1 Introduction............................................................................................................ 1 Document Layout .................................................................................................. 1 Conventions Used in this Guide .........................................
MCP2515 CAN Bus Monitor Demo Board User’s Guide NOTES: DS51757A-page iv © 2008 Microchip Technology Inc.
MCP2515 CAN BUS MONITOR DEMO BOARD USER’S GUIDE Preface NOTICE TO CUSTOMERS All documentation becomes dated, and this manual is no exception. Microchip tools and documentation are constantly evolving to meet customer needs, so some actual dialogs and/or tool descriptions may differ from those in this document. Please refer to our web site (www.microchip.com) to obtain the latest documentation available. Documents are identified with a “DS” number.
MCP2515 CAN Bus Monitor Demo Board User’s Guide CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Arial font: Italic characters Represents Referenced books Emphasized text A window A dialog A menu selection A field name in a window or dialog A menu path MPLAB® IDE User’s Guide ...is the only compiler...
Preface RECOMMENDED READING This user's guide describes how to use MCP2515 CAN Bus Monitor Demo Board. The following Microchip documents are available and recommended as supplemental reference resources. MCP2515 Data Sheet, “Stand-Alone CAN Controller With SPI Interface”, (DS21801) This data sheet provides detailed information regarding the MCP2515 product family. MCP2551 Data Sheet, “High Speed CAN Transceiver“, (DS21667) This data sheet provides detailed information regarding the MCP2551 product family.
MCP2515 CAN Bus Monitor Demo Board User’s Guide DOCUMENT REVISION HISTORY Revision A (August 2008) • Initial Release of this Document. DS51757A-page 4 © 2008 Microchip Technology Inc.
MCP2515 CAN BUS MONITOR DEMO BOARD USER’S GUIDE Chapter 1. Product Overview 1.1 INTRODUCTION This chapter provides an overview of the MCP2515 CAN Bus Monitor Demo Board and covers the following topics: • What is the MCP2515 CAN Bus Monitor Demo Board? • What the MCP2515 CAN Bus Monitor Demo Board kit includes 1.
MCP2515 CAN Bus Monitor Demo Board User’s Guide NOTES: DS51757A-page 6 © 2008 Microchip Technology Inc.
MCP2515 CAN BUS MONITOR DEMO BOARD USER’S GUIDE Chapter 2. Installation and Operation 2.1 INTRODUCTION The MCP2515 CAN Bus Monitor Demo Board kit demonstrates the MCP2515 Stand-Alone CAN Controller interfacing to a CAN bus. The MCP2515 CAN Bus Monitor Demo Board kit consists of two identical boards which, when connected together, create a small, 2-node CAN bus. This bus can be interfaced to a PC by connecting one of the two boards to the PC (USB) and running the custom software.
MCP2515 CAN Bus Monitor Demo Board User’s Guide 2.3 GETTING STARTED The MCP2515 CAN Bus Monitor Demo Board is a fully functional, assembled, and tested kit used to demonstrate the MCP2515 in a CAN bus environment. The following describes the basic setup and operation. See Figure 2-1 and Figure 2-2 for a simplified functional diagram and block diagram. Basic Setup: 1. Connect the two boards together using the supplied ribbon cable 2. Connect the USB cable to PC 3. Start the bus monitor software.
Installation and Operation USB FUNCTIONAL DIAGRAM USB Con Power CAN FIGURE 2-3: USB Programming FIGURE 2-2: Control CAN Con CAN Headers BOARD SET-UP CONFIGURATION USB CABLE TO PC © 2008 Microchip Technology Inc.
MCP2515 CAN Bus Monitor Demo Board User’s Guide 2.4 FUNCTIONAL OPERATION The MCP2515 CAN Bus Monitor Demo Board is basically a USB-to-CAN board which provides visual feedback of Controller Area Network operation. The two boards included in the kit can be used together to create a 2-node CAN bus. The function of the board is determined by how it is powered. 2.4.
Installation and Operation 2.5 SOFTWARE OPERATION The software consists of five (5) main windows that are selected by tabs: 1. Bus Statistics Window: Shows the status of the bus, including on/off the bus, bus loading, number of transmitted and receive messages, and bit timing settings status. See Figure 2-4 2. Bus Parameters Window: Is used to set basic bit timing. The bus speeds are limited to the values in the pull-down box. To set custom bit timing, refer to the MCP2515 Configuration Window.
MCP2515 CAN Bus Monitor Demo Board User’s Guide DS51757A-page 12 FIGURE 2-5: BUS PARAMETERS WINDOW FIGURE 2-6: TRANSMIT WINDOW © 2008 Microchip Technology Inc.
Installation and Operation FIGURE 2-7: OUTPUT WINDOW FIGURE 2-8: MCP2515 REGISTERS WINDOW © 2008 Microchip Technology Inc.
MCP2515 CAN Bus Monitor Demo Board User’s Guide NOTES: DS51757A-page 14 © 2008 Microchip Technology Inc.
MCP2515 CAN BUS MONITOR DEMO BOARD USER’S GUIDE Appendix A. Schematic and Layouts A.1 INTRODUCTION This appendix contains the following schematics and layouts for the MCP2515 CAN Bus Monitor Demo Board: • • • • • • Board Schematic - Page 1 Board Schematic - Page 2 Board - Top Silk-screen Layer Board - Top Layer Board - Bottom Silk-screen Layer Board - Bottom Layer © 2008 Microchip Technology Inc.
MCP2515 CAN Bus Monitor Demo Board User’s Guide BOARD SCHEMATIC - PAGE 1 3 M A.2 2 1 DS51757A-page 16 © 2008 Microchip Technology Inc.
Schematic and Layouts BOARD SCHEMATIC - PAGE 2 © 2008 Microchip Technology Inc. 16 15 14 13 12 11 6 8 9 10 7 17 5 18 4 2 1 20 3 2 1 M A.
MCP2515 CAN Bus Monitor Demo Board User’s Guide A.4 BOARD - TOP SILK-SCREEN LAYER A.5 BOARD - TOP LAYER DS51757A-page 18 © 2008 Microchip Technology Inc.
Schematic and Layouts A.6 BOARD - BOTTOM SILK-SCREEN LAYER A.7 BOARD - BOTTOM LAYER © 2008 Microchip Technology Inc.
MCP2515 CAN Bus Monitor Demo Board User’s Guide NOTES: DS51757A-page 20 © 2008 Microchip Technology Inc.
MCP2515 CAN BUS MONITOR DEMO BOARD USER’S GUIDE Appendix B. Bill Of Materials (BOM) TABLE B-1: Qty BILL OF MATERIALS (BOM) Reference Description Manufacturer Part Number 7 C1, C2, C6, C7, C8, C11, C12 CAP .10UF 50V CERAMIC X7R 0805 Kemet Electronics® C0805C104K5RACTU 1 C3 CAP .22UF 16V CERAMIC X7R 0805 Panasonic ECJ-2VB1C224K 4 C4, C5, C9, C10 CAP CERAMIC 22PF 50V NP0 0805 Yageo® CC0805JRNP09BN220 10 D1<->D10 LED THIN 635NM RED DIFF 0805 SMD Lumex® Inc.
MCP2515 CAN Bus Monitor Demo Board User’s Guide TABLE B-1: Qty BILL OF MATERIALS (BOM) (CONTINUED) Reference Description Manufacturer Part Number ® 1 Test Point GND TEST POINT PC MULTI PURPOSE BLK Keystone Electronics 1 Test Point VDD TEST POINT PC MULTI PURPOSE RED Keystone Electronics 5010 1 U1 PIC18F4550 High-Performance,Enhanced Flash, USB Microcontroller with nanoWatt Technology Microchip Technology Inc.
Bill Of Materials (BOM) NOTES: © 2008 Microchip Technology Inc.
WORLDWIDE SALES AND SERVICE AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE Corporate Office 2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Technical Support: http://support.microchip.com Web Address: www.microchip.