![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1238](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271238.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1238 of 1441
NXP Semiconductors
UM10503
Chapter 45: LPC43xx/LPC43Sxx C_CAN
45.6.1 CAN protocol registers
45.6.1.1 CAN control register
After a hardware reset, the registers of the C_CAN controller hold the values described in
. Additionally, the busoff state is set, and the TD0/1 outputs are set to HIGH.
The reset value 0x0001 of the CANCTRL register enables initialization by software (INIT =
1). The C_CAN does not influence the CAN bus until the CPU resets the INIT bit to 0.
MSGV2
RO
0x164
Message valid 2
0x0000
-
-
0x168 -
0x17C
Reserved
-
CLKDIV
R/W
0x180
CAN clock divider register
0x0001
Table 1035.Register overview: C_CAN1 (base address 0x400A 4000)
Name
Access
Address
offset
Description
Reset
value
Reference
Table 1036.CAN control registers (CNTL, address 0x400E 2000 (C_CAN0) and 0x400A 4000
(C_CAN1)) bit description
Bit
Symbol Value
Description
Reset
value
Access
0
INIT
Initialization
1
R/W
0
Normal operation.
1
Initialization is started. On reset, software
needs to initialize the CAN controller.
1
IE
Module interrupt enable
0
R/W
0
Disable CAN interrupts. The interrupt line is
always HIGH.
1
Enable CAN interrupts. The interrupt line is set
to LOW and remains LOW until all pending
interrupts are cleared.
2
SIE
Status change interrupt enable
0
R/W
0
Disable status change interrupts. No status
change interrupt will be generated.
1
Enable status change interrupts. A status
change interrupt will be generated when a
message transfer is successfully completed or
a CAN bus error is detected.
3
EIE
Error interrupt enable
0
R/W
0
Disable error interrupt. No error status interrupt
will be generated.
1
Enable error interrupt. A change in the bits
BOFF or EWARN in the CANSTAT registers
will generate an interrupt.
4
-
-
Reserved
0
-
5
DAR
Disable automatic retransmission
0
R/W
0
Automatic retransmission of disturbed
messages enabled.
1
Automatic retransmission disabled.