EasyManuals Logo

Renesas M32R/ECU Series User Manual

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
Page #636 background imageLoading...
Page #636 background image
13-89
13
32180 Group Users Manual (Rev.1.0)
CAN MODULE
13.7 Transmitting Remote Frames
B'0000 0000
B'0000 0000
Store the
received data
Lost in CAN bus
arbitration or a CAN
bus error occurred
Clear the transmit
request
B'0000 1010
B'1010 0011
Store the received data
Clear the transmit
request
B'0000 0011
B'0000 0001
Finished sending
a remote frame
CPU read
B'1010 0101
B'1010 1000
B'1010 1010
Finished storing the
received data
Clear the receive
request
Store the received data
Clear the receive request
B'1010 0001
B'1010 0111
B'0000 0111
B'0000 0101
Finished storing
the received data
Finished sending
a remote frame
B'1010 0000
Wait for
received data
B'1010 1011 B'0000 1011
Clear the transmit
request
B'0000 0001
Finished storing
the received data
B'0000 1000
CAN bus error
occurred
Finished storing
the received data
Store the received data
Store the received data
Wait for
received data
Finished sending
a remote frame
Store the received data
Clear the receive request
Finished storing the
received data Clear
the
receive request
Finished
sending
a remote
frame
Figure 13.7.2 Operation of the CAN Message Slot Control Register during Remote Frame Transmission
13.7.3 Reading Out Received Data Frames when Set for Remote Frame Transmission
The following shows the procedure for reading out the data frames that have been received in the slot when it is
set for remote frame transmission.
(1) Clearing the TRFIN (Transmit/Receive Finished) bit
Write HAE or H00 to the CAN Message Slot Control Register (C0MSLnCNT, C1MSLnCNT) to clear the
TRFIN bit to "0". After this write, the slot operates as follows:
Values Written to CnMSLnCNT Slot Operation after Write
H’AE Operates as a data frame receive slot. Whether overwritten can be verified by ML bit.
H’00 The slot stops transmit/receive operation.
Notes: If message-lost check by the ML bit is needed, write HAE to clear the TRFIN bit.
If the TRFIN bit was cleared by writing HAE or H00, it is possible that new data will be stored in the slot while still
reading out a message from it.
The received data frame cannot be read out by writing HA0 to the register. If the TRFIN bit is cleared by writing
H’A0, the slot performs remote frame transmit operation.
1 2 3 4 5 6 b7(b15)(b8)b0
RMRRTR RL RA ML TRSTAT TRFIN
00000000
Bit arrangement in the CAN Message Slot Control Register

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas M32R/ECU Series and is the answer not in the manual?

Renesas M32R/ECU Series Specifications

General IconGeneral
BrandRenesas
ModelM32R/ECU Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals