background image

MCP2515 CAN BUS MONITOR

DEMO BOARD USER’S GUIDE

 2008-2014 Microchip Technology Inc.

DS50001757B-page 13

Chapter 2.  Installation and Operation

2.1

INTRODUCTION

The MCP2515 CAN Bus Monitor Demo Board 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 via the universal serial bus (USB) port and running the custom 
software.
The two nodes are identical in form, however, the function is determined by the 
connection to each other and the PC. One node (connected to the PC) will become the 
monitor and the other one will become the Traffic Generator. The boards are reversible 
(i.e., they can take either role, depending on the connection scheme).
Additionally, the board(s) can be connected to an existing CAN bus where the software 
can monitor the traffic and the user can interact with the bus as needed. The software 
allows some of the MCP2515 registers to be modified, as well as messages to be 
received and transmitted.
The user can gain an understanding of the capabilities of the MCP2515.

2.2

FEATURES

The MCP2515 CAN Bus Monitor Demo Board has the following features:
• Two identical boards and a CAN cable for creating a small CAN bus
• USB interface and PC software to interface to the CAN bus
• CAN bus PC software, which can be downloaded from http://www.microchip.com
• Button for changing the bus load on the Traffic Generator node
• Headers (test points) for monitoring the MCP2515 pins (CAN, SPI, and 

status/interrupt pins)

• PIC18F4550 PIC

®

 Microcontroller (MCU) with ICD2 interface/header for in-circuit 

programming.

Содержание MCP2515

Страница 1: ...2008 2014 Microchip Technology Inc DS50001757B MCP2515 CAN Bus Monitor Demo Board User s Guide...

Страница 2: ...Microchip s code protection feature may be a violation of the Digital Millennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work you may have a right to...

Страница 3: ...2008 2014 Microchip Technology Inc DS50001757B page 3 Object of Declaration MCP2515 CAN Bus Monitor Demo Board...

Страница 4: ...MCP2515 CAN Bus Monitor Demo Board User s Guide DS50001757B page 4 2008 2014 Microchip Technology Inc NOTES...

Страница 5: ...15 CAN Bus Monitor Demo Board 11 1 3 What does the MCP2515 CAN Bus Monitor Demo Board Kit include 11 Chapter 2 Installation and Operation 2 1 Introduction 13 2 2 Features 13 2 3 Getting Started 14 2 4...

Страница 6: ...MCP2515 CAN Bus Monitor Demo Board User s Guide DS50001757B page 6 2008 2014 Microchip Technology Inc NOTES...

Страница 7: ...ructions for how to begin using the board Appendix A Schematic and Layouts Shows the schematic and layout diagrams for the MCP2515 CAN Bus Monitor Demo Board Appendix B Bill Of Materials BOM Lists the...

Страница 8: ...Save Bold characters A dialog button Click OK A tab Click the Power tab N Rnnnn A number in verilog format where N is the total number of digits R is the radix and n is a digit 4 b0010 2 hF1 Text in a...

Страница 9: ...s Accessible by using your favorite Internet browser the web site contains the following information Product Support Data sheets and errata application notes and sample programs design resources user...

Страница 10: ...ollowing is the list of modifications 1 Added MCP2561 Data Sheet High Speed CAN Transceiver DS20005167 to the Recommended Reading section 2 Modified Section 2 3 Getting Started 3 Updated Appendix A Sc...

Страница 11: ...le two node Controller Area Network CAN bus which can be controlled and or monitored via the included PC interface The board s can also be connected to an existing CAN bus By using the PC interface th...

Страница 12: ...MCP2515 CAN Bus Monitor Demo Board User s Guide DS50001757B page 12 2008 2014 Microchip Technology Inc NOTES...

Страница 13: ...Generator The boards are reversible i e they can take either role depending on the connection scheme Additionally the board s can be connected to an existing CAN bus where the software can monitor th...

Страница 14: ...D2 on both boards will blink for about two seconds to indicate the Power on Reset de bounce routine executed by the microcontroller D9 LED will remain ON to indicate the monitoring board is ready 4 St...

