数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

MCP2518FD 数据表(PDF) 71 Page - Microchip Technology

部件名 MCP2518FD
功能描述  External CAN FD Controller with SPI Interface
PDF  96 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

MCP2518FD 数据表(HTML) 71 Page - Microchip Technology

Back Button MCP2518FD Datasheet HTML 67Page - Microchip Technology MCP2518FD Datasheet HTML 68Page - Microchip Technology MCP2518FD Datasheet HTML 69Page - Microchip Technology MCP2518FD Datasheet HTML 70Page - Microchip Technology MCP2518FD Datasheet HTML 71Page - Microchip Technology MCP2518FD Datasheet HTML 72Page - Microchip Technology MCP2518FD Datasheet HTML 73Page - Microchip Technology MCP2518FD Datasheet HTML 74Page - Microchip Technology MCP2518FD Datasheet HTML 75Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 71 / 96 page
background image
 2019 Microchip Technology Inc.
DS20000000A-page 71
MCP2518FD
4.3.2
SFR READ WITH CRC – READ_CRC
Figure 4-8 illustrates the READ_CRC instruction,
while accessing SFR. The instruction starts with nCS
going low. The Command (C<3:0> = 0b1011), is
followed by the Address (A<11:0>), and the number of
data bytes (N<7:0>). Afterwards, the data byte from
address A (DB[A]) is shifted out, followed by the data
byte from address A+1 (DB[A+1]). Any number of data
bytes can be read. Next the CRC is shifted out
(CRC<15:0>). The instruction ends when nCS goes
high.
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 MCP2518FD device.
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.3
SFR WRITE
WITH CRC – WRITE_CRC
Figure 4-9 illustrates the WRITE_CRC instruction,
while accessing SFR. The instruction starts with nCS
going low. The Command (C<3:0> = 0b1010), is fol-
lowed by the Address (A<11:0>), and the number of
data bytes (N<7:0>). Afterwards, the data byte is
shifted into address A (DB[A]), next into address A+1
(DB[A+1]). Any number of data bytes can be written.
Next the CRC is shifted in (CRC<15:0>). The instruc-
tion ends when nCS goes high.
The SFR is written to the register after the data byte
was shifted in on SDI, with the falling edge on SCK.
Data bytes are written to the register before the CRC
is checked.
The CRC is checked at the end of the write access. In
case of a CRC mismatch, a CRC Error interrupt is
generated: CRC.CRCERRIF.
If nCS goes high before the last byte of the CRC is
shifted in, a CRC Form Error interrupt is generated:
CRC.FERRIF.
FIGURE 4-8:
SFR READ WITH CRC INSTRUCTION
FIGURE 4-9:
SFR WRITE WITH CRC INSTRUCTION
4.3.4
SFR WRITE SAFE
WITH CRC – WRITE_SAFE
This instruction ensures that only correct data is writ-
ten to the SFR.
Figure 4-10 illustrates the WRITE_SAFE instruction,
while accessing SFR. The instruction starts with nCS
going low. The Command (C<3:0> = 0b1100), is fol-
lowed by the Address (A<11:0>). Afterwards, one data
byte is shifted into address A (DB[A]). Next the CRC
(CRC<15:0>) is shifted in. The instruction ends when
nCS goes high.
The data byte is only written to the SFR after the CRC
is checked and if it matches.
If the CRC mismatches, the data byte is not written to
the SFR 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 Form Error interrupt is generated:
CRC.FERRIF.
FIGURE 4-10:
SFR WRITE SAFE WITH CRC INSTRUCTION
0b1011
A<11:0>
DB[A]
DB[A+1]
DB[A+n-1]
nCS Low
CRC<15:8>
CRC<7:0>
nCS High
N<7:0>
0b1010
A<11:0>
DB[A]
DB[A+1]
DB[A+n-1]
nCS Low
CRC<15:8>
CRC<7:0>
nCS High
N<7:0>
0b1100
A<11:0>
DB[A]
CRC<15:8>
CRC<7:0>
nCS Low
nCS High



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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