MB90420/5 (A) SERIES F
23.9 Reception Flowchart for CAN Controller
Figure 23.7 shows a reception flowchar.t of the CAN controller.
n Reception flowchart of the CAN controller
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
Data frame or remote frame
starting (SOF) detected
(TREQx: = 1)
Is any message buffer (x) passing
through the acceptance filter found?
YES
Is reception
successful?
YES
Determine message buffer (x) where
receive messages to be stored.
Store the received message in
the message buffer (x).
RCx?
0
Data frame
Receive message?
RRTRx: = 0
TREQx: = 0
RCx: = 1
RIEx?
0
Completion of reception
Fig. 23.7 Reception Flowchart for the CAN Controller
NO
NO
1
ROVRx: = 1
Remote frame
RRTRx: = 1
1
TRTRx?
0
1
A reception interrupt
occurs.
23-36