Message Reception; Figure 13.11 Reception Flowchart - Renesas H8SX/1500 Series Hardware Manual

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1500 Series:
Table of Contents

Advertisement

Section 13 Controller Area Network (HCAN)
13.4.4

Message Reception

The reception procedure after initial settings is described below. A reception flowchart is shown in
figure 13.11.
Initialization
Mailbox (RAM) initialization
Receive data setting
Local acceptance filter settings
Rev. 3.00 Mar. 14, 2006 Page 494 of 804
REJ09B0104-0300
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 13.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

Advertisement

Table of Contents
loading

Table of Contents