![NXP Semiconductors freescale KV4 Series Reference Manual Download Page 1132](http://html1.mh-extra.com/html/nxp-semiconductors/freescale-kv4-series/freescale-kv4-series_reference-manual_17217891132.webp)
43.5.2.1 Lowest-number Mailbox first
If CAN_CTRL1[LBUF] bit is asserted the first (lowest number) active Tx Mailbox found
is the arbitration winner. CAN_MCR[LPRIOEN] bit has no effect when
CAN_CTRL1[LBUF] is asserted.
43.5.2.2 Highest-priority Mailbox first
If CAN_CTRL1[LBUF] bit is negated, then the arbitration process searches the active Tx
Mailbox with the highest priority, which means that this Mailbox’s frame would have a
higher probability to win the arbitration on CAN bus when multiple external nodes
compete for the bus at the same time.
The sequence of bits considered for this arbitration is called the arbitration value of the
Mailbox. The highest-priority Tx Mailbox is the one that has the lowest arbitration value
among all Tx Mailboxes.
If two or more Mailboxes have equivalent arbitration values, the Mailbox with the lowest
number is the arbitration winner.
The composition of the arbitration value depends on CAN_MCR[LPRIOEN] bit setting.
43.5.2.2.1 Local Priority disabled
If CAN_MCR[LPRIOEN] bit is negated the arbitration value is built in the exact
sequence of bits as they would be transmitted in a CAN frame (see the following table) in
such a way that the Local Priority is disabled.
Table 43-111. Composition of the arbitration value when Local Priority is disabled
Format
Mailbox Arbitration Value (32 bits)
Standard (IDE = 0)
Standard ID (11
bits)
RTR (1 bit)
IDE (1 bit)
- (18 bits)
- (1 bit)
Extended (IDE = 1) Extended ID[28:18]
(11 bits)
SRR (1 bit)
IDE (1 bit)
Extended ID[17:0]
(18 bits)
RTR (1 bit)
43.5.2.2.2 Local Priority enabled
If Local Priority is desired CAN_MCR[LPRIOEN] must be asserted. In this case the
Mailbox PRIO field is included at the very left of the arbitration value (see the following
table).
Functional description
KV4x Reference Manual, Rev. 2, 02/2015
1132
Preliminary
Freescale Semiconductor, Inc.
Summary of Contents for freescale KV4 Series
Page 2: ...KV4x Reference Manual Rev 2 02 2015 2 Preliminary Freescale Semiconductor Inc...
Page 60: ...KV4x Reference Manual Rev 2 02 2015 60 Preliminary Freescale Semiconductor Inc...
Page 128: ...Debug Security KV4x Reference Manual Rev 2 02 2015 128 Preliminary Freescale Semiconductor Inc...
Page 138: ...Boot KV4x Reference Manual Rev 2 02 2015 138 Preliminary Freescale Semiconductor Inc...
Page 1358: ...KV4x Reference Manual Rev 2 02 2015 1358 Preliminary Freescale Semiconductor Inc...