821
Chapter 18
AFCAN Controller
User’s Manual U16580EE3V1UD00
(2)
Transmission abort process except for ABT transmission in normal operation mode with
automatic block transmission (ABT)
The user can clear the ABTTRG bit of the CnGMABT register to 0 to abort a transmission request. After
checking the ABTTRG bit of the CnGMABT register = 0, clear the TRQ bit of the CnMCTRLm register
to 0. The TRQ bit will be cleared immediately if the abort was successful. Whether the transmission was
successfully aborted or not can be checked using the TSTAT bit of the CnCTRL register and the CnT-
GPT register, which indicate the transmission status on the CAN bus (for details, refer to the processing
in <~Reference>Figure 18-46 on page 850).
(3)
Transmission abort process for ABT transmission in normal operation mode with auto-
matic block transmission (ABT)
To abort ABT that is already started, clear the ABTTRG bit of the CnGMABT register to 0. In this
case, the ABTTRG bit remains 1 if an ABT message is currently being transmitted and until the
transmission is completed (successfully or not), and is cleared to 0 as soon as transmission is fin-
ished. This aborts ABT.
If the last transmission (before ABT) was successful, the normal operation mode with ABT is left
with the internal ABT pointer pointing to the next message buffer to be transmitted.
In the case of an erroneous transmission, the position of the internal ABT pointer depends on the
status of the TRQ bit in the last transmitted message buffer. If the TRQ bit is set to 1 when clearing
the ABTTRG bit is requested, the internal ABT pointer points to the last transmitted message
buffer (for details, refer to the process in <~Reference>Figure 18-47 on page 852). If the TRQ bit
is cleared to 0 when clearing the ABTTRG bit is requested, the internal ABT pointer is incre-
mented (+1) and points to the next message buffer in the ABT area (for details, refer to the proc-
ess in <~Reference>Figure 18-48 on page 853).
Caution:
Be sure to abort ABT by clearing ABTTRG bit to 0. The operation is not guaranteed if
aborting transmission is requested by clearing RDY.
When the normal operation mode with ABT is resumed after ABT has been aborted and the ABT-
TRG bit is set to 1, the next ABT message buffer to be transmitted can be determined from the fol-
lowing table.
Note:
The above resumption operation can be performed only if a message buffer ready for ABT
exists in the ABT area. For example, an abort request that is issued while ABT of message
buffer 7 is in progress is regarded as completion of ABT, rather than abort, if transmission of
message buffer 7 has been successfully completed, even if the ABTTRG bit is cleared to 0. If
the RDY bit in the next message buffer in the ABT area is cleared to 0, the internal ABT pointer
is retained, but the resumption operation is not performed even if the ABTTRG bit is set to 1,
and ABT ends immediately.
18.10.5 Remote frame transmission
Remote frames can be transmitted only from transmit message buffers. Set whether a data frame or
remote frame is transmitted via the RTR bit of the CnMCONFm register. Setting (1) the RTR bit sets
remote frame transmission.
Status of TRQ of
ABT message buffer
Abort after successful transmission
Abort after erroneous transmission
Set (1)
Next message buffer in the ABT area
Note
Same message buffer in the ABT area
Cleared (0)
Next message buffer in the ABT area
Note
Next message buffer in the ABT area
Note
Summary of Contents for V850E/PH2
Page 6: ...6 Preface User s Manual U16580EE3V1UD00...
Page 16: ...16 User s Manual U16580EE3V1UD00...
Page 28: ...28 User s Manual U16580EE3V1UD00...
Page 32: ...32 User s Manual U16580EE3V1UD00...
Page 84: ...84 Chapter 2 Pin Functions User s Manual U16580EE3V1UD00 MEMO...
Page 144: ...144 Chapter 3 CPU Functions User s Manual U16580EE3V1UD00 MEMO...
Page 192: ...192 Chapter 5 Memory Access Control Function PD70F3187 only User s Manual U16580EE3V1UD00 MEMO...
Page 312: ...312 Chapter 9 16 Bit Timer Event Counter P User s Manual U16580EE3V1UD00 MEMO...
Page 534: ...534 Chapter 11 16 bit Timer Event Counter T User s Manual U16580EE3V1UD00...
Page 969: ...969 Chapter 20 Port Functions User s Manual U16580EE3V1UD00 MEMO...
Page 970: ...970 Chapter 20 Port Functions User s Manual U16580EE3V1UD00...
Page 976: ...976 Chapter 22 Internal RAM Parity Check Function User s Manual U16580EE3V1UD00 MEMO...
Page 984: ...984 Chapter 23 On Chip Debug Function OCD User s Manual U16580EE3V1UD00 MEMO...
Page 1006: ...1006 Chapter 24 Flash Memory User s Manual U16580EE3V1UD00 MEMO...
Page 1036: ...1036 Chapter 27 Recommended Soldering Conditions User s Manual U16580EE3V1UD00 MEMO...
Page 1046: ...1046 Appendix A Index User s Manual U16580EE3V1UD00 MEMO...
Page 1052: ...1052 User s Manual U16580EE3V1UD00...
Page 1053: ......