参数资料
型号: MCP2515DM-PTPLS
厂商: Microchip Technology
文件页数: 65/92页
文件大小: 0K
描述: BOARD DAUGHTER PICTAIL MCP2515
标准包装: 1
系列: *
主要目的: 接口,CAN 控制器
嵌入式: 是,MCU,8 位
已用 IC / 零件: MCP2515,MCP2551
主要属性: 置于 PICtail Plus 子板内的 CAN 控制器和 CAN 收发器
已供物品: 板,CD
产品目录页面: 685 (CN2011-ZH PDF)
相关产品: MCP2515T-I/ST-ND - IC CAN CONTROLLER W/SPI 20TSSOP
MCP2515T-I/SO-ND - IC CAN CONTROLLER W/SPI 18SOIC
MCP2515T-E/ST-ND - IC CAN CONTROLLER W/SPI 20TSSOP
MCP2515T-E/SO-ND - IC CAN CONTROLLER W/SPI 18SOIC
MCP2515-E/ST-ND - IC CAN CONTROLLER W/SPI 20TSSOP
MCP2515-E/SO-ND - IC CAN CONTROLLER W/SPI 18SOIC
MCP2515-E/P-ND - IC CAN CONTROLLER W/SPI 18DIP
MCP2515-I/ST-ND - IC CAN CONTROLLER W/SPI 20TSSOP
MCP2515-I/SO-ND - IC CAN CONTROLLER W/SPI 18SOIC
MCP2515-I/P-ND - IC CAN CONTROLLER W/SPI 18DIP
更多...
MCP2515
12.0
12.1
SPI INTERFACE
Overview
the same as 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
The MCP2515 is designed to interface directly with the
Serial Peripheral Interface (SPI) port available on many
end of the command.
microcontrollers and supports Mode 0 , 0 and Mode 1 , 1 .
Commands and data are sent to the device via the SI
12.5
WRITE Instruction
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 12-1
shows the instruction bytes for all operations. Refer to
Figure 12-10 and Figure 12-11 for detailed input and
output timing diagrams for both Mode 0 , 0 and Mode
1 , 1 operation.
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
Note:
The MCP2515 expects the first byte after
will be aborted for that data byte and previous bytes in
lowering CS
to be the instruction/
the command will have been written. Refer to the timing
command byte. This implies that CS must
be raised and then lowered again to
invoke another command.
diagram in Figure 12-4 for a more detailed illustration of
the byte write sequence.
12.6
LOAD TX BUFFER Instruction
12.2
RESET Instruction
The LOAD TX BUFFER instruction ( Figure 12-5 ) elimi-
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
nates 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.
requires selecting the device by pulling C S low,
sending the instruction byte and then raising CS. It is
12.7
REQUEST-TO-SEND ( RTS )
highly recommended that the Reset command be sent
(or the RESET pin be lowered) as part of the power-on
initialization sequence.
Instruction
The RTS command can be used to initiate message
transmission for one or more of the transmit buffers.
12.3
READ Instruction
The MCP2515 is selected by lowering the CS pin. The
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 internal Address Pointer is automatically
incremented to the next address once each byte of
RTS command byte is then sent. Shown in Figure 12-6 ,
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.
data is shifted out. Therefore, it is possible to read the
next consecutive register address by continuing to pro-
12.8
READ STATUS Instruction
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
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
12.4
READ RX BUFFER Instruction
the Read Status command byte, shown in Figure 12-8 ,
is sent to the MCP2515. Once the command byte is
The READ RX BUFFER instruction ( Figure 12-3 ) pro-
vides 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
? 2003-2012 Microchip Technology Inc.
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.
DS21801G-page 65
相关PDF资料
PDF描述
MCP3905EV BOARD DEMO FOR MCP3905
MCP402XEV BOARD EVAL FOR MCP402X
MCP42XXEV BOARD EVALUATION MCP42XX
MCP43XXEV BOARD EVALUATION MCP43XX
MCP46XXDM-PTPLS BOARD PICTAIL DIGI POT MCP4XXX
相关代理商/技术参数
参数描述
MCP2515-E 制造商:MICROCHIP 制造商全称:Microchip Technology 功能描述:Stand-Alone CAN Controller with SPI Interface
MCP2515-E/ML 制造商:Microchip Technology Inc 功能描述:
MCP2515-E/P 功能描述:网络控制器与处理器 IC W/ SPI Inter 125dC RoHS:否 制造商:Micrel 产品:Controller Area Network (CAN) 收发器数量: 数据速率: 电源电流(最大值):595 mA 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:PBGA-400 封装:Tray
MCP2515-E/SO 功能描述:网络控制器与处理器 IC W/ SPI Inter 125dC RoHS:否 制造商:Micrel 产品:Controller Area Network (CAN) 收发器数量: 数据速率: 电源电流(最大值):595 mA 最大工作温度:+ 85 C 安装风格:SMD/SMT 封装 / 箱体:PBGA-400 封装:Tray
MCP2515-E/SORB4 制造商:Microchip Technology Inc 功能描述: