MCP25055 - Electronic component Microchip - Free user manual and instructions
Find the device manual for free MCP25055 Microchip in PDF.
User questions about MCP25055 Microchip
0 question about this device. Answer the ones you know or ask your own.
Ask a new question about this device
Download the instructions for your Electronic component in PDF format for free! Find your manual MCP25055 - Microchip and take your electronic device back in hand. On this page are published all the documents necessary for the use of your device. MCP25055 by Microchip.
USER MANUAL MCP25055 Microchip
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 intended through suggestion only and may be superseded by updates. It is your responsibility to ensure that your application meets with your specifications. No representation or warranty is given and no liability is assumed by Microchip Technology Incorporated with respect to the accuracy or use of such information, or infringement of patents or other intellectual property rights arising from such use or otherwise. Use of Microchip's products as critical components in life support systems is not authorized except with express written approval by Microchip. No licenses are conveyed, implicitly or otherwise, under any intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, Accuron, dsPIC, KEELOQ, MPLAB, PIC, PICmicro, PICSTART, PRO MATE and PowerSmart are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
AmpLab, FilterLab, microID, MXDEV, MXLAB, PICMASTER, SEEVAL, SmartShunt and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Application Maestro, dsPICDEM, dsPICDEM.net, dsPICworks, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM, PICkit, PICDEM, PICDEM.net, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPIC, Select Mode, SmartSensor, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries.
Serialized Quick Turn Programming (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.
© 2004, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

Printed on recycled paper.
QUALITY MANAGEMENT SYSTEM CERTIFIED BY DNV
=ISO/TS 16949:2002=
Microchip received ISO/TS-16949:2002 quality system certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona and Mountain View, California in October 2003. The Company's quality system processes and procedures are for its PICmicro® 8-bit MCUs, KEELOQ® code hopping 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.
Table of Contents
Preface .... 1
Chapter 1. Product Overview and Installation
1.1 Introduction and Highlights .... 5
1.2 What is the MCP250XX Development Kit? 5
1.3 System Requirements 5
1.4 MCP250XX Development Kit Components 6
1.5 MCP2515 Components 7
1.6 Hardware Installation 10
1.7 Software Installation 11
Chapter 2. MCP250XX Basic View Tutorial
2.1 Introduction 13
2.2 Highlights 13
2.3 Setting up the Basic Template Evaluation Mode 13
2.4 Establishing Communications 20
2.5 Explaining the CAN Messages 22
Chapter 3. MCP250XX Register View Tutorial
3.1 Introduction 23
3.2 Highlights 23
3.3 Setting up the Register Template Evaluation Mode 23
3.4 Establishing Communication 27
3.5 Explaining the Register Template Windows 27
Chapter 4. Programming the MCP250XX User Defaults
4.1 Introduction 29
4.2 Highlights 29
4.3 Device Programmer 29
4.4 Programming via the ICSP™ Connector 34
Chapter 5. Other Capabilities of the Development Board
5.1 Introduction 35
5.2 Highlights 35
5.3 Oscillator Configurations 35
5.4 Node A Prototyping Area and Header Pinout 36
5.5 External Bus Connections 37
Appendix A. Schematics and Layouts
A.1 Introduction 39
A.2 VPP Step-up Regulator 40
A.3 Clock and Data for Programming 41
A.4 PC Node 42
A.5 CAN Physical Layer 43
A.6 Node A and Node B 44
A.7 Caps Page 45
Index 47
Worldwide Sales and Service 48
Preface
INTRODUCTION AND HIGHLIGHTS
This section provides general information that will be useful to know before using the MCP250XX Development Kit and touches on the following topics:
- About This Guide
• Recommended Reading - Troubleshooting
• The Microchip Internet Web Site - Customer Support
ABOUT THIS GUIDE
Document Layout
The User's Guide layout is as follows:
- Chapter 1: Product Overview and Installation – details the hardware and software components and discusses installation procedures.
- Chapter 2: MCP250XX Basic View Tutorial – covers some of the key elements of the MCP250XX by going through the steps for setting up and running the demonstration program.
- Chapter 3: MCP250XX Register View Tutorial – details the demonstration software and the CAN system, as well as discussing the steps required to successfully communicate with the MCP250XX while in the Register template.
- Chapter 4: Programming the MCP250XX Using the Development Board – describes the procedure for programming the MCP250XX using the programming circuitry and special software.
- Chapter 5: Other Capabilities of the MCP250XX Development Kit - details the other capabilities of the MCP250XX Development Kit, including configuring the board for multiple oscillators, connecting the board to the MCP2515 development board and connecting the board to external CAN busses.
Appendices
- Appendix A: Schematics and Layouts – lists the schematics and layout diagrams for the MCP250XX Development Kit.
- Index – cross-reference listing of terms, features and sections of this document.
- Worldwide Sales and Service – provides the address, telephone and fax numbers for Microchip Technology Inc. sales and service locations throughout the world.
Updates
Since Microchip tools are constantly evolving to meet customer needs, some software dialogs and/or tool descriptions may differ from this document. Please refer to the Microchip web site to obtain the latest documentation available (www.microchip.com).
RECOMMENDED READING
For more information regarding the MCP250XX devices and other CAN related topics, the following are recommended reading. The following data sheets may be downloaded from our internet web site at www.microchip.com.
MCP2502X/2505X Data Sheet (DS21664)
This data sheet provides detailed information regarding the MCP250XX CAN I/O Expanders.
This data sheet provides detailed information regarding the MCP2515 Stand-Alone CAN Controller, which is the master node on the board.
PRO MATE ^® II User's Guide (DS30082)
This manual contains a section explaining how to program the MCP250XX devices using the specified socket module.
MCP250XX Programming Specification (DS20072)
This specification explains the requirements for programming the MCP250XX using the ICSP ^™ protocol.
AN815 - Understanding the MCP250XX Devices (DS00815).
AN816 - A CAN System Using Multiple MCP250XX I/O Expanders (DS00816).
AN713 - An Introduction to the CAN Protocol Application Note (DS00713)
This application note provides “the basics” for those not familiar with the CAN protocol.
AN754 – Understanding Microchip's CAN Module Bit Timing Application Note (DS00754)
This application note is an in-depth discussion of bit timing using Microchip's CAN module.
A CAN Kingdom by Lars-Berno Fredriksson (Kvaser AB)
This document covers the CAN Kingdom Specification and should help give some insight into the main software and some of the menu items that refer to CAN Kingdom-specific functions. For more information, please visit CAN Kingdom web site at www.cankingdom.org
CANKing Help Files
The help files are a good resource for answering some common questions about the MCP250XX Development Kit, including the CAN Kingdom-specific menu items.
README Files
Contains the latest information on the MCP250XX evaluation system.
Microsoft ^® Windows ^® Manuals
These manuals assume that users are familiar with the Microsoft Windows operating system. Many excellent references exist for this software program and should be consulted for general operation of the Windows ^® operating system.
TROUBLESHOOTING
See the README files for information regarding common problems not addressed in this user's guide.
THE MICROCHIP INTERNET WEB SITE
Microchip provides easy access to our documentation and on-line support through our World Wide Web Site at www.microchip.com. You can download files from the web site or from our FTP site at ftp://ftp.microchip.com.
CUSTOMER SUPPORT
Users of Microchip products can receive assistance through several channels:
• Distributor or Representative
- Local Sales Office
• Field Application Engineer (FAE)
• Corporate Applications Engineer (CAE)
- Hot Line
Customers should call their distributor, representative or field application engineer (FAE) for support. Local sales offices are also available to help customers. See the back cover for a listing of sales offices and locations.
Corporate applications engineers (CAEs) may be contacted at:
(480) 792-7627.
In addition, there is a Systems Information and Upgrade Line. This line provides system users a listing of the latest versions of all of Microchip's development systems software products. Plus, this line provides information on how customers can receive any currently available upgrade kits.
The Hot Line numbers are:
1-800-755-2345 for U.S. and most of Canada, and
1-480-792-7302 for the rest of the world.
NOTES:
Chapter 1. Product Overview and Installation
1.1 INTRODUCTION AND HIGHLIGHTS
This chapter provides an overview of the MCP250XX Development Kit and covers the following topics:
• What is the MCP250XX Development Kit?
- System Requirements
• MCP250XX Development Kit Components
• MCP2515 Components
- Hardware Installation
- Software Installation
1.2 WHAT IS THE MCP250XX DEVELOPMENT KIT?
The MCP250XX Development Kit is an evaluation, demonstration and development tool for Microchip Technology's 14-pin CAN I/O Expanders. The MCP250XX can be evaluated easily by installing the provided software and running the demonstration program. Furthermore, development can be accomplished by utilizing the bare CAN node with the prototyping area, as well as with the on-board device programmer.
The development board has the ability to program the user-defined defaults by using the device programmer module and the supplied software. Alternatively, the In-Circuit Serial Programming ^™ (ICSP ^™ ) protocol can be used to program the MCP250XX using the 5-pin header, which is connected to a 14-pin socket on the board. See the MCP250XX Programming Specification (DS20072) for details on programming via ICSP.
Some of the key features of the MCP250XX Development Kit include:
- Evaluation of Microchip's CAN I/O Expanders
- Programming the MCP2505X devices using supplied software
- Programming the MCP2505X devices via the ICSP protocol
- Connectable to external CAN networks
1.3 SYSTEM REQUIREMENTS
To take full advantage of the MCP250XX features, you must install the supplied demonstration/evaluation software on a host computer. The MCP250XX requires:
- Microsoft Windows 95/98/ME/NT/2000 operating system
- One free parallel port
- CD-ROM drive
1.4 MCP250XX DEVELOPMENT KIT COMPONENTS
The MCP250XX Development Kit contains:
• MCP250XX Development Board
• MCP250XX Development Kit User's Guide
- MCP250XX Development Kit CD-ROM with demo and programming software
- Parallel port cable
- 9V DC power supply adapter
• Warranty/Registration card
• Three MCP25020 CAN I/O Expanders
• Three MCP25050 CAN I/O Expanders
FIGURE 1-1: MCP250XX DEVELOPMENT KIT

natural_image
Product photo of a microchip technical library window with circuit board, connectors, and cable (no visible text or symbols)1.5 MCP2515 COMPONENTS
The MCP2515 consists of four main parts (see Figure 1-4):
- PC Node
- Node A
- Node B
- Device Programmer
1.5.1 PC Node
The PC Node is the master node for the demonstration program that controls Node B. This node contains a MCP2515 Stand-Alone CAN Controller that is controlled by the host PC via a custom parallel port interface.
Note: All three nodes are connected to a common CAN bus that has external connections via the DB9 connector.
1.5.2 Node A
Node A is a bare CAN node next to the prototyping area. This node is used for MCP250XX prototyping and can also be used to program the user defaults via the ICSP protocol. See Figure 1-2 for pinout description.
FIGURE 1-2: NODE A PINOUT

text_image
MCP250XX 14 13 12 11 10 9 8 ICSP™ Header VPP VDD Vss DATA CLOCK1.5.3 Node B
Node B is the slave node for the demonstration program. Analog inputs (potentiometers), PWM outputs (piezo buzzer and incandescent lamp) and digital inputs (push buttons) are all connected to the MCP25050 device. It responds to inputs and CAN messages to demonstrate device functionality. See Figure 1-3 for the pinout description.
FIGURE 1-3: NODE B PINOUT

text_image
MCP250XX LP1 R20 GP0 1 14 VDD1 2 13 GP2 3 12 11 S1 GP4 4 10 GP6 GP5 5 9 Vss 6 8 BZ1 R17 S2 S3 S41.5.4 Device Programmer
The Device Programmer module is used with PC software to configure the user-defined defaults.
FIGURE 1-4: MCP250XX DEVELOPMENT BOARD

text_image
DB25 J1 U6 Y1 PC NODE Y2 Y3 U3 U2 L1 DEVICE PROGRAMMER U15 NODE A D2 R17 NODE B S1 D3 D4 D5 R20 J3 J5 BZ1 U14 J4 GP4 GP5 GP61.5.5 Key Areas of the MCP2515
There are a few key areas on the board. Figure 1-4 illustrates these areas, while Table 1-1 details them.
TABLE 1-1: MCP250XX BOARD LAYOUT
| Key Areas Description | |
| DB25 DB25 is the connection to the host PC interface. The PC controls both the PC Node and the Device Programmer circuit. | |
| U6 U6 is the CAN Controller (MCP2515) of the PC Node that is controlled by the host PC. | |
| U15, J5 and JP4 U15 is the prototyping node. J5 is the ICSPTM header for U15. JP4 jumpers board power to the VDD pin of U15 and should be removed if using J5 (ICSP header) to isolate U15 from the rest of the board during In-Circuit Serial ProgrammingTM. | |
| U14 The MCP250XX for the demonstration program. Connected to the potentiometers, piezo, buttons and lamp. | |
| U3 U3 is the socket for programming the user-defined defaults using the programming software. | |
| Y1, Y2, Y3, JP1 and JP2 | Y1, Y2 and Y3 are the oscillator sockets for each of the three CAN nodes. By default, all of the Yx outputs are connected together (JP1 and JP2 are shorted via a trace on the back of the board) and only Y1 is populated (i.e., Y1 clocks all three CAN nodes). To separate the oscillator sockets, the traces shorting JP1 and JP2 must be cut. |
| U11, U12, U13, J3 and J4 | U11-U13 are the CAN drivers all connected to a common CAN bus. The two DB9s (J3 and J4) are the external CAN bus connections. Only J4 is populated. |
| D2, D3, D4 and D5 | CAN traffic indicator LEDs. D2 represents all traffic. D3-D5 represent transmitted traffic of each of the three nodes. |
1.6 HARDWARE INSTALLATION
1.6.1 Connecting the DB25 Cable
The included DB25 cable is a male-to-male configuration and plugs into the parallel port of the host PC. Figure 1-5 shows the pin configuration.
FIGURE 1-5: DB25 PIN CONFIGURATION

text_image
N/C SPI_SO/PgmDataOut SPI_SCK/PgmCKOut SPI_CS/PgmDataWREN 2515RESET/PgmVPP_ON 2515RTSO/PgmVDD_ON 2515RTS1/PgmCLKEN 2515RTS2 BufferEnable 2515INT/PgmDATA_IN SPI_SI 2515RXBF0 2515RXBF1 13121110987654321 252423222120 N/C N/C N/C N/C GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND1.6.2 9V Power Supply Adapter
The power supply is rated at 9V, 750 mA DC.
1.6.3 DB9 External CAN Bus Connectors (optional)
The DB9 connector, as shown in Figure 1-6, is used to connect the MCP2515 to an external CAN bus and is not necessary for basic board operation.
Note: Only the DB9 at J4 is populated. J3 is available as needed.
FIGURE 1-6: DB9 CAN CONNECTOR

text_image
Reserved CANL CAN_GND Reserved N/C 321 54 76 98 N/C CANH N/C CAN_V+1.7 SOFTWARE INSTALLATION
Insert the MCP250XX Development Kit CD-ROM into the CD-ROM drive.
1.7.1 Auto-run Enabled
If auto-run is enabled, the installation program will automatically start. Follow the instructions on the screen to install the software.
1.7.2 Auto-run Not Enabled
If auto-run is not enabled:
- Click the Start button and select Run. Enter d:\setup.exe (where d:\ is your CD-ROM drive). Click OK. Or alternatively, find the CDROM drive using "Windows Explorer" and double click "setup.exe".
Note: Windows NT ^® and Windows 2000 users must have administrative privileges in order to install the MXLAB ^® software.
- Follow the online instructions to install the software.
NOTES:
Chapter 2. MCP250XX Basic View Tutorial
2.1 INTRODUCTION
This tutorial discusses the evaluation portion of the kit, details the demonstration software (Basic template), CAN system (PC Node and Node B) and covers the steps required to successfully run the demonstration network.
The user defaults for Node B are preprogrammed at the factory. Therefore, no user default programming is necessary. No discussion of programming user defaults will take place in this chapter, as this is detailed in Chapter 4. "Programming the MCP250XX User Defaults".
Note: The software must be installed and the hardware connected to run the demonstration program.
2.2 HIGHLIGHTS
This chapter covers the following topics:
- Setting up Evaluation mode
• Establishing communications
• Explaining the CAN messages
2.3 SETTING UP THE BASIC TEMPLATE EVALUATION MODE
The MCP250XX Development Kit's "Basic" template contains the following major elements:
- Menu Bar (Figure 2-1) – The layout is typical of most Windows menu bars.
- PC Node Bit Timing and Mode (Figure 2-2) – The bit timing and the mode of operation (Normal and Configuration) for the MCP2515 (PC Node) are configured with this window.
- Board Status (Figure 2-3) – Indicates if the board is connected to the PC and also indicates the parallel port address used.
- Message Format Window (Figure 2-4) – Selects how CAN messages are formatted and interpreted. The default is "Standard Text Format" and is used for the demonstration program. The other format is used with the CAN Kingdom higher layer protocol.
- Bus Monitor Window (Figure 2-5) – Also known as the "Output" window. This window shows all bus traffic.
- MCP250XX Demonstration (Figure 2-6) – This window is the graphical interpretation of Node B (the demonstration node).
FIGURE 2-1: MENU BAR

text_image
CANKing for Windows - [eval_slio.wct] File View Messages Options Window HelpFIGURE 2-2: PC NODE BIT TIMING AND MODE

text_image
MCP2515 CAN Controller Bus Statistics | Bus Parameters | Bus Load 0% Total Per Second Overrun RX messages: 0 0 TX messages: 4 0 Clear Bus Parameters Bus Speed: 125.000 kbit/s Bit timing: Q=8,S1=5,S2=3,SP=62.5%,SJW=1 Go On Bus ○ On Bus ○ Error Passive × Go Off Bus ○ Off Bus ○ Error WarningFIGURE 2-3: BOARD STATUS

text_image
MCP2515 Evaluation Board Eval Board Status Connected. MCP2510 is in Normal Mode. Parallel Port Address: $378 Reset BoardFIGURE 2-4:MESSAGE FORMAT WINDOW

text_image
Select Formatters Available Formatters: Standard Text Format Interpret King's Pages Simple Alarm Pass Filter Use Active Formatters: ✓ Standard Text Format Up Down Options Remove Interprets certain King's Pages according to CAN Kingdom.FIGURE 2-5: BUS MONITOR WINDOW

text_image
Output Window Ident F1g Len D0....D7 Time Dir 0441 0 2314.876 T 0441 4 11 22 33 44 5.834 T 0460 6 11 22 33 44 55 66 11.455 T 0351 2 11 22 15.492 T 0302 8 AA 53 21 F2 37 88 C4 21 58.378 TFIGURE 2-6: MCP250XX DEMONSTRATION WINDOW

text_image
Node B Status Module On Bus Application overrun Period: Period: 1000 ms Set Periodic Read Analog 0 Input: Analog 1 Input: GP4:Led0 GP5:Led1 GP6:Led2 Periodic Write PWM1 Frequency: Periodic Write PWM2 Duty Cycle:2.3.1 Starting the Program
-
Start the software by any of the following:
-
From the "Start" menu, select "Programs > Microchip > CANKing"
- Select " C:\Program Files\Microchip\Mcan\WC32.exe"
-
Double-click on the desktop icon for the MCP250XX Development Kit
-
A notice will appear warning of the potential undesired results if connecting to an existing CAN bus (Figure 2-7). Select "OK, I know what I am doing".
- A dialog will appear asking if a new template or a saved project should be opened. Select "New Template" (Figure 2-9).
- When the template dialog appears, select "MCP250XX Evaluation" (Figure 2-10).
The software is now started. There are a few other options that the user may want to configure for convenience before saving the project and capturing the defaults.
2.3.2 Setting the Numeric Base for Transmit and Monitor Windows
The default numeric base can be changed, as desired, for both the Transmit Buffer window and the Bus Monitor window. Base 16 (hex) numbers are preceded by a “\$”.
2.3.2.1 TRANSMIT BUFFER WINDOW
The numeric base for the transmit buffer is configured by selecting "Options > Global..." from the menu. Check desired numeric base.
2.3.2.2 BUS MONITOR WINDOW
If the Select Formats window is not visible, select it from the View menu. Highlight (do not uncheck) Standard Text Format in the Select Formats window. Click Properties and check the desired numeric base (see Figure 2-8).
A few other items must be addressed before proper communication can occur. These are discussed in the next section.
FIGURE 2-7: WARNING ON START-UP

text_image
If you connect this tool to a real CAN system, you may cause the system to malfunction or behave in unexpected ways. Depending on the CAN system, this might mean catastrophic failures including personal injuries. OK, I know what I'm doing Tell me more QuitFIGURE 2-8: CHANGING NUMERIC BASE FOR BUS MONITOR

text_image
Select Formatters Standard Text Format Interpret King's Pages Simple Alarm Pass Filter Stop Filter Hexadecimal, DeltaT=Yes Up Down Properties
text_image
Text Formatter Options Numeric Base Octal Decimal Hexadecimal Miscellaneous Delta Times OK CancelFIGURE 2-9: OPEN DIALOG

text_image
CANKing for Windows Create a New Project Using Project Wizard Template Empty Project Open an Existing Project OK Cancel Help Tip for New Users The quickest way to start is to use a Template.FIGURE 2-10: TEMPLATE DIALOG

text_image
Templates Standard Microchip Basic MCP2510 Mali 2510 Mali 2510 Mali 2510 Mali 2510 Mali Register View Evaluati... Evaluation Board (Node B) mcp25050 Register View mpc25050 OK Cancel Help Control the mcp25050 Evaluation Board (requires CAN Kingdom s/w on the board)2.4 ESTABLISHING COMMUNICATIONS
When the software is started from a new template (as it must be the first time it is started), some steps must be taken to insure proper operation and to set up the software defaults. These defaults can be saved by saving the template as a project and opening the project in subsequent sessions.
2.4.1 Configure Parallel Port
The board status (including parallel port address and connection status) is indicated in the Board Status window (Figure 2-3). Assuming the port address, as displayed in the window, matches the address as configured by the PC, the board status should indicate "connected", with the indicator in the window being green.
If the status indicator is red and indicates "not connected", check the port address. To change the port address that the software uses, select "Options > MCP2515" and enter the correct port address in the appropriate dialog box (Figure 2-11).
Note: Port address is entered as a hex value.
FIGURE 2-11: PC NODE OPTIONS

text_image
MCP2515 Eval Board Options Hardware Settings Clock Frequency: 16000 kHz Parallel Port Address: $378 Options for the Current Configuration ✓ Reset MCP2515 on Open OK Cancel2.4.2 Match Oscillator Frequency with Board
The CAN data rate is a function of the oscillator frequency. Therefore, the proper oscillator frequency must be set in order for the software to calculate the CAN data rate correctly. Open the same window that was opened to set the parallel port address (Figure 2-11). The frequency of oscillation units are displayed in kilohertz (kHz).
2.4.3 Configuring the Output Window Display Format
The Output (Bus Monitor) window (Figure 2-5) can display the CAN messages in five different ways:
- Fixed Positions – Messages with the same identifier maintain a fixed position (slot) within the window. The data and time-stamp update normally. To turn fixed positions on/off, right-click the mouse while the cursor is over the Output window area and select "Fixed Positions".
- Dynamic Positions (Fixed Positions = off) – Each new message is displayed below the previous message, regardless of the identifier. This mode is activated by unchecking Fixed Positions (right mouse click).
- Auto-Scroll – Keeps the Output window from auto-scrolling to the most recent message (bottom message). This is useful when messages are being regularly received and the user would like to observe old messages at the top of the buffer without having the focus shift to the end of the buffer each time a message is received.
To activate, right-click the mouse while the cursor is over the Output window and select "Auto-Scroll". - Delta Time – This is a time-stamp that indicates the time(s) between two messages with the same identifier. Delta time is activated as follows (Figure 2-8): If the Select Formatters window is not visible, select it from the View menu. Highlight (do not uncheck) the "Standard Text Format" option in the Select Formatters window. Click Properties and check the "Delta Times" box.
- Free-Running Time – A free-running time-stamp between messages with the same identifiers. This mode is activated by unchecking the "Delta Times" box.
2.5 EXPLAINING THE CAN MESSAGES
At this point, the two nodes (PC Node and Node B) should be communicating normally and a message should be showing up in the Output window (Figure 2-5) at regular intervals. Pushing GP4, GP5 or GP6 causes other messages to show up in the Output window, with the status being reflected graphically in the Demo window. Turning the potentiometers will cause the data fields to change.
This section explains the CAN messages as seen in the Output (Bus Monitor) window.
TABLE 2-1: CAN MESSAGES EXPLAINED
| Identifier | Length Data Explanation | ||
| 0x008 3 | "Write Register" Input Message (IM) | DB0 (address) is either 0x23 or 0x26 (PR1 or PWM2DCH). | |
| 0x018 8 | Read A/D | Regs "Read A/D Regs" IRM followed by OM. | |
| 0x280 0 | None On-bus message. | ||
| 0x290 8 | Read A/D | Regs A/D Threshold Detection (R20, POT and PWM2 duty cycle). | |
| 0x7FF 0 | None Command Acknowledge in response | to IM. | |
Chapter 3. MCP250XX Register View Tutorial
3.1 INTRODUCTION
A few topics covered in this chapter were also covered in the last chapter detailing the Basic template tutorial. To avoid duplication, the appropriate sections of Chapter 2 "MCP250XX Basic View Tutorial" will be referenced.
This chapter details the demonstration software (Register template) and CAN system (PC Node and Node B). It also covers the steps required to successfully communicate with the MCP250XX while in the Register template.
Note: The software must be installed, and the hardware connected, to run the demonstration program.
3.2 HIGHLIGHTS
This chapter covers the following topics:
- Setting up the Evaluation Mode
• Establishing Communications - Explaining the Windows
3.3 SETTING UP THE REGISTER TEMPLATE EVALUATION MODE
The MCP250XX Development Kit's "Register" template contains the following major elements that will be discussed, in detail, later in this chapter:
- The Menu Bar, PC Node Bit Timing and Mode and Board Status windows are all discussed in Section 2.3 "Setting up the Basic Template Evaluation Mode".
- MCP250XX Filters – Used to set up and test the MCP250XX mask and filters.
- MCP250XX Error Status – Used to read the current Transmit and Receive Error Counters (TEC and REC), as well as the EFLG register.
- MCP250XX Physical Layer – Displays the bit timing registers (CNF1, CNF2 and CNF3).
- MCP250XX Command Messages – Implements the command messages as described in the data sheet. Information Request Messages (IRM), output and input messages are all represented in this window to enable the main functionality of the MCP250XX.
FIGURE 3-1: MCP250XX FILTERS

text_image
MCP25050 Filters Filters Node A Test Identifier: $E Test Buf RXM $E RXF0 $6 RXF1 $F Filters Node B Test Identifier: $F Test Buf RXM $E RXF0 $D RXF1 $E Accepted Read Write Accepted Read WriteFIGURE 3-2: MCP250XX ERROR STATES

text_image
MCP25050 Status Node A Register Value Meaning Tx Error $00 (0) Rx Error $00 (0) EFLG $00 (0) Node B Register Value Meaning Tx Error $00 (0) Rx Error $00 (0) EFLG $00 (0) Read ReadFIGURE 3-3: MCP250XX PHYSICAL LAYER

text_image
MCP25050 Physical Layer Node A Prescaler: 8 Prop.Seg: 1 SJW: 1 Phase Seg 1 3 Samples: 1 Phase Seg 2 3 CNF1 07 0 0 0 0 0 1 1 1 CNF2 90 1 0 0 1 0 0 0 0 CNF3 02 - 0 - - - 0 1 0 Bit rate: 125.000 kbit/s (Xtal 16.0 MHz) Node B Prescaler: 8 Prop.Seg: 1 SJW: 1 Phase Seg 1 3 Samples: 1 Phase Seg 2 3 CNF1 07 0 0 0 0 0 1 1 1 CNF2 90 1 0 0 1 0 0 0 0 CNF3 02 - 0 - - - 0 1 1 Bit rate: 125.000 kbit/s (Xtal 16.0 MHz) Read ReadFIGURE 3-4: MCP250XX COMMAND MESSAGES

text_image
MCP25050 Configuration Node A Information Request: Register contents Request message Input message Use extended messages Use RTR User Mem (bank 2) TX Message ID0 USERID8 88 1 0 0 0 1 0 0 0 USERID9 99 1 0 0 1 1 0 0 1 USERID10 AA 1 0 1 0 1 0 1 0 USERID11 BB 1 0 1 1 1 0 1 1 USERID12 CC 1 1 0 0 1 1 0 0 USERID13 DD 1 1 0 1 1 1 0 1 USERID14 EE 1 1 1 0 1 1 1 0 USERID15 FF 1 1 1 1 1 1 1 1 Bit5: User Memory Bank Read Write Single byte register Read/Write IOINTEN ($1C) 00 0 0 0 0 0 0 0 Read Write Node B Information Request: Register contents Request message Input message Use extended messages Use RTR A/D Regs TX Message ID0 IOINTFLG 00 0 0 0 0 0 0 0 GPIO 38 0 0 1 1 1 0 0 0 ANOH B4 1 0 1 1 0 1 0 0 AN1H 2D 0 0 1 0 1 1 0 1 AN1OL 08 0 0 0 0 1 0 0 0 AN2H 11 0 0 0 1 0 0 0 1 AN3H F3 1 1 1 1 0 0 1 1 AN23L 22 0 0 1 0 0 0 1 0 Bit3: Actual bit value Read Write Single byte register Read/Write IOINTEN ($1C) 00 0 0 0 0 0 0 0 Read Write3.3.1 Starting the Program
Because the start procedures are the same as in Section 2.3.1 "Starting the Program", there are references to figures in Chapter 2 "MCP250XX Basic View Tutorial" in this section.
-
Start the software by any of the following:
-
From the "Start" menu, select "Programs > Microchip > CANKing"
- Or select " C:\Program Files\Microchip\Mcan\WC32.exe"
-
Or double-click on the desktop icon for the MCP250XX Development Kit
-
A notice will appear warning of the potential undesired results if connecting to an existing CAN bus (Figure 2-7). Select "OK, I know what I am doing".
- Next, a dialog will appear asking if a new template or a saved project should be opened. Select "New Template" (Figure 2-9).
- When the template dialog appears, select "MCP250XX Evaluation" (Figure 2-10).
3.3.2 Setting the Numeric Base for Bus Monitor Window
If the Select Formats window is not visible, select it from the View menu. Highlight (do not uncheck) "Standard Text Format" in the Select Formats window. Click Properties and check the desired numeric base (see Figure 2-8).
A few other items must be addressed before proper communication can occur, as discussed in the next section.
3.4 ESTABLISHING COMMUNICATION
Because the method for establishing communications is exactly the same as the last chapter, please refer to Section 2.4, “Establishing Communications”.
3.5 EXPLAINING THE REGISTER TEMPLATE WINDOWS
The Register template provides access to all of the user registers by using the command messages as defined in the data sheet.
3.5.1 General Information
There are three different ways to enter values into the windows, depending on the window function:
- Entering byte value in the appropriate box.
- Clicking up/down counters to increase/decrease the value by one.
- Double-clicking the desired bit location to toggle the bit to its opposite state.
The register bit names will be displayed for the location directly under the mouse pointer (Physical Layer and Configuration windows only).
3.5.2 MCP250XX Filters Window
The MCP250XX Filters window allows the user to read, modify and test the mask and filters settings. Care must be taken when modifying the mask and filter settings, as all, or partial communications with the MCP250XX may be lost due to improper filter and mask settings.
Mask and filter settings can be tested against various identifiers simply by entering the desired identifier in the Test Identifier window and pressing the "Test Buf" button. This tests the entered identifier with the entered mask and filter settings, indicating pass/fail for each filter.
Example 3.1: Figure 3-1 shows a test where the mask is configured to accept IDs of Eh and Fh only (bit 0 = 0 = "don't care").
3.5.3 MCP250XX Error States
The current Receive and Transmit Error Counters (REC and TEC) can be read, as can the EFLG register. The is the same as the "Read CAN Error" Information Request Message (IRM).
3.5.4 MCP250XX Physical Layer
The bit timing (CNF registers) cannot be changed from the default values. However, these registers can be read and displayed along with the parsed prescaler and TQ settings.
3.5.5 MCP250XX Command Messages
This window implements the command messages as described in the data sheet. Both IRMs and input messages can be implemented by selecting the appropriate radio button (see Figure 3-4).
This window also gives the added functionality of reading and/or writing individual registers. Reading individual registers is actually an IRM that contains the desired register (e.g., reading IOINTEN register is actually a "Read Control Register" IRM command with the resulting output message). Writing an individual register is a "Write Register" input command.
Chapter 4. Programming the MCP250XX User Defaults
4.1 INTRODUCTION
The user memory for MCP250XX devices is initially blank when shipped from the factory. The user must program the user memory with user-defined defaults. There are three methods for programming the user memory.
- Using MPLAB ^® IDE with the PRO MATE ^® II device programmer and the MCP250XX socket module.
- Using the device programmer circuit on the MCP2515 with the programming software.
- In-Circuit Serial Programming™ (ICSP™) while following the MCP250XX Programming Specification (DS20072).
4.2 HIGHLIGHTS
The MCP250XX Development Kit supports two methods for programming the user defaults.
- Using the Device Programmer circuit with the programming software.
- Node A has an ICSP connector.
4.3 DEVICE PROGRAMMER
A device programmer circuit is built into the board to allow the user to easily program MCP250XX devices with the existing board (i.e., PRO MATE II is not needed).
4.3.1 Circuit Description
The programming circuitry is designed to use the ICSP methodology as defined in the MCP250XX Programming Specification (DS20072). The circuitry routes all of the required signals, including the 13V VPP signal that is generated by a step-up voltage regulator. Figure 4-1 shows the pinout for the MCP250XX socket in the device programmer circuitry.
FIGURE 4-1: DEVICE PROGRAMMER DIAGRAM

flowchart
graph TD
A["To Host PC"] --> B["MCP250XX"]
B --> C["14 Pin 1"]
B --> D["13 Pin 2"]
B --> E["12 Pin 3"]
B --> F["11 Pin 4"]
B --> G["10 Pin 5"]
B --> H["9 Pin 6"]
B --> I["8 Pin 7"]
J["Step-up Regulator Circuit"] --> B
4.3.2 PC Software
The programming circuitry is controlled by a host PC application through the DB25 connector. The PC application is a graphical interface that allows the device to be quickly and easily configured with the user defaults. Figure 4-2 shows the main screen, which is used to navigate to all of the MCP250XX device peripherals that can be configured with the defaults.
The other screens, as shown in Figure 4-3 thru Figure 4-7, are used to configure all peripherals. Together, both the hardware and software use the ICSP methodology as described in the MCP250XX programming specification.
The software has the ability to save user defaults into IHEX8 format, which can be imported to the PRO MATE II device programmer through MPLAB ^® IDE for programming the MCP250XX devices.
FIGURE 4-2: PROGRAMMER SOFTWARE MAIN SCREEN

flowchart
graph TD
A["User Memory"] --> B["State Machine and Control Logic"]
C["GPIO"] --> B
D["CAN Engine"] --> B
E["PWM1"] --> B
F["PWM2"] --> B
G["A/D"] --> B
H["Program Device"] --> I["Read Device"]
J["Fosc = 4000 Hz"] --> K["Device MCP250xx"]
L["Program Device"] --> M["Read Device"]
FIGURE 4-3: USER MEMORY

text_image
User Memory Registers Address (hex) 00 00 00 00 00 00 00 00 00 35 36 37 38 39 3A 3B 3C 00 00 00 00 00 00 00 00 3D 3E 3F 40 41 42 43 44 OK CancelFIGURE 4-4: CAN MODULE

text_image
CAN Registers TXIDnSIDH TXIDnSIDL TXIDnEID8 TXIDnEID0 RAW ID TXID0 FF FF FF FF Ext ID 1FFFFFF TXID1 FF FF FF FF Ext ID 1FFFFFF TXID2 FF FF FF FF Ext ID 1FFFFFF RXnSIDH RXnSIDL RXnEID8 RXrEID0 Ext ID 1FFFFFF RXM FF FF FF FF Ext ID 1FFFFFF RXF0 FF FF FF FF Ext ID 1FFFFFF RXF1 FF FF FF FF Ext ID 1FFFFFF OPTREG2 CAEN EPAREN TXONEA SLPEN MTYPE PDEFEN PUSLP PUNAN BTLMODE SAM WAKFIL S/W PS1 or IPT TX OFF T Q Bit Time (us) Baud Rate Prescaler Close 2.5 #TQ Propagation Segment Phase Segment 1 Palset Segment 2 5 1T0 1T0 2T0 SS Prop PS1 PS2 TXIDOSIDH TXIDOSIDL TXIDOEID8 TXIDOEIDO TXID1SIDH TXID1SIDL TXID1EID8 FF EB FF FF FF EB FF TXID1EIDO TXID2SIDH TXID2SIDL TXID2EIDO TXID2EIDO RXMSIDH RXMSIDL FF FF EB FF FF FF EB RXMEID8 RXMEID0 RXFOSIDH RXFOSIDL RXFOEID9 RXFOEIDO RXFISIDH FF FT FT FT ED FT FT FT RXF1SIDL RXFIEID8 RXFIEID0 CNF1 CNF2 CNF3 OPTREG2 EB FF FF 00 00 00 00 TXID0SIDL TXID0SIDL TXID0EID8 TXID0EIDO TXID1SIDH TXID1SIDL TXID1EID8 FF EB FF FF FF EB TXID1EIDO TXID2SIDH TXID2SIDL TXID2EIDO TXID2EIDO RXMSIDH RXMSIDL FF FT EB FF FF FF EB RXMEID8 RXMEID0 RXFOSIDH RXFOSIDL RXFOEID9 RXFOEIDO RXFISIDH FF FT FT FT ED FT FT FT RXF1SIDL RXFIEID8 RXFIEID0 CNF1 CNF2 CNF3 OPTREG2 EB FF FF 00 00 00 00FIGURE 4-5: PWM MODULES

text_image
PWM2 Click on waveform labels to configure PWM PWM Period PWM Period 1 µs PWM Freq 1000 KHz Duty Cycle 0 µs Period 0 µs Duty Cycle 0 % Timer Prescaler ON 1 4 16 PWM Output PWM Resolution 2 T2CON PR2 PWM2DCH 80 FF FF OK CancelFIGURE 4-6: A/D MODULE

text_image
ADC Registers Vref 5 0 YDD VS3 Viet+ Viet- A/D Channel Enables ON ON ON ON AN3 AN2 AN1 AN0 Configures A/D the Conversion Rate A/D Conversion Rate Fosc/2 2 MHz A/D Acquisition Time 64/Tosc 18 μs Time Between Conversions Auto Conversion Time 1:1 0.256 ms Close Threshold Detection OFF ON CLOS OFF 3.535V 4.982V 4.111V 1.919V AN3 AN2 AN1 AN0 GFDDR ADCON0 ADCON1 OINTEN IONTPO OPTREG1 FF 00 00 05 00 F0 ADCMPCR ADCMPOL ADCMPTH ADCMPIL ADCMP2H ADCMP2L ADCMP3H ADCMP3L 62 40 D2 80 EF CO B5 00FIGURE 4-7: GPIO MODULE

flowchart
graph TD
A["1"] --> B["0"]
C["2"] --> D["0"]
E["3"] --> F["0"]
G["4"] --> H["0"]
I["5"] --> J["0"]
K["6"] --> L["0"]
M["7"] --> N["0"]
O["8"] --> P["0"]
Q["9"] --> R["0"]
S["10"] --> T["0"]
U["11"] --> V["SPIN"]
W["12"] --> X["AGST"]
Y["13"] --> Z["Edge Detect"]
AA["14"] --> AB["Edge Detect"]
AC["15"] --> AD["Edge Detect"]
AE["16"] --> AF["Edge Detect"]
AG["17"] --> AH["Edge Detect"]
AI["18"] --> AJ["Edge Detect"]
AK["19"] --> AL["Edge Detect"]
AM["20"] --> AN["Edge Detect"]
AO["21"] --> AP["Edge Detect"]
AQ["22"] --> AR["Edge Detect"]
AS["23"] --> AT["Edge Detect"]
AU["24"] --> AV["Edge Detect"]
AW["25"] --> AX["Edge Detect"]
AY["FF"] --> AZ["80"]
BA["00"] --> BB["00"]
BC["SF"] --> BD["DO"]
4.4 PROGRAMMING VIA THE ICSP™ CONNECTOR
There is an ICSP connector on Node A that can be used to program the user defaults with an external programmer. To insure successful programming, the MCP250XX Programming Specification (DS20072) must be adhered to.
The JP4 jumper allows the MCP250XX socket to be isolated from board power so the programmer does not have to drive the board while programming.
FIGURE 4-8: PROGRAMMING VIA THE ICSP™ CONNECTOR

text_image
VDD JP4 ICSP™ Connector MCP250XX 1 14 2 13 3 12 4 11 5 10 6 9 7 8 VPP VDD Vss DATA CLOCKChapter 5. Other Capabilities of the Development Board
5.1 INTRODUCTION
The capabilities and configurations of the MCP2515 are discussed in this chapter.
5.2 HIGHLIGHTS
This chapter discusses:
- Oscillator Configurations
- Node A Prototyping Area and Header Pinout
• External CAN Bus Connections
5.3 OSCILLATOR CONFIGURATIONS
The MCP2515 is configured, by default, to use a common oscillator for all three CAN nodes. While there are three oscillator sockets, only one is populated. The oscillator sockets are connected together with their outputs. The two jumpers (JP1 and JP2) can be used to disconnect the outputs and use individual oscillators for the nodes. The jumpers are shorted by a trace on the bottom of the board by default. These traces can be cut and jumper pins can be installed to control the oscillator output wiring. See Figure 5-1 for details on the oscillator configurations.
FIGURE 5-1: OSCILLATOR SOCKET LAYOUT

flowchart
graph TD
Y1["Out Out Out"] --> A["To PC Node To Node A"]
Y2["To Node B"] --> B["JP1"]
Y3["To Node B"] --> C["JP2"]
A --> D["Shorted by trace on bottom of board"]
B --> D
C --> D
5.4 NODE A PROTOTYPING AREA AND HEADER PINOUT
In addition to ICSP capabilities, Node A can also be used for prototyping custom MCP250XX configurations. This node has a prototyping area as well as a header that can be used for probing the MCP250XX pinout. Figure 5-2 shows the layout of the header.
Note: JP4 must be shorted to enable board power to the MCP250XX socket.
FIGURE 5-2: NODE A HEADER LAYOUT

flowchart
graph LR
GP0 --> GP1
GP2 --> GP2
GP4 --> GP4
GP6 --> GP6
TXCAN --> GP6
GP1 --> GP3
GP2 --> GP3
GP4 --> GP5
GP6 --> GP7
GP1 --> RXCAN
GP2 --> RXCAN
GP4 --> RXCAN
GP6 --> RXCAN
GP3 --> RXCAN
GP5 --> RXCAN
GP7 --> RXCAN
5.5 EXTERNAL BUS CONNECTIONS
The MCP2515 can be connected to an external CAN bus through the DB9(s). The DB9 pinout is the same as the defacto standard, as recommended by the CAN in Automation (CiA) group. At a minimum, CANH (pin 7) and CANL (pin 2) must be connected. However, CAN_GND (pin 3) and CAN_V+ (pin 9) may also be connected to supply power to and from another board. Table 5-1 and Figure 5-3 show the pinout and connector, respectively.
Note: If supplying power to or from the MCP2515, be sure the voltage regulator specification is not violated.
TABLE 5-1: CAN CONNECTOR PINOUT
| Pin# | Name Description | |||||
| 1 | — | R | e | s | e | r |
| 2 CANL CAN low bus line | ||||||
| 3 CAN_GND CAN ground | ||||||
| 4 | — | R | e | s | e | r |
| 5 | N/C | Not connected | ||||
| 6 | N/C | Not connected | ||||
| 7 | CANH CAN high bus line | |||||
| 8 | — | R | e | s | e | r |
| 9 | CAN_V+ | CAN power | ||||
FIGURE 5-3: EXTERNAL CAN BUS CONNECTOR

text_image
Reserved CANL CAN_GND Reserved N/C 1 2 3 4 5 6 7 8 9 N/C CANH CAN_V+NOTES:
Appendix A. Schematics and Layouts
A.1 INTRODUCTION
This appendix contains the schematics and layouts for the MCP250XX Development Kit.
Diagrams included in this appendix include:
• VPP Step-Up Regulator circuit
- Programming Clock/Data Logic circuit
• PC Interface/CAN Node circuit
• CAN Bus Interface circuit
- Node A/Node B circuit
- Capacitors circuit
A.2 VPP Step-up Regulator
FIGURE A-1: V PP STEP-UP REGULATOR CIRCUIT

text_image
U1 UA7800KTE IN OUT C1 1 2 3 1 2 C2 1 F R1 -25 - 1% Vcc U2 VIN COMPIN- COMPIN+ SENSE DRVC SWC SWE OAV CATHODE ANODE GND LM78S40 100 R6 1K Q1 Q2 PFET - MTSF2P02 R7 10K GND 2.21K - 1% GND 2.21K - 1% R5 23.7K R4 R3 160 {Valule} L1 D1 A K GND C5 C6 C4 -1 μF . 1 μF . 1 μF GND GND GND C3 100 μF - 16V 6.3 MM GND 680 pF C7 12 8 GND VREF GNDA.3 CLOCK AND DATA FOR PROGRAMMING
FIGURE A-2: PROGRAMMING CLOCK/DATA LOGIC CIRCUIT

text_image
Vcc Vcc R9 10K R10 10K NDATAWRDN DATA_OUT MCLKEN CLK_OUT U4 1 4 2 SN74AHCT1G126 U5 1 4 2 SN74AHCT1G126 DATA_IN U3 1 GP0 VDD 14 2 GP1 TXCAN 13 3 GP2 RXCAN 12 4 GP3 GP7 11 5 GP4 GP6 10 6 GP5 OSC2 9 7 Vss OSC1 8 GND MCP25050A.4 PC NODE
FIGURE A-3: PC INTERFACE/CAN NODE CIRCUIT

text_image
C8 .1 μF C9 .1 μF U6 TXCAN Vcc 18 CX_TXCAN 2 CX_RCAN 3 CX_CLKOUT 4 CX_TXB0RTS 5 CX_TXB1RTS 6 CX_TXB2RTS 7 CXOSC2 8 CXOSC1 9 RX0BF 10 RX1BF 11 VSS GND MCP2515 C9 1 μF Y1 NC/OE 4 OUT OSC_CAN_SM U7 DUR A1 A2 A3 A4 A5 A6 A7 A8 A9 A10 74HC245_S020 GND U10 CX_RXR_ON 19 5 DR 2 CX_RXR_ON 3 CX_RXR_ON 4 CX_RXR_ON 5 CX_RXR_ON 6 CX_RXR_ON 7 CX_RXR_ON 8 CX_RXR_ON 9 CX_RXR_ON 10 CX_RXR_ON 11 CX_RXR_ON 12 CX_RXR_ON 13 CX_RXR_ON 14 CX_RXR_ON 15 CX_RXR_ON 16 CX_RXR_ON 17 CX_RXR_ON 18 CX_RXR_ON 19 CX_RXR_ON 20 CX_RXR_ON 21 CX_RXR_ON 22 CX_RXR_ON 23 CX_RXR_ON 24 CX_RXR_ON 25 CX_RXR_ON 26 CX_RXR_ON 27 CX_RXR_ON 28 CX_RXR_ON 29 CX_RXR_ON 30 CX_RXR_ON 31 CX_RXR_ON 32 CX_RXR_ON 33 CX_RXR_ON 34 CX_RXR_ON 35 CX_RXR_ON 36 CX_RXR_ON 37 CX_RXR_ON 38 CX_RXR_ON 39 CX_RXR_ON 40 CX_RXR_ON 41 CX_RXR_ON 42 CX_RXR_ON 43 CX_RXR_ON 44 CX_RXR_ON 45 CX_RXR_ON 46 CX_RXR_ON 47 CX_RXR_ON 48 CX_RXR_ON 49 CX_RXR_ON 50 CX_RXR_ON 51 CX_RXR_ON 52 CX_RXR_ON 53 CX_RXR_ON 54 CX_RXR_ON 55 CX_RXR_ON 56 CX_RXR_ON 57 CX_RXR_ON 58 CX_RXR_ON 59 CX_RXR_ON 60 CX_RXR_ON 61 CX_RXR_ON 62 CX_RXR_ON 63 CX_RXR_ON 64 CX_RXR_ON 65 CX_RXR_ON 66 CX_RXR_ON 67 CX_RXR_ON 68 CX_RXR_ON 69 CX_RXR_ON 70 CX_RXR_ON 71 CX_RXR_ON 72 CX_RXR_ON 73 CX_RXR_ON 74HC245_S020A.5 CAN PHYSICAL LAYER
FIGURE A-4: CAN BUS INTERFACE CIRCUIT

text_image
U11 VCC R13 120 25 JP3 8 GND PC_TOM TXD RS CANH CANL VREF RXD N/C 5 N/C 6 7 8 9 N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/C N/CA.6 NODE A AND NODE B
FIGURE A-5: NODE A/NODE B CIRCUIT

text_image
VCC R18 270 D2 11 R19 270 D3 11 R21 270 D4 11 R22 270 D5 11 VCC JP4 JUMPER IPSP™ Programming Header J6 2 1 3 5 6 7 8 9 -18 HD/R2X5 GND J5 U15 VDD GP9 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCC VCCA.7 CAPS PAGE
FIGURE A-6: CAPACITORS CIRCUIT

text_image
UB:B 3 UB:C 5 UB:D 9 UB:E 11 UB:F 12 GND Vcc Vcc C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF . GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND GND Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc Vcc C23 C24 C25 C26 C27 C28 33 μF 100 pF C29 .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1 μF .1μF 33 μF 100 pF X1 X2 X3 FDUCAL FDUCAL FDUCALNOTES:
Index
B
Basic View Tutorial:
Setting the Numeric Base 17
Setting up the Basic Template 13
Starting the Program.... 17
Board Components 7
C
CAN Messages 22
Customer Support.... 3
D
Document Layout 1
E
Establishing Communications 20
H
Hardware Installation 10
|
Installing:
Hardware 10
Software.... 11
K
Kit Components 6
M
Microchip Internet Web Site 3
0
Other Capabilities:
External Bus Connections 7
External CAN Bus Connector 7
Oscillator Configurations.... 35
Prototyping Area 36
P
Product Overview and Installation:
Board Components.... 7
Key Areas of the Development Board 6
Kit Components 6
System Requirements 5
Programming the User Defaults:
Device Programmer 29
PC Software.... 30
Programming via the ICSP™ Connector ..... 34
R
Recommended Reading 2
Register Template Windows 27
Register View Tutorial:
Setting the Numeric Base 27
Setting Up the Evaluation Mode 23
Starting the Program.... 26
s
Schematic and Layouts.... 39
Software Installation.... 11
System Requirements.... 5
T
Troubleshooting 2
U
Updates.... 1
W
What is the MCP250XX Development Kit? 5
WORLDWIDE SALES AND SERVICE
AMERICAS
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support: 480-792-7627
Web Address: http://www.microchip.com
Atlanta
3780 Mansell Road, Suite 130
Alpharetta, GA 30022
Tel: 770-640-0034
Fax: 770-640-0307
Boston
2 Lan Drive, Suite 120
Westford, MA 01886
Tel: 978-692-3848
Fax: 978-692-3821
Chicago
333 Pierce Road, Suite 180
Itasca, IL 60143
Tel: 630-285-0071
Fax: 630-285-0075
Dallas
4570 Westgrove Drive, Suite 160
Addison, TX 75001
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Tri-Atria Office Building
32255 Northwestern Highway, Suite 190
Farmington Hills, MI 48334
Tel: 248-538-2250
Fax: 248-538-2260
Kokomo
2767 S. Albright Road
Kokomo, IN 46902
Tel: 765-864-8360
Fax: 765-864-8387
Los Angeles
18201 Von Karman, Suite 1090
Irvine, CA 92612
Tel: 949-263-1888
Fax: 949-263-1338
San Jose
1300 Terra Bella Avenue
Mountain View, CA 94043
Tel: 650-215-1444
Fax: 650-961-0286
Toronto
6285 Northam Drive, Suite 108
Mississauga, Ontario L4V 1X5, Canada
Tel: 905-673-0699
Fax: 905-673-6509
ASIA/PACIFIC
Australia
Suite 22, 41 Rawson Street
Epping 2121, NSW
Australia
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
China - Beijing
Unit 706B
Wan Tai Bei Hai Bldg.
No. 6 Chaoyangmen Bei Str.
Beijing, 100027, China
Tel: 86-10-85282100
Fax: 86-10-85282104
China - Chengdu
Rm. 2401-2402, 24th Floor,
Ming Xing Financial Tower
No. 88 TIDU Street
Chengdu 610016, China
Tel: 86-28-86766200
Fax: 86-28-86766599
China - Fuzhou
Unit 28F, World Trade Plaza
No. 71 Wusi Road
Fuzhou 350001, China
Tel: 86-591-7503506
Fax: 86-591-7503521
China - Hong Kong SAR
Unit 901-6, Tower 2, Metroplaza
223 Hing Fong Road
Kwai Fong, N.T., Hong Kong
Tel: 852-2401-1200
Fax: 852-2401-3431
China - Shanghai
Room 701, Bldg. B
Far East International Plaza
No. 317 Xian Xia Road
Shanghai, 200051
Tel: 86-21-6275-5700
Fax: 86-21-6275-5060
China - Shenzhen
Rm. 1812, 18/F, Building A, United Plaza
No. 5022 Binhe Road, Futian District
Shenzhen 518033, China
Tel: 86-755-82901380
Fax: 86-755-8295-1393
China - Shunde
Room 401, Hongjian Building, No. 2
Fengxiangnan Road, Ronggui Town, Shunde
District, Foshan City, Guangdong 528303, China
Tel: 86-757-28395507 Fax: 86-757-28395571
China - Qingdao
Rm. B505A, Fullhope Plaza,
No. 12 Hong Kong Central Rd
Qingdao 266071, China
Tel: 86-532-5027355 Fax: 86-532-5027205
India
Divyasree Chambers
1 Floor, Wing A (A3/A4)
No. 11, O'Shaugnessey Road
Bangalore, 560 025, India
Tel: 91-80-2290061 Fax: 91-80-2290062
Japan
Benex S-1 6F
3-18-20, Shinyokohama
Kohoku-Ku, Yokohama-shi
Kanagawa, 222-0033, Japan
Tel: 81-45-471-6166 Fax: 81-45-471-6122
Korea
168-1, Youngbo Bldg. 3 Floor
Samsung-Dong, Kangnam-Ku
Seoul, Korea 135-882
Tel: 82-2-554-7200 Fax: 82-2-558-5932 or
82-2-558-5934
Singapore
200 Middle Road
07-02 Prime Centre
Singapore, 188980
Tel: 65-6334-8870 Fax: 65-6334-8850
Taiwan
Kaohsiung Branch
30F - 1 No. 8
Min Chuan 2nd Road
Kaohsiung 806, Taiwan
Tel: 886-7-536-4818
Fax: 886-7-536-4803
Taiwan
Taiwan Branch
11F-3, No. 207
Tung Hua North Road
Taipei, 105, Taiwan
Tel: 886-2-2717-7175 Fax: 886-2-2545-0139
EUROPE
Austria
Durisolstrasse 2
A-4600 Wels
Austria
Tel: 43-7242-2244-399
Fax: 43-7242-2244-393
Denmark
Regus Business Centre
Lautrup hoj 1-3
Ballerup DK-2750 Denmark
D-85737 Ismaning, Germany
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Italy
Via Quasimodo, 12
20025 Legnano (MI)
Milan, Italy
Tel: 39-0331-742611
Fax: 39-0331-466781
Netherlands
P. A. De Biesbosch 14
NL-5152 SC Drunen, Netherlands
Tel: 31-416-690399
Fax: 31-416-690340
United Kingdom
505 Eskdale Road
Winnersh Triangle
Wokingham
Berkshire, England RG41 5TU
Tel: 44-118-921-5869
Fax: 44-118-921-5820
01/26/04