NEC UPD703116 User Manual page 519

32-bit single-chip microcontrollers
Table of Contents

Advertisement

Figure 11-4. Time Stamp Function Setting for Message Transmission (When M_CTRL Register's ATS Bit = 1)
Time stamp
counter
<Explanation>
<1> The time stamp counter value is captured to the temporary buffer when the SOF is detected on the CAN bus.
<2> The value of the temporary buffer is added to the last 2 bytes of the data length code
to DLC0 of the M_DLCn register.
Note The ATS bit of the M_CTRLn register must be 1 and the data length must be more than 2 bytes to add
the time stamp counter value to the transmit message.
Remark
n = 00 to 31
Table 11-3. Example When Adding Captured Time Stamp Counter Value to Last 2 Bytes of Transmit Message
Data Field
Data 1
DLC
Not e 1
Bi t Val u e
1
M_DATAn0
register value
2
Note 2
Note 3
3
M_DATAn0
Note 2
register value
4
M_DATAn0
M_DATAn1
register value
register value
5
M_DATAn0
M_DATAn1
register value
register value
6
M_DATAn0
M_DATAn1
register value
register value
7
M_DATAn0
M_DATAn1
register value
register value
8
M_DATAn0
M_DATAn1
register value
register value
9 to 15
M_DATAn0
M_DATAn1
register value
register value
Notes 1.
See 11.10 (2) CAN message data length registers 00 to 31 (M_DLC00 to M_DLC31).
2.
The lower 8 bits of the time stamp counter value when the SOF is detected on the CAN bus
3.
The higher 8 bits of the time stamp counter value when the SOF is detected on the CAN bus
Remark
n = 00 to 31
CHAPTER 11 FCAN CONTROLLER
SOF
Message
<1>
Temporary
Data 2
Data 3
Data 4
Note 3
Note 2
Note 3
M_DATAn2
Note 2
register value
M_DATAn2
M_DATAn3
register value
register value
M_DATAn2
M_DATAn3
register value
register value
M_DATAn2
M_DATAn3
register value
register value
M_DATAn2
M_DATAn3
register value
register value
User's Manual U14492EJ5V0UD
ACK field
<2>
buffer
Data 5
Data 6
Note 3
Note 2
Note 3
M_DATAn4
Note 2
register value
M_DATAn4
M_DATAn5
register value
register value
M_DATAn4
M_DATAn5
register value
register value
EOF
Note
specified by bits DLC3
Data 7
Data 8
Note 3
Note 2
Note 3
Note 2
Note 3
519

Advertisement

Table of Contents
loading

Table of Contents