
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
797 of 808
continued >>
NXP Semiconductors
UM10360
Chapter 35: LPC17xx Supplementary information
Baud rate calculation . . . . . . . . . . . . . . . . . . 309
UART1 RS-485 Address Match register
(U1RS485ADRMATCH - 0x4001 0050) . . . . 313
UART1 RS-485 Delay value register
(U1RS485DLY - 0x4001 0054) . . . . . . . . . . 313
RS-485/EIA-485 modes of operation . . . . . . 313
UART1 FIFO Level register (U1FIFOLVL -
0x4001 0058, Read Only) . . . . . . . . . . . . . . 315
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Basic configuration . . . . . . . . . . . . . . . . . . . . 317
CAN controllers . . . . . . . . . . . . . . . . . . . . . . . 317
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
General CAN features . . . . . . . . . . . . . . . . . 317
CAN controller features . . . . . . . . . . . . . . . . 318
Acceptance filter features . . . . . . . . . . . . . . . 318
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 318
CAN controller architecture . . . . . . . . . . . . . 318
APB Interface Block (AIB) . . . . . . . . . . . . . . 319
Interface Management Logic (IML). . . . . . . . 319
Transmit Buffers (TXB) . . . . . . . . . . . . . . . . . 319
Receive Buffer (RXB) . . . . . . . . . . . . . . . . . 320
Error Management Logic (EML) . . . . . . . . . 321
Bit Timing Logic (BTL) . . . . . . . . . . . . . . . . . 321
Bit Stream Processor (BSP) . . . . . . . . . . . . . 321
CAN controller self-tests . . . . . . . . . . . . . . . . 321
Memory map of the CAN block. . . . . . . . . . . 323
CAN controller registers . . . . . . . . . . . . . . . . 323
CAN Mode register (CAN1MOD - 0x4004 4000,
CAN2MOD - 0x4004 8000) . . . . . . . . . . . . . 325
CAN Command Register (CAN1CMR -
0x4004 x004, CAN2CMR - 0x4004 8004) . . 326
CAN Global Status Register (CAN1GSR -
0x4004 x008, CAN2GSR - 0x4004 8008) . . 328
CAN Interrupt and Capture Register (CAN1ICR -
0x4004 400C, CAN2ICR - 0x4004 800C). . . 330
CAN Interrupt Enable Register (CAN1IER -
0x4004 4010, CAN2IER - 0x4004 8010) . . . 334
CAN Bus Timing Register (CAN1BTR -
0x4004 4014, CAN2BTR - 0x4004 8014) . . . 335
CAN Error Warning Limit register (CAN1EWL -
0x4004 4018, CAN2EWL - 0x4004 8018) . . 337
CAN Status Register (CAN1SR - 0x4004 401C,
CAN2SR - 0x4004 801C) . . . . . . . . . . . . . . . 337
CAN Receive Frame Status register (CAN1RFS -
0x4004 4020, CAN2RFS - 0x4004 8020) . . . 339
ID index field . . . . . . . . . . . . . . . . . . . . . . . . . 340
CAN Receive Identifier register (CAN1RID -
0x4004 4024, CAN2RID - 0x4004 8024) . . . 340
CAN Receive Data register A (CAN1RDA -
0x4004 4028, CAN2RDA - 0x4004 8028) . . 340
CAN Receive Data register B (CAN1RDB -
0x4004 402C, CAN2RDB - 0x4004 802C). . 341
CAN controller operation . . . . . . . . . . . . . . . 345
Error handling . . . . . . . . . . . . . . . . . . . . . . . 345
Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . 345
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 346
Transmit priority . . . . . . . . . . . . . . . . . . . . . . 346
Centralized CAN registers . . . . . . . . . . . . . . 346
Global acceptance filter . . . . . . . . . . . . . . . . 348
Acceptance filter modes. . . . . . . . . . . . . . . . 348
Acceptance filter Off mode. . . . . . . . . . . . . . 349