English
Language : 

SH7058 Datasheet, PDF (579/1130 Pages) Renesas Technology Corp – Renesas SuperHTM RISC engine
16.3.3 Message Data Fields
Register
Name
Address Bit
Bit Name
Description
MBx[7],
MBx[8]*
H'108 +
N'× 32
15 to 8, MSG_DATA_0, Store the CAN message data that is
7 to 0 MSG_DATA_1 transmitted or received.
MBx[9], H'10A +
MBx[10]* N × 32
15 to 8, MSG_DATA_2, MSG_DATA_0 corresponds to the first data
7 to 0 MSG_DATA_3 byte that is transmitted or received.
MBx[11], H'10C + 15 to 8, MSG_DATA_4,
MBx[12]* N × 32
7 to 0
MSG_DATA_5
MBx[13], H'10E +
MBx[14]* N × 32
15 to 8, MSG_DATA_6,
7 to 0 MSG_DATA_7
Note: * x/N: 0 to 31 (Indicates the mailbox number)
16.3.4 Local Acceptance Filter Mask (LAFM)/Tx-Trigger Time (TTT)
This area is used as the local acceptance filter mask (LAFM) for receive boxes or as the Tx-trigger
time (TTT) for transmit boxes.
LAFM: When the MBC bits are set to 001, 010, 011, 100, and 101, this field becomes the LAFM
field. The LAFM is comprised of two 16-bit readable/writable areas. It allows a mailbox to accept
more than one receive IDs.
Register
Name
Address
HCAN0
HCAN1
Data Bus
Access Size Field Name
15 14 13 12 11 10
9
8
7
6
5
4
3
2
1
0
MBx[15], MBx[16] H'110+N 32 H'910+N 32
0
MBx[17], MBx[18] H'112+N 32 H'912+N 32
STDID[10:0]
EXTID[15:0]
0
0 EXTID[17:16]
16 bits LAFM field
16 bits
[Legend] x/N: 0 to 31 (Indicates the mailbox number)
Figure 16.5 Acceptance Filter
If a bit is set in the LAFM, the corresponding bit of a received CAN ID is ignored when the
HCAN searches a mailbox with the matching CAN ID. If the bit is cleared, the corresponding bit
of a received CAN ID must match the STD_ID/EXT_ID set in the mailbox to be stored. The
configuration of the LAFM is same as the message control in a mailbox. If this function is not
required, it must be filled with 0.
Notes: 1. When the LAFM is used, the HCAN starts to find a matching ID from mailbox 31
down to mailbox 0. As soon as the HCAN finds one, it stops the search and stores the
message into the mailbox. This means that a received message can only be stored into
one mailbox.
2. When a message is received and a matching mailbox is found, the whole message is
stored into the mailbox. This means that, if the LAFM is used, the STD_ID, RTR, IDE,
Rev. 3.0, 09/04, page 538 of 1086