Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

MCP2517FD Datasheet(PDF) 72 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) 72 Page - Microchip Technology

Back Button MCP2517FD Datasheet HTML 68Page - Microchip Technology MCP2517FD Datasheet HTML 69Page - Microchip Technology MCP2517FD Datasheet HTML 70Page - Microchip Technology MCP2517FD Datasheet HTML 71Page - Microchip Technology MCP2517FD Datasheet HTML 72Page - Microchip Technology MCP2517FD Datasheet HTML 73Page - Microchip Technology MCP2517FD Datasheet HTML 74Page - Microchip Technology MCP2517FD Datasheet HTML 75Page - Microchip Technology MCP2517FD Datasheet HTML 76Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 72 / 98 page
background image
MCP2517FD
DS20005688B-page 72
 2017-2018 Microchip Technology Inc.
4.3.5
MESSAGE MEMORY READ WITH
CRC- READ_CRC
Figure 4-11 illustrates the READ_CRC instruction,
while accessing RAM. The instruction starts with nCS
going low. The Command (C<3:0> = 0b1011), is fol-
lowed by the Address (A<11:0>), and the number of
data Words (N<7:0>). Afterwards, the data byte from
address A (DB[A]) is shifted out, followed by data byte
from address A+1 (DB[A+1]). Next the CRC
(CRC<15:0>) is shifted out. The instruction ends when
nCS goes high.
Read commands should always read a multiple of 4
data bytes. A word is internally read from RAM after
the “N” field, and after every fourth data byte read on
the SPI. In case nCS goes high before a multiple of 4
data bytes are read on SDO, the incomplete read
should be discarded by the microcontroller.
The CRC is provided to the microcontroller. The micro-
controller checks the CRC. No interrupt is generated
on CRC mismatch during a READ_CRC command
inside the MCP2517FD.
If nCS goes high before the last byte of the CRC is
shifted out, a CRC Form Error interrupt is generated:
CRC.FERRIF.
4.3.6
MESSAGE MEMORY WRITE WITH
CRC - WRITE_CRC
Figure 4-12 illustrates the WRITE instruction, while
accessing RAM. The instruction starts with nCS going
low. The Command (C<3:0> = 0b1010), is followed by
the Address (A<11:0>), and the number of data Words
(N<7:0>). Afterwards, the data byte is shifted into
address A (DB[A]), next into address A+1 (DB[A+1]).
Next the CRC (CRC<15:0>) is shifted in. The instruc-
tion ends when nCS goes high.
Write commands must always write a multiple of 4
data bytes. After every fourth data byte, with the falling
edge on SCK, the RAM gets written. In case nCS goes
high before a multiple of 4 data bytes is received on
SDI, the data of the incomplete Word will not be writ-
ten to RAM.
The CRC is checked at the end of the write access. In
case of a CRC mismatch, a CRC interrupt is gener-
ated: CRC.CRCERRIF.
If nCS goes high before the last byte of the CRC is
shifted in, a CRC interrupt is generated: CRC.FERRIF.
FIGURE 4-11:
MESSAGE MEMORY READ WITH CRC INSTRUCTION
FIGURE 4-12:
MESSAGE MEMORY WRITE WITH CRC INSTRUCTION
4.3.7
MESSAGE MEMORY WRITE SAFE
WITH CRC - WRITE_SAFE
This instruction ensures that only correct data is
written to RAM.
Figure 4-10 illustrates the WRITE_SAFE instruction,
while accessing RAM. The instruction starts with nCS
going low. The Command (C<3:0> = 0b1100), is
followed by the Address (A<11:0>). Afterwards, the
data byte is shifted into address A (DB[A]), next into
address A+1 (DB[A+1]), A+2 (DB[A+2]), and A+3
(DB[A+3]). Next the CRC (CRC<15:0>) is shifted in.
The instruction ends when nCS goes high.
The data word is only written to RAM after the CRC is
checked and if it matches.
If the CRC mismatches, the data word is not written to
RAM and a CRC Error interrupt is generated:
CRC.CRCERRIF.
If nCS goes high before the last byte of the CRC is
shifted in, a CRC interrupt is generated: CRC.FERRIF.
FIGURE 4-13:
MESSAGE MEMORY WRITE SAFE WITH CRC INSTRUCTION
DW[A]
DB[A]
DB[A+1]
DB[A+3]
DB[A+2]
0b1011
A<11:0>
nCS Low
nCS High
N<7:0>
CRC<15:8>
CRC<7:0>
DW[A]
DB[A]
DB[A+1]
DB[A+3]
DB[A+2]
0b1010
A<11:0>
nCS Low
nCS High
N<7:0>
CRC<15:8>
CRC<7:0>
DW[A]
DB[A]
DB[A+1]
DB[A+3]
DB[A+2]
0b1100
A<11:0>
nCS Low
nCS High
CRC<15:8>
CRC<7:0>



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