3

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

  • 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. – Pᴀᴜʟsᴛᴇʀ2 Aug 7 '15 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 Aug 7 '15 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 – David Winslow Aug 7 '15 at 13:56
  • Yes. Can you name one link which satisfies my question. I would be glad to accept it! – user11642 Aug 7 '15 at 14:02
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy