Datasheet
MCP2510
DS21291E-page 58 2002 Microchip Technology Inc.
FIGURE 11-1: BIT MODIFY
TABLE 11-1: SPI INSTRUCTION SET
FIGURE 11-2: READ INSTRUCTION
FIGURE 11-3: BYTE WRITE INSTRUCTION
Mask byte
Data byte
Previous
Register
Contents
Resulting
Register
Contents
001 11100
XX1 100XX
010 11000
011 10000
Instruction Name Instruction Format Description
RESET 1100 0000 Resets internal registers to default state, set configuration mode
READ 0000 0011 Read data from register beginning at selected address
WRITE 0000 0010 Write data to register beginning at selected address
RTS
(Request To Send)
1000 0nnn Sets TXBnCTRL.TXREQ bit for one or more transmit buffers
Read Status 1010 0000 Polling command that outputs status bits for transmit/receive functions
Bit Modify 0000 0101 Bit modify selected registers
10000nnn
Request to send for TXB0
Request to send for TXB1
Request to send for TXB2
SO
SI
SCK
CS
0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 221
01000001A76541A0
76543210
instruction address byte
data out
high impedance
23
32
don’t care
SO
SI
SCK
CS
0 2 3 4 5 6 7 8 910111213141516171819 2021221
0000000A7654
1A0
76543210
instruction
high impedance
23
321
address byte
data byte