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

X  

MCP2518FD Datasheet(PDF) 69 Page - Microchip Technology

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

MCP2518FD Datasheet(HTML) 69 Page - Microchip Technology

Back Button MCP2518FD Datasheet HTML 65Page - Microchip Technology MCP2518FD Datasheet HTML 66Page - Microchip Technology 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 69 / 96 page
background image
 2019 Microchip Technology Inc.
DS20000000A-page 69
MCP2518FD
4.2
Message Memory Access
The Message Memory (RAM) access is word-oriented
(4 bytes at a time). Any multiple of 4 data bytes can be
read or written with one instruction. The address is
incremented by one automatically after every data
byte. The address rolls over from 0xBFF to 0x400.
Writes and Reads must be word-aligned. The lower two
bits of the address are always assumed to be 0. It is not
possible to do unaligned reads/writes.
The following SPI instructions only show the different
fields and their values. Every instruction follows the
generic format illustrated in Figure 4-1.
4.2.1
MESSAGE MEMORY READ – READ
Figure 4-5 illustrates the READ instruction, while
accessing RAM. The instruction starts with nCS going
low. The Command (C<3:0> = 0b0011), is followed by
the Address (A<11:0>). Afterwards, the data byte from
address A (DB[A]) is shifted out, followed by data byte
from address A+1 (DB[A+1]). The instruction ends
when nCS goes high.
Read commands from RAM must always read a multi-
ple of 4 data bytes. A word is internally read from RAM
after the address field, and after every fourth data byte
read on the SPI. In case nCS goes high before a multi-
ple of 4 data bytes is read on SDO, the incomplete
read should be discarded by the microcontroller.
4.2.2
MESSAGE MEMORY
WRITE – WRITE
Figure 4-6 illustrates the WRITE instruction, while
accessing RAM. The instruction starts with nCS going
low. The Command (C<3:0> = 0b0010), 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]). The instruction 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 Word 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 written to RAM.
FIGURE 4-5:
MESSAGE MEMORY READ INSTRUCTION
FIGURE 4-6:
MESSAGE MEMORY WRITE INSTRUCTION
DW[A]
DB[A]
DB[A+1]
DB[A+3]
DB[A+2]
0b0011
A<11:0>
nCS Low
nCS High
DW[A]
DB[A]
DB[A+1]
DB[A+3]
DB[A+2]
0b0010
A<11: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


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