Results 1 to 2 of 2

Thread: Dealing with lost communications on CAN Layer 2

  1. #1
    Join Date
    May 2009
    Minneapolis, MN

    Default Dealing with lost communications on CAN Layer 2

    If you are using a CANx_RECEIVE block and you loose communication you will find that the last data that was received is the data that is outputed from the block.

    If you monitor the AVAILABLE messages you will see that it will stay 0. You can use this to force the data to all 0s or FFs.

    See the attached document for a screen shot of an example of how to do this.
    Attached Images Attached Images

  2. #2
    Join Date
    Aug 2009
    ifm Exton, PA


    Another option is to only move data from the receive block to a working data buffer when the receive is successful. Just compare the RESULT of the block and when = 1 move the data to a working buffer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts