Page 1 of 1
CRC protection calculation
Posted: Sat Dec 05, 2020 8:00 pm
by muehlpower
Hello, I have to send a CAN message with CRC, I know that the protection is according to Autosar_SWS_E2ELibrary Profile 1C. Where can I find a rule on how the CRC is calculated?
Re: CRC protection calculation
Posted: Sat Dec 05, 2020 8:17 pm
by Dilbert
Re: CRC protection calculation
Posted: Thu Dec 10, 2020 11:43 pm
by muehlpower
I think you are right. I've found a very good site. There you can calculate CRCs online to check your own routine. There is also a link for explanation with C ++ examples.
http://www.sunshine2k.de/coding/javascr ... rc_js.html
Re: CRC protection calculation
Posted: Fri Dec 11, 2020 5:40 pm
by Dilbert
Yes i've done it for J1939 before and from memory, it was an XOR of the bytes so not really a true CRC.