737
CAN Controller (CAN)
Chapter 19
Preliminary User’s Manual U17566EE1V2UM00
Caution
The time stamp function using the TSLOCK bit stops toggle of the TSOUT
signal by receiving a data frame in message buffer 0. Therefore, message
buffer 0 must be set as a receive message buffer. Since a receive message
buffer cannot receive a remote frame, toggle of the TSOUT signal cannot be
stopped by reception of a remote frame. Toggle of the TSOUT signal does not
stop when a data frame is received in a message buffer other than message
buffer 0.
For these reasons, a data frame cannot be received in message buffer 0 when
the CAN module is in the normal operation mode with ABT, because message
buffer 0 must be set as a transmit message buffer. In this operation mode,
therefore, the function to stop toggle of the TSOUT signal by the TSLOCK bit
cannot be used.
19.16 Baud Rate Settings
19.16.1
Baud rate setting conditions
Make sure that the settings are within the range of limit values for ensuring
correct operation of the CAN Controller, as follows.
• 5TQ
≤
SPT (sampling point)
≤
17 TQ
SPT = TSEG1 + 1
• 8 TQ
≤
DBT (data bit time)
≤
25 TQ
DBT = TSEG1 + TSEG2 + 1TQ = TSEG2 + SPT
• 1 TQ
≤
SJW (synchronization jump width)
≤
4TQ
SJW
≤
DBT – SPT
• 4
≤
TSEG1
≤
16 [3
≤
Setting value of TSEG1[3:0]
≤
15]
• 1
≤
TSEG2
≤
8 [0
≤
Setting value of TSEG2[2:0]
≤
7]
Note
1.
TQ = 1/f
TQ
(f
TQ
: CAN protocol layer basic system clock)
2.
TSEG1[3:0] (CnBTR.TSEG13 to CnBTR.TSEG10 bits)
3.
TSEG2[2:0] (CnBTR.TSEG22 to CnBTR.TSEG20 bits)
electronic components distributor