
23. 32-Slot CAN Module
23. 32-Slot CAN Module
supporting CAN Specification 2.0 Part B. Three channels, CAN0 to CAN2, can be used. CAN0 and CAN1 have 16
message slots and CAN2 has 32 message slots. This chapter provides the information on CAN2. Refer to 22. 16-Slot CAN Module for details on CAN0 and CAN1.
Table 23.1 lists CAN module specifications of the CAN2 channel.
Table 23.1
CAN Module Specifications for CAN2
NOTE:
1. Use an oscillator with maximum 1.58% oscillator tolerance.
Item
Specification
Protocol
CAN Specification 2.0 Part B
Message slots
32 slots
Acceptance filter
Global mask: 2 (for the CANi message slots 0 to 15 and 16 to 29)
Local mask: 2 (for CANi message slots 30 and 31 respectively)
Baud rate =
1
---Max 1 Mbps
Tq x number of Tq per bit
Tq (time quantum) =
BRP + 1
CAN clock
Number of Tq per bit = SS + PTS + PBS1 + PBS2
BRP: Setting value of registers C0BRP and C1BRP; 1 to 255
SS: Synchronization Segment; 1Tq
PTS: Propagation Time Segment; 1 to 8Tq
PBS1: Phase Buffer Segment 1; 2 to 8Tq
PBS2: Phase Buffer Segment 2; 2 to 8Tq
Remote frame automatic
answering function
Message slot which receives a remote frame transmits a data frame
automatically
Time stamp function
The stamp function is used with a 16-bit counter. Count source can be selected
from the CAN bus bit clock divided by 1, 2, 3, or 4
CAN bus bit clock=
1
CAN bit time
BasicCAN mode
The BasicCAN function can be used with the CANi message slots 30 and 31
Transmit abort function
A transmit request is aborted
Loopback function
Frame transmitted by the CAN module is received by the same CAN module
Forcible error active transition
function
The CAN module is forcibly placed in an error active state by an error counter
reset
Single-shot transmit function
The CAN module does not retransmit data again even if arbitration lost or
transmit error causes a transmit failure
Self-test function
The CAN module communicates internally to check on a CAN module state