NEC Renesas V850/SC1 User Manual page 633

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

Advertisement

Figure 19-6. Time Stamp Function Setting for Message Reception (When CxCTRL Register's TMR Bit = 1)
SOF
<Explanation>
<1> When the EOF is sent via the CAN bus (a valid message is acknowledged), the captured time stamp
counter value is copied to the M_TIMEn register in CAN message buffer n when a message is stored in
CAN message buffer n.
Remark
n = 00 to 31
x = 1, 2
In a global time system, the time value must be captured using the SOF.
In addition, the ability to capture the counter value when data is stored in a message buffer is useful for evaluating
the FCAN controller's performance.
The captured time stamp counter value is stored in CAN message buffer n, so CAN message buffer n has its own
time stamp function (n = 00 to 31).
When the SOF is sent via the CAN bus while transmitting a message, there is an option to replace the last two
bytes of the message with the time stamp counter value by setting bit 5 (ATS) of CAN message control register n
(M_CTRLn). This function can be selected for CAN message buffer n on a buffer by buffer basis. Figure 19-7 shows
the time stamp setting when the ATS bit = 1.
CHAPTER 19
FCAN CONTROLLER (V850/SC3)
ACK field
Message
Time stamp
counter
User's Manual U15109EJ3V0UD
EOF
CAN message buffer n
<1>
M_TIMEn
631

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents