h8s-2635 Renesas Electronics Corporation., h8s-2635 Datasheet - Page 718

no-image

h8s-2635

Manufacturer Part Number
h8s-2635
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 16 Controller Area Network (HCAN)
Interrupt and Receive Message Settings: When mailbox initialization is finished, CPU interrupt
source settings and receive message specifications must be made. Interrupt source settings are
made in the mailbox interrupt register (MBIMR) and interrupt mask register (IMR). To receive a
message, the identifier must be set in advance in the message control (MCx[1] to MCx[8]) for the
receiving mailbox. When a message is received, all the bits in the receive message identifier are
compared, and if a 100% match is found, the message is stored in the matching mailbox. Mailbox
0 (MB0) has a local acceptance filter mask (LAFM) that allows Don’t care settings to be made.
Rev. 6.00 Feb 22, 2005 page 658 of 1484
REJ09B0103-0600
CPU interrupt source settings
When transmitting, transmission acknowledge and transmission abort acknowledge interrupts
can be masked for individual mailboxes in the mailbox interrupt mask register (MBIMR).
When receiving, data frame and remote frame receive wait interrupts can be masked. Interrupt
register (IRR) interrupts can be masked in the interrupt mask register (IMR).
Arbitration field setting
In the arbitration field, the identifier (STD_ID0 to STD_ID10, EXT_ID0 to EXT_ID17) of the
message to be received is set. If all the bits in the set identifier do not match, the message is not
stored in a mailbox.
Example: Mailbox 1
Local acceptance filter mask (LAFM) setting
The local acceptance filter mask is provided for mailbox 0 (MB0) only, enabling a Don’t care
specification to be made for all bits in the received identifier. This allows various kinds of
messages to be received.
Example: Mailbox 0
Only one kind of message identifier can be received by MB1
Identifier 1:
LAFM
A total of four kinds of message identifiers can be received by MB0
Identifier 1:
Identifier 2:
Identifier 3:
Identifier 4:
010_1010_1010 (standard identifier)
010_1010_1010
010_1010_1010 (standard identifier)
000_0000_0011 (0: Care, 1: Don’t care)
010_1010_1000
010_1010_1001
010_1010_1010
010_1010_1011

Related parts for h8s-2635