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

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
Features
• Implements CAN V2.0B at 1 Mb/s:
• Receive buffers, masks and filters:
• Data byte filtering on the first two data bytes
• Three transmit buffers with prioritizaton and abort
• High-Speed SPI™ Interface (10 MHz):
• One-shot mode ensures message transmission is
• Clock out pin with programmable prescaler:
• Start-of-Frame (SOF) signal is available for
• Interrupt output pin with selectable enables
• Buffer Full output pins configurable as:
• Request-to-Send (RTS) input pins individually
• Low power CMOS technology:
• Temperature ranges supported:
M
- 0 - 8 byte length in the data field
- Standard and extended data and remote
- Two receive buffers with prioritized message
- Six 29-bit filters
- Two 29-bit masks
(applies to standard data frames)
features.
- SPI modes 0,0 and 1,1
attempted only one time
- Can be used as a clock source for other
monitoring the SOF signal:
- Can be used for time-slot-based protocols
- Interrupt output for each receive buffer
- General purpose output
configurable as:
- Control pins to request transmission for each
- General purpose inputs
- Operates from 2.7V - 5.5V
- 5 mA active current (typical)
- 1 µA standby current (typical) (Sleep mode)
- Industrial (I): -40°C to +85°C
- Extended (E): -40°C to +125°C
2003 Microchip Technology Inc.
frames
storage
device(s)
and/or bus diagnostics to detect early bus
degredation
transmit buffer
Stand-Alone CAN Controller With SPI™ Interface
Preliminary
Description
Microchip Technology’s MCP2515 is a stand-alone
Controller Area Network (CAN) controller that imple-
ments the CAN specification, version 2.0B. It is capable
of transmitting and receiving both standard and
extended data and remote frames. The MCP2515 has
two acceptance masks and six acceptance filters that
are used to filter out unwanted messages, thereby
reducing the host MCUs overhead. The MCP2515
interfaces with MCUs via an industry standard Serial
Peripheral Interface (SPI™).
Package Types
20 LEAD TSSOP
PDIP/SOIC
CLKOUT/SOF
CLKOUT/SOF
TX0RTS
TX1RTS
TX2RTS
TX0RTS
TX1RTS
TX2RTS
RXCAN
RXCAN
TXCAN
TXCAN
MCP2515
OSC2
OSC1
OSC2
OSC1
V
Vss
NC
SS
10
9
1
2
3
4
5
6
7
8
1
2
3
4
5
6
7
8
9
18
17
16
15
20
19
18
17
16
15
14
14
13
12
11
10
13
12
11
DS21801B-page 1
V
RESET
CS
SO
SI
SCK
INT
RX0BF
RX1BF
V
RESET
CS
SO
SI
SCK
INT
RX0BF
RX1BF
NC
DD
DD

Related parts for MCP2515-I/SO

MCP2515-I/SO Summary of contents

Page 1

... Controller Area Network (CAN) controller that imple- ments the CAN specification, version 2.0B capable of transmitting and receiving both standard and extended data and remote frames. The MCP2515 has two acceptance masks and six acceptance filters that are used to filter out unwanted messages, thereby reducing the host MCUs overhead ...

Page 2

... MCP2515 NOTES: DS21801B-page 2 Preliminary 2003 Microchip Technology Inc. ...

Page 3

... Microchip Technology Inc. 1.2 Control Logic The control logic block controls the setup and operation of the MCP2515 by interfacing to the other blocks in require order to pass information and control. Interrupt pins are provided to allow greater system flexibility. There is one multi-purpose interrupt pin, as ...

Page 4

... Chip select input pin for SPI interface Active low device reset input Positive supply for logic and I/O pins No internal connection Preliminary Node Controller SPI™ MCP2515 TX RX XCVR Alternate Pin Function Start-of-Frame signal General purpose digital input. 100 k internal pull- General purpose digital input ...

Page 5

... Transmit/Receive Buffers/Masks/ Filters The MCP2515 has three transmit and two receive buffers, two acceptance masks (one for each receive buffer) and a total of six acceptance filters. Figure 1-3 shows a block diagram of these buffers and their connection to the protocol engine. FIGURE 1-3: ...

