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

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1520 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.
Rev. 3.00 Mar. 14, 2006 Page 494 of 804
REJ09B0104-0300
Downloaded from
Elcodis.com
electronic components distributor
Initialization
Clear IRR0
BCR setting
MBCR setting
Mailbox (RAM) initialization
Interrupt settings
Receive data setting
Arbitration field setting
Local acceptance filter settings
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?
No
Interrupt to CPU
Message control read
Message data read
Clear IRR2, IRR1
Transmission of data frame corresponding
to remote frame
Yes

Advertisement

Table of Contents
loading

Table of Contents