
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
798 of 808
continued >>
NXP Semiconductors
UM10360
Chapter 35: LPC17xx Supplementary information
FullCAN mode . . . . . . . . . . . . . . . . . . . . . . . 349
Sections of the ID look-up table RAM . . . . . 349
ID look-up table RAM. . . . . . . . . . . . . . . . . . . 350
Acceptance filter registers . . . . . . . . . . . . . . 352
Section configuration registers . . . . . . . . . . . 352
Standard Frame Group Start Address register
(SFF_GRP_sa - 0x4003 C008) . . . . . . . . . . 353
Extended Frame Group Start Address register
(EFF_GRP_sa - 0x4003 C010) . . . . . . . . . . 354
Status registers . . . . . . . . . . . . . . . . . . . . . . . 355
LUT Error register (LUTerr - 0x4003 C01C) . 356
Configuration and search algorithm . . . . . . 357
Acceptance filter search algorithm . . . . . . . . 357
FullCAN mode . . . . . . . . . . . . . . . . . . . . . . . . 358
FullCAN message layout . . . . . . . . . . . . . . . 360
FullCAN interrupts . . . . . . . . . . . . . . . . . . . . 362
FullCAN message interrupt enable bit . . . . . 362
Message lost bit and CAN channel number. 363
Setting the interrupt pending bits (IntPnd 63 to 0)
364
Clearing the interrupt pending bits (IntPnd 63 to 0)
364
Setting the message lost bit of a FullCAN
message object (MsgLost 63 to 0). . . . . . . . 364
Clearing the message lost bit of a FullCAN
message object (MsgLost 63 to 0). . . . . . . . 364
Set and clear mechanism of the FullCAN interrupt
364
Scenario 1: Normal case, no message lost . 364
Scenario 2: Message lost. . . . . . . . . . . . . . . 365
Scenario 3.1: Message gets overwritten indicated
by Semaphore bits and Message Lost. . . . . 366
Scenario 4: Clearing Message Lost bit . . . . 368
Example 1: only one section is used . . . . . . 369
Example 2: all sections are used . . . . . . . . . 369
Configuration example 4 . . . . . . . . . . . . . . . 370
Configuration example 5 . . . . . . . . . . . . . . . 370
Configuration example 6 . . . . . . . . . . . . . . . 371
Configuration example 7 . . . . . . . . . . . . . . . 373
Look-up table programming guidelines . . . . 375
Basic configuration . . . . . . . . . . . . . . . . . . . . 377
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
SPI overview. . . . . . . . . . . . . . . . . . . . . . . . . . 377
Pin description . . . . . . . . . . . . . . . . . . . . . . . . 378
SPI data transfers . . . . . . . . . . . . . . . . . . . . . 378
SPI peripheral details . . . . . . . . . . . . . . . . . . 380
General information . . . . . . . . . . . . . . . . . . . 380
Master operation. . . . . . . . . . . . . . . . . . . . . . 380
Slave operation. . . . . . . . . . . . . . . . . . . . . . . 381
Exception conditions. . . . . . . . . . . . . . . . . . . 381
Register description . . . . . . . . . . . . . . . . . . . 382
SPI Control Register (S0SPCR - 0x4002 0000) . .
382
SPI Status Register (S0SPSR - 0x4002 0004) . .
384
SPI Data Register (S0SPDR - 0x4002 0008) 384
SPI Clock Counter Register (S0SPCCR -
0x4002 000C) . . . . . . . . . . . . . . . . . . . . . . . 384
SPI Test Control Register (SPTCR - 0x4002 0010)
385
SPI Test Status Register (SPTSR - 0x4002 0014)
385
SPI Interrupt Register (S0SPINT - 0x4002 001C)
385
Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . 386