382
Chapter 13
FCAN Interface Function
Preliminary User’s Manual U14913EE1V0UM00
13.2.5 Time
stamp
The FCAN system offers a time stamp capture capability at message reception and transmission. The
time stamp capture function is used to realize a synchronized, global clock in a CAN network, also
called global time system. However, the development and functionality of such a global clock system
has to be implemented by the user.
For time stamp capturing at message reception two trigger events are selectable (see Figure 13-5).
The counter value of the CAN global time system counter (CGTSC) is either captured upon the start-of-
frame signal (SOF) of the receive message or it is captured at the time the message is detected as
valid, i.e. if no error was detected until the last but one bit of the end-of-frame (EOF) was received. The
selection of the two trigger options is controlled by the TMR bit in the CxCTRL register (x = 1 to 3). The
capture value itself is stored in the M_TIMEm register (m = 00 to 63) of the message buffer, for which
the received message has been accepted.
Remark:
The value of M_TIMEm register is undefined when an error occurs while receiving the mes-
sage.
Figure 13-5: Time Stamp Capturing at Message Reception
SOF
ACK
Message
Message Buffer
EOF/message valid
CAN Global Time
System Counter
temporary buffer
capture
M_TIME
copy
SOF
ACK
Message
EOF/message valid
capture and copy
Message Buffer
M_TIME
Time stamp (reception) at SOF:
Time stamp (reception) at message EOF:
MAC
CAN Global Time
System Counter
Summary of Contents for V850E/CA1 ATOMIC
Page 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...