13
13-76
32180 Group User’s Manual (Rev.1.0)
CAN MODULE
Synchronization
Segment
Propagation Segment
Phase Segment1
Phase Segment2
(1)
(2)
(3)
Sampling Point
• This diagram shows the bit timing in cases where one bit consists of 8 Tq's.
• If one-time sampling is selected, the value sampled at Sampling Point (1) is assumed to be the
value of the bit.
• If three-time sampling is selected, the value of the bit is determined by majority from CAN bus
values sampled at Sampling Points (1), (2) and (3).
1Tq
1 Bit
13.4 Initializing the CAN Module
Figure 13.4.1 Example of Bit Timing
(5) Setting the ID mask registers
Set the values of ID mask registers (Global Mask Register, Local Mask Register A and Local Mask Register
B) that are used in acceptance filtering of received messages.
(6) Settings for use in BasicCAN mode
• Set the CAN Extended ID Register IDE14 and IDE15 bits. (We recommend setting the same value in these bits.)
• Set IDs in message slots 14 and 15.
• Set the Message Control Registers 14 and 15 for data frame reception (H’40).
(7) Settings for use in single-shot mode
Using the CAN Mode Register (CANnMODE) and CAN Control Register (CANnCNT), select CAN module
operation mode (BasicCAN, loopback mode) and the clock source for the timestamp counter.
(8) Setting CAN module operation mode
In the CAN Single-Shot Mode Control Register, set the slot that is to be operated in single-shot mode.
(9) Releasing the CAN module from reset
When settings (1) through (7) above are finished, clear the CAN Control Register (CANnCNT)’s forcible reset
(FRST) and reset (RST) bits to "0". Then, after detecting 11 consecutive recessive bits on the CAN bus, the
CAN module becomes ready to communicate.
Содержание M32R/ECU Series
Страница 17: ...12 This page is blank for reasons of layout...
Страница 18: ...CHAPTER 1 OVERVIEW 1 1 Outline of the 32180 Group 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Assignments...
Страница 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Страница 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Страница 795: ...22 22 2 32180 Group User s Manual Rev 1 0 TYPICAL CHARACTERISTICS To be written at a later time...
Страница 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Страница 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Страница 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...