
662
Chapter 16
FCAN Controller
User’s Manual U16702EE3V2UD00
Figure 16-59:
Message Buffer Initialization
Cautions: 1. Before a message buffer is initialized, the RDY bit must be cleared.
2. Make the following settings for message buffers not used by the application.
•
Clear the RDY, TRQ, and DN bits of the CnMCTRLm register to 0.
•
Clear the MA0 bit of the CnMCONFm register to 0.
START
Set
CnMCONFm register
END
RDY = 1?
No
Yes
Clear RDY bit.
Set RDY bit = 0
Clear RDY bit = 1
RDY = 0?
Set
CnMIDHm register
CnMIDLm register
Transmit message
buffer?
Clear
CnMDATAm register.
Set
CnMCTRLm register.
Set RDY bit.
Set RDY bit = 1
Clear RDY bit = 0
Set
CnMDLCm register
No
No
Yes
Yes
electronic components distributor