480
Chapter 14
FCAN Interface Function
Preliminary User’s Manual U15839EE1V0UM00
(6)
Message data length code registers 00 to 31 (M_DLC0 to M_DLC31)
The M_DLCm registers specify the data length code (DLC) of the corresponding message m
(m = 00 to 31). The DLC determines how many data bytes have to be transmitted, or received
respectively, for the corresponding data frame.
These registers can be read/written in 8-bit units.
Figure 14-29:
Message Data Length Code Registers 00 to 31 (M_DLC00 to M_DLC31)
Notes: 1. The register address is calculated according to the following formula:
effective address = P address offset
2. RFU = Reserved for future use. Ensure to set these bits to 0 when writing to the M_DLCm
register.
3. If a DLC is specified to a value greater 8 for a transmit message, 8-byte transfer is per-
formed regardless of the DLC value.
Remark:
m = 00 to 31
Cautions: 1. If a remote frame is received on a transmit buffer the DLC value leaves
unchanged.
2. If a remote frame is received on a receive buffer the DLC value is updated by the
DLC value of the remote frame.
7
6
5
4
3
2
1
0
Address
Offset
Note 1
Initial value
M_DLCm
RFU
Note 2
RFU
Note 2
RFU
Note 2
RFU
Note 2
DLC3
DLC2
DLC1
DLC0
804H
+ (m
×
20H)
undef.
Bit Position
Bit Name
Function
3 to 0
DLC3 to
DLC0
Specifies the data length code of the transmit/receive message.
DLC3
DLC2
DLC1
DLC0
Data Length Code (DLC)
0
0
0
0
No data bytes (0)
0
0
0
1
1 data byte
0
0
1
0
2 data bytes
0
0
1
1
3 data bytes
0
1
0
0
4 data bytes
0
1
0
1
5 data bytes
0
1
1
0
6 data bytes
0
1
1
1
7 data bytes
1
0
0
0
8 data bytes
Others than above
Setting not recommended
Note 3
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......