Controller Area Network (FlexCAN)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
Freescale Semiconductor
25-19
Preliminary
25.3.4.4.1
Rx Global Mask (CANx_RXGMASK)
This register is provided for legacy support. On MPC5510, setting the BCC bit in CANx_MCR causes the
CANx_RXGMASK Register to have no effect on the module operation.
CANx_RXGMASK is used as acceptance mask for all Rx MBs, excluding MBs 14
–
15, which have
individual mask registers. When the FEN bit in CANx_MCR is set (FIFO enabled), the
CANx_RXGMASK also applies to all elements of the ID filter table, except elements 6-7, which have
individual masks.
The contents of this register must be programmed while the module is in Freeze Mode, and must not be
modified when the module is transmitting or receiving frames.
Table 25-9. Mask Examples for Standard/Extended Message Buffers
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 (MB3).
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. (MB2).
1 1 1 1 1 1 1 1 0 0 1
0
2
Rx Msg in
3
3
Mismatch for MB3 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 MB2 because of ID28.
0 1 1 1 1 1 1 1 0 0 0
0
Rx Msg in
5
5
Mismatch for MB3 because of ID28, Match for MB14 (uses CANx_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 MB14 because of ID27 (uses CANx_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 MB14 (uses CANx_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