Page 6

... MCP2515 1.5 CAN Protocol Engine The CAN protocol engine combines several functional blocks, shown in Figure 1-4 and described below. 1.5.1 PROTOCOL FINITE STATE MACHINE The heart of the engine is the Finite State Machine (FSM). The FSM is a sequencer controlling the sequential data stream between the TX/RX shift register, the CRC register and the bus line ...

Page 7

... CAN MESSAGE FRAMES The MCP2515 supports Standard Data Frames, Extended Data Frames and Remote Frames (standard and extended) as defined in the CAN specification. 2.1 Standard Data Frame The CAN Standard Data Frame is shown in Figure 2-1. In common with all other frames, the frame begins with a Start-Of-Frame (SOF) bit, which is of the dominant state and allows hard synchronization of all nodes ...

Page 8

... Note: Case 2 should never occur with the MCP2515 due to very short internal delays. 2.6 Interframe Space The lnterframe Space separates a preceding frame (of any type) from a subsequent data or remote frame. ...

Page 9

... FIGURE 2-1: STANDARD DATA FRAME 2003 Microchip Technology Inc. Del ACK Bit Slot Ack Del CRC DLC0 DLC3 RB0 Bit Reserved IDE RTR ID0 ID3 10 ID Start-of-Frame Preliminary MCP2515 DS21801B-page 9 ...

Page 10

... MCP2515 FIGURE 2-2: EXTENDED DATA FRAME DS21801B-page 10 Del ACK Bit Slot Ack Del CRC DLC0 DLC3 RB0 bits Reserved RB1 RTR EID0 EID17 IDE SRR ID0 ID3 ID10 Start-Of-Frame Preliminary 2003 Microchip Technology Inc. ...

Page 11

... FIGURE 2-3: REMOTE FRAME 2003 Microchip Technology Inc. Del ACK Bit Slot Ack Del CRC DLC0 DLC3 RB0 bits Reserved RB1 RTR EID0 EID17 IDE SRR ID0 ID3 ID10 Start-Of-Frame Preliminary MCP2515 DS21801B-page 11 ...

Page 12

... MCP2515 FIGURE 2-4: ACTIVE ERROR FRAME Start-Of-Frame DS21801B-page 12 DLC0 DLC3 RB0 Bit Reserved IDE RTR ID0 ID3 10 ID Preliminary 2003 Microchip Technology Inc. ...

Page 13

... FIGURE 2-5: OVERLOAD FRAME 2003 Microchip Technology Inc. Del ACK Bit Slot Ack Del CRC DLC0 DLC3 RB0 IDE RTR ID0 10 ID Start-Of-Frame Preliminary MCP2515 DS21801B-page 13 ...

Page 14

... MCP2515 NOTES: DS21801B-page 14 Preliminary 2003 Microchip Technology Inc. ...

Page 15

... MESSAGE TRANSMISSION 3.1 Transmit Buffers The MCP2515 implements three transmit buffers. Each of these buffers occupies 14 bytes of SRAM and are mapped into the device memory map. The first byte, TXBnCTRL control register associated with the message buffer. The information in this register determines the conditions under which the message will be transmitted and indicates the status of the message transmission (see Register 3-1) ...

Page 16

... Configuration and control of these pins is accomplished using the TXRTSCTRL register (see Register 3-2). The TXRTSCTRL register can only be modified when the MCP2515 is in Configuration mode (see Section 9.0, “Modes of Operation”). If configured to operate as a request-to-send pin, the pin is mapped into the respective TXBnCTRL ...

Page 17

... CTRL.ABAT bit before the message has started transmission, will abort the message TXBnCTRL.TXREQ=0 or CANCTRL.ABAT=1 ? Yes Yes Message error Was No or Lost arbitration ? Lost Arbitration Set TxB CTRL.MLOA N No Set Preliminary MCP2515 No Message Error Set TxBnCTRL.TXERR Yes CANINTE.MEERE? No Generate Interrupt Set CANTINF.MERRF DS21801B-page 17 ...

Page 18

