Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MCP2517FD Datasheet(PDF) 67 Page - Microchip Technology

Part # MCP2517FD
Description  External CAN FD Controller with SPI Interface
PDF  98 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP2517FD Datasheet(HTML) 67 Page - Microchip Technology

Back Button MCP2517FD Datasheet HTML 63Page - Microchip Technology MCP2517FD Datasheet HTML 64Page - Microchip Technology MCP2517FD Datasheet HTML 65Page - Microchip Technology MCP2517FD Datasheet HTML 66Page - Microchip Technology MCP2517FD Datasheet HTML 67Page - Microchip Technology MCP2517FD Datasheet HTML 68Page - Microchip Technology MCP2517FD Datasheet HTML 69Page - Microchip Technology MCP2517FD Datasheet HTML 70Page - Microchip Technology MCP2517FD Datasheet HTML 71Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 67 / 98 page
background image
 2017-2018 Microchip Technology Inc.
DS20005688B-page 67
MCP2517FD
4.0
SPI INTERFACE
The MCP2517FD is designed to interface directly with
an Serial Peripheral Interface (SPI) port available on
most microcontrollers. The SPI in the microcontroller
must be configured in mode 0,0 or 1,1 in 8-bit operating
mode.
SFR and Message Memory (RAM) are accessed using
SPI instructions. Figure 4-1 illustrates the generic for-
mat of the SPI instructions (SPI mode 0,0). Each
instruction starts with driving nCS low (falling edge on
nCS). The 4-bit command and the 12-bit address are
shifted into SDI on the rising edge of SCK. During a
write instruction, data bits are shifted into SDI on the
rising edge of SCK. During a read instruction, data bits
are shifted out of SDO on the falling edge of SCK. One
or more data bytes are transfered with one instruction.
Data bits are updated on the falling edge of SCK and
must be valid on the rising edge of SCK. Each instruc-
tion ends with driving nCS high (rising edge on nCS).
Refer to Figure 7-1 for detailed input and output timing
for both mode 0,0 and mode 1,1.
Table 4-1 lists the SPI instructions and their format.
FIGURE 4-1:
SPI INSTRUCTION FORMAT
TABLE 4-1:
SPI INSTRUCTIONS
Note 1:
The frequency of SCK has to be less than
or equal to half the frequency of SYSCLK.
This ensures that the synchronization
between SCK and SYSCLK works
correctly.
2:
In order to minimize the Sleep current, the
SDO pin of the MCP2517FD must not be
left floating while the device is in Sleep
mode. This can be achieved by enabling
a pull-up or pull-down resistor inside the
MCU on the pin that is connected to the
SDO pin of the MCP2517FD, while the
MCP2517FD is in Sleep mode.
123
4
567
8
910
11
12
13
14
10
15
16
17
18
19
20
21
22
23
nCS
SCK
SDI
SDO
C<3>
C<2>
C<1>
C<0>
A<11> A<10>
A<9>
A<8>
A<7>
A<6>
A<5>
A<4>
A<3>
A<2>
A<1>
A<0>
24
D<7>
D<6>
D<5>
D<4>
D<3>
D<2>
D<1>
D<0>
D<7>
D<6>
D<5>
D<4>
D<3>
D<2>
D<1>
D<0>
Sample
Update
Sample
Sample
Update
Name
Format
Description
RESET
C = 0b0000; A = 0x000 Resets internal registers to default state; selects Configuration mode.
READ
C = 0b0011; A; D = SDO Read SFR/RAM from address A.
WRITE
C = 0b0010; A; D = SDI Write SFR/RAM to address A.
READ_CRC
C = 0b1011; A; N;
D = SDO; CRC = SDO
Read SFR/RAM from address A. N data bytes. Two bytes CRC.
CRC is calculated on C, A, N and D.
WRITE_CRC
C = 0b1010; A; N;
D = SDI; CRC = SDI
Write SFR/RAM to address A. N data bytes. Two bytes CRC.
CRC is calculated on C, A, N and D.
WRITE_SAFE C = 0b1100; A;
D = SDI; CRC = SDI
Write SFR/RAM to address A. Check CRC before write. CRC is calculated
on C, A and D.
Legend:
C = Command (4 bit), A = Address (12 bit), D = Data (1 to n bytes), N = Number of Bytes (1 byte), CRC (2
bytes)



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 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   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