UM10360 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2013. All rights reserved.
User manual Rev. 3 — 19 December 2013 350 of 841
NXP Semiconductors
UM10360
Chapter 16: LPC176x/5x CAN1/2
16.6 Memory map of the CAN block
The CAN Controllers and Acceptance Filter occupy a number of APB slots, as follows:
16.7 CAN controller registers
CAN block implements the registers shown in Table 313 and Table 314. More detailed
descriptions follow.
Table 312. 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 313. 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 314. CAN1 and CAN2 controller register map
Generic
Name
Description Access Reset
value
CAN1 & 2 Register Name
& Address
MOD Controls the operating mode of the CAN Controller. R/W 1 CAN1MOD - 0x4004 4000
CAN2MOD - 0x4004 8000
CMR Command bits that affect the state of the CAN Controller WO 0 CAN1CMR - 0x4004 4004
CAN2CMR - 0x4004 8004
GSR Global Controller Status and Error Counters RO
[1]
0x3C CAN1GSR - 0x4004 4008
CAN2GSR - 0x4004 8008
ICR Interrupt status, Arbitration Lost Capture, Error Code Capture RO 0 CAN1ICR - 0x4004 400C
CAN2ICR - 0x4004 800C
IER Interrupt Enable R/W 0 CAN1IER - 0x4004 4010
CAN2IER - 0x4004 8010