Microchip Technology MCP2515 User’s Guide

MCP2515
PICtail™ Plus
Daughter Board
User’s Guide
© 2008 Microchip Technology Inc. DS51762A
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. All of these methods, to our knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
Microchip is willing to work with the customer who is concerned about the integrity of their code.
Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our products. Attempts to break 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 sue for relief under that Act.
Information contained in this publication regarding device applications and the like is provided only for your convenience and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION, INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless Microchip from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron, dsPIC, K
EELOQ, KEELOQ logo, MPLAB, PIC, PICmicro,
PICSTAR T, rfPIC and SmartShunt are registered trademarks of Microchip T echnology Incorporated in the U.S.A. and other countries.
FilterLab, Linear Active Thermistor, MXDEV, MXLAB, SEEVAL, SmartSensor and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, CodeGuard, dsPICDEM, dsPICDEM.net, dsPICworks, dsSPEAK, ECAN, ECONOMONITOR, FanSense, In-Circuit Serial Programming, ICSP, ICEPIC, Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB, MPLINK, mTouch, PICkit, PICDEM, PICDEM.net, PICtail, PIC
32
logo, PowerCal, PowerInfo, PowerMate, PowerT ool, REAL ICE, rfLAB, Select Mode, Total Endurance, UNI/O, WiperLock 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.
All other trademarks mentioned herein are property of their respective companies.
© 2008, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received ISO/TS-16949:2002 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and T empe, Arizona; Gresham, Oregon and design centers in California and India. The Company’s quality system processes and procedures are for its PIC devices, Serial EEPROMs, microperipherals, nonvolatile memo ry and analog products. In addition, Microchip’s quality system for the desig n and manufacture of development systems is ISO 9001:2000 certified.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
DS51762A-page ii © 2008 Microchip Technology Inc.
MCP2515 PICTAIL™ PLUS DAUGHTER
BOARD USER’S GUIDE
Table of Contents
Preface ...........................................................................................................................1
Introduction............................................................................................................1
Document Layout..................................................................................................1
Conventions Used in this Guide............................................................................2
Recommended Reading........................................................................................3
The Microchip Web Site........................................................................................ 3
Customer Support.................................................................................................3
Document Revision History...................................................................................3
Chapter 1. Product Overview
1.1 Overview ........................................................................................................5
1.2 What is the MCP2515 PICtail Plus Daughter Board? ....................................5
1.3 What the MCP2515 PICtail Plus Daughter Board Kit includes .......................6
Chapter 2. Installation and Operation
2.1 Hardware Overview ........................................................................................7
2.2 Connecting the Board .....................................................................................7
2.3 Operation ........................................................................................................7
Appendix A. Schematic and Layouts
A.1 Introduction ....................................................................................................9
A.2 Board Schematic ..........................................................................................10
A.3 Board - Top Layer ........................................................................................ 11
A.4 Board - Top Layer and Silkscreen Layer .................................................... 11
A.5 Board - Bottom Layer ...................................................................................12
Appendix B. Bill Of Materials (BOM)
Worldwide Sales and Service ....................................................................................14
© 2008 Microchip Technology Inc. DS51762A-page iii
MCP2515 PICtail™ Plus Daughter Board User’s Guide
NOTES:
DS51762A-page iv © 2008 Microchip Technology Inc.
MCP2515 PICTAIL™ PLUS DAUGHTER
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. This number is located on the bottom of each page, in front of the page number. The numbering convention for the DS number is “DSXXXXXA”, where “XXXXX” is the document number and “A” is the revision level of the document.

INTRODUCTION

This chapter contains general information that will be useful to know before using the MCP2515 PICtail Plus Daughter Board. Items discussed in this chapter include :
• Document Layout
• Conventions Used in this Guide
• Recommended Reading
• The Microchip Web Site
• Customer Support
• Document Revision History

DOCUMENT LAYOUT

This document describes how to use the MCP2515 PICtail Plus Daughter Board. The manual layout is as follows:
Chapter 1. “Product Overview” – Important information about the MCP2515 PICtail Plus Daughter Board.
Chapter 2. “Installation and Operation” – This chapter includes a detailed description of each function of the demo board and instructions for how to begin using the board.
Appendix A. “Schematic and Layouts” – Shows the schematic and layout diagrams for the MCP2515 PICtail Plus Daughter Board.
Appendix B. “Bill Of Materials (BOM)” – Lists the parts used to build the MCP2515 PICtail Plus Daughter Board.
© 2008 Microchip Technology Inc. DS51762A-page 1
MCP2515 PICtail™ Plus Daughter 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...
Initial caps A window the Output window
A dialog the Settings dialog A menu selection select Enable Programmer
Quotes A field name in a window or
dialog
Underlined, italic text with right angle bracket
Bold characters A dialog button Click OK
N‘Rnnnn A number in verilog format,
Text in angle brackets < > A key on the keyboard Press <Enter>, <F1>
Courier New font:
Plain Courier New Sample source code #define START
Italic Courier New A variable argument file.o, where file can be
Square brackets [ ] Optional arguments mcc18 [options] file
Ellipses... Replaces repeated text var_name [,
A menu path File>Save
A tab Click the Power tab
where N is the total number of digits, R is the radix and n is a digit.
Filenames autoexec.bat File paths c:\mcc18\h Keywords _asm, _endasm, static Command-line options -Opa+, -Opa- Bit values 0, 1 Constants 0xFF, ‘A’
Represents code supplied by user
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options]
var_name...] void main (void)
{ ... }
DS51762A-page 2 © 2008 Microchip Technology Inc.

RECOMMENDED READING

This user's guide describes how to use MCP2515 PICtail Plus Daughter Board. The following Microchip documents are available and recommended as supplemental ref­erence resources:
MCP2515 Data Sheet, “Stand-Alone CAN Controller With SPI Interface”, DS21801
This data sheet provides detailed infor mation r egard ing th e MCP2515 Pro duct Family.
MCP2551 Data Sheet, “High-Speed CAN Transceiver”, DS21667
This data sheet provides detailed infor mation r egard ing th e MCP2551 Pro duct Family.
Explorer 16 User’s Guide, “Explorer 16 Development Board User’s Guide“, DS51589
This user’s guide provides detailed information regarding the Explorer 16 Development Board and its functionality.
PICkit Serial User’s Guide, “PICkit™ Serial Analyzer User’s Guide“, DS51647
This user’s guide provides detailed information regarding the PICkit Serial Analyzer functionality.

THE MICROCHIP WEB SITE

Microchip provides online support via our web site at www.microchip.com. This web site is used as a means to make files and information easily available to customers. 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’s guides and hardware support documents, latest software releases and archived software
General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online discussion groups, Microchip consultant program member listing
Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of seminars and events, listings of Microchip sales offices, distributors and factory representatives
Preface

CUSTOMER SUPPORT

Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
• Local Sales Office
• Field Application Engineer (FAE)
• Technical Support
• Development Systems Information Line
Customers should contact their distributor, representative or field application engineer (FAE) for support. Lo cal sales offices are also available to help customers. A listing of sales offices and locations is included in the back of this document.
Technical support is available through the web site at: http://support.microchip.com
© 2008 Microchip Technology Inc. DS51762A-page 3
MCP2515 PICtail™ Plus Daughter Board User’s Guide

DOCUMENT REVISION HISTORY

Revision A (September 2008)
• Initial Release of this Document.
DS51762A-page 4 © 2008 Microchip Technology Inc.
MCP2515 PICTAIL™ PLUS DAUGHTER
BOARD USER’S GUIDE

Chapter 1. Product Overview

1.1 OVERVIEW

This chapter provides an overview of the MCP2515 PICtail Plus Daughter Board and covers the following topics:
•Overview
• What is the MCP2515 PICtail Plus Daughter Board?
• What the MCP2515 PICtail Plus Daughter Board kit includes.

1.2 WHAT IS THE MCP2515 PICTAIL PLUS DAUGHTER BOARD?

The MCP2515 PICtail Plus Daughter Board is a simple Controller Area Network (CAN) board designed to be used with boards containing the PICtail Plus connector. The board also has the PICkit Serial connector for interfacing to the PICkit Serial Analyzer tool.
The CAN node consists of the MCP2515 Stand-Alone CAN controller and MCP2551 CAN transceiver. The PICkit Plus and PICkit Serial connectors allow the board to be interfaced to a variety of PICmicros so that the user can deve lo p a CA N no de.
The board also contains headers or test points for most of the MCP2515 pins to allow the external functions to be monitored /e va l ua te d .
FIGURE 1-1: MCP2515 PICtail Plus Daughter Board.
© 2008 Microchip Technology Inc. DS51762A-page 5
MCP2515 PICtail™ Plus Daughter Board User’s Guide

1.3 WHAT THE MCP2515 PICTAIL PLUS DAUGHTER BOARD KIT INCLUDES

The MCP2515 PICtail Plus Daughter Board kit includes:
• MCP2515 PICtail Plus Daughter Board (102-00194)
• Analog and Interface Products Demonstration Boards CD-ROM (DS21912)
- MCP2515 CAN PICtail Plus Daughter Board User’s Guide (DS51762)
DS51762A-page 6 © 2008 Microchip Technology Inc.
MCP2515 PICTAIL™ PLUS DAUGHTER
PICkit Serial header
MCP2515DM-PTPLS
Explorer 16 Board (DM240001)

