30.01.2015 Views

UM10211 - Standard ICs

UM10211 - Standard ICs

UM10211 - Standard ICs

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

NXP Semiconductors<br />

<strong>UM10211</strong><br />

Chapter 12: LPC2300 CAN1, 2<br />

If <strong>Standard</strong> (11 bit) Identifiers are used in the application, at least one of 3 tables in<br />

Acceptance Filter RAM must not be empty. If the optional “fullCAN mode” is enabled, the<br />

first table contains <strong>Standard</strong> identifiers for which reception is to be handled in this mode.<br />

The next table contains individual <strong>Standard</strong> Identifiers and the third contains ranges of<br />

<strong>Standard</strong> Identifiers, for which messages are to be received via the CAN Controllers. The<br />

tables of fullCAN and individual <strong>Standard</strong> Identifiers must be arranged in ascending<br />

numerical order, one per halfword, two per word. Since each CAN bus has its own<br />

address map, each entry also contains the number of the CAN Controller (001-010) to<br />

which it applies.<br />

31<br />

15<br />

29<br />

13<br />

26<br />

10<br />

16<br />

0<br />

CONTROLLER #<br />

DIS<br />

ABLE<br />

NOT<br />

USED<br />

IDENTIFIER<br />

Fig 33. Entry in FullCAN and individual standard identifier tables<br />

The table of <strong>Standard</strong> Identifier Ranges contains paired upper and lower (inclusive)<br />

bounds, one pair per word. These must also be arranged in ascending numerical order.<br />

31 29 26 16 10 0<br />

CONTROLLER<br />

#<br />

DISABLE<br />

NOT USED<br />

LOWER IDENTIFIER<br />

BOUND<br />

CONTROLLER<br />

#<br />

DISABLE<br />

NOT USED<br />

UPPER IDENTIFIER<br />

BOUND<br />

Fig 34. Entry in standard identifier range table<br />

The disable bits in <strong>Standard</strong> entries provide a means to turn response, to particular CAN<br />

Identifiers or ranges of Identifiers, on and off dynamically. When the Acceptance Filter<br />

function is enabled, only the disable bits in Acceptance Filter RAM can be changed by<br />

software. Response to a range of <strong>Standard</strong> addresses can be enabled by writing 32 zero<br />

bits to its word in RAM, and turned off by writing 32 one bits (0xFFFF FFFF) to its word in<br />

RAM. Only the disable bits are actually changed. Disabled entries must maintain the<br />

ascending sequence of Identifiers.<br />

If Extended (29 bit) Identifiers are used in the application, at least one of the other two<br />

tables in Acceptance Filter RAM must not be empty, one for individual Extended Identifiers<br />

and one for ranges of Extended Identifiers. The table of individual Extended Identifiers<br />

must be arranged in ascending numerical order.<br />

31 29 28 0<br />

CONTROLLER #<br />

IDENTIFIER<br />

Fig 35. Entry in either extended identifier table<br />

<strong>UM10211</strong>_1<br />

© NXP B.V. 2007. All rights reserved.<br />

User manual Rev. 01 — 27 March 2007 236 of 613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!