English
Language : 

K60P100M100SF2RM Datasheet, PDF (1341/1809 Pages) Freescale Semiconductor, Inc – K60 Sub-Family Reference Manual
Field
15–0
Reserved
Chapter 48 CAN (FlexCAN)
CANx_CTRL2 field descriptions (continued)
Description
0 Rx Mailbox filter’s IDE bit is always compared and RTR is never compared despite mask bits.
1 Enables the comparison of both Rx Mailbox filter’s IDE and RTR bit with their corresponding bits
within the incoming frame. Mask bits do apply.
This read-only field is reserved and always has the value zero.
1. The number of the last remaining available mailboxes is defined by the least value between the parameter
NUMBER_OF_MB minus 1 and the MCR[MAXMB] field.
2. If Rx Individual Mask Registers are not enabled then all Rx FIFO filters are affected by the Rx FIFO Global Mask.
48.3.15 Error and Status 2 Register (CANx_ESR2)
This register reflects various interrupt flags and some general status.
Addresses: CAN0_ESR2 is 4002_4000h base + 38h offset = 4002_4038h
CAN1_ESR2 is 400A_4000h base + 38h offset = 400A_4038h
Bit 31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
R
0
LPTM
W
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit 15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R 0 VPS IMB
0
W
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
CANx_ESR2 field descriptions
Field
31–23
Reserved
22–16
LPTM
15
Reserved
14
VPS
Description
This read-only field is reserved and always has the value zero.
Lowest Priority Tx Mailbox
If ESR2[VPS] is asserted, this field indicates the lowest number inactive Mailbox (refer to the IMB bit
description). If there is no inactive Mailbox then the Mailbox indicated depends on CTRL1[LBUF] bit value.
If CTRL1[LBUF] bit is negated then the Mailbox indicated is the one which has the greatest arbitration
value (see the "Highest priority Mailbox first" section). If CTRL1[LBUF] bit is asserted then the Mailbox
indicated is the highest number active Tx Mailbox. If a Tx Mailbox is being transmitted it is not considered
in LPTM calculation. If ESR2[IMB] is not asserted and a frame is transmitted successfully, LPTM is
updated with its Mailbox number.
This read-only field is reserved and always has the value zero.
Valid Priority Status
This bit indicates whether IMB and LPTM contents are currently valid or not. VPS is asserted upon every
complete Tx arbitration process unless the CPU writes to Control and Status word of a Mailbox that has
Table continues on the next page...
K60 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc.
1341