3

Do you have a practical example on how to calculate the CRC field for CAN 2.0 B?

9
  • 1
    Are you wondering what algorithm is used to create the cyclic redundancy check within the CAN message? I would think that is probably not only proprietary, but is different depending on which CAN controller is used. I've not done any work in this realm, so don't know for sure. Commented Aug 7, 2015 at 13:37
  • @Paulster2 Thanks. Does the CAN standard suggest a way to calculate it? Is there a step-by-step calculation example, so I can understand exactly how it works?
    – user11642
    Commented Aug 7, 2015 at 13:43
  • This link to a Bosch CAN spec may be helpful: kvaser.com/software/7330130980914/V1/can2spec.pdf You can also find some useful information here: hackersdelight.org/crc.pdf Commented Aug 7, 2015 at 13:56
  • Yes. Can you name one link which satisfies my question. I would be glad to accept it!
    – user11642
    Commented Aug 7, 2015 at 14:02
  • 1
    stackoverflow.com/questions/2587766/… Commented Aug 7, 2015 at 14:09

1 Answer 1

1

This link to a Bosch CAN spec may be helpful: http://kvaser.com/software/7330130980914/V1/can2spec.pdf

You can also find some useful information here: http://hackersdelight.org/crc.pdf

You must log in to answer this question.