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
UM10316_0
© NXP B.V. 2008. All rights reserved.
User manual
Rev. 00.06 — 17 December 2008
360 of 571
NXP Semiconductors
UM10316
Chapter 21: LPC29xx CAN 0/1
14. CAN look-up table programming guidelines
All identifier sections of the ID look-up table must be programmed so that each active
section is a sorted list or table with the source CAN channels (SCCs)in ascending order,
together with CAN Identifier in each section.
Where a syntax error is encountered in the ID look-up table the address of the incorrect
line will be available in the look-up table error address Register CALUTEA.
The reporting process in the CALUTEA register is a run-time process. Address lines with
syntax errors are reported only if they have passed through the acceptance-filtering
process.
General rules for programming the look-up table are as follows:
•
Each section must be organized as a sorted list or table, with the SCCs in ascending
order and in conjunction with the CAN Identifier. There is no exception for disabled
identifiers.
•
The upper and lower bound in an identifier-group definition has to be from the same
SCC.
Fig 87. ID look-up table, configuration example 2
15
0
SCC
14
0
SCC
0
SCC
0
0
SCC
9
0
SCC
6
0
SCC
1
SCC
...
...
Disabled, 1
FullCAN
Explicit
Standard
Frame
Format
Identifier
Section
Explicit
Standard
Frame
Format
Identifier
Section
CASFESA
= 10h
2
0
SCC
3
0
SCC
7
8
0
SCC
11
10
0
SCC
0
SCC
FF RTR SEM DLC CAN-ID
FullCAN
Message
Object
section
Section
CAEOTA = CASFGSA = CAEFESA = CAEFGSA
= 20h
RXDATA 4, 3, 2, 1
MSB
ID28
MSB
ID28
LSB
ID18
MSB
ID28
LSB
ID18
MSB
ID28
LSB
ID18
MSB
ID28
LSB
ID18
MSB
ID28
LSB
ID18
MSB
ID28
MSB
ID28
MSB
ID28
MSB
ID28
LSB
ID18
LSB
ID18
LSB
ID18
LSB
ID18
0
SCC
4
0
SCC
5
MSB
ID28
LSB
ID18
MSB
ID28
LSB
ID18
LSB
ID18
LSB
ID18
MSB
ID28
MSB
ID28
LSB
ID18
13
12
0
SCC
0
SCC
LSB
ID18
LSB
ID18
MSB
ID28
MSB
ID28
RXDATA 8, 7, 6, 5
Message
disable bit
Message
disable bit
No Message Data, disabled.
No Message Data, disabled.
No Message Data, disabled.
FF RTR SEM DLC CAN-ID
RXDATA 4, 3, 2, 1
RXDATA 8, 7, 6, 5
Message Object Data 0
Message Object Data 1
Message Object Data 2
Index