Chapter 2. Installation and Operation

2.1 HARDWARE OVERVIEW

The MCP2515 PICtail Plus Daughter Board can be connected to either a PIC/development board with the PICkit Plus connector or the PICkit™ Serial connector. Figure 2-1 below shows the connections to the Explorer 16 Development Board (DM240001).

2.2 CONNECTING THE BOARD

BOARD USER’S GUIDE
FIGURE 2-1: Hardware Overview.
© 2008 Microchip Technology Inc. DS51762A-page 7
MCP2515 PICtail™ Plus Daughter Board User’s Guide

2.3 OPERATION

The user can write firmware for the MCP2515 PICtail Plus Daughter Board in order to create a custom CAN node. Check the Explorer 16 and PICkit Serial we b pages for the latest firmware and/or software supporting the MCP2515 or general SPI interfaces.
DS51762A-page 8 © 2008 Microchip Technology Inc.

Appendix A. Schematic and Layouts

A.1 INTRODUCTION

This appendix contains the following schematics and layout s for the MCP2515 PICt ail Plus Daughter Board:
• Board Schematic
• Board - Top Layer
• Board - Silk-screen Layer
• Board - Bottom Layer
MCP2515 PICTAIL™ PLUS DAUGHTER
BOARD USER’S GUIDE
© 2008 Microchip Technology Inc. DS51762A-page 9
MCP2515 PICtail™ Plus Daughter Board User’s Guide
M
13
INT
16SI14
SCK
12
RX0BF11RX1BF
18CS17SO15
NC
5
TXB1RTS
2
RXCAN
7
TXB2RTS
10
VSS
1
TXCAN3CLKOUT4TXB0RTS6NC
8
OSC19OSC2

A.2 BOARD - SCHEMATIC

DS51762A-page 10 © 2008 Microchip Technology Inc.

A.3 BOARD - TOP LAYER

Schematic and Layouts

A.4 BOARD - TOP LAYER AND SILKSCREEN LAYER

© 2008 Microchip Technology Inc. DS51762A-page 11
MCP2515 PICtail™ Plus Daughter Board User’s Guide

A.5 BOARD - BOTTOM LAYER

DS51762A-page 12 © 2008 Microchip Technology Inc.
MCP2515 PICTAIL™ PLUS DAUGHTER
BOARD USER’S GUIDE

Appendix B. Bill Of Materials (BOM)

TABLE B-1: BILL OF MATERIALS
Qty Reference Description Manufacturer Part Number
2 C4, C5 CAP .1UF 16V CERAMIC X7R 0603 Panasonic 2 C6, C7 CAP CERAMIC 22PF 50V 0603
SMD 3 D1, D2, D3 LED SUPER RED 0805 SMD Para Light Corp. (USA) L-C170SRCT-U1 1 J5 CONN D-SUB PLUG R/A 9POS
30GOLD 1 JP2 CONN HEADER VERT 2POS .100
TIN 1 PCB RoHS Compliant Bare PCB,
MCP2515 PICTail Plus Daughter
Board 3 R1, R2, R17 RES 475 OHM 1/8W 1% 0805 SMD Panasonic - ECG ERJ-6ENF4750V 1 R16 RES 120 OHM 1/10W 1500PPM
5% 0805 2 R3, R4 RES 10K OHM 1/10W 5% 0603
SMD 1 U1 Stand-Alone CAN Controller With
SPI Interface 1 U2 High-Speed CAN Transceiver Microchip Technology In c. MCP2551 -I/SN 1 Y1 CRYSTAL 20.000MHZ 18PF FUND
SMD
Panasonic - ECG ECJ-1VC1H220J
Tyco
Tyco Electronics/Amp 3-644695-2
Microchip Technology Inc. 104-000194
Panasonic - ECG ERA-S15J121 V
Panasonic - ECG ERJ-3GEYJ103V
Microchip Technology Inc. MCP2515-I/ST
Abracon Corp. ABM3B-20.000MHZ-B2-T
Note: The components listed in this Bill of Materials are representative of the PCB assembly . The
released BOM used in manufacturing uses all RoHS-compliant components.
®
- ECG ECJ-1VB1C104K
®
Electronics/Amp 5747840-4
© 2008 Microchip Technology Inc. DS51762A-page 13

WORLDWIDE SALES AND SERVICE

AMERICAS
Corporate Office
2355 West Chandler Blvd. Chandler, AZ 85224-6199 Tel: 480-792-7200 Fax: 480-792-7277 Te chnical Support: http://support.microchip.com Web Address: www.microchip.com
Atlanta
Duluth, GA Te l: 678-957-9614 Fax: 678-957-1455
Boston
Westborough, MA Te l: 774-760-0087 Fax: 774-760-0088
Chicago
Itasca, IL Te l: 630-285-0071 Fax: 630-285-0075
Dallas
Addison, TX Te l: 972-818-7423 Fax: 972-818-2924
Detroit
Farmington Hills, MI Te l: 248-538-2250 Fax: 248-538-2260
Kokomo
Kokomo, IN Te l: 765-864-8360 Fax: 765-864-8387
Los Angeles
Mission Viejo, CA Te l: 949-462-9523 Fax: 949-462-9608
Santa Clara
Santa Clara, CA Te l: 408-961-6444 Fax: 408-961-6445
Toronto
Mississauga, Ontario, Canada Te l: 905-673-0699 Fax: 905-673-6509
ASIA/PACIFIC
Asia Pacific Office
Suites 3707-14, 37th Floor To wer 6, The Gateway Harbour City, Kowloon Hong Kong Tel: 852-2401-1200 Fax: 852-2401-3431
Australia - Sydney
Tel: 61-2-9868-6733 Fax: 61-2-9868-6755
China - Beijing
Tel: 86-10-8528-2100 Fax: 86-10-8528-2104
China - Chengdu
Tel: 86-28-8665-5511 Fax: 86-28-8665-7889
China - Hong Kong SAR
Tel: 852-2401-1200 Fax: 852-2401-3431
China - Nanjing
Tel: 86-25-8473-2460 Fax: 86-25-8473-2470
China - Qingdao
Tel: 86-532-8502-7355 Fax: 86-532-8502-7205
China - Shanghai
Tel: 86-21-5407-5533 Fax: 86-21-5407-5066
China - Shenyang
Tel: 86-24-2334-2829 Fax: 86-24-2334-2393
China - Shenzhen
Te l: 86-755-8203-2660 Fax: 86-755-8203-1760
China - Wuhan
Tel: 86-27-5980-5300 Fax: 86-27-5980-5118
China - Xiamen
Te l: 86-592-2388138 Fax: 86-592-2388130
China - Xian
Tel: 86-29-8833-7252 Fax: 86-29-8833-7256
China - Zhuhai
Tel: 86-756-3210040 Fax: 86-756-3210049
ASIA/PACIFIC
India - Bangalore
Tel: 91-80-4182-8400 Fax: 91-80-4182-8422
India - New Delhi
Tel: 91-11-4160-8631 Fax: 91-11-4160-8632
India - Pune
Tel: 91-20-2566-1512 Fax: 91-20-2566-1513
Japan - Yokohama
Tel: 81-45-471- 6166 Fax: 81-45-471-6122
Korea - Daegu
Tel: 82-53-744-4301 Fax: 82-53-744-4302
Korea - Seoul
Tel: 82-2-554-7200 Fax: 82-2-558-5932 or 82-2-558-5934
Malaysia - Kuala Lumpur
Tel: 60-3-6201-9857 Fax: 60-3-6201-9859
Malaysia - Penang
Tel: 60-4-227-8870 Fax: 60-4-227-4068
Philippines - Manila
Tel: 63-2-634-9065 Fax: 63-2-634-9069
Singapore
Tel: 65-6334-8870 Fax: 65-6334-8850
Taiwan - Hsin Chu
Tel: 886-3-572-9526 Fax: 886-3-572-6459
Taiwan - Kaohsiung
Tel: 886-7-536-4818 Fax: 886-7-536-4803
Taiwan - Taipei
Tel: 886-2-2500-6610 Fax: 886-2-2508-0102
Thailand - Bangkok
Tel: 66-2-694-1351 Fax: 66-2-694-1350
EUROPE
Austria - Wels
Tel: 43-7242-2244-39 Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828 Fax: 45-4485-2829
France - Paris
Tel: 33-1-69-53-63-20 Fax: 33-1-69-30-90-79
Germany - Munich
Tel: 49-89-627-144-0 Fax: 49-89-627-144-44
Italy - Milan
Tel: 39-0331-742611 Fax: 39-0331-466781
Netherlands - Drunen
Tel: 31-416-690399 Fax: 31-416-690340
Spain - Madrid
Tel: 34-91-708-08-90 Fax: 34-91-708-08-91
UK - Wokingham
Tel: 44-118-921-5869 Fax: 44-118-921-5820
01/02/08
DS51762A-page 14 © 2008 Microchip Technology Inc.
Loading...