Hitachi H8S/2646 Hardware Manual page 609

Hitachi 16-bit single-chip microcomputer h8s/2646 series
Table of Contents

Advertisement

Initialization
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 all RXPR bit in the mailbox, which
enables the receive interupts
requests in the MBIMR
Clear IRR1
End of reception
No
Yes
No
Yes
Figure 15-9 Reception Flowchart
Unread message
RXPR, RFPR = 1
IRR2 = 1, IRR1 = 1
IMR2 = 1?
No
Interrupt to CPU
Message control read
Message data read
Clear all RXPRn and RFPRn bits in the
mailbox, which enables the receive interupt
requests in the MBIMR
Clear IRR2, IRR1
Transmission of data frame corresponding
to remote frame
: Settings by user
: Processing by hardware
Yes
577

Advertisement

Table of Contents
loading

Table of Contents