MCP2515-I/SO Microchip Technology, MCP2515-I/SO Datasheet - Page 63

IC CAN CONTROLLER W/SPI 18SOIC

MCP2515-I/SO

Manufacturer Part Number
MCP2515-I/SO
Description
IC CAN CONTROLLER W/SPI 18SOIC
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP2515-I/SO

Package / Case
18-SOIC (7.5mm Width)
Controller Type
CAN Interface
Interface
SPI
Voltage - Supply
2.7 V ~ 5.5 V
Current - Supply
10mA
Operating Temperature
-40°C ~ 85°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
+ 85 C
Minimum Operating Temperature
- 40 C
Mounting Style
SMD/SMT
Supply Voltage Range
2.7V To 5.5V
Driver Case Style
SOIC
No. Of Pins
18
Operating Temperature Range
-40°C To +85°C
Filter Terminals
SMD
Supply Voltage Min
2.7V
Rohs Compliant
Yes
Clock Frequency
40MHz
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-I/SO
Manufacturer:
TI
Quantity:
1 000
Part Number:
MCP2515-I/SO
Manufacturer:
MIC
Quantity:
1 000
Part Number:
MCP2515-I/SO
Manufacturer:
MIC
Quantity:
57
Part Number:
MCP2515-I/SO
Manufacturer:
MICROCHIP
Quantity:
8 000
Part Number:
MCP2515-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
MCP2515-I/SO
Quantity:
173
Part Number:
MCP2515-I/SO
0
Company:
Part Number:
MCP2515-I/SO
Quantity:
10 000
12.0
12.1
The MCP2515 is designed to interface directly with the
Serial Peripheral Interface (SPI) port available on many
microcontrollers and supports Mode 0,0 and Mode 1,1.
Commands and data are sent to the device via the SI
pin, with data being clocked in on the rising edge of
SCK. Data is driven out by the MCP2515 (on the SO
line) on the falling edge of SCK. The CS pin must be
held low while any operation is performed.
shows the instruction bytes for all operations. Refer to
Figure 12-10
output timing diagrams for both Mode 0,0 and Mode 1,1
operation.
12.2
The Reset instruction can be used to re-initialize the
internal registers of the MCP2515 and set Configuration
mode. This command provides the same functionality,
via the SPI interface, as the RESET pin.
The Reset instruction is a single-byte instruction that
requires selecting the device by pulling CS low,
sending the instruction byte and then raising CS. It is
highly recommended that the reset command be sent
(or the RESET pin be lowered) as part of the power-on
initialization sequence.
12.3
The Read instruction is started by lowering the CS pin.
The Read instruction is then sent to the MCP2515
followed by the 8-bit address (A7 through A0). Next, the
data stored in the register at the selected address will
be shifted out on the SO pin.
The
incremented to the next address once each byte of
data is shifted out. Therefore, it is possible to read the
next consecutive register address by continuing to pro-
vide clock pulses. Any number of consecutive register
locations can be read sequentially using this method.
The read operation is terminated by raising the CS pin
(Figure
12.4
The Read RX Buffer instruction
a means to quickly address a receive buffer for reading.
This instruction reduces the SPI overhead by one byte,
the address byte. The command byte actually has four
possible values that determine the address pointer
location. Once the command byte is sent, the controller
clocks out the data at the address location the same as
© 2010 Microchip Technology Inc.
Note:
internal
12-2).
SPI INTERFACE
Overview
Reset Instruction
Read Instruction
Read RX Buffer Instruction
The MCP2515 expects the first byte after
lowering CS to be the instruction/
command byte. This implies that CS must
be raised and then lowered again to
invoke another command.
and
address
Figure 12-11
pointer
(Figure
for detailed input and
is
12-3) provides
automatically
Table 12-1
the Read instruction (i.e., sequential reads are
possible). This instruction further reduces the SPI
overhead by automatically clearing the associated
receive flag (CANINTF.RXnIF) when CS is raised at the
end of the command.
12.5
The Write instruction is started by lowering the CS pin.
The Write instruction is then sent to the MCP2515
followed by the address and at least one byte of data.
It is possible to write to sequential registers by
continuing to clock in data bytes, as long as CS is held
low. Data will actually be written to the register on the
rising edge of the SCK line for the D0 bit. If the CS line
is brought high before eight bits are loaded, the write
will be aborted for that data byte and previous bytes in
the command will have been written. Refer to the timing
diagram in
the byte write sequence.
12.6
The Load TX Buffer instruction
the eight-bit address required by a normal write
command. The eight-bit instruction sets the address
pointer to one of six addresses to quickly write to a
transmit buffer that points to the “ID” or “data” address
of any of the three transmit buffers.
12.7
The RTS command can be used to initiate message
transmission for one or more of the transmit buffers.
The MCP2515 is selected by lowering the CS pin. The
RTS command byte is then sent. Shown in
the last 3 bits of this command indicate which transmit
buffer(s) are enabled to send.
This command will set the TxBnCTRL.TXREQ bit for
the respective buffer(s). Any or all of the last three bits
can be set in a single command. If the RTS command
is sent with nnn = 000, the command will be ignored.
12.8
The Read Status instruction allows single instruction
access to some of the often used status bits for
message reception and transmission.
The MCP2515 is selected by lowering the CS pin and
the read status command byte, shown in
is sent to the MCP2515. Once the command byte is
sent, the MCP2515 will return eight bits of data that
contain the status.
If additional clocks are sent after the first eight bits are
transmitted, the MCP2515 will continue to output the
status bits as long as the CS pin is held low and clocks
are provided on SCK.
Write Instruction
Load TX Buffer Instruction
Request-To-Send (RTS)
Instruction
Read Status Instruction
Figure 12-4
for a more detailed illustration of
MCP2515
(Figure
DS21801F-page 63
12-5) eliminates
Figure
Figure
12-8,
12-6,

Related parts for MCP2515-I/SO