13
13-54
32180 Group User’s Manual (Rev.1.0)
CAN MODULE
13.2 CAN Module Related Registers
1
2
3
4
5
6
b7(b15)
(b8)
b0
RM
RR
TR
RL
RA
ML
TRSTAT TRFIN
0
0
0
0
0
0
0
0
<After reset: H’00>
b
Bit Name
Function
R
W
0
TR
0: Do not use the message slot as transmit slot
R
W
Transmit request bit
1: Use the message slot as transmit slot
1
RR
0: Do not use the message slot as receive slot
R
W
Receive request bit
1: Use the message slot as receive slot
2
RM
0: Transmit/receive data frame
R
W
Remote bit
1: Transmit/receive remote frame
3
RL
0: Enable automatic response for remote frame
R
W
Automatic response inhibit bit
1: Disable automatic response for remote frame
4
RA
During BasicCAN mode
R
–
Remote active bit
0: Receive data frame (status)
1: Receive remote frame (status)
During normal mode
0: Data frame
1: Remote frame
5
ML
0: No message was lost
R(Note 1)
Message lost bit
1: Message was lost
6
TRSTAT
During a transmit slot
R
–
Transmit/receive status bit
0: Transmission idle
1: Transmit request accepted
During a receive slot
0: Reception idle
1: Storing received data
7
TRFIN
During a transmit slot
R(Note 1)
Transmission/reception completed
0: Not transmitted yet
1: Finished transmitting
During a receive slot
0: Not received yet
1: Finished receiving
Note 1: Only writing "0" is effective. Writing "1" has no effect; the bit retains the status it had before the write.
Notes: • If a transmit request is written to this register while the CAN module is reset (CANnCNT FRST
or RST bit = "1"), it starts sending upon detecting 11 consecutive recessive bits on the CAN bus
after exiting the reset state.
• If data/remote frame transmit requests are issued for two or more slots, the slot with the small-
est slot number sends a frame. If data/remote frame receive requests are issued for two or
more slots, the slot with the smallest slot number receives a frame.
• If transmission failed when single-shot mode is selected, this register is cleared to H’00.
(1) TR (Transmit Request) bit (Bit 0)
To use the message slot as a transmit slot, set this bit to "1". To use the message slot as a data frame or
remote frame receive slot, set this bit to "0".
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...