
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
344 of 808
NXP Semiconductors
UM10360
Chapter 16: LPC17xx CAN1/2
7.16 CAN Transmit Data register B (CAN1TDB[1/2/3] - 0x4004 40[3C/4C/5C],
CAN2TDB[1/2/3] - 0x4004 80[3C/4C/5C])
When the corresponding TBS bit in CANSR is 1, software can write to one of these
registers to define the 5th through 8th data bytes of the next transmit message. The Data
Length Code defines the number of transferred data bytes. The first bit transmitted is the
most significant bit of TX Data Byte 1.
7.17 CAN Sleep Clear register (CANSLEEPCLR - 0x400F C110)
This register provides the current sleep state of the two CAN channels and provides a
means to restore the clocks to that channel following wake-up. Refer to
for more information on the CAN sleep feature.
7.18 CAN Wake-up Flags register (CANWAKEFLAGS - 0x400F C114)
This register provides the wake-up status for the two CAN channels and allows clearing
wake-up events. Refer to
for more information on the CAN
sleep feature.
Table 314. CAN Transmit Data register B (CAN1TDB[1/2/3] - address 0x4004 40[3C/4C/5C],
CAN2TDB[1/2/3] - address 0x4004 80[3C/4C/5C]) bit description
Bit
Symbol Function
Reset
Value
RM
Set
7:0
Data 5
If RTR = 0 and DLC
≥
0101 in the corresponding CANTFI, this
byte is sent as the 5th Data byte of the next transmit message.
0
X
15;8
Data 6
If RTR = 0 and DLC
≥
0110 in the corresponding CANTFI, this
byte is sent as the 6th Data byte of the next transmit message.
0
X
23:16 Data 7
If RTR = 0 and DLC
≥
0111 in the corresponding CANTFI, this
byte is sent as the 7th Data byte of the next transmit message.
0
X
31:24 Data 8
If RTR = 0 and DLC
≥
1000 in the corresponding CANTFI, this
byte is sent as the 8th Data byte of the next transmit message.
0
X
Table 315. CAN Sleep Clear register (CANSLEEPCLR - address 0x400F C110) bit description
Bit
Symbol
Function
Reset
Value
0
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA
1
CAN1SLEEP
Sleep status and control for CAN channel 1.
Read: when 1, indicates that CAN channel 1 is in the sleep mode.
Write: writing a 1 causes clocks to be restored to CAN channel 1.
0
2
CAN2SLEEP
Sleep status and control for CAN channel 2.
Read: when 1, indicates that CAN channel 2 is in the sleep mode.
Write: writing a 1 causes clocks to be restored to CAN channel 2.
0
31:3 -
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
NA