Dlc Register X (X = 0 To 15) (Dlcrx) - Fujitsu MB90390 Series Hardware Manual

Table of Contents

Advertisement

CHAPTER 23 CAN CONTROLLER
23.6.22

DLC Register x (x = 0 to 15) (DLCRx)

DLC Register x (x = 0 to 15) (DLCRx) is the DLC register for message buffer x.
■ DLC Register x (x = 0 to 15) (DLCRx)
Address:
CAN0: 003660
CAN1: 003860
CAN2: 003A60
CAN3: 003C60
CAN4: 003E60
[bit15 to bit8] DLC3 to DLC0: DLC register x (x=0 to 15) (DLCRx)
Transmission
• Set the data length (byte count) of a transmitted message when a data frame is transmitted (TRTRx of
the transmitting RTR register (TRTRR) is "0").
• Set the data length (byte count) of a requested message when a remote frame is transmitted (TRTRx =
1).
Note:
Setting other than 0000
Reception
• Store the data length (byte count) of a received message when a data frame is received (RRTRx of the
remote frame request receiving register (RRTRR) is "0").
• Store the data length (byte count) of a requested message when a remote frame is received (RRTRx =
1).
Note:
A write operation to this register should be performed in words. A write operation in bytes causes
undefined data to be written to the upper byte at writing to the lower byte. Writing to the upper byte is
ignored.
498
Figure 23.6-25 Configuration of the DLC Registers (DLCRx)
bit
7
6
+ 2 × x
H
+ 2 × x
H
-
-
+ 2 × x
H
+ 2 × x
H
-
-
+ 2 × x
H
to 1000
(0 to 8 bytes) is prohibited.
B
B
5
4
3
2
1
0
DLC3 DLC2 DLC1 DLC0
-
-
-
-
R/W
R/W
R/W R/W
DLCRnx (lower)
Initial value
- - - - X X X X
B
x = 0 to 15
n = 0, 1, 2, 3, 4

Advertisement

Table of Contents
loading

Table of Contents