MCP2510 To MCP2515
MCP2510 To MCP2515
MCP2510 To MCP2515
AN872
Pat Richards
Microchip Technology Inc.
INTRODUCTION
Enhancements
40 MHz operation
10 MHz Serial Peripheral Interface (SPI)
Data byte filtering on the first 16 bits in the data
field (standard 11-bit frames only)
One-shot mode to automatically abort messages
that lose arbitration or are interrupted by an error
frame
Start-of-Frame (SOF) output pin used to detect
valid start-of-frames
Three new SPI instructions:
- Read RX Buffer Command
Eliminates the eight bit address required by a
normal read command.
Eight bit instruction that sets the address
pointer to one of four addresses depending
on two bits. Points to the ID or data of the
two receive buffers.
- RX Status Command
Used to quickly read important information
about a received message.
Eight bit instruction followed by the status of
received message: Standard/Extended,
Frame Type (data frame/remote) and filter
match.
- Load TX Buffer Command
Eliminates the eight bit address required by a
normal write command.
Eight bit instruction that sets the address
pointer to one of six addresses to quickly
write to a transmit buffer. Points to the ID or
data address of any of the three transmit
buffers.
Differences
A summary of the differences (including the
enhancements and other changes) is shown in Table 1.
The sections following the table decribe each
difference in greater detail.
DS00872A-page 1
AN872
TABLE 1:
Description
FOSC (max)
SPI clock (max)
Operating voltage
Data byte filtering
One-shot mode
SOF signal
MCP2515
40 MHz
10 MHz
2.7V to 5.5V
The mask registers
POR state is zero
(i.e., masks are off).
Ensures that the
transmit message is
attempted only one
time.
Generates a pulse
output at the
beginning of a
message.
Speeds up data
throughput.
17
MCP2510
25 MHz
5 MHz
3.0V to 5.5V
None. The mask
registers POR state
is unknown.
Not implemented
Minimal
Not implemented
Minimal
Not implemented
None
16
None
DS00872A-page 2
Using command on
other registers forces
mask = FFh.
Does not reset when
entering Listen-only
mode.
Can only read in
Configuration mode.
Reads 00h in other
modes.
Upgrade
Impact
None
None
None
Minimal
Minimal
Comments
None
Minimal
Minimal
None
None
Minimal
None
Minimal
Minmal
AN872
FOSC
SPI Clock
The maximum SPI frequencies for the MCP2510:
5 MHz for V DD > 4.5V
4 MHz for E-temp VDD > 4.5V
2.5 MHz for VDD = 3.0 to 4.5V
The maximum SPI clock frequency for the MCP2515 is
10 MHz across all voltages and temperatures.
There is no impact when upgrading to the MCP2515.
Operating Voltage
One-shot Mode
The MCP2515 implements a feature to ensure that a
transmit message is attempted only one time. With
One-shot mode enabled, a message will attempt
transmission only one time, regardless of arbitration
loss or error frame.
This enable bit is located in CANCTRL.bit3. This
location is unused and reads zero in the MCP2510.
If the original application does not attempt to initialize
this location to a logic one (which it should not because
the bit is unimplemented in the MCP2510), then using
the MCP2515 will have no effect on the operation.
DS00872A-page 3
AN872
Error Warning Flags (EWARN and
RXWARN)
The EWARN and RXWARN flag bits, located in EFLG,
will clear if the MCP2510 transitions from error-warning
to error-passive.
For the MCP2515, the EWARN and RXWARN bits stay
set if the device transitions to error-passive.
The impact when upgrading to the MCP2515 should be
minimal because an interrupt is generated (if enabled)
whenever either condition is true. If polling for the error
condition, it is possible (though not probable) that the
firmware could mistake an error-passive state as an
error-warning state.
Sleep Mode
To enter Sleep mode with either device, the
CANCTRL.REQOP bits equal b001. Once in Sleep
mode, the REQOP bits remain unchanged in the
MCP2510. However, the MCP2515 REQOP bits will
change to b011 to request Listen-only mode as soon
as the device wakes up from Sleep mode. Note that the
CANSTAT.OPMOD bits still reflect the current mode,
which is Sleep in this case.
The MCP2515 should have minimal affect on the
application when replacing the MCP2510 because the
application should read CANSTAT.OPMOD when
checking the operation mode. The REQOP bits are
only used for requesting modes of operation, not
verifying modes.
SUMMARY
Standby Current
The maximum standby (Sleep mode) current on the
MCP2510 is 5 A across all temperatures. The
maximum standby current on the MCP2515 is 5 A for
temperatures up to 85C and 8 A for temperatures
from 85C to 125C.
DS00872A-page 4
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 microchips 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.
Trademarks
The Microchip name and logo, the Microchip logo, 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.
FilterLab, microID, MXDEV, MXLAB, PICMASTER, SEEVAL
and The Embedded Control Solutions Company are
registered trademarks of Microchip Technology Incorporated
in the U.S.A.
Accuron, Application Maestro, dsPICDEM, dsPICDEM.net,
ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB,
In-Circuit Serial Programming, ICSP, ICEPIC, microPort,
Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM,
PICC, PICkit, PICDEM, PICDEM.net, PowerCal, PowerInfo,
PowerMate, PowerTool, rfLAB, rfPIC, Select Mode,
SmartSensor, SmartShunt, 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.
2003, Microchip Technology Incorporated, Printed in the
U.S.A., All Rights Reserved.
Printed on recycled paper.
Microchip received QS-9000 quality system
certification for its worldwide headquarters,
design and wafer fabrication facilities in
Chandler and Tempe, Arizona in July 1999
and Mountain View, California in March 2002.
The Companys quality system processes and
procedures are QS-9000 compliant for its
PICmicro 8-bit MCUs, KEELOQ code hopping
devices, Serial EEPROMs, microperipherals,
non-volatile memory and analog products. In
addition, Microchips quality system for the
design and manufacture of development
systems is ISO 9001 certified.
DS00872A-page 5
M
WORLDWIDE SALES AND SERVICE
AMERICAS
ASIA/PACIFIC
Corporate Office
Australia
Atlanta
Unit 915
Bei Hai Wan Tai Bldg.
No. 6 Chaoyangmen Beidajie
Beijing, 100027, No. China
Tel: 86-10-85282100
Fax: 86-10-85282104
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
China - Beijing
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 - 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
Phoenix
China - Shunde
San Jose
China - Qingdao
Toronto
India
Divyasree Chambers
1 Floor, Wing A (A3/A4)
No. 11, OShaugnessey 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
DS00872A-page 6
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
Tel: 45-4420-9895 Fax: 45-4420-9910
France
Parc dActivite du Moulin de Massy
43 Rue du Saule Trapu
Batiment A - ler Etage
91300 Massy, France
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Germany
Steinheilstrasse 10
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
07/28/03