MCP2515-E/SORB4 Microchip, MCP2515-E/SORB4 Datasheet - Page 32
![no-image](/images/no-image-200.jpg)
MCP2515-E/SORB4
Manufacturer Part Number
MCP2515-E/SORB4
Description
Manufacturer
Microchip
Datasheet
1.MCP2515-ESORB4.pdf
(88 pages)
- Current page: 32 of 88
- Download datasheet (2Mb)
MCP2515
4.5
The message acceptance filters and masks are used to
determine if a message in the message assembly buf-
fer should be loaded into either of the receive buffers
(see
received into the MAB, the identifier fields of the mes-
sage are compared to the filter values. If there is a
match, that message will be loaded into the appropriate
receive buffer.
4.5.1
When receiving standard data frames (11-bit identifier),
the MCP2515 automatically applies 16 bits of masks
and
identifiers to the first 16 bits of the data field (data bytes
0 and 1).
apply to extended and standard data frames.
Data byte filtering reduces the load on the MCU when
implementing Higher Layer Protocols (HLPs) that filter
on the first data byte (e.g., DeviceNet™).
4.5.2
The filter masks (see Register 4-14 through Register 4-
17) are used to determine which bits in the identifier are
examined with the filters. A truth table is shown in
Table 4-2
FIGURE 4-4:
DS21801F-page 32
* The two MSb (EID17 and EID16) mask and filter bits are not used.
ID10
ID10
Figure
filters
Message Acceptance Filters and
Masks
that indicates how each bit in the identifier is
Figure 4-4
DATA BYTE FILTERING
FILTER MATCHING
11-bit ID Standard frame
4-5). Once a valid message has been
normally
illustrates how masks and filters
MASKS AND FILTERS APPLY TO CAN FRAMES
associated
Masks and Filters apply to the entire 29-bit ID field
with
ID0
ID0
extended
EID17
*
Standard Data Frame
Extended Frame
Data Byte 0
compared to the masks and filters to determine if the
message should be loaded into a receive buffer. The
mask essentially determines which bits to apply the
acceptance filters to. If any mask bit is set to a zero,
that bit will automatically be accepted, regardless of the
filter bit.
TABLE 4-2:
As shown in the receive buffers block diagram
(Figure
filter mask RXM0) are associated with RXB0. Filters
RXF2, RXF3, RXF4, RXF5 and mask RXM1 are
associated with RXB1.
Mask Bit n
Note:
0
1
1
1
1
16-bit data filtering *
4-2), acceptance filters RXF0 and RXF1 (and
X = don’t care
Filter Bit n
FILTER/MASK TRUTH TABLE
X
0
0
1
1
© 2010 Microchip Technology Inc.
Message
Identifier
Data Byte 1
bit
X
0
1
0
1
Reject bit n
Accept or
Accept
Accept
Accept
Reject
Reject
EID0
Related parts for MCP2515-E/SORB4
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![MCP2515-E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC CAN CONTROLLER W/SPI 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![MCP2515-E/ST](/photos/6/81/68121/150-20-tssop_tmb.jpg)
Part Number:
Description:
IC CAN CONTROLLER W/SPI 20TSSOP
Manufacturer:
Microchip Technology
Datasheet:
![MCP2515-E/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,LAN TRANSCEIVER,SINGLE,CMOS,DIP,18PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![MCP2515-E/PRB2](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
CAN controller with SPI interface, 125 deg C, -40C to +125C, 18-PDIP, TUBE
Manufacturer:
Microchip Technology
Datasheet:
![MCP2515-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC CAN CONTROLLER W/SPI 18SOIC
Manufacturer:
Microchip Technology
Datasheet:
![MCP2515-I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC CAN CONTROLLER W/SPI 18DIP
Manufacturer:
Microchip Technology
Datasheet:
![MCP2515-I/ST](/photos/6/81/68121/150-20-tssop_tmb.jpg)
Part Number:
Description:
IC CAN CONTROLLER W/SPI 20TSSOP
Manufacturer:
Microchip Technology
Datasheet:
![MA300015](/photos/8/96/89623/ma300015_tmb.jpg)
Part Number:
Description:
MODULE PLUG-IN DSPIC30F 80QFP
Manufacturer:
Microchip Technology
Datasheet:
![MA180021](/photos/8/96/89639/ma180021_tmb.jpg)
Part Number:
Description:
MODULE PLUG-IN 18F87J50 FS USB
Manufacturer:
Microchip Technology
Datasheet:
![AC164131](/photos/8/96/89652/ac164131__tmb.jpg)
Part Number:
Description:
BOARD DAUGHTER USB PICTAIL PLUS
Manufacturer:
Microchip Technology
Datasheet:
![MA330024](/photos/8/98/89858/ma330024_tmb.jpg)
Part Number:
Description:
MODULE PLUG-IN DSPIC33F 100TQFP
Manufacturer:
Microchip Technology
Datasheet:
![AC164129](/photos/9/3/90374/ac164129_tmb.jpg)
Part Number:
Description:
CARD DAUGHTER AUDIO PICTAIL PLUS
Manufacturer:
Microchip Technology
Datasheet:
![MCP2200EV-VCP](/photos/9/4/90411/mcp2200ev-vcp_tmb.jpg)
Part Number:
Description:
MOD EVAL USB/RS232 MCP2200
Manufacturer:
Microchip Technology
Datasheet: