Renesas R5S72621 Doll User Manual


  Open as PDF
of 2152
 
Section 20 Controller Area Network
R01UH0134EJ0400 Rev. 4.00 Page 999 of 2108
Sep 24, 2014
SH7262 Group, SH7264 Group
Please note that the CCR value is only embedded on the frame transmitted but not stored back into
Mailbox 30.
When CMAX!= 3'b111, MBC[31] = 3'b011 and TXPR[31] is cleared, Mailbox-31 is configured
as reception of time reference. When a valid reference message is received (DLC > 0) this module
performs internal synchronisation (modifying its RFMK and basic cycle CCR).
1514131211109876543210
MSG_DATA_2
Byte/Word/LW
Byte/Word
Byte/Word/LW
Data
Byte/Word
Next_is_Gap/Cycle_Counter (first Rx/Tx Byte)
MSG_DATA_4
MSG_DATA_6
MSG_DATA_1
MSG_DATA_3
MSG_DATA_5
MSG_DATA_7
H'108 + N*32
H'10A + N*32
H'10C + N*32
H'10E + N*32
MB30 - 31
Figure 20.5 Message Data Field
(4) Timestamp
Storage for the Timestamp recorded on messages for transmit/receive. The Timestamp will be a
useful function to monitor if messages are received/transmitted within expected schedule.
Timestamp
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0Bit:
Initial value:
R/W:
0000000000000000
RRRRRRRRRRRRRRRR
TS15 TS14 TS13 TS12 TS11 TS7 TS6 TS5TS10 TS9 TS8 TS4 TS3 TS2 TS1 TS0
Message Receive: For received messages of Mailbox-15 to 0, Timestamp always captures the
CYCTR (Cycle Time Register) value or Cycle_Counter CCR[5:0] + CYCTR[15:6] value,
depending on the programmed value in the bit 14 of TTCR0 (Timer Trigger Control Register 0) at
SOF.
For messages received into Mailboxes 30 and 31, Timestamp captures the TCNTR (Timer
Counter Register) value at SOF.
Message Transmit: For transmitted messages of Mailbox-15 to 1, Timestamp always captures the
CYCTR (Cycle Time Register) value or Cycle_Counter CCR[5:0] + CYCTR[15:6] value,
depending on the programmed value in the bit 14 of TTCR0 (Timer Trigger Control Register 0), at
SOF.
For messages transmitted from Mailboxes30 and 31, Timestamp captures the TCNTR (Timer
Counter Register) value at SOF.