749
CAN Controller (CAN)
Chapter 19
Preliminary User’s Manual U17566EE1V2UM00
Figure 19-38
shows the processing for a transmit message buffer
(CnMCONFm.MT2 to CnMCONFm.MT0 bits = 000B).
Figure 19-38
Message transmit processing (normal operation mode)
Caution
1.
The TRQ bit should be set after the RDY bit is set.
2.
The RDY bit and TRQ bit should not be set at the same time.
START
Set TRQ bit.
Set TRQ
bit
= 1
Clear TRQ
bit
= 0
END
TRQ
bit
= 0?
Yes
No
Clear RDY bit.
Set RDY
bit
= 0
Clear RDY
bit
= 1
Set RDY bit.
Set RDY
bit
= 1
Clear RDY
bit
= 0
RDY
bit
= 0?
Yes
No
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