13
13-74
Ver.0.10
13.7.3 Reading Out Received Data Frames when Set for Remote Frame Transmission
The following describes the procedure for reading out received data frames from the slot when it is
set for remote frame transmission.
(1) Clearing the TRFIN (Transmit/Receive Finished) bit
Write H'AE or H'00 to the CAN Message Control Register (C0MSLnCNT) to clear the TRFIN bit to
0. After this write, the slot operates as follows:
Value written to
Slot operation after write
C0MSLnCNT
H'AE
Operates as a data frame receive slot.
Overwrite can be verified by ML bit.
H'00
The slot stops transmit/receive operation.
Note 1: If message-lost check by the ML bit is needed, write H'AE to the C0MSLnCNT register as
you clear the TRFIN bit.
Note 2: If you clear the TRFIN bit by writing H'AE or H'00, it is possible that new data will be
stored in the slot while still reading a message from the slot.
Note 3: The received data frame cannot be read out by writing H'A0 to the register. If you clear
the TRFIN bit by writing H'A0, the slot performs remote frame transmit operation.
(2) Reading out from the message slot
Read out a message from the message slot.
(3) Checking the TRFIN (Transmit/Receive Finished) bit
Read the CAN Message Control Register to check the TRFIN (Transmit/Receive Finished) bit.
➀
When TRFIN (Transmit/Receive Finished) bit = 1
It means that new data was stored in the slot while still reading out from the slot in (2). In this
case, the data read out in (2) may contain an indeterminate value. Therefore, reexecute
beginning with clearing of the TRFIN (Transmit/Receive Finished) bit in (1).
➁
When TRFIN (Transmit/Receive Finished) bit = 0
It means that the CAN module finished reading out from the slot normally.
CAN MODULE
13.7 Transmitting Remote Frames
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 ...