15.4.4
Message Reception
The reception procedure after initial settings is described below. A reception flowchart is shown in
Figure 15.11.
Initialization
Mailbox (RAM) initialization
Receive data setting
Local acceptance filter settings
Clear IRR0
BCR setting
MBCR setting
Interrupt settings
Arbitration field setting
Message reception
(Match of identifier
in mailbox?)
Yes
Same RXPR = 1?
No
Data frame?
Yes
RXPR
IRR1 = 1
IMR1 = 1?
No
Interrupt to CPU
Message control read
Message data read
Clear IRR1
End of reception
Figure 15.11 Reception Flowchart
: Settings by user
: Processing by hardware
No
Yes
Unread message
No
RXPR, RFPR = 1
IRR2 = 1, IRR1 = 1
Yes
IMR2 = 1?
Interrupt to CPU
Message control read
Message data read
Clear IRR2, IRR1
Transmission of data frame corresponding
to remote frame
Yes
No
Rev. 1.0, 09/02, page 393 of 568