MCP2515-I/SO Microchip Technology, MCP2515-I/SO Datasheet - Page 62
![IC CAN CONTROLLER W/SPI 18SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
MCP2515-I/SO
Manufacturer Part Number
MCP2515-I/SO
Description
IC CAN CONTROLLER W/SPI 18SOIC
Manufacturer
Microchip Technology
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
Company:
Part Number:
MCP2515-I/SO
Manufacturer:
TI
Quantity:
1 000
Part Number:
MCP2515-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
MCP2515
11.9
The RX Status instruction (Figure 11-9) is used to
quickly determine which filter matched the message
and message type (standard, extended, remote). After
the command byte is sent, the controller will return
8 bits of data that contain the status data. If more
clocks are sent after the 8 bits are transmitted, the
controller will continue to output the same status bits as
long as the CS pin stays low and clocks are provided.
11.10 Bit Modify Instruction
The Bit Modify instruction provides a means for setting
or clearing individual bits in specific status and control
registers. This command is not available for all
registers. See Section 10.0, “Register Map”, to deter-
mine which registers allow the use of this command.
The part is selected by lowering the CS pin and the Bit
Modify command byte is then sent to the MCP2515.
The command is followed by the address of the
register, the mask byte and finally the data byte.
TABLE 11-1:
DS21801B-page 62
Instruction Name
Note:
Request-To-Send)
Read RX Buffer
Load TX Buffer
Read Status
(Message
RX Status
Bit Modify
RESET
WRITE
READ
RX Status Instruction
RTS
Execute the Bit Modify command on regis-
ters that are not bit modifiable, will force
the mask to FFh. This will allow byte writes
to the registers, not bit modify.
SPI INSTRUCTION SET
Instruction Format
1100 0000
1001 0nm0
0000 0011
0000 0010
0100 0abc
1000 0nnn
1010 0000
1011 0000
0000 0101
Resets internal registers to default state, set configuration mode.
Read data from register beginning at selected address.
When reading a receive buffer, reduces the overhead of a normal
Read command by placing the address pointer at one of four loca-
tions as indicated by ‘n,m’. Note: The associated RX flag bit (CAN-
INTF.RXnIF) will be cleared after bringing CS high.
Write data to register beginning at selected address.
When loading a transmit buffer, reduces the overhead of a normal
Write command by placing the address pointer at one of six loca-
tions as indicated by ‘a,b,c’.
Instructs controller to begin message transmission sequence for
any of the transmit buffers.
Quick polling command that reads several status bits for transmit
and receive functions.
Quick polling command that indicates filter match and message
type (standard, extended, and/or remote) of received message.
Allows the user to set or clear individual bits in a particular register.
Note: Not all registers can be bit modified with this command. Exe-
cuting this command on registers that are not bit modifiable will
force the mask to FFh. See the register map in Section 10.0,
“Register Map”, for a list of the registers that apply.
Preliminary
Request-to-send for TXB2
The mask byte determines which bits in the register will
be allowed to change. A ‘1’ in the mask byte will allow
a bit in the register to change and a ‘0’ will not.
The data byte determines what value the modified bits
in the register will be changed to. A ‘1’ in the data byte
will set the bit and a ‘0’ will clear the bit, provided that
the mask for that bit is set to a ‘1’. (see Figure 11-7)
FIGURE 11-1:
1000 0nnn
Mask byte
Data byte
Previous
Register
Contents
Resulting
Register
Contents
Request-to-send for TXB1
Description
BIT MODIFY
0 0 1
X X 1
0 1 0
0 1 1
2003 Microchip Technology Inc.
Request-to-send for TXBO
1
0
1
0
0
X
0
0
1
0
0
0
0
X
0
0
1
1
1
1