![NXP Semiconductors MPC5566 Reference Manual Download Page 1053](http://html1.mh-extra.com/html/nxp-semiconductors/mpc5566/mpc5566_reference-manual_17218501053.webp)
MPC5566 Microcontroller Reference Manual, Rev. 2
22-16
Freescale Semiconductor
The meaning of each mask bit is the following:
•
Mask bit = 0: the corresponding incoming ID bit is “don’t care.”
•
Mask bit = 1: the corresponding ID bit is checked against the incoming ID bit, to see if a match
exists.
Note that these masks are used both for standard and extended ID formats. Do not change the value of
mask registers while in normal operation. Locked frames which match a message buffer through a mask
can be transferred into the message buffer (upon release) even if they no longer match.
shows
some examples of ID masking for standard and extended message buffers.
22.3.3.4.1
RX Global Mask (CAN
x
_RXGMASK)
The RX global mask bits are applied to all RX identifiers excluding RX buffers 14 and 15, that have their
specific RX mask registers. Access to this register is unrestricted. Note that CANx_RXGMASK is
unaffected by soft reset (which occurs when CAN_MCR[SOFTRST] asserts).
Table 22-9. Mask Examples for Standard/Extended Message Buffers
Mask ID
Base ID
ID28.................ID18
IDE
Extended ID
ID17......................................ID0
Match
MB2 ID
1 1 1 1 1 1 1 1 0 0 0
0
MB3 ID
1 1 1 1 1 1 1 1 0 0 0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
MB4 ID
0 0 0 0 0 0 1 1 1 1 1
0
MB5 ID
0 0 0 0 0 0 1 1 1 0 1
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
MB14 ID
1 1 1 1 1 1 1 1 0 0 0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
RX Global Mask
1 1 1 1 1 1 1 1 1 1 0
1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 1
RX Msg in
1
1
Match for Extended Format (message buffer 3).
1 1 1 1 1 1 1 1 0 0 1
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
3
RX Msg in
2
2
Match for Standard Format. (message buffer 2).
1 1 1 1 1 1 1 1 0 0 1
0
2
RX Msg in
3
3
Mismatch for message buffer 3 because of ID0.
1 1 1 1 1 1 1 1 0 0 1
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0
RX Msg in
4
4
Mismatch for message buffer 2 because of ID28.
0 1 1 1 1 1 1 1 0 0 0
0
RX Msg in
5
5
Mismatch for message buffer 3 because of ID28, match for message buffer 14 (uses RX14MASK).
0 1 1 1 1 1 1 1 0 0 0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
14
RX 14 Mask
0 1 1 1 1 1 1 1 1 1 1
1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0
RX Msg in
6
6
Mismatch for message buffer 14 because of ID27 (uses RX14MASK).
1 0 1 1 1 1 1 1 0 0 0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
RX Msg in
7
7
Match for message buffer 14 (uses RX14MASK).
0 1 1 1 1 1 1 1 0 0 0
1
0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1
14
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...