EasyManua.ls Logo

Renesas M32R/ECU Series

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
13
13-54
32180 Group Users Manual (Rev.1.0)
CAN MODULE
13.2 CAN Module Related Registers
123456b7(b15)(b8)b0
RMRRTR RL RA ML TRSTAT TRFIN
00000000
<After reset: H00>
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 H00.
(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".

Table of Contents

Related product manuals