NEC Renesas V850/SC1 User Manual page 634

32-bit single-chip microcontrollers
Hide thumbs Also See for Renesas V850/SC1:
Table of Contents

Advertisement

Figure 19-7. Time Stamp Function Setting for Message Transmission
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
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 19-12. Example When Adding Captured Time Stamp Counter Value to
Data Field
Data 1
Note 1
DLC Bit Value
1
M_DATAn0
register value
2
Note 2
3
M_DATAn0
register value
4
M_DATAn0
register value
5
M_DATAn0
register value
6
M_DATAn0
register value
7
M_DATAn0
register value
8
M_DATAn0
register value
9 to 15
M_DATAn0
register value
Notes 1. See 19.5.1 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
632
CHAPTER 19
FCAN CONTROLLER (V850/SC3)
(When M_CTRL Register's ATS Bit = 1)
SOF
<1>
Last 2 Bytes of Transmit Message
Data 2
Data 3
Note 3
Note 2
Note 3
M_DATAn1
Note 2
Note 3
register value
M_DATAn1
M_DATAn2
Note 2
register value
register value
M_DATAn1
M_DATAn2
M_DATAn3
register value
register value
register value
M_DATAn1
M_DATAn2
M_DATAn3
register value
register value
register value
M_DATAn1
M_DATAn2
M_DATAn3
register value
register value
register value
M_DATAn1
M_DATAn2
M_DATAn3
register value
register value
register value
User's Manual U15109EJ3V0UD
ACK field
Message
<2>
Temporary
buffer
Data 4
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 to
Data 7
Data 8
Note 3
Note 2
Note 3
Note 2
Note 3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents