Datasheet

UM10398 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2014. All rights reserved.
User manual Rev. 12.3 — 10 June 2014 300 of 547
NXP Semiconductors
UM10398
Chapter 16: LPC111x/LPC11Cxx C_CAN controller
16.6.2.4.6 CAN message interface data A1 registers
In a CAN Data Frame, DATA0 is the first, DATA7 (in CAN_IF1B2 AND CAN_IF2B2) is the
last byte to be transmitted or received. In CAN’s serial bit stream, the MSB of each byte
will be transmitted first.
Remark: Byte DATA0 is the first data byte shifted into the shift register of the CAN Core
during a reception, byte DATA7 is the last. When the Message Handler stores a Data
Frame, it will write all the eight data bytes into a Message Object. If the Data Length Code
is less than 8, the remaining bytes of the Message Object will be overwritten by non
specified values.
16.6.2.4.7 CAN message interface data A2 registers
14 MSGLST Message lost (only valid for message objects in the direction receive). 0 R/W
0 Not lost. No message lost since this bit was reset last by the CPU.
1 Lost. The Message Handler stored a new message into this object when
NEWDAT was still set, the CPU has lost a message.
15 NEWDAT New data 0 R/W
0 No new data. No new data has been written into the data portion of this
message object by the message handler since this flag was cleared last by
the CPU.
1 New data. The message handler or the CPU has written new data into the
data portion of this message object.
31:16 - - Reserved 0 -
Table 262. CAN message interface message control registers (CANIF1_MCTRL, address 0x4005 0038 and
CANIF2_MCTRL, address 0x4005 0098) bit description
…continued
Bit Symbol Value Description Reset
value
Access
Table 263. CAN message interface data A1 registers (CANIF1_DA1, address 0x4005 003C
and CANIF2_DA1, address 0x4005 009C) bit description
Bit Symbol Description Reset value Access
7:0 DATA0 Data byte 0 0x00 R/W
15:8 DATA1 Data byte 1 0x00 R/W
31:16 - Reserved - -
Table 264. CAN message interface data A2 registers (CANIF1_DA2, address 0x4005 0040
and CANIF2_DA2, address 0x4005 00A0) bit description
Bit Symbol Description Reset value Access
7:0 DATA2 Data byte 2 0x00 R/W
15:8 DATA3 Data byte 3 0x00 R/W
31:16 - Reserved - -