ARM Technical Support Knowledge Articles

CAN COMMUNICATION QUESTION

Applies to: RTX51 Real-time Kernel

Answer


Information in this article applies to:


QUESTION

I can't seem to find (nor de-construct) the bit-by-bit layout of the can_message_struct identifier field for extended message identifiers (29-bit)

ANSWER

As far as your program is concerned, the CAN message IDs are represented the same as other numbers. The least significant bit is in the same place as the least significant bit in any other unsigned int (or unsigned long, for 29-bit ids).

The CAN controller hardware uses a different bit order, but the RTX CAN routines handle the conversion.

MORE INFORMATION

Article last edited on: 2005-07-19 10:02:03

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential