Example 1:
Assume that a message with a
Standard Frame
is considered. The
Acceptance Code Registers (ACRn) and Acceptance Mask Registers (AMRn)
is set as follows.
n 0
1
(upper 4 bits
) 2
3
ACRn 01xx
x010
xxxx
xxxx xxxx xxxx xxxx
0011 1000 1111
1111 1111 1111 1111
AMRn
Accepted messages
01xx x010 xxxx
(ID.28..ID.18 RTR)
(”x”=don’t care, only the upper 4 bits of ACR1 and AMR1 are used)
In this case, the ACR0 and the AMR0 are used for the upper 8 bits of message
ID. The upper 4 bits of the ACR1 and AMR1 are used for the lower 3 bits of the
message ID and RTR bit. The lower 4 bits of the ACR1 and AMR1 are useless.
The ACR2 and AMR2 are used for the first data byte of the CAN message. The
ACR3 and AMR3 are used for the second data byte of the CAN message.
Therefore, no matter the CAN message is remote transmit request message or
not, the message ID with the format 01xx x010 xxx will be accepted. (x means
“don’t care”).
PISO-CAN/PEX-CAN/PCM-CAN Series User’s Manual (v2.6 Dec/2013) -------
82
ГК
Атлант
Инжиниринг
–
официальный
представитель
в
РФ
и
СНГ
+7(495)109-02-08 [email protected] www.bbrc.ru