Message Reception; Figure 15.11 Reception Flowchart - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

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
Mailbox (RAM) initialization
Receive data setting
Local acceptance filter settings
Message control read
Rev. 6.00 Mar 15, 2006 page 424 of 570
REJ09B0211-0600
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 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

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2600 seriesH8s/2612 seriesH8s/2612 f-ztat

Table of Contents