Datasheet

V850ES/JG3-H, V850ES/JH3-H CHAPTER 20 CAN CONTROLLER
R01UH0042EJ0500 Rev.5.00 Page 1019 of 1513
Aug 12, 2011
Figure 20-38. Message Buffer Initialization
START
Set
C0MCONFm register.
Set
C0MIDHm register,
C0MIDLm register.
Set
C0MDLCm register.
Clear
C0MDATAm register.
Set
C0MCTRLm register.
END
Transmit message
buffer?
Yes
No
Clear RDY bit.
Set RDY bit = 0
Clear RDY bit = 1
RDY bit = 1?
RDY bit = 0?
No
Yes
Yes
Set RDY bit.
Set RDY bit = 1
Clear RDY bit = 0
No
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 C0MCTRLm.RDY, C0MCTRLm.TRQ, and C0MCTRLm.DN bits to 0.
Clear the C0MCONFm.MA0 bit to 0.