13
13-78
Ver.0.10
CAN MODULE
13.8 Receiving Remote Frames
13.8.2 Remote Frame Receive Operation
The following describes remote frame receive operation. The operations described below are
automatically performed in hardware.
(1) Setting the RA (Remote Active) bit
When H'60 (Transmit Request, Remote) or H'70 (Transmit Request, Remote, Automatic
Response Disable) is written to the CAN Message Slot Control Register, the RA (Remote Active)
bit is set to 1, indicating that the corresponding slot is to handle remote frames.
(2) Acceptance filtering
When the CAN module finished receiving data, it starts searching for the slot that satisfies
conditions for receiving the received message sequentially from slot 0 (up to slot 15). The
following shows receive conditions for slots that have been set for data frame reception.
[Conditions]
• The receive frame is a remote frame.
• The receive ID and the slot ID are identical, assuming the ID Mask Register bits set to 0 are
"Don't care bit."
• The standard and extended frame types are the same.
(3) When receive conditions are met
When receive conditions 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 while at the same time writing the received data to the message slot. Furthermore, a time
stamp count value at the time the message was received is written to the CAN Message Slot
Time Stamp (C0MSLnTSP) along with the received data. When the CAN module finished writing
to the message slot, it sets the CAN Slot Interrupt Status bit to 1. If the interrupt for the slot has
been enabled, an interrupt request is generated.
Note 1:The ID field and DLC value are written to the message slot.
Note 2:When receiving standard format frames, an indeterminate value is written to the
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 the remote frame received data.
(4) When receive conditions are not met
The received frame is discarded, and the CAN module waits for the next receive frame. No data
is written to the message slot.
Summary of Contents for M32170F3VFP
Page 42: ...1 1 24 Ver 0 10 OVERVIEW 1 4 Pin Layout This is a blank page ...
Page 56: ...2 2 14 Ver 0 10 This is a blank page ...
Page 88: ...3 3 32 Ver 0 10 ADDRESS SPACE 3 7 Notes on Address Space This is a blank page ...
Page 270: ...9 9 40 Ver 0 10 DMAC 9 4 Precautions about the DMAC This is a blank page ...
Page 614: ...12 12 64 Ver 0 10 This is a blank page SERIAL I O 12 9 Precautions on Using UART Mode ...
Page 756: ...17 17 10 Ver 0 10 RAM BACKUP MODE 17 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 762: ...18 18 6 Ver 0 10 OSCILLATION CIRCUIT 18 2 Clock Generator Circuit This is a blank page ...
Page 831: ...CHAPTER 22 CHAPTER 22 TYPICAL CHARACTERISTICS 22 1 A D Conversion Characteristics ...
Page 833: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 841: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...