13
13-104
Rev.1.0
13.8.2 Remote Frame Receive Operation
The following describes how remote frame receive operation is performed. All these operations are
automatically performed in hardware.
(1) Setting the RA (remote active) bit
The RA (remote active) bit that indicates that the slot is selected to handle a remote frame is set
to 1 at the same time the data H'60 (receive request, remote) or H'70 (receive request, remote,
automatic answering disabled) is written to the CAN Message Slot Control Register.
(2) Acceptance filtering
When data reception is completed, the CAN module searches for slots sequentially from slot 0
(up to slot 15) that meet the receive conditions and are therefore eligible for the received
message.
The following shows the receive conditions for the slots that have been set to receive a remote frame.
[Conditions]
•
The received frame is a remote frame.
•
The received ID and the slot ID are the same, with the ID mask register bits set to 0 being
ignored as "Don't care."
•
The standard and the extended frames are of the same type.
(3) When the receive conditions are met
When the receive conditions described in (2) above are met, the CAN module sets the CAN
Message Slot Control Register's TRSTAT (transmit/receive status) and TRFIN (transmit/receive
finished) bits to 1 and at the same time writes the received data to the message slot.
In addition, the time stamp count value at the time of message reception is written along with the
received data to the CAN Message Slot Time stamp Register (CMSLnTSP). When the CAN
module finishes writing to the message slot, it sets the CAN slot interrupt status bit to 1. If the slot
has been enabled for interrupt, it generates an interrupt and waits for the next reception.
Note 1: The message slot has the ID field and the DLC value written to it.
Note 2: When the standard format is selected, the slot has an indeterminate value written to its
extended ID area.
Note 3: The data field is not accessed for write.
Note 4: The RA and TRFIN bits are cleared to 0 after writing to the received remote frame data
to the slot.
(4) When the receive conditions are not met
The CAN module discards the received data and waits for the next frame to receive. It does not
write to the message slot.
CAN MODULES
13.8 Receiving Remove Frames
Содержание 32172
Страница 20: ... This is a blank page 16 ...
Страница 21: ...1 1 Overview 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Layout CHAPTER 1 CHAPTER 1 OVERVIEW ...
Страница 44: ...1 1 24 Rev 1 0 This is a blank page Overview 1 4 Pin Layout ...
Страница 58: ...2 2 14 Rev 1 0 This is a blank page CPU 2 6 Data Formats ...
Страница 122: ...4 4 26 Rev 1 0 This is a blank page EIT 4 13 Precautions on EIT ...
Страница 200: ...7 7 6 Rev 1 0 This is a blank page RESET 7 4 Precautions to Be Taken Immediately after Reset ...
Страница 240: ...8 8 40 Rev 1 0 This is a blank page INPUT OUTPUT PORTS AND PIN FUNCTIONS 8 5 Precautions on Input Output Ports ...
Страница 298: ...9 9 58 Rev 1 0 This is a blank page DMAC 9 4 Precautions on Using DMAC ...
Страница 416: ...10 10 118 Rev 1 0 This is a blank page INPUT OUTPUT TIMERS 10 6 TOM Output Related 16 bit Timers ...
Страница 658: ...14 14 16 Rev 1 0 REAL TIME DEBUGGER RTD 14 4 Typical Connection with the Host This is a blank page ...
Страница 718: ...16 16 16 Rev 1 0 This is a blank page D A CONVERTERS 16 3 Functional Description of the D A Converters ...
Страница 766: ...18 18 22 Rev 1 0 WAIT CONTROLLER 18 3 Typical Operation of the Wait Controller This is a blank page ...
Страница 776: ...19 19 10 Rev 1 0 RAM BACKUP MODE 19 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Страница 777: ...CHAPTER 20 CHAPTER 20 OSCILLATION CIRCUIT 20 1 Oscillator Circuit 20 2 Clock Generator Circuit ...
Страница 782: ...20 20 6 Rev 1 0 OSCILLATION CIRCUIT 20 2 Clock Generator Circuit This is a blank page ...
Страница 856: ...23 23 26 Rev 1 0 This is a blank page ELECTRICAL CHARACTERISTICS 23 6 AC Characteristics ...
Страница 857: ...24 1 A D Conversion Characteristics CHAPTER 24 CHAPTER 24 STANDARD CHARACTERISTICS ...
Страница 859: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Страница 861: ...Appendix 2 1 M32R E Instruction Processing Time APPENDIX 2 APPENDIX 2 INSTRUCTION PROCESSING TIME ...
Страница 865: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...