Microchip Technology MCP251XFD CAN FD User Manual

MCP251XFD CAN FD
Motherboard
User’s Guide
2017 Microchip Technology Inc. DS50002556A
Note the following details of the code protection feature on Microchip devices:
YSTEM
CERTIFIED BY DNV
== ISO/TS 16949 ==
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 t he lik e is provided only for your convenience and may be su perseded by upda t es . It is y our 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 supp ort and/or safety ap plications is entir ely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless M icrochip from any and all dama ges, claims, suits, or expenses re sulting from such use. No licens es are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless otherwise stated.
Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, 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 memory and analog products. In addition, Microchip’s quality system for the design and manufacture of development systems is ISO 9001:2000 certified.
®
MCUs and dsPIC® DSCs, KEELOQ
®
code hopping
QUALITY MANAGEMENT S

Trademarks

The Microchip name and logo, the Microchip logo, AnyRate, AVR, AVR logo, AVR Freaks, BeaconThings, BitCloud, CryptoMemory, CryptoRF , dsPIC, FlashFlex, flexPWR, Held o, JukeBlox, K
EELOQ logo, Kleer, LANCheck, LINK MD, maXSty lus,
K maXTouch, MediaLB, megaAVR, MOST, MOST logo, MPLAB, OptoLyzer, PIC, picoPower, PICSTART, PIC32 logo, Prochip Designer, QTouch, RightTouch, SAM-BA, SpyNIC, SST, SST Logo, SuperFlash, tinyAVR, UNI/O, and XMEGA are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
ClockWorks, The Embedded Control Solutions Company, EtherSynch, Hyper Speed Control, HyperLight Load, IntelliMOS, mTouch, Precision Edge, and Quiet-Wire are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppress i on, AKS, Analog-for-the-Digital Age, A ny Capacitor, AnyIn, AnyOut, BodyCom, chipKIT, chipKIT logo, CodeGuard, CryptoAuthentication, CryptoCompanion, CryptoController, dsPICDEM, dsPICDEM.net, Dynamic Average Matching, DAM, EC A N , Et he r GREEN, In-Circuit Se r i al Programming, ICSP, Inter-Chip Connectivit y, JitterBlocker, KleerNet, KleerNet logo , Mindi, MiWi, motorBench, MP ASM, MPF, MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM, PICDEM.net, PICkit, PICtail, PureSilicon, QMatrix, RightTouch logo, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad I/O, SMART-I.S., SQI, SuperSwitcher, SuperS witcher II, Total Endurance, TSHARC, USBCheck, V ariSense, ViewS pan, WiperLock , Wireless DNA, and ZENA are trademarks of Microc hip T echnology Incorporated in the U.S.A. and other countr ies.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.
Silicon Stora ge Technology is a registered trademark o f Microchip Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG , a subsidiary of Microchip T echnolog y Inc., in other countries.
All other trademarks mentioned herein are property of their respective companies.
© 2017, Microchip Technology Incorporated , All Rights Reserved. ISBN: 978-1-5224-1578-7
EELOQ,
DS50002556A-page 2 2017 Microchip Technology Inc.
EU Declaration of Conformity
This declaration of conformity is issued by the manufacturer. The development/evaluation tool is designed to be used for research and development in a laboratory environment. This development/evaluation tool is not a Finished Appliance, nor is it intended for incorporation into Finished Appliances that are made commercially available as single functional units to end users under EU EMC Directive 2004/108/EC and as supported by the European Commission's Guide for the EMC Directive 2004/108/EC (8th February 2010). This development/evaluation tool complies with EU RoHS2 Directive 2011/65/EU. This development/evaluation tool, when incorporating wireless and radio-telecom functionality, is in compliance with the essential requirement and other relevant provisions of the R&TTE Directive 1999/5/EC and the FCC rules as stated in the declaration of conformity provided in the module datasheet and the module product page available at www.microchip.com.
For information regarding the exclusive, limited warranties applicable to Microchip products, please see Microchip’s standard terms and
conditions of sale, which are printed on our sales documentation and available at www.microchip.com. Signed for and on behalf of Microchip Technology Inc. at Chandler, Arizona, USA.
Object of Declaration: MCP251XFD CAN FD Motherboard
2017 Microchip Technology Inc. DS50002556A-page 3
NOTES:
DS50002556A-page 4 2017 Microchip Technology Inc.
MCP251XFD CAN FD MOTHERBOARD
USER’S GUIDE

Table of Contents

Preface ........................................................................................................................... 7
Introduction........................................................................... ................................. 7
Document Layout .................................................................................................. 7
Conventions Used in this Guide............................................................................ 8
Warranty Reg is tr at io n...... .. ............... .......................................... ........................... 8
Recommended Reading.............................................................. .. ........................9
The Microchip Website.......................................................................................... 9
Product Change Notification Service.....................................................................9
Customer Support....................... ..........................................................................9
Document Revision History................................................................................... 9
Chapter 1. MCP251xFD CAN FD Motherboard
1.1 Introduction ...................................................................................................11
1.2 Recommended Items to Implement a CAN FD Node ..................................11
1.3 Kit Contents .............. .................................................................................... 11
1.4 MCP251XFD CAN FD Motherboard Features .............................................12
1.5 MCP2517FD click Board Features ...............................................................13
Chapter 2. Hardware
2.1 Hardware F e a tu re s ......... .. ............................................................................ 15
2.2 Power Sour c es .................................................................... ......................... 16
2.3 Resistor Jumper Setting on MCP2517FD click Board ..................................16
2.4 Connecti n g the B o a rd ....... ... ......................................................................... 17
2.5 Operatio n ...................................................................................................... 17
Chapter 3. Software
3.1 Introduction ...................................................................................................19
3.2 Software Ove r view ................ .. .. ............. ... .. ................................................. 19
Appendix A. Schematics and Layout
A.1 Introduction ..................................................................................................21
A.2 Schematics - Power Supply .........................................................................22
A.3 Schematics - Microcontroller ........................................................................23
A.4 Board – Top Vie w ............ ............................. ............................................... 24
A.5 Board – Bott o m Vi e w ....... ............................................................................ 25
A.6 Board – Top Sil k .................................................... ...................................... 26
A.7 Board – Top Copper and Silk .......................................................................27
A.8 Board – Top Copper ....................................................................................28
2017 Microchip Technology Inc. DS50002556A-page 5
MCP251XFD CAN FD Motherboard User’s Guide
A.9 Board – Bottom Copper ............................................................................... 29
A.10 Board – Bottom Copper and Silk .................. ............................................. 30
A.11 Board – Bo tt om Silk ..... ....................................... .. ... .................................. 31
Appendix B. Bill of Materials (BOM)...........................................................................33
Appendix C. MCP2517FD click Board Schematics
C.1 Introduction .................................................................................................. 35
C.2 Schematics - MCP2517FD click Board ........................................................ 36
C.3 Board – Top Vie w ............ .. .......................................................................... 37
C.4 Board – Bott o m Vi e w ......... .................................................................... ...... 38
Worldwide Sales and Service .....................................................................................39
DS50002556A-page 6 2017 Microchip Technology Inc.
MCP251XFD CAN FD MOTHERBOARD
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 website (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 p age number. The numbering convention for the DS number is “DSXXXXXXXA”, where “XXXXXXX” is the document number and “A” is the revision level of the document.
For the most up-to-date information on development tools, see the MPLAB Select the Help menu, and then Topics to open a list of available online help files.

INTRODUCTION

®
IDE online help.
This chapter contains general information that will be useful to know before using the MCP251XFD CAN FD Motherboard. Items discussed in this chapter include:
Document Layout
Conventions Used in this Guide
Recommended Reading
The Microchip Website
Customer Support
Document Revision History

DOCUMENT LAYOUT

This document describes how to use the MCP251XFD CAN FD Motherboard as a demonstration board to evaluate the MCP2517FD device. The manual layout is as follows:
Chapter 1. “MCP251XFD CAN FD Motherboard” – Provides important information about the MCP251XFD CAN FD Motherboard.
Chapter 2. “Hardwa re ” – Includes a detailed description of the demo board and instructions on how to use it.
Chapter 3. “Software” – Helps getting started on firmware development.
Appendix A. “Schematics and Layout” – Schematics and layout diagrams of the MCP251XFD CAN FD Motherboard.
Appendix B. “Bill of Materials (BOM)” – Lists the parts used to build the MCP251XFD CAN FD Motherboard.
Appendix C. “MCP2517FD click Board Schematics” – Schematics and layout diagrams of the MCP2517FD click Board.
2017 Microchip Technology Inc. DS50002556A-page 7
MCP251XFD CAN FD Motherboard User’s Guide

CONVENTIONS USED IN THIS GUIDE

This manual uses the following docum entat io n conven tion s:

DOCUMENTATION CONVENTIONS

Description Represents Examples
Arial font:
Italic chara c ters Referenced books MPLAB
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
Curly brackets and pipe character: { | }
Ellipses... Replaces r epeated text var_name [,
A menu path File>Save
A tab Click the Power tab
where N is the tota l number of digits, R is th e radi x 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’
Choice of mut ually exclus ive arguments; an OR selection
Represents code supplied by user
“Save project before build”
4‘b0010, 2‘hF1
any valid filename
[options] errorlevel {0|1}
var_name...] void main (void)
{ ... }
®
IDE User’s Guide
DS50002556A-page 8 2017 Microchip Technology Inc.

RECOMMENDED READING

This user's guide describes how to use MCP251XFD CAN FD Motherboard. The following Microchip documents are available and recommended as supplemental reference resources:
MCP2517FD Data Sheet - “External CAN FD Controller with SPI Interface” (DS20005688)
This data sheet provides detailed information regarding the MCP2517FD device.
MCP2517FD FRM - “MCP2517FD Family Reference Manual” (DS2005678)
This FRM provides even more detailed information regarding the MCP2517FD.

THE MICROCHIP WEBSITE

Microchip provides on-line support via our website at www.mic rochip.com. This website is used as a means to make files and information easily available to customers. Accessible by using your favorite Internet browser, the website 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, on-line 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
Customers should contact their distributor, representative or field application engineer (FAE) for support. Local 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 website at: http://support.microchip.com.

DOCUMENT REVISION HISTORY

Revision A (September 2017)

• Initial release of this document.
2017 Microchip Technology Inc. DS50002556A-page 9
MCP251XFD CAN FD Motherboard User’s Guide
NOTES:
DS50002556A-page 10 2017 Microchip Technology Inc.
MCP251XFD CAN FD MOTHERBOARD
USER’S GUIDE

Chapter 1. MCP251XFD CAN FD Motherboard

1.1 INTRODUCTION

The MCP251XFD CAN FD Motherboard provides a simple, low-cost board to evaluate the MCP2517FD family of devices. The board features one mikroBUS™ socket to accommodate the MCP2517FD click Board.
The MCP251XFD CAN FD Motherboard together with the MCP2517FD click Board can be used to implement a CAN FD node.
The MCP251XFD CAN FD Motherboard contains a PIC32MX470F512H microcontroller with a Service Provider Interface (SPI) peripheral. The microcontroller controls the MCP2517F D via the SPI interfac e.
A firmware Application Program Interface (API) is available for rapid application development, which is written in C programming language for MPLAB Harmony Integrated Software Framework. It can be easily ported to other microcontrollers.

1.2 RECOMMENDED ITEMS TO IMPLEMENT A CAN FD NODE

In order to implement a CAN FD node using the MCP2517FD, the following items are recommended:
• MCP251XFD CAN FD Motherboard (ADM005 76)
• MCP2517FD click Board (NOT included)
• Mini-USB Cable (NOT included)

1.3 KIT CONTENTS

The MCP251XFD CAN FD Motherboard kit includes:
• MCP251XFD CAN FD Motherboard (ADM005 76)
• Information Sheet
2017 Microchip Technology Inc. DS50002556A-page 11
MCP251XFD CAN FD Motherboard User’s Guide
3
3
2
1
6
5
7
11
12
9
10
4
8

1.4 MCP251XFD CAN FD MOTHERBOARD FEATURES

Figure 1-1 illustrates the main features of the MCP251XFD CAN FD Motherboard:
1. PIC32MX470F512H microcontroller
2. mikroBUS socket
3. Debug headers for monitoring the MCP2517FD I/O
4. DSC1121 8 MHz MEMS Clock Generator
5. USB connector to supply regulated +5V DC to the LDO and mikroBUS socket
6. Test loops to supply regulated +5V DC to the LDO and mikroBUS socket
7. Jumper to select between USB and test loop power source
8. 3.3V LDO to supply microcontroller and mikroBUS socket, and power indicator LEDs
9. Push button switches for user-defined inputs
10. Eight indicator LEDs
11. Microcontroller Reset push button
12. Six-pin interface for the PICkit™ 3 Programmer/Debugger

FIGURE 1-1: MCP251XFD CAN FD Motherboard.

DS50002556A-page 12 2017 Microchip Technology Inc.
Loading...
+ 28 hidden pages