Rev. 1.0, 09/02, page 388 of 568
Time quanta (tq) is an integer multiple of the number of system clocks, and is determined by the
baud rate prescaler (BRP) as follows. f
CLK
is the system clock frequency.
tq = 2
×
(BPR s 1)/f
CLK
The following formula is used to calculate the 1-bit time and bit rate.
1-bit time = tq
×
(3 + TSEG1 + TSEG2)
Bit rate = 1/Bit time
=
f
CLK
/{2
×
(BPR s 1)
×
(3 + TSEG1 + TSEG2)}
Note:
f
CLK
=
φ
(system clock)
A BCR value is used for BRP, TSEG1, and TSEG2.
Example: With a system clock of 24 MHz, a BRP setting of B
′
000000, a TSEG1 setting of
B
′
0101, and a TSEG2 setting of B
′
100:
Bit rate = 24/{2
×
(0 + 1)
×
(3 + 5 + 4)} = 1 Mbps
Table 15.3 Setting Range for TSEG1 and TSEG2 in BCR
TSEG2
(BCR14
−
BCR12)
001 010 011 100 101 110 111
TSEG1
0011
No Yes No No No No No
(BCR11
−
BCR8) 0100 Yes
*
Yes Yes No No No No
0101
Yes
*
Yes Yes Yes No No No
0110
Yes
*
Yes Yes Yes Yes No No
0111
Yes
*
Yes Yes Yes Yes Yes No
1000
Yes
*
Yes Yes Yes Yes Yes Yes
1001
Yes
*
Yes Yes Yes Yes Yes Yes
1010
Yes
*
Yes Yes Yes Yes Yes Yes
1011
Yes
*
Yes Yes Yes Yes Yes Yes
1100
Yes
*
Yes Yes Yes Yes Yes Yes
1101
Yes
*
Yes Yes Yes Yes Yes Yes
1110
Yes
*
Yes Yes Yes Yes Yes Yes
1111
Yes
*
Yes Yes Yes Yes Yes Yes
Note: The time quantum values for TSEG1 and TSEG2 are determined by TSEG value
+
1.
*
Settable when bits BRP13 to BRP8 are not B
′
000000.
Mailbox Transmit/Receive Settings: The HCAN has 16 mailboxes. Mailbox 0 is receive-only,
while mailboxes 1 to 15 can be set for transmission or reception. The initial status of mailboxes 1
to 15 is for transmission. Mailbox transmit/receive settings are not initialized by a software reset.
Summary of Contents for H8S/2627
Page 22: ...Rev 1 0 09 02 page xx of xxxvi Index 565 ...
Page 30: ...Rev 1 0 09 02 page xxviii of xxxiv ...
Page 36: ...Rev 1 0 09 02 page xxxiv of xxxiv Table 23 9 Flash Memory Characteristics 561 ...
Page 82: ...Rev 1 0 09 02 page 46 of 568 ...
Page 88: ...Rev 1 0 09 02 page 52 of 568 ...
Page 98: ...Rev 1 0 09 02 page 62 of 568 ...
Page 156: ...Rev 1 0 09 02 page 120 of 568 ...
Page 390: ...Rev 1 0 09 02 page 354 of 568 ...
Page 480: ...Rev 1 0 09 02 page 444 of 568 ...
Page 512: ...Rev 1 0 09 02 page 476 of 568 ...
Page 528: ...Rev 1 0 09 02 page 492 of 568 ...
Page 580: ...Rev 1 0 09 02 page 544 of 568 ...