MSCAN Controller
Programmer’s Model of Message Storage
68HC(9)12DG128 Rev 1.0
MOTOROLA
MSCAN Controller
309
23-mscan12
Programmers Model of Message Storage
The following section details the organisation of the receive and transmit
message buffers and the associated control registers. For reasons of
programmer interface simplification the receive and transmit message
buffers have the same outline. Each message buffer allocates 16 bytes
in the memory map containing a 13 byte data structure. An additional
transmit buffer priority register (TBPR) is defined for the transmit buffers.
Message Buffer
Outline
Figure 54
shows the common 13 byte data structure of receive and
transmit buffers for extended identifiers. The mapping of standard
identifiers into the IDR registers is shown in
Figure 55
. All bits of the 13
byte data structure are undefined out of reset.
NOTE:
The foreground receive buffer can be read anytime but cannot be
written. The transmit buffers can be read or written anytime.
Figure 53 Message Buffer Organization
Address
(1)
1. x is 4, 5, 6, or 7 depending on which buffer RxFG,
Tx0, Tx1, or Tx2 respectively.
2. Not applicable for receive buffers
Register name
01x0
01x1
01x2
01x3
01x4
01x5
01x6
01x7
01x8
01x9
01xA
01xB
01xC
01xD
01xE
01xF
Identifier register 0
Identifier register 1
Identifier register 2
Identifier register 3
Data segment register 0
Data segment register 1
Data segment register 2
Data segment register 3
Data segment register 4
Data segment register 5
Data segment register 6
Data segment register 7
Data length register
Transmit buffer priority register
(2)
Unused
Unused