English
Language : 

SH7059 Datasheet, PDF (523/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
17. Controller Area Network-II (HCAN-II)
Timestamp Fields:
Records the timestamp on messages for transmission/reception. The timestamp will be a useful function to monitor if
messages are received/transmitted within expected schedule or if messages for transmission are scheduled in the
appropriate order.
Register Name Address
Bit
Bit Name
MBx[6]*
H'106 + N • 32 15 to 0 TimeStamp
[15:0]
Note: * x/N: 0 to 31 (Indicates the mailbox number)
Description
Message Reception:
During message reception, when the SOF or EOF is detected,
ICR1 (input capture register 1) always captures the TCNTR (timer
counter register) value or the value of Cycle_Counter +
TCNTR[15:4], depending on the value of bit 3 in TMR (Timer
mode register), at either SOF or EOF depending on the value in
TCR13 (timer control register), and the ICR1 value is stored into
the timestamp field of the corresponding mailbox.
Important: Capturing at the SOF is not supported by the
SH7059. Thus TCR13 should be set to EOF detection mode.
Message Transmission:
During message transmission, the TCNTR (timer counter
register) value or the value of Cycle_Counter + TCNTR[15:4],
depending on the value of bit 3 in TMR (timer mode register) is
captured when either the TXPR bit or TXACK bit is set depending
on the value in TCR12, and the captured value is stored into the
timestamp field of the corresponding mailbox.
Important: Capturing when the TXPR bit is set is not supported
by this LSI.
In this LSI, activating TCNTR (the timer counter) may cause
problems (the timer is not to be used). Therefore, the time-stamp
function is not supported. The write value should be 0. Values
read out in the initial state are not guaranteed.
17.3.3 Message Data Fields
Register Name Address
Bit
Bit Name
MBx[7], MBx[8]* H'108 +
N' • 32
15 to 8, MSG_DATA_0,
7 to 0 MSG_DATA_1
MBx[9], MBx[10]* H'10A +
N • 32
15 to 8, MSG_DATA_2,
7 to 0 MSG_DATA_3
MBx[11],
MBx[12]*
H'10C +
N • 32
15 to 8, MSG_DATA_4,
7 to 0 MSG_DATA_5
MBx[13],
MBx[14]*
H'10E +
N • 32
15 to 8, MSG_DATA_6,
7 to 0 MSG_DATA_7
Note: * x/N: 0 to 31 (Indicates the mailbox number)
Description
Store the CAN message data that is transmitted or received.
MSG_DATA_0 corresponds to the first data byte that is
transmitted or received.
Rev.3.00 Mar. 12, 2008 Page 433 of 948
REJ09B0177-0300