Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual
Page 785
![background image](/manuals/190592/785/background.png)
UM10237_4
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 04 — 26 August 2009
785 of 792
NXP Semiconductors
UM10237
Chapter 36: LPC24XX Supplementary information
CAN controller operation . . . . . . . . . . . . . . . 494
Error handling . . . . . . . . . . . . . . . . . . . . . . . . 494
Sleep mode . . . . . . . . . . . . . . . . . . . . . . . . . 494
Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
Transmit priority . . . . . . . . . . . . . . . . . . . . . . 495
Centralized CAN registers. . . . . . . . . . . . . . . 495
Global acceptance filter . . . . . . . . . . . . . . . . 497
Acceptance filter modes . . . . . . . . . . . . . . . . 497
Acceptance filter Off mode . . . . . . . . . . . . . . 497
Acceptance filter Bypass mode . . . . . . . . . . 498
Acceptance filter Operating mode . . . . . . . . 498
FullCAN mode . . . . . . . . . . . . . . . . . . . . . . . 498
Sections of the ID look-up table RAM . . . . . 498
ID look-up table RAM. . . . . . . . . . . . . . . . . . . 498
Acceptance filter registers . . . . . . . . . . . . . . 500
Section configuration registers . . . . . . . . . . . 501
Standard Frame Group Start Address Register
(SFF_GRP_sa - 0xE003 C008) . . . . . . . . . . 502
Extended Frame Group Start Address Register
(EFF_GRP_sa - 0xE003 C010) . . . . . . . . . . 503
Status registers . . . . . . . . . . . . . . . . . . . . . . . 504
LUT Error Register (LUTerr - 0xE003 C01C) 505
Configuration and search algorithm . . . . . . 506
Acceptance filter search algorithm . . . . . . . . 506
FullCAN mode . . . . . . . . . . . . . . . . . . . . . . . . 507
FullCAN message layout . . . . . . . . . . . . . . . 509
FullCAN interrupts . . . . . . . . . . . . . . . . . . . . . 511
FullCAN message interrupt enable bit . . . . . . 511
Message lost bit and CAN channel number. 512
Setting the interrupt pending bits
(IntPnd 63 to 0) . . . . . . . . . . . . . . . . . . . . . . 513
Clearing the interrupt pending bits
(IntPnd 63 to 0) . . . . . . . . . . . . . . . . . . . . . . 513
Setting the message lost bit of a FullCAN
message object (MsgLost 63 to 0). . . . . . . . 513
Clearing the message lost bit of a FullCAN
message object (MsgLost 63 to 0). . . . . . . . 513
Scenario 1: Normal case, no message lost . 513
Scenario 2: Message lost. . . . . . . . . . . . . . . 514
Scenario 3.1: Message gets overwritten indicated
by Semaphore bits and Message Lost. . . . . 515
Scenario 4: Clearing Message Lost bit . . . . 517
Example 1: only one section is used . . . . . . 518
Example 2: all sections are used . . . . . . . . . 518
Configuration example 4 . . . . . . . . . . . . . . . 519
Configuration example 5 . . . . . . . . . . . . . . . 519
Configuration example 6 . . . . . . . . . . . . . . . 520
Explicit standard frame format identifier section
(11-bit CAN ID): . . . . . . . . . . . . . . . . . . . . . . . 521
Group of standard frame format identifier section
(11-bit CAN ID): . . . . . . . . . . . . . . . . . . . . . . . 521
Explicit extended frame format identifier section
(29-bit CAN ID,
Figure 18–92
) . . . . . . . . . . . . 521
Group of extended frame format identifier section
(29-bit CAN ID,
Figure 18–92
) . . . . . . . . . . . . 521
Configuration example 7 . . . . . . . . . . . . . . . 522
FullCAN explicit standard frame format identfier
section (11-bit CAN ID) . . . . . . . . . . . . . . . . . 523
Explicit standard frame format identifier section
(11-bit CAN ID) . . . . . . . . . . . . . . . . . . . . . . . 523
FullCAN message object data section . . . . . . 523
Look-up table programming guidelines . . . . 524
Basic configuration . . . . . . . . . . . . . . . . . . . . 526
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
SPI overview . . . . . . . . . . . . . . . . . . . . . . . . . 526
SPI data transfers . . . . . . . . . . . . . . . . . . . . . 526