CAN BUS - algorithm for fast CRC calculation

Thread Starter

Krzysztof Bieda

Joined Jan 5, 2016
46
Hello Everyone!

I have to develop a code that will calculate CRC for CAN BUS?

Would you recommend me any fast algorithm?
I would be happy not to calculate but to use somehow a lookup table.

Best,
Chris
 

Papabravo

Joined Feb 24, 2006
21,225
Hello Everyone!

I have to develop a code that will calculate CRC for CAN BUS?

Would you recommend me any fast algorithm?
I would be happy not to calculate but to use somehow a lookup table.

Best,
Chris
All CAN controllers compute the CRC in hardware. No processor is fast enough to compute it in time to throw an error if one occurs; it is part of the CAN protocol. BTW I've never seen one and I can't even tell you how to create one. The usual methods produce bit errors which cause the transmitter to throw ERROR frames.
 
Top