beautypg.com

8 status registers, Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual

Page 504

background image

UM10237_4

© NXP B.V. 2009. All rights reserved.

User manual

Rev. 04 — 26 August 2009

504 of 792

NXP Semiconductors

UM10237

Chapter 18: LPC24XX CAN controllers CAN1/2

15.7 End of AF Tables Register (ENDofTable - 0xE003 C014)

[1]

Write access to the look-up table section configuration registers are possible only during the Acceptance
filter bypass mode or the Acceptance filter off mode.

15.8 Status registers

The look-up table error status registers, the error addresses, and the flag register provide
information if a programming error in the look-up table RAM during the ID screening was
encountered. The look-up table error address and flag register have only read access. If
an error is detected, the LUTerror flag is set, and the LUTerrorAddr register provides the
information under which address during an ID screening an error in the look-up table was
encountered. Any read of the LUTerrorAddr Filter block can be used for a look-up table
interrupt.

15.9 LUT Error Address Register (LUTerrAd - 0xE003 C018)

Table 448. End of AF Tables Register (ENDofTable - address 0xE003 C014) bit description

Bit

Symbol

Description

Reset
Value

1:0

-

Reserved, user software should not write ones to reserved bits. The
value read from a reserved bit is not defined.

NA

11:2

EndofTable

[1]

The address above the last active address in the last active AF table.
For compatibility with possible future devices, please write zeroes in
bits 31:12 and 1:0 of this register.

If the eFCAN bit in the AFMR is 0, the largest value that should be
written to this register is 0x800, which allows the last word (address
0x7FC) in AF Lookup Table RAM to be used.

If the eFCAN bit in the AFMR is 1, this value marks the start of the
area of Acceptance Filter RAM, into which the Acceptance Filter will
automatically receive messages for selected IDs on selected CAN
buses. In this case, the maximum value that should be written to this
register is 0x800 minus 6 times the value in SFF_sa. This allows 12
bytes of message storage between this address and the end of
Acceptance Filter RAM, for each Standard ID that is specified
between the start of Acceptance Filter RAM, and the next active AF
table.

0

31:12 -

Reserved, user software should not write ones to reserved bits. The
value read from a reserved bit is not defined.

NA

Table 449. LUT Error Address Register (LUTerrAd - address 0xE003 C018) bit description

Bit

Symbol

Description

Reset
Value

1:0

-

Reserved, user software should not write ones to reserved bits. The
value read from a reserved bit is not defined.

NA

10:2

LUTerrAd It the LUT Error bit (below) is 1, this read-only field contains the address

in AF Lookup Table RAM, at which the Acceptance Filter encountered
an error in the content of the tables.

0

31:11 -

Reserved, user software should not write ones to reserved bits. The
value read from a reserved bit is not defined.

NA