Datasheet

www.ti.com
Message RAM
26.5.3 Message RAM Representation in Debug/Suspend Mode
In Debug/Suspend mode, the Message RAM will be memory mapped. This allows the external debug unit
to access the Message RAM.
NOTE: During Debug/Suspend Mode, the Message RAM cannot be accessed via the IFx register
sets.
Figure 26-5. Message RAM Representation in Debug/Suspend Mode
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Reserved
MsgAddr + 0x00
Reserved Reserved
MXtd MDir Rsvd Msk[28:16]
MsgAddr + 0x04
Msk[15:0]
Rsvd Xtd Dir ID[28:16]
MsgAddr + 0x08
ID[15:0]
Reserved
MsgAddr + 0x0C
Rsvd MsgLst Rsvd UMask TxIE RxTE RmtEn Rsvd EOB Reserved DLC[3:0]
Data 3 Data 2
MsgAddr + 0x10
Data 1 Data 0
Data 7 Data 6
MsgAddr + 0x14
Data 5 Data 4
26.5.4 Message RAM Representation in Direct Access Mode
When the RDA bit in Test Register is set while the DCAN module is in Test Mode (Test bit in CAN control
register is set), the CPU has direct access to the Message RAM. Due to the 32-bit bus structure, the RAM
is split into word lines to support this feature. The CPU has access to one word line at a time only.
In RAM Direct Access mode, the RAM is represented by a continuous memory space within the address
frame of the DCAN module, starting at the Message RAM base address.
NOTE: During Direct Access Mode, the Message RAM cannot be accessed via the IFx register sets.
Before entering RDA mode, it must be ensured that the Init bit is set to avoid any conflicts
with the message handler accessing the message RAM.
Any read or write to the RAM addresses for RamDirectAccess during normal operation mode
(TestMode bit or RDA bit is not set) will be ignored.
Writes to Reserved bits have no effect.
Figure 26-6. Message RAM Representation in RAM Direct Access Mode
Bit 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Data 4 Data 5
MsgAddr + 0x00
Data 6 Data 7
Data 0 Data 1
MsgAddr + 0x04
Data 2 Data 3
ID[27:12]
MsgAddr + 0x08
ID[11:0] DLC[3:0]
Msk[28:13]
MsgAddr + 0x0C
Msk[12:0] Xtd Dir ID[28]
Reserved
MsgAddr + 0x10
Reserved Reserved MsgLst UMask TxIE RxTE RmtEn EOB MXtd MDir
1157
SPNU562May 2014 Controller Area Network (DCAN) Module
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated