English
Language : 

MC9S12HZ256 Datasheet, PDF (366/692 Pages) Freescale Semiconductor, Inc – HCS12 Microcontrollers
Chapter 12 Freescale’s Scalable Controller Area Network (MSCANV2)
DLC3
0
0
0
0
0
0
0
0
1
Table 12-34. Data Length Codes
Data Length Code
DLC2
0
0
0
0
1
1
1
1
0
DLC1
0
0
1
1
0
0
1
1
0
DLC0
0
1
0
1
0
1
0
1
0
Data Byte
Count
0
1
2
3
4
5
6
7
8
12.3.3.4 Transmit Buffer Priority Register (TBPR)
This register defines the local priority of the associated message buffer. The local priority is used for the
internal prioritization process of the MSCAN and is defined to be highest for the smallest binary number.
The MSCAN implements the following internal prioritization mechanisms:
• All transmission buffers with a cleared TXEx flag participate in the prioritization immediately
before the SOF (start of frame) is sent.
• The transmission buffer with the lowest local priority field wins the prioritization.
In cases of more than one buffer having the same lowest priority, the message buffer with the lower index
number wins.
R
W
Reset:
7
PRIO7
0
6
PRIO6
5
PRIO5
4
PRIO4
3
PRIO3
2
PRIO2
0
0
0
0
0
Figure 12-33. Transmit Buffer Priority Register (TBPR)
1
PRIO1
0
0
PRIO0
0
Read: Anytime when TXEx flag is set (see Section 12.3.2.7, “MSCAN Transmitter Flag Register
(CANTFLG)”) and the corresponding transmit buffer is selected in CANTBSEL (see Section 12.3.2.11,
“MSCAN Transmit Buffer Selection Register (CANTBSEL)”).
Write: Anytime when TXEx flag is set (see Section 12.3.2.7, “MSCAN Transmitter Flag Register
(CANTFLG)”) and the corresponding transmit buffer is selected in CANTBSEL (see Section 12.3.2.11,
“MSCAN Transmit Buffer Selection Register (CANTBSEL)”).
12.3.3.5 Time Stamp Register (TSRH–TSRL)
If the TIME bit is enabled, the MSCAN will write a special time stamp to the respective registers in the
active transmit or receive buffer as soon as a message has been acknowledged on the CAN bus (see
MC9S12HZ256 Data Sheet, Rev. 2.04
366
Freescale Semiconductor