
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
323 of 808
NXP Semiconductors
UM10360
Chapter 16: LPC17xx CAN1/2
6.
Memory map of the CAN block
The CAN Controllers and Acceptance Filter occupy a number of APB slots, as follows:
7.
CAN controller registers
CAN block implements the registers shown in
and
detailed descriptions follow.
Table 292. Memory map of the CAN block
Address Range
Used for
0x4003 8000 - 0x4003 87FF
Acceptance Filter RAM.
0x4003 C000 - 0x4003 C017
Acceptance Filter Registers.
0x4004 0000 - 0x4004 000B
Central CAN Registers.
0x4004 4000 - 0x4004 405F
CAN Controller 1 Registers.
0x4004 8000 - 0x4004 805F
CAN Controller 2 Registers.
0x400F C110 - 0x400F C114
CAN Wake and Sleep Registers.
Table 293. CAN acceptance filter and central CAN registers
Name
Description
Access Reset Value
Address
AFMR
Acceptance Filter Register
R/W
1
0x4003 C000
SFF_sa
Standard Frame Individual Start Address Register
R/W
0
0x4003 C004
SFF_GRP_sa Standard Frame Group Start Address Register
R/W
0
0x4003 C008
EFF_sa
Extended Frame Start Address Register
R/W
0
0x4003 C00C
EFF_GRP_sa Extended Frame Group Start Address Register
R/W
0
0x4003 C010
ENDofTable
End of AF Tables register
R/W
0
0x4003 C014
LUTerrAd
LUT Error Address register
RO
0
0x4003 C018
LUTerr
LUT Error Register
RO
0
0x4003 C01C
CANTxSR
CAN Central Transmit Status Register
RO
0x0003 0300 0x4004 0000
CANRxSR
CAN Central Receive Status Register
RO
0
0x4004 0004
CANMSR
CAN Central Miscellaneous Register
RO
0
0x4004 0008
Table 294. CAN1 and CAN2 controller register map
Generic
Name
Description
Access CAN1 Register
Address & Name
CAN2 Register
Address & Name
MOD
Controls the operating mode of the CAN
Controller.
R/W
CAN1MOD - 0x4004 4000
CAN2MOD - 0x4004 8000
CMR
Command bits that affect the state of the
CAN Controller
WO
CAN1CMR - 0x4004 4004
CAN2CMR - 0x4004 8004
GSR
Global Controller Status and Error Counters RO
CAN1GSR - 0x4004 4008
CAN2GSR - 0x4004 8008
ICR
Interrupt status, Arbitration Lost Capture,
Error Code Capture
RO
CAN1ICR - 0x4004 400C
CAN2ICR - 0x4004 800C
IER
Interrupt Enable
R/W
CAN1IER - 0x4004 4010
CAN2IER - 0x4004 8010
BTR
Bus Timing
R/W
CAN1BTR - 0x4004 4014
CAN2BTR - 0x4004 8014
EWL
Error Warning Limit
R/W
CAN1EWL - 0x4004 4018
CAN2EWL - 0x4004 8018
SR
Status Register
RO
CAN1SR - 0x4004 401C
CAN2SR - 0x4004 801C