751
CAN Controller (CAN)
Chapter 19
Preliminary User’s Manual U17566EE1V2UM00
Figure 19-40
Transmission via interrupt (using CnLOPT register)
Caution
The TRQ bit should be set after the RDY bit is set.
The RDY bit and TRQ bit should not be set at the same time.
Start
END
Transmit completion
interrupt processing
Read CnLOPT register.
Clear RDY bit.
Set RDY
bit
= 0
Clear RDY
bit
= 1
RDY
bit
= 0?
No
Yes
Set RDY bit.
Set RDY
bit
= 1
Clear RDY
bit
= 0
Set TRQ bit.
Set TRQ
bit
= 1
Clear TRQ
bit
= 0
Data frame
or
remote frame?
Remote frame
Data frame
Set RTR bit of
CnMDLCm register and
CnMCONFm register.
Set CnMIDLm and
CnMIDHm registers.
Clear RTR bit of
CnMDATAxm register,
CnMDLCm register,
and CnMCONFm register.
Set CnMIDLm and
CnMIDHm registers.
electronic components distributor