![Mitsubishi 32172 User Manual Download Page 625](http://html1.mh-extra.com/html/mitsubishi/32172/32172_user-manual_1808662625.webp)
13
13-89
Rev.1.0
13.6 Receiving Data Frames
13.6.1 Data Frame Reception Procedure
The following describes the procedure for receiving a data frame.
(1) Initializing the CAN Message Slot Control Register
Initialize the CAN Message Slot Control Register for the message slot in which to receive by
writing H'00 to the register.
(2) Verifying that reception is idle
Read the initialized CAN Message Slot Control Register and inspect the TRSTAT (transmit/
receive status) bit to see that reception has stopped and remains idle. If this bit = 1, it means that
the CAN module is accessing the message slot. Therefore, wait until the bit is cleared to 0.
(3) Setting the ID
Set the ID desired to be received in the message slot.
(4) Setting the extended ID register
Set the extended ID register's corresponding bit to 0 when it is desired to receive a standard
frame or 1 when it is desired to receive an extension frame.
(5) Setting the CAN Message Slot Control Register
Set the CAN Message Slot Control Register RR (receive request) bit to 1 by writing H'40 to the
register.
CAN MODULES
13.6 Receiving Data Frames
Summary of Contents for 32172
Page 20: ... This is a blank page 16 ...
Page 21: ...1 1 Overview 1 2 Block Diagram 1 3 Pin Functions 1 4 Pin Layout CHAPTER 1 CHAPTER 1 OVERVIEW ...
Page 44: ...1 1 24 Rev 1 0 This is a blank page Overview 1 4 Pin Layout ...
Page 58: ...2 2 14 Rev 1 0 This is a blank page CPU 2 6 Data Formats ...
Page 122: ...4 4 26 Rev 1 0 This is a blank page EIT 4 13 Precautions on EIT ...
Page 200: ...7 7 6 Rev 1 0 This is a blank page RESET 7 4 Precautions to Be Taken Immediately after Reset ...
Page 298: ...9 9 58 Rev 1 0 This is a blank page DMAC 9 4 Precautions on Using DMAC ...
Page 776: ...19 19 10 Rev 1 0 RAM BACKUP MODE 19 4 Exiting RAM Backup Mode Wakeup This is a blank page ...
Page 782: ...20 20 6 Rev 1 0 OSCILLATION CIRCUIT 20 2 Clock Generator Circuit This is a blank page ...
Page 856: ...23 23 26 Rev 1 0 This is a blank page ELECTRICAL CHARACTERISTICS 23 6 AC Characteristics ...
Page 857: ...24 1 A D Conversion Characteristics CHAPTER 24 CHAPTER 24 STANDARD CHARACTERISTICS ...
Page 859: ...Appendix 1 1 Dimensional Outline Drawing APPENDIX 1 APPENDIX 1 MECHANICAL SPECIFICATIONS ...
Page 865: ...Appendix 3 1 Precautions about Noise APPENDIX 3 APPENDIX 3 PRECAUTIONS ABOUT NOISE ...