13
13-87
Rev.1.0
13.5.2 Data Frame Transmit Operation
The following describes how data frame transmit operation is performed. All these operations are
automatically performed in hardware.
(1) Selecting a transmit frame
The CAN module checks slots for which there is a transmit request (including remote frame
transmit slots) every intermission to determine the frame to transmit.
If multiple transmit slots exist, frames are transmitted beginning with the slot that has the smallest
slot number.
(2) Transmitting a data frame
When the transmit slot is determined, the CAN module starts transmitting the data frame from the
slot after setting its corresponding CAN Message Slot Control Register's TRSTAT (transmit/
receive status) bit to 1.
(3) If failed in CAN bus arbitration or a CAN bus error occurs
If the CAN module loses in CAN bus arbitration or encounters a CAN bus error in the middle of
transmission, it clears the CAN Message Slot Control Register's TRSTAT (transmit/receive
status) bit to 0.
If the transmit abort function for the slot has been enabled, the transmit abort request is accepted
and the message slot is freed, allowing for write to the slot.
(4) Completing data frame transmission
When the CAN module finishes transmitting the data frame, the CAN Message Slot Control
Register's TRFIN (transmit/receive finished) bit and the CAN Slot Interrupt Status Register are
set to 1. Also, the time stamp count value at completion of transmission is written to the CAN
Message Slot Time stamp Register (CMSLnTSP), thereby completing the transmit operation.
If CAN slot interrupt has been enabled, an interrupt is generated upon completion of the transmit
operation.
The slot which has had transmission completed becomes inactive and remains idle until new
settings are made for it in software.
CAN MODULES
13.5 Transmitting Data 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 ...