Keil™, An ARM® Company

Technical Support

RTX51: CAN COMMUNICATION QUESTION


Information in this article applies to:

  • RTX166 Version 3.0
  • RTX51 Version 3.10

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

  • Refer to the CAN section of the RTX manual.

Last Reviewed: Tuesday, July 19, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure