Microchip Technology MCP2515 User Manual
Microchip Technology MCP2515 User Manual

Microchip Technology MCP2515 User Manual

Can bus monitor demo board

Advertisement

Quick Links

MCP2515
CAN Bus Monitor
Demo Board
User's Guide
 2008-2014 Microchip Technology Inc.
DS50001757B

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MCP2515 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology MCP2515

  • Page 1 MCP2515 CAN Bus Monitor Demo Board User’s Guide  2008-2014 Microchip Technology Inc. DS50001757B...
  • Page 2 WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries.
  • Page 3 Object of Declaration: MCP2515 CAN Bus Monitor Demo Board  2008-2014 Microchip Technology Inc. DS50001757B-page 3...
  • Page 4 MCP2515 CAN Bus Monitor Demo Board User’s Guide NOTES:  2008-2014 Microchip Technology Inc. DS50001757B-page 4...
  • Page 5: Table Of Contents

    Chapter 1. Product Overview 1.1 Introduction ....................11 1.2 What is the MCP2515 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 .......................
  • Page 6 MCP2515 CAN Bus Monitor Demo Board User’s Guide NOTES:  2008-2014 Microchip Technology Inc. DS50001757B-page 6...
  • Page 7: Preface

    • Customer Support • Document Revision History DOCUMENT LAYOUT This document describes how to use the MCP2515 CAN Bus Monitor Demo Board as a development tool to emulate and debug firmware on a target board. The manual layout is as follows: •...
  • Page 8: Conventions Used In This Guide

    MCP2515 CAN Bus Monitor Demo Board User’s Guide CONVENTIONS USED IN THIS GUIDE This manual uses the following documentation conventions: DOCUMENTATION CONVENTIONS Description Represents Examples Arial font: ® Italic characters Referenced books MPLAB IDE User’s Guide Emphasized text ...is the only compiler...
  • Page 9: Recommended Reading

    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.
  • Page 10: Document Revision History

    MCP2515 CAN Bus Monitor Demo Board User’s Guide DOCUMENT REVISION HISTORY Revision B (October 2014) The following 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”.
  • Page 11: Chapter 1. Product Overview

    DEMO BOARD USER’S GUIDE Chapter 1. Product Overview 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 does the MCP2515 CAN Bus Monitor Demo Board Kit include?
  • Page 12 MCP2515 CAN Bus Monitor Demo Board User’s Guide NOTES:  2008-2014 Microchip Technology Inc. DS50001757B-page 12...
  • Page 13: Chapter 2. Installation And Operation

    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.
  • Page 14: 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.
  • Page 15 Installation and Operation FIGURE 2-2: FUNCTIONAL DIAGRAM Power Control Headers FIGURE 2-3: BOARD SET-UP CONFIGURATION USB CABLE TO PC  2008-2014 Microchip Technology Inc. DS50001757B-page 15...
  • Page 16: Functional Operation

    The firmware can be modified to increase the traffic as needed. 2.4.3 Headers/Test Points Two of the headers are connected to the MCP2515 pins so the pins can be monitored. The SPI and CAN serial interfaces, interrupt pin(s), and SOF pin are routed to headers/test points.
  • Page 17: Software Operation

    SOFTWARE OPERATION Once the MCP2515DM-BM PC Software Rev 2.0 is downloaded and installed on the PC, 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.
  • Page 18 Bus Parameters Tab This tab 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 (see Figure 2-6). FIGURE 2-6: BUS PARAMETERS TAB ...
  • Page 19 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 registers. SPI commands can be issued (see Figure 2-8). FIGURE 2-8: CONFIGURATION TAB  2008-2014 Microchip Technology Inc.
  • Page 20 MCP2515 CAN Bus Monitor Demo Board User’s Guide 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 in free running or delta (see Figure 2-9). FIGURE 2-9: OUTPUT WINDOW ...
  • Page 21: Appendix A. Schematic And Layouts

    MCP2515 CAN BUS MONITOR DEMO BOARD USER’S GUIDE Appendix A. Schematic and Layouts 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 •...
  • Page 22: Board - Schematic

    BOARD – SCHEMATIC PAGE 1 SELF POWERED SELF_PW R MCLR USB_ATTACH 4.7K RXLED TXLED 25_PC T 50_PC T 75_PC T 100_PC T +5V_USB 22pF DS_MBR0520LT1G FDN352AP DS_MBR0520LT1G 220nF 20.000MHZ RXLED TXLED MCLR 10uF 10uF 22PF MSCK MCLR SCK/RB1 OSC2 SDI/RB0 OSC1 +5V_USB 10uF...
  • Page 23: Board - Schematic

    BOARD – SCHEMATIC PAGE 2 J_1X7_.10SP MSCK RXB0 RXB1 0.1uF J_1X6_.10_SP MCP2515_IST_TSSOP20 TXCAN TXCAN RXCAN RXCAN R\E\S\E\T\ MCLR CLKOUT C\S\ T\X\B\0\R\T\S\ T\X\B\1\R\T\S\ RTS0 MSCK T\X\B\2\R\T\S\ OSC1 CANL CANH RTS1 OSC2 RX0BF RXB0 CAN_RES RX1BF RXB1 RTS2 33.2K DB9M CANL CANH 22pF PIN1 PIN6...
  • Page 24: Board - Top Copper And Silk

    MCP2515 CAN Bus Monitor Demo Board User’s Guide BOARD – TOP COPPER AND SILK BOARD – TOP COPPER  2008-2014 Microchip Technology Inc. DS50001757B-page 24...
  • Page 25: Board - Top Silk

    Schematic and Layouts BOARD – TOP SILK BOARD – BOTTOM COPPER  2008-2014 Microchip Technology Inc. DS50001757B-page 25...
  • Page 26: Board - Bottom Silk

    MCP2515 CAN Bus Monitor Demo Board User’s Guide BOARD – BOTTOM SILK  2008-2014 Microchip Technology Inc. DS50001757B-page 26...
  • Page 27: Appendix B. Bill Of Materials (Bom)

    MCP2515 CAN BUS MONITOR DEMO BOARD USER’S GUIDE Appendix B. Bill Of Materials (BOM) TABLE B-1: BILL OF MATERIALS (BOM) Reference Description Manufacturer Part Number C1, C11, C12 CAP 10 µF 16V CERAMIC X7R 0805 Taiyo Yuden Co., Ltd. EMK212BB7106MGT ®...
  • Page 28 MCP2515 CAN Bus Monitor Demo Board User’s Guide TABLE B-1: BILL OF MATERIALS (BOM) (CONTINUED) Reference Description Manufacturer Part Number and GND PC TEST POINT COMPACT SMT Keystone Electronics 5016 Corp. PIC18F4550 High-Performance, Microchip Technology PIC18F4550-I/PT Enhanced Flash, USB Microcontroller Inc.
  • Page 29: Worldwide Sales And Service

    Tel: 86-29-8833-7252 Tel: 631-435-6000 Fax: 86-29-8833-7256 San Jose, CA China - Xiamen Tel: 408-735-9110 Tel: 86-592-2388138 Canada - Toronto Fax: 86-592-2388130 Tel: 905-673-0699 Fax: 905-673-6509 China - Zhuhai Tel: 86-756-3210040 03/25/14 Fax: 86-756-3210049  2008-2014 Microchip Technology Inc. DS50001757B-page 29...

Table of Contents