Страница 15: ...Operation 2008 2014 Microchip Technology Inc DS50001757B page 15 FIGURE 2 2 FUNCTIONAL DIAGRAM FIGURE 2 3 BOARD SET UP CONFIGURATION Control Power Headers USB Con Programming USB CAN CAN Con USB CAN...

Страница 16: ...s a Traffic Generator when it is powered by a source other than USB in this case the other board is being powered by the CAN cable In this con figuration the node responds to pressing the Traffic Gene...

Страница 17: ...open the MCP2515 Bus Monitor Graphical User Interface GUI To enable the communication between the boards and the GUI click on Device menu and select Connect The GUI consists of thee main panels Contro...

Страница 18: ...the bus bus loading number of transmitted and received messages and bit timing settings status see Figure 2 5 FIGURE 2 5 BUS STATISTICS TAB 2 5 2 Bus Parameters Tab This tab is used to set basic bit...

Страница 19: ...age 19 2 5 3 Transmit Tab This screen is used to configure and transmit CAN messages see Figure 2 7 FIGURE 2 7 TRANSMIT TAB 2 5 4 MCP2515 Configuration Tab This tab allows access to the MCP2515 regist...

Страница 20: ...20 2008 2014 Microchip Technology Inc 2 5 5 CAN Messages Output Panel This panel displays the messages transmitted and received by the MCP2515 The right mouse button can be used to display the time i...

Страница 21: ...21 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...

Страница 22: ...1 4 2 5 3 6 J8 22pF C5 10uF C11 4 3 2 1 J3 USB_B_F 4 2 9 11 6 8 5 3 1 7 10 J1 RED D10 DS1 DS_MBR0520LT1G ICPGD MCLR OSC1 VSS VSS RE1 RD1 RA4 RA1 RB4 D SDI RB0 RB5 RB6 RD5 RD7 OSC2 VDD VDD RC0 SCK RB1...

Страница 23: ...7 CANL 6 VSS 2 VDD 3 STBY 8 SPLIT 5 TXD 1 RXD 4 U3 MCP2561 PIN5 5 PIN4 4 PIN3 3 PIN2 2 PIN1 1 PIN6 6 PIN7 7 PIN8 8 PIN9 9 J6 DB9M 1 2 3 4 5 6 7 J5 J_1X7_ 10SP 1 4 2 5 3 6 J4 J_1X6_ 10_SP T X B 2 R T...

Страница 24: ...MCP2515 CAN Bus Monitor Demo Board User s Guide DS50001757B page 24 2008 2014 Microchip Technology Inc A 4 BOARD TOP COPPER AND SILK A 5 BOARD TOP COPPER...

Страница 25: ...Schematic and Layouts 2008 2014 Microchip Technology Inc DS50001757B page 25 A 6 BOARD TOP SILK A 7 BOARD BOTTOM COPPER...

Страница 26: ...MCP2515 CAN Bus Monitor Demo Board User s Guide DS50001757B page 26 2008 2014 Microchip Technology Inc A 8 BOARD BOTTOM SILK...

Страница 27: ...TE Connectivity Ltd 3 644695 7 0 J6 DO NOT POPULATE 1 J7 CONN HEADER LOPRO R A 10POS 15AU TE Connectivity Ltd 103310 1 1 JP1 CONN HEADER VERT 2 POS 100 TIN TE Connectivity Ltd 3 644695 2 1 PCB RoHS Co...

Страница 28: ...p1 html KT143 3 TABLE B 1 BILL OF MATERIALS BOM CONTINUED Qty Reference Description Manufacturer Part Number Note The components listed in this Bill of Materials are representative of the PCB assembly...

Страница 29: ...Fax 86 24 2334 2393 China Shenzhen Tel 86 755 8864 2200 Fax 86 755 8203 1760 China Wuhan Tel 86 27 5980 5300 Fax 86 27 5980 5118 China Xian Tel 86 29 8833 7252 Fax 86 29 8833 7256 China Xiamen Tel 86...

Отзывы: