MCP2515-E/ST Microchip Technology, MCP2515-E/ST Datasheet - Page 57
![IC CAN CONTROLLER W/SPI 20TSSOP](/photos/6/81/68121/150-20-tssop_sml.jpg)
MCP2515-E/ST
Manufacturer Part Number
MCP2515-E/ST
Description
IC CAN CONTROLLER W/SPI 20TSSOP
Manufacturer
Microchip Technology
Specifications of MCP2515-E/ST
Package / Case
20-TSSOP
Controller Type
CAN Interface
Interface
SPI
Voltage - Supply
2.7 V ~ 5.5 V
Current - Supply
10mA
Operating Temperature
-40°C ~ 125°C
Mounting Type
Surface Mount
Product
Controller Area Network (CAN)
Number Of Transceivers
1
Data Rate
1 Mbps
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2.7 V
Supply Current (max)
10 mA
Maximum Operating Temperature
+ 125 C
Minimum Operating Temperature
- 40 C
Mounting Style
SMD/SMT
Ic Interface Type
SPI
No. Of Tx Buffers
3
No. Of Rx Buffers
2
No. Of Filters
6
No. Of Masks
2
No. Of Interrupts
1
Supply Voltage Range
2.7V To 5.5V
Digital Ic Case Style
TSSOP
Rohs Compliant
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
MCP2515DM-BM - BOARD DEMO FOR MCP2515/51MCP2515DM-PTPLS - BOARD DAUGHTER PICTAIL MCP2515MCP2515DM-PCTL - BOARD DEMO FOR MCP2515DV251001 - KIT DEVELOPMENT CAN MCP2510
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP2515-E/ST
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
10.0
The MCP2515 has five modes of operation. These
modes are:
1.
2.
3.
4.
5.
The
CANCTRL. REQOP bits (see Register 10-1).
When changing modes, the mode will not actually
change until all pending message transmissions are
complete. The requested mode must be verified by read-
ing the CANSTAT.OPMODE bits (see Register 10-2).
10.1
The MCP2515 must be initialized before activation.
This is only possible if the device is in the Configuration
mode. Configuration mode is automatically selected
after power-up, a reset or can be entered from any
other mode by setting the CANTRL.REQOP bits to
‘100’. When Configuration mode is entered, all error
counters are cleared. Configuration mode is the only
mode where the following registers are modifiable:
• CNF1, CNF2, CNF3
• TXRTSCTRL
• Filter registers
• Mask registers
10.2
The MCP2515 has an internal Sleep mode that is used
to minimize the current consumption of the device. The
SPI interface remains active for reading even when the
MCP2515 is in Sleep mode, allowing access to all
registers.
To enter Sleep mode, the mode request bits are set in
the
CANSTAT.OPMODE bits indicate operation mode.
These bits should be read after sending the sleep
command to the MCP2515. The MCP2515 is active
and has not yet entered Sleep mode until these bits
indicate that Sleep mode has been entered.
When in internal Sleep mode, the wake-up interrupt is
still active (if enabled). This is done so that the MCU
can also be placed into a Sleep mode and use the
MCP2515 to wake it up upon detecting activity on the
bus.
2004 Microchip Technology Inc.
Configuration mode.
Normal mode.
Sleep mode.
Listen-only mode.
Loopback mode.
CANCTRL
operational
MODES OF OPERATION
Configuration Mode
Sleep Mode
register
mode
is
(REQOP<2:0>).
selected
via
The
Preliminary
the
When in Sleep mode, the MCP2515 stops its internal
oscillator. The MCP2515 will wake-up when bus activ-
ity occurs or when the MCU sets, via the SPI interface,
the CANINTF.WAKIF bit to ‘generate’ a wake-up
attempt (the CANINTE.WAKIE bit must also be set in
order for the wake-up interrupt to occur).
The TXCAN pin will remain in the recessive state while
the MCP2515 is in Sleep mode.
10.2.1
The device will monitor the RXCAN pin for activity while
it is in Sleep mode. If the CANINTE.WAKIE bit is set,
the device will wake up and generate an interrupt.
Since the internal oscillator is shut down while in Sleep
mode, it will take some amount of time for the oscillator
to start up and the device to enable itself to receive
messages. This Oscillator Start-up Timer (OST) is
defined as 128 T
The device will ignore the message that caused the
wake-up from Sleep mode, as well as any messages
that occur while the device is ‘waking up’. The device
will wake up in Listen-only mode. The MCU must set
Normal mode before the MCP2515 will be able to
communicate on the bus.
The device can be programmed to apply a low-pass
filter function to the RXCAN input line while in internal
Sleep mode. This feature can be used to prevent the
device from waking up due to short glitches on the CAN
bus lines. The CNF3.WAKFIL bit enables or disables
the filter.
10.3
Listen-only mode provides a means for the MCP2515
to receive all messages (including messages with
errors) by configuring the RXBnCTRL.RXM<1:0> bits.
This mode can be used for bus monitor applications or
for detecting the baud rate in ‘hot plugging’ situations.
For auto-baud detection, it is necessary that there are
at least two other nodes that are communicating with
each other. The baud rate can be detected empirically
by testing different values until valid messages are
received.
Listen-only mode is a silent mode, meaning no
messages will be transmitted while in this mode
(including error flags or acknowledge signals). The
filters and masks can be used to allow only particular
messages to be loaded into the receive registers, or the
masks can be set to all zeros to allow a message with
any identifier to pass. The error counters are reset and
deactivated in this state. The Listen-only mode is acti-
vated by setting the mode request bits in the CANCTRL
register.
Listen-only Mode
WAKE-UP FUNCTIONS
OSC
.
MCP2515
DS21801C-page 57