English
Language : 

UM10360 Datasheet, PDF (370/835 Pages) NXP Semiconductors – LPC17xx User manual
NXP Semiconductors
UM10360
Chapter 16: LPC17xx CAN1/2
9. Centralized CAN registers
For easy and fast access, all CAN Controller Status bits from each CAN Controller Status
register are bundled together. Each defined byte of the following registers contains one
particular status bit from each of the CAN controllers, in its LS bits.
All Status registers are read-only and allow byte, half word and word access.
9.1 Central Transmit Status Register (CANTxSR - 0x4004 0000)
Table 338. Central Transit Status Register (CANTxSR - address 0x4004 0000) bit description
Bit Symbol Description
0
TS1
When 1, the CAN controller 1 is sending a message (same as TS in the CAN1GSR).
1
TS2
When 1, the CAN controller 2 is sending a message (same as TS in the CAN2GSR)
7:2 -
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
8
TBS1 When 1, all 3 Tx Buffers of the CAN1 controller are available to the CPU (same as TBS in
CAN1GSR).
9
TBS2 When 1, all 3 Tx Buffers of the CAN2 controller are available to the CPU (same as TBS in
CAN2GSR).
15:10 -
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
16 TCS1 When 1, all requested transmissions have been completed successfully by the CAN1
controller (same as TCS in CAN1GSR).
17:16 TCS2
When 1, all requested transmissions have been completed successfully by the CAN2
controller (same as TCS in CAN2GSR).
31:18 -
Reserved, the value read from a reserved bit is not defined.
Reset Value
0
0
NA
1
1
NA
1
1
NA
9.2 Central Receive Status Register (CANRxSR - 0x4004 0004)
Table 339. Central Receive Status Register (CANRxSR - address 0x4004 0004) bit description
Bit Symbol Description
0
RS1
When 1, CAN1 is receiving a message (same as RS in CAN1GSR).
1
RS2
When 1, CAN2 is receiving a message (same as RS in CAN2GSR).
7:2 -
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
8
RB1
When 1, a received message is available in the CAN1 controller (same as RBS in
CAN1GSR).
9
RB2
When 1, a received message is available in the CAN2 controller (same as RBS in
CAN2GSR).
15:10 -
Reserved, user software should not write ones to reserved bits. The value read from a
reserved bit is not defined.
16 DOS1 When 1, a message was lost because the preceding message to CAN1 controller was not
read out quickly enough (same as DOS in CAN1GSR).
17:16 DOS2
When 1, a message was lost because the preceding message to CAN2 controller was not
read out quickly enough (same as DOS in CAN2GSR).
31:18 -
Reserved, the value read from a reserved bit is not defined.
Reset Value
0
0
NA
0
0
NA
0
0
NA
UM10360_1
User manual
Rev. 01 — 4 January 2010
© NXP B.V. 2010. All rights reserved.
370 of 835