... MCP2515 REGISTER 3-1: TXBnCTRL - TRANSMIT BUFFER n CONTROL REGISTER (ADDRESS: 30h, 40h, 50h) U-0 — ABTF bit 7 bit 7 Unimplemented: Read as “0” bit 6 ABTF: Message Aborted Flag 1 = Message was aborted 0 = Message completed transmission successfully bit 5 MLOA: Message Lost Arbitration 1 = Message lost arbitration while being sent ...

Page 19

... Bit is cleared R/W-x R/W-x R/W-x SID8 SID7 SID6 W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary MCP2515 R/W-0 R/W-0 R/W-0 B2RTSM B1RTSM B0RTSM bit Bit is unknown R/W-x R/W-x R/W-x SID5 SID4 ...

Page 20

... MCP2515 REGISTER 3-4: TXBnSIDL - TRANSMIT BUFFER n STANDARD IDENTIFIER LOW (ADDRESS: 32h, 42h, 52h) R/W-x R/W-x SID2 SID1 bit 7 bit 7-5 SID<2:0>: Standard Identifier Bits <2:0> bit 4 Unimplemented: Reads as '0’ bit 3 EXIDE: Extended Identifier Enable 1 = Message will transmit extended identifier 0 = Message will transmit standard identifier bit 2 Unimplemented: Reads as '0’ ...

Page 21

... R/W-x TXBnDm TXBnDm TXBnDm Transmit Buffer n Data Field Byte Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary MCP2515 R/W-x R/W-x R/W-x DLC2 DLC1 DLC0 bit Bit is unknown R/W-x R/W-x R/W-x TXBnDm TXBnDm TXBnDm ...

Page 22

... MCP2515 NOTES: DS21801B-page 22 Preliminary 2003 Microchip Technology Inc. ...

Page 23

... MESSAGE RECEPTION 4.1 Receive Message Buffering The MCP2515 includes two full receive buffers with multiple acceptance filters for each. There is also a separate Message Assembly Buffer (MAB) that acts as a third receive buffer (see Figure 4-2). 4.1.1 MESSAGE ASSEMBLY BUFFER Of the three Receive buffers, the MAB is always committed to receiving the next message from the bus ...

Page 24

... MCP2515 interprets this as a SOF and a SOF pulse is generated. If the dominant condition does not remain until the sample point, the MCP2515 interprets this as a glitch on the bus and no SOF signal is generated. Figure 4-1 illustrates SOF signalling and glitch filtering. ...

Page 25

... Acceptance Mask Acceptance Filter RXM0 Acceptance Filter Acceptance Filter RXF0 Acceptance Filter Acceptance Filter RXF1 M Identifier A B Data Field Preliminary MCP2515 CONFIGURING RXNBF PINS Pin Status Disabled, high- X impedance Receive buffer interrupt X Digital output = 0 0 Digital output = 1 1 RXM1 RXF2 RXF3 ...

Page 26

... MCP2515 FIGURE 4-3: RECEIVE FLOW FLOWCHART Determines if the receive register is empty and able to accept a new message Is No CANINTF.RX0IF=0 ? Yes Generate Overflow Error: Move message into RXB0 Set CANINTF.RX0IF=1 Set RXB0CTRL.FILHIT <0> according to which filter criteria Yes CANINTE.RX0IE=1? No Are Yes BFPCTRL.B0BFM=1 and BF1CTRL ...

Page 27

... BUKT: Rollover Enable 1 = RXB0 message will rollover and be written to RXB1 if RXB0 is full 0 = Rollover disabled bit 1 BUKT1: Read Only Copy of BUKT Bit (used internally by the MCP2515) bit 0 FILHIT<0>: Filter Hit - indicates which acceptance filter enabled reception of message 1 = Acceptance Filter 1 (RXF1 Acceptance Filter 0 (RXF0) ...

Page 28

... MCP2515 REGISTER 4-2: RXB1CTRL - RECEIVE BUFFER 1 CONTROL (ADDRESS: 70h) U-0 R/W-0 — RXM1 bit 7 bit 7 Unimplemented: Read as '0' bit 6-5 RXM<1:0>: Receive Buffer Operating Mode 11 = Turn mask/filters off; receive any message 10 = Receive only valid messages with extended identifiers that meet filter criteria ...

Page 29

... Bit is cleared R-x R-x R-x R-x SID8 SID7 SID6 W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary MCP2515 R/W-0 R/W-0 R/W-0 B0BFE B1BFM B0BFM bit Bit is unknown R-x R-x R-x SID5 ...

Page 30

... MCP2515 REGISTER 4-5: RXBnSIDL - RECEIVE BUFFER n STANDARD IDENTIFIER LOW (ADDRESS: 62h, 72h) R-x SID2 SID1 bit 7 bit 7-5 SID<2:0>: Standard Identifier Bits <2:0> These bits contain the three least significant bits of the Standard Identifier for the received mes- sage bit 4 SRR: Standard Frame Remote Transmit Request Bit (valid only if IDE bit = ‘0’) ...

Page 31

... Bit is cleared R-x R-x R-x R-x RBnDm5 RBnDm4 RBnDm3 W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary MCP2515 R-x R-x R-x EID2 EID1 EID0 bit Bit is unknown R-x R-x R-x DLC2 ...

Page 32

... If there is a match, that message will be loaded into the appropriate receive buffer. 4.5.1 DATA BYTE FILTERING When receiving standard data frames (11-bit identifier), the MCP2515 automatically applies 16-bits of masks and filters normally associated identifiers to the first 16-bits of the data field (data bytes 0 and 1) ...

Page 33

... This implies that RXB0 has a higher priority than RXB1. 4.5.5 CONFIGURING THE MASKS AND FILTERS The mask and filter registers can only be modified when the MCP2515 is in configuration mode (see Section 9.0, “Modes of Operation”). Acceptance Mask Register RXMn 0 RXMn ...

Page 34

... MCP2515 REGISTER 4-10: RXFnSIDH - FILTER n STANDARD IDENTIFIER HIGH (ADDRESS: 00h, 04h, 08h, 10h, 14h, 18h) R/W-x R/W-x SID10 SID9 bit 7 bit 7-0 SID<10:3>: Standard Identifier Filter Bits <10:3> These bits hold the filter bits to be applied to bits <10:3> of the Standard Identifier portion of a ...

Page 35

... Bit is cleared R/W-0 R/W-0 R/W-0 R/W-0 SID8 SID7 SID6 SID5 W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary MCP2515 R/W-x R/W-x EID9 EID8 bit Bit is unknown R/W-x R/W-x EID1 EID0 bit Bit is unknown R/W-0 ...

Page 36

... MCP2515 REGISTER 4-15: RXMnSIDL - MASK n STANDARD IDENTIFIER LOW (ADDRESS: 21h, 25h) R/W-0 R/W-0 SID2 SID1 bit 7 bit 7-5 SID<2:0>: Standard Identifier Mask Bits <2:0> These bits hold the mask bits to be applied to bits<2:0> of the Standard Identifier portion of a received message bit 4-2 ...

Page 37

... Digital Phase Lock Loop (DPLL) synchronization. The bit timing of the MCP2515 is implemented using a DPLL that is configured to synchronize to the incoming data, and provide the nominal timing for the transmitted data ...

Page 38

... MCP2515 PROPAGATION SEGMENT The Propagation Segment (PropSeg) exists to compensate for physical delays between nodes. The propagation delay is defined as twice the sum of the signal’s propagation time on the bus line, including the delays associated with the bus driver. The PropSeg is programmable from TQ. ...

Page 39

... A transmitting node will not resynchronize on a positive phase error (e > 0 the absolute magnitude of the phase error is greater than the SJW, the appropriate phase segment will adjust by an amount equal to the SJW The Q as follows: Q Preliminary MCP2515 DS21801B-page 39 ...

Page 40

... MCP2515 FIGURE 5-3: SYNCHRONIZING THE BIT TIME Input Signal ( SyncSeg PropSeg SJW (PS1) Input Signal (e > 0) SyncSeg PropSeg SJW (PS1) Resynchronization to a Slower Transmitter (e > 0) Input Signal (e < 0) PropSeg SyncSeg SJW (PS1) Resynchronization to a Faster Transmitter (e < 0) DS21801B-page 40 PhaseSeg1 (PS1) Sample ...

Page 41

... Bit Timing Configuration Registers The configuration registers (CNF1, CNF2, CNF3) control the bit timing for the CAN bus interface. These registers can only be modified when the MCP2515 is in configuration mode (see Section 9.0, “Modes of Operation”). 5.5.1 CNF1 The BRP<5:0> bits control the baud rate prescaler. ...

Page 42

... MCP2515 REGISTER 5-1: CNF1 - CONFIGURATION 1 (ADDRESS: 2Ah) R/W-0 R/W-0 SJW1 SJW0 bit 7 bit 7-6 SJW<1:0>: Synchronization Jump Width Length 11 = Length = Length = Length = Length = bit 5-0 BRP<5:0>: Baud Rate Prescaler (BRP + Legend Readable bit -n = Value at POR REGISTER 5-2: CNF2 - CONFIGURATION 1 (ADDRESS: 29h) ...

Page 43

... R = Readable bit -n = Value at POR 2003 Microchip Technology Inc. U-0 U-0 U-0 — — — Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary MCP2515 R/W-0 R/W-0 R/W-0 PHSEG22 PHSEG21 PHSEG20 bit Bit is unknown DS21801B-page 43 ...

Page 44

... MCP2515 NOTES: DS21801B-page 44 Preliminary 2003 Microchip Technology Inc. ...

Page 45

... If this is not desired, the error interrupt service routine should address this. The current error mode of the MCP2515 can be read by the MCU via the EFLG register (see Register 6-3). Additionally, there is an error state warning flag bit ...

Page 46

... MCP2515 FIGURE 6-1: ERROR MODES STATE DIAGRAM REC < 127 or TEC < 127 Error-Passive REGISTER 6-1: TEC - TRANSMIT ERROR COUNTER (ADDRESS: 1Ch) R-0 TEC7 TEC6 bit 7 bit 7-0 TEC<7:0>: Transmit Error Count Legend Readable bit -n = Value at POR REGISTER 6-2: REC - RECEIVER ERROR COUNTER ...

Page 47

... R = Readable bit -n = Value at POR 2003 Microchip Technology Inc. R-0 R-0 R-0 R-0 TXBO TXEP RXEP TXWAR W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary MCP2515 R-0 R-0 RXWAR EWARN bit Bit is unknown DS21801B-page 47 ...

Page 48

... MCP2515 NOTES: DS21801B-page 48 Preliminary 2003 Microchip Technology Inc. ...

Page 49

... The CANINTF register contains the corresponding interrupt flag bit for each interrupt source. When an interrupt occurs, the INT pin is driven low by the MCP2515 and will remain low until the interrupt is cleared by the MCU. An inter- rupt can not be cleared if the respective condition still prevails ...

Page 50

... MCP2515 7.6.2 RECEIVER WARNING The receive error counter has reached the MCU warning limit of 96. 7.6.3 TRANSMITTER WARNING The transmit error counter has reached the MCU warning limit of 96. 7.6.4 RECEIVER ERROR-PASSIVE The receive error counter has exceeded the error- passive limit of 127 and the device has gone to error- passive state ...

Page 51

... R = Readable bit -n = Value at POR 2003 Microchip Technology Inc. R/W-0 R/W-0 R/W-0 R/W-0 ERRIF TX2IF TX1IF TX0IF W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary MCP2515 R/W-0 R/W-0 RX1IF RX0IF bit Bit is unknown DS21801B-page 51 ...

Page 52

... MCP2515 NOTES: DS21801B-page 52 Preliminary 2003 Microchip Technology Inc. ...

Page 53

... Use of a series cut crys- tal may give a frequency out of the crystal manufactur- ers specifications. A typical oscillator circuit is shown in Figure 8-1. The MCP2515 may also be driven by an external clock source connected to the OSC1 pin, as shown in Figure 8-2 and Figure 8-3. ...

Page 54

... MCP2515 FIGURE 8-3: EXTERNAL SERIES RESONANT CRYSTAL OSCILLATOR CIRCUIT 330 k 74AS04 Note 1: Duty cycle restrictions must be observed (see Table 12-2). DS21801B-page 54 330 k 74AS04 74AS04 0.1 mF XTAL Preliminary To Other Devices MCP2510 OSC1 2003 Microchip Technology Inc. ...

Page 55

... Filter Registers • Mask Registers 9.2 Sleep Mode 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. ...

Page 56

... DS21801B-page 56 9.5 Normal Mode This is the standard MCP2515. In this mode, the device actively monitors all bus messages and generates acknowledge bits, error frames, etc. This is also the only mode in which the MCP2515 will transmit messages over the CAN bus. R/W-1 R/W-0 ...

Page 57

... R = Readable bit -n = Value at POR 2003 Microchip Technology Inc. R-0 R-0 U-0 R-0 — ICOD2 W = Writable bit U = Unimplemented bit, read as ‘0’ ’1’ = Bit is set ’0’ = Bit is cleared Preliminary MCP2515 R-0 R-0 U-0 ICOD1 ICOD0 — bit Bit is unknown DS21801B-page 57 ...

Page 58

... MCP2515 NOTES: DS21801B-page 58 Preliminary 2003 Microchip Technology Inc. ...

Page 59

... REGISTER MAP The register map for the MCP2515 is shown in Table 10-1. Address locations for each register are determined by using the column (higher-order 4 bits) and row (lower-order 4 bits) values. The registers have been arranged to optimize the sequential reading and TABLE 10-1: ...

Page 60

... MCP2515 NOTES: DS21801B-page 60 Preliminary 2003 Microchip Technology Inc. ...

Page 61

... 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. Table 11-1 shows the instruction bytes for all operations ...

Page 62

... FFh. This will allow byte writes to the registers, not bit modify. 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. ...

Page 63

... high-impedance Preliminary MCP2515 23 don’t care data out Address Points to Address 0 0 Receive Buffer 0, 0x61 Start at RXB0SIDH 0 1 Receive Buffer 0, 0x66 Start at RXBD0 1 0 Receive Buffer 1, 0x71 Start at RXB1SIDH 1 1 Receive Buffer 1, 0x76 Start at RXBD1 ...

Page 64

... MCP2515 FIGURE 11-5: LOAD TX BUFFER SCK instruction high-impedance SO FIGURE 11-6: REQUEST-TO-SEND (RTS) INSTRUCTION SCK FIGURE 11-7: BIT MODIFY INSTRUCTION SCK instruction Note: DS21801B-page data instruction high-impedance address byte mask byte high-impedance Not all registers can be accessed with this command. See the register map for a list of the registers that apply ...

Page 65

... Msg Type Received 0 0 Standard data frame 0 1 Standard remote frame 1 0 Extended data frame 1 1 Extended remote frame The extended ID bit is mapped to bit 4. The RTR bit is mapped to bit 3. Preliminary MCP2515 23 repeat data out CANINTF.RX0IF CANINTFL.RX1IF TXB0CNTRL.TXREQ CANINTF.TX0IF TXB1CNTRL.TXREQ CANINTF.TX1IF TXB2CNTRL.TXREQ CANINTF ...

Page 66

... MCP2515 FIGURE 11-10: SPI™ INPUT TIMING CS 1 Mode 1,1 SCK Mode 0 MSB in SO FIGURE 11-11: SPI™ OUTPUT TIMING SCK 12 SO MSB out SI DS21801B-page high-impedance 13 don’t care Preliminary LSB in 2 Mode 1,1 Mode 0,0 14 LSB out 2003 Microchip Technology Inc. ...

Page 67

... Exposure to maximum rating conditions for extended periods may affect device reliability. 2003 Microchip Technology Inc. Preliminary MCP2515 +1.0V DD DS21801B-page 67 ...

Page 68

... MCP2515 TABLE 12-1: DC CHARACTERISTICS DC Characteristics Param. No. Sym Characteristic V Supply Voltage DD V Register Retention Voltage RET High-Level Input Voltage V RXCAN IH SCK, CS, SI, TXnRTS Pins OSC1 RESET Low-Level Input Voltage V RXCAN,TXnRTS Pins IL SCK, CS, SI OSC1 RESET Low-Level Output Voltage V TXCAN OL RXnBF Pins SO, CLKOUT ...

Page 69

... AMB Min Max Units 100 — ns Industrial (I -40°C to +85°C AMB Extended (E -40°C to +125°C AMB Min Max Units 2 — µs Preliminary MCP2515 V = 2. 4.5V to 5.5V DD Conditions / ( OSH OSL V = 2. 4.5V to 5.5V DD Conditions V = 2. ...

Page 70

... MCP2515 TABLE 12-5: CLKOUT PIN AC CHARACTERISTICS CLKOUT Pin AC/DC Characteristics Param. Sym Characteristic No. t CLKOUT Pin High Time h CLKOUT t CLKOUT Pin Low Time l CLKOUT t CLKOUT Pin Rise Time r CLKOUT t CLKOUT Pin Fall Time f CLKOUT t CLOCKOUT Propagation Delay d CLKOUT 15 t Start-Of-Frame High Time ...

Page 71

... AMB Min Max Units — 10 MHz 50 — — — — — ns — 2 µs Note 1 — 2 µs Note 1 45 — — — ns Note 1 50 — ns — — ns Note 1 — 100 ns Note 1 Preliminary MCP2515 V = 2. 4.5V to 5.5V DD Conditions DS21801B-page 71 ...

Page 72

... MCP2515 NOTES: DS21801B-page 72 Preliminary 2003 Microchip Technology Inc. ...

Page 73

... Standard device marking consists of Microchip part number, year code, week code, and traceability code.. 2003 Microchip Technology Inc. Example: MCP2515-I/P 0305765 Example: MCP2515-E/SO 0305765 Example: MCP2515 I/ST765 0305 Preliminary MCP2515 DS21801B-page 73 ...

Page 74

... MCP2515 18-Lead Plastic Dual In-line (P) – 300 mil (PDIP Dimension Limits Number of Pins Pitch Top to Seating Plane Molded Package Thickness Base to Seating Plane Shoulder to Shoulder Width Molded Package Width Overall Length Tip to Seating Plane Lead Thickness Upper Lead Width Lower Lead Width Overall Row Spacing § ...

Page 75

... L .016 .033 .050 .009 .011 .012 B .014 .017 .020 Preliminary MCP2515 A2 MILLIMETERS MIN NOM MAX 18 1.27 2.36 2.50 2.64 2.24 2.31 2.39 0.10 0.20 0.30 10.01 10.34 10.67 7.39 7.49 7.59 11.33 11.53 11.73 0.25 0.50 ...

Page 76

... MCP2515 20-Lead Plastic Thin Shrink Small Outline (ST) – 4.4 mm (TSSOP Dimension Limits Number of Pins Pitch Overall Height Molded Package Thickness Standoff § Overall Width Molded Package Width Molded Package Length Foot Length Foot Angle Lead Thickness Lead Width Mold Draft Angle Top ...

Page 77

... Register on our web site (www.microchip.com/cn) to receive the most current information on our products. 2003 Microchip Technology Inc. Examples: a) MCP2515-E/P: b) MCP2515-I/P: c) MCP2515-E/SO: Extended temperature, d) MCP2515-I/SO: Industrial temperature, e) MCP2515T-I/SO: Tape and Reel, Industrial (Industrial) (Extended) f) MCP2515-I/ST: Industrial temperature, g) MCP2515T-I/ST: Tape and Reel, Industrial Preliminary MCP2515 ...

Page 78

... MCP2515 NOTES: DS21801B-page 78 Preliminary 2003 Microchip Technology Inc. ...

Page 79

... Serialized Quick Turn Programming (SQTP 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 ...

Page 80

... Italy Via Quasimodo, 12 20025 Legnano (MI) Milan, Italy Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands 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 2003 Microchip Technology Inc. ...

Related keywords