English
Language : 

HD6417750RF240V Datasheet, PDF (457/606 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
Section 15 Controller Area Network (HCAN)
15.4.4 Message Reception
The reception procedure after initial settings is described below. A reception flowchart is shown in
figure 15.11.
Initialization
Clear IRR0
BCR setting
MBCR setting
Mailbox (RAM) initialization
Interrupt settings
Receive data setting
Arbitration field setting
Local acceptance filter settings
: Settings by user
: Processing by hardware
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
No
Yes
Unread message
No
RXPR, RFPR = 1
IRR2 = 1, IRR1 = 1
Yes
Yes
IMR2 = 1?
No
Interrupt to CPU
Message control read
Message data read
Clear IRR2, IRR1
Transmission of data frame corresponding
to remote frame
End of reception
Figure 15.11 Reception Flowchart
Rev. 7.00 Sep. 11, 2009 Page 421 of 566
REJ09B0211-0700