Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MCP2510-IST Datasheet(PDF) 57 Page - Microchip Technology

Part # MCP2510-IST
Description  Stand-Alone CAN Controller with SPI Interface
Download  76 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP2510-IST Datasheet(HTML) 57 Page - Microchip Technology

Back Button MCP2510-IST Datasheet HTML 53Page - Microchip Technology MCP2510-IST Datasheet HTML 54Page - Microchip Technology MCP2510-IST Datasheet HTML 55Page - Microchip Technology MCP2510-IST Datasheet HTML 56Page - Microchip Technology MCP2510-IST Datasheet HTML 57Page - Microchip Technology MCP2510-IST Datasheet HTML 58Page - Microchip Technology MCP2510-IST Datasheet HTML 59Page - Microchip Technology MCP2510-IST Datasheet HTML 60Page - Microchip Technology MCP2510-IST Datasheet HTML 61Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 57 / 76 page
background image
 2000 Microchip Technology Inc.
Preliminary
DS21291C-page 57
MCP2510
11.0
SPI INTERFACE
11.1
Overview
The MCP2510 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 MCP2510, 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. Refer to
Figure 11-8 and Figure 11-9 for detailed input and out-
put timing diagrams for both Mode 0,0 and Mode 1,1
operation.
11.2
Read Instruction
The Read Instruction is started by lowering the CS pin.
The read instruction is then sent to the MCP2510 fol-
lowed by the 8-bit address (A7 through A0). After the
read instruction and address are sent, the data stored
in the register at the selected address will be shifted out
on the SO pin. The internal address pointer is automat-
ically incremented to the next address after 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 11-2).
11.3
Write Instruction
The Write Instruction is started by lowering the CS pin.
The write instruction is then sent to the MCP2510 fol-
lowed 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, previous bytes in the command will have
been written. Refer to the timing diagram in Figure 11-3
for more detailed illustration of the byte write sequence.
11.4
Request To Send (RTS) Instruction
The RTS command can be used to initiate message
transmission for one or more of the transmit buffers.
The part is selected by lowering the CS pin and the RTS
command byte is then sent to the MCP2510. As shown
in Figure 11-4, the last 3 bits of this command indicate
which transmit buffer(s) are enabled to send. This com-
mand will set the TxBnCTRL.TXREQ bit for the respec-
tive 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.
11.5
Read Status Instruction
The Read Status Instruction allows single instruction
access to some of the often used status bits for mes-
sage reception and transmission.
The part is selected by lowering the CS pin and the read
status command byte, shown in Figure 11-6, is sent to
the MCP2510. After the command byte is sent, the
MCP2510 will return eight bits of data that contain the
status. If additional clocks are sent after the first eight
bits are transmitted, the MCP2510 will continue to output
the status bits as long as the CS pin is held low and
clocks are provided on SCK. Each status bit returned in
this command may also be read by using the standard
read command with the appropriate register address.
11.6
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 regis-
ters. See Section 10.0 (register map) to determine
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 MCP2510.
After the command byte is sent, the address for the
register is sent followed by the mask byte and then the
data byte. 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-1)
11.7
Reset Instruction
The Reset Instruction can be used to re-initialize the
internal registers of the MCP2510 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 which requires
selecting the device by pulling CS low, sending the
instruction byte, and then raising CS. It is highly recom-
mended that the reset command be sent (or the
RESET pin be lowered) as part of the power-on initial-
ization sequence.
FIGURE 11-1: Bit Modify
Mask byte
Data byte
Previous
Register
Contents
Resulting
Register
Contents
00 1
1
11
00
XX 1
1
00
XX
01 0
1
10
00
01 1
1
00
00


Similar Part No. - MCP2510-IST

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
MCP2510-ISO MICROCHIP-MCP2510-ISO Datasheet
703Kb / 80P
   Stand-Alone CAN Controller with SPIInterface
12/08/06
More results

Similar Description - MCP2510-IST

ManufacturerPart #DatasheetDescription
logo
Microchip Technology
MCP2515T-ESTRB4 MICROCHIP-MCP2515T-ESTRB4 Datasheet
633Kb / 84P
   Stand-Alone CAN Controller With SPI Interface
10/05/07
MCP2515 MICROCHIP-MCP2515_12 Datasheet
1Mb / 92P
   Stand-Alone CAN Controller with SPI Interface
2003-2012 11/29/11
MCP2515-I MICROCHIP-MCP2515-I Datasheet
1Mb / 92P
   Stand-Alone CAN Controller with SPI Interface
11/29/11
MCP2515T-E MICROCHIP-MCP2515T-E Datasheet
633Kb / 84P
   Stand-Alone CAN Controller With SPI Interface
10/05/07
MCP2510I-ST MICROCHIP-MCP2510I-ST Datasheet
1Mb / 80P
   Stand-Alone CAN Controller with SPI??Interface
12/08/06
MCP2515 MICROCHIP-MCP2515 Datasheet
1Mb / 84P
   Stand-Alone CAN Controller With SPI??Interface
2005
MCP2515-E MICROCHIP-MCP2515-E Datasheet
1Mb / 92P
   Stand-Alone CAN Controller with SPI Interface
11/29/11
MCP2510 MICROCHIP-MCP2510_07 Datasheet
1Mb / 80P
   Stand-Alone CAN Controller with SPI??Interface
2007
ENC28J60 MICROCHIP-ENC28J60_12 Datasheet
1Mb / 102P
   Stand-Alone Ethernet Controller with SPI Interface
10/26/12
ENC28J60 MICROCHIP-ENC28J60_06 Datasheet
1Mb / 96P
   Stand-Alone Ethernet Controller with SPI Interface
2006
More results


Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com