UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 597

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(20) CAN message data length register m (C0MDLCm)
The C0MDLCm register is used to set the number of bytes of the data field of a message buffer.
After reset: 0000xxxxB
MDLC3
Note The data and DLC value actually transmitted to CAN bus are as follows.
Cautions 1. Be sure to set bits 7 to 4 0000B.
C0MDLCm
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
Data frame
Remote frame
MDLC2
2. Receive data is stored in as many C0MDATAxm as the number of bytes
Type of Transmit Frame
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
(however, the upper limit is 8) corresponding to DLC of the received frame.
C0MDATAxm in which no data is stored is undefined.
MDLC1
7
0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
R/W
MDLC0
6
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Preliminary User’s Manual U19748EJ1V0UD
CHAPTER 15 CAN CONTROLLER
Address: See Table 15-16 Register Access Types.
Number of bytes specified by DLC
(However, 8 bytes if DLC
0 bytes
0 bytes
1 byte
2 bytes
3 bytes
4 bytes
5 bytes
6 bytes
7 bytes
8 bytes
Setting prohibited
(If these bits are set during transmission, 8-byte data is transmitted
regardless of the set DLC value when a data frame is transmitted.
However, the DLC actually transmitted to the CAN bus is the DLC
value set to this register.)
5
0
Length of Transmit Data
4
0
Data Length Of Transmit/Receive Message
MDLC3
3
Note
8)
MDLC2
2
MDLC1
MDLC[3:0]
1
DLC Transmitted
MDLC0
0
595

Related parts for UPD78F0838