13
13-2
32180 Group User’s Manual (Rev.1.0)
CAN MODULE
13.1 Outline of the CAN Module
The 32180 contains two-channel Full CAN modules compliant with CAN (Controller Area Network) Specification
V2.0 B Active. These CAN modules each have 16 message slots and three mask registers, effective use of which
helps to reduce the data processing load of the CPU.
The CAN modules are outlined below.
Table 13.1.1 Outline of the CAN Module
Item
Description
Protocol
CAN Specification V2.0 B Active
Number of message slots
Total 16 slots (14 global slots, two local slots)
Polarity
0: Dominant
1: Recessive
Acceptance filter
Global mask: 1
(Function to receive only a range
Local mask: 2
of IDs specified by receive ID filter)
Baud rate
1 time quantum (Tq) = (BRP + 1) / (CPU clock/2)
(BRP: Baud Rate Prescaler set value)
Baud rate =
1
..... Max 1 Mbps (Note 1)
Tq period
×
number of Tq’s for one bit
BRP: 1–55 (0: inhibited)
Number of Tq’s for one bit = Synchronization S Propagation Segment
+ Phase Segment 1 + Phase Segment 2
Propagation Segment: 1–8Tq
Phase Segment 1: 1–8Tq
Phase Segment 2: 1–8Tq (IPT = "1")
Remote frame automatic
The slot that received a remote frame responds by automatically sending a data frame.
response function
Timestamp function
This function is implemented using a 16-bit counter. The count period is derived from the
CAN bus bit period by dividing it by 1, 2, 3 or 4.
BasicCAN mode
BasicCAN function is materialized using two local slots.
Transmit abort function
Transmit requests can be canceled.
Loopback function
The CAN module receives the data transmitted by itself.
Return bus off function
Error active mode is forcibly entered into after clearing the error counter.
Single shot function
Transmission is not retried even when it failed due to arbitration-lost or a transmit error.
DMA transfer function
DMA transfer request is generated when transmission failed or transmit/receive operation
finished (CAN0 only).
Self-diagnostic function
Communication module is diagnosed by communicating internally in the CAN module.
Note 1: The maximum allowable error of oscillation depends on the system configuration (e.g., bus length, clock error, CAN
bus transceiver, sampling position and bit configuration).
13.1 Outline of the CAN Module
Table 13.1.2 DMA Transfer Requests Generated by CAN
DMA Transfer Request by CAN
DMAC Input Channel
CAN0: Slot 0 transmission failed or slot 15 transmit/receive operation finished
DMA0
CAN1: Slot 1 transmission failed or slot 14 transmit/receive operation finished
DMA2
Summary of Contents for M32R/ECU Series
Page 17: ...12 This page is blank for reasons of layout...
Page 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Page 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Page 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Page 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Page 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...