Section 19 Controller Area Network (RCAN-TL1)
Rev. 0.50 May 18, 2006 Page 970 of 1588
REJ09B0313-0050
mode requested
setting
function
Time
Slave TXPR[30]
=
0
&
MBC[30]!= 3'b000
&
CMAX!= 3'b111
&
MBC[31] = 3'b011
TCNTR is sampled at each SOF detected on the CAN Bus
and stored into an internal register. When a valid Time
Reference Message is received into Mailbox-31 the value of
TCNTR (stored at the SOF) is copied into Ref_Mark.
CCR embedded in the received Reference Message is
copied to CCR.
If Next_is_Gap = 1, IRR13 is set.
(Potential)
Time
Master
TXPR[30] = 1
&
MBC[30] = 3'b000
&
DLC[30] > 0
&
CMAX!= 3'b111
&
MBC[31] = 3'b011
Two cases are covered:
(1) When a valid Time Reference message is received into
Mailbox-31 the value of TCNTR stored into an internal
register at the SOF is copied into Ref_Mark.
CCR embedded in the received Reference Message is
copied to CCR.
If Next_is_Gap = 1, IRR13 is set.
(2) When a Time Reference message is transmitted from
Mailbox-30 the value of TCNTR stored into an internal
register at the SOF is copied into Ref_Mark.
CCR is incremented when TTT of Mailbox-30 matches
with CYCTR .
CCR is embedded into the first data byte of the time
reference message
{ Data0[7:6], CCR[5:0] } .
•
Setting Tx-Trigger Time
The Tx-Trigger Time(TTT) must be set in ascending order shown below, and the difference
between them has to satisfy the following expressions. TEW in the following expressions is the
register value.
TTT (Mailbox-24) < TTT (Mailbox-25) < TTT (Mailbox-26) < TTT (Mailbox-27) < TTT
(Mailbox-28) < TTT (Mailbox-29) < TTT (Mailbox-30)
and
TTT (Mailbox-i) – TTT (Mailbox- i-1) > TEW + the maximum frame 9
TTT (Mailbox-24) to TTT (Mailbox-29) correspond to Time_Marks, and TTT (Mailbox-30)
corresponds to Time_Ref showing the length of a basic cycle, respectively when working as
potential time master.
Summary of Contents for Single-Chip Microcomputer SH7203
Page 2: ...Rev 0 50 May 18 2006 Page ii of xxx ...
Page 30: ...Rev 0 50 May 18 2006 Page xxx of xxx ...
Page 52: ...Section 1 Overview Rev 0 50 May 18 2006 Page 22 of 1588 REJ09B0313 0050 ...
Page 98: ...Section 2 CPU Rev 0 50 May 18 2006 Page 68 of 1588 REJ09B0313 0050 ...
Page 128: ...Section 4 Clock Pulse Generator CPG Rev 0 50 May 18 2006 Page 98 of 1588 REJ09B0313 0050 ...
Page 200: ...Section 6 Interrupt Controller INTC Rev 0 50 May 18 2006 Page 170 of 1588 REJ09B0313 0050 ...
Page 242: ...Section 8 Cache Rev 0 50 May 18 2006 Page 212 of 1588 REJ09B0313 0050 ...
Page 400: ...Section 9 Bus State Controller BSC Rev 0 50 May 18 2006 Page 370 of 1588 REJ09B0313 0050 ...
Page 696: ...Section 13 Watchdog Timer WDT Rev 0 50 May 18 2006 Page 666 of 1588 REJ09B0313 0050 ...
Page 726: ...Section 14 Realtime Clock RTC Rev 0 50 May 18 2006 Page 696 of 1588 REJ09B0313 0050 ...
Page 876: ...Section 17 I2 C Bus Interface 3 IIC3 Rev 0 50 May 18 2006 Page 846 of 1588 REJ09B0313 0050 ...
Page 1054: ...Section 21 D A Converter DAC Rev 0 50 May 18 2006 Page 1024 of 1588 REJ09B0313 0050 ...
Page 1294: ...Section 24 LCD Controller LCDC Rev 0 50 May 18 2006 Page 1264 of 1588 REJ09B0313 0050 ...
Page 1386: ...Section 26 I O Ports Rev 0 50 May 18 2006 Page 1356 of 1588 REJ09B0313 0050 ...
Page 1512: ...Section 30 List of Registers Rev 0 50 May 18 2006 Page 1482 of 1588 REJ09B0313 0050 ...
Page 1598: ...Section 31 Electrical Characteristics Rev 0 50 May 18 2006 Page 1568 of 1588 REJ09B0313 0050 ...
Page 1606: ...Appendix Rev 0 50 May 18 2006 Page 1576 of 1588 REJ09B0313 0050 ...
Page 1618: ...Rev 0 50 May 18 2006 Page 1588 of 1588 REJ09B0313 0050 ...
Page 1621: ......
Page 1622: ...SH7203 Group Hardware Manual ...