Keil Logo

Simulate Incoming Messages

The following example shows the simulation of an incoming message object with 2 message bytes.

>CAN0ID = 0x4500   // message ID = 0x4500
>CAN0L = 2         // message length 2 bytes
>CAN0B0 = 0x12     // message data byte 0
>CAN0B1 = 0x34     // message data byte 1
>CAN0IN = 2        // set CAN message with 29-bit identifier to the application program

Note

  • You may also enter incoming messages directly in the CAN communication dialog page.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.