tomasspacil Posted May 9, 2020 Report Share Posted May 9, 2020 As I did not find any implementation for CRC 8 SAE J1850, so here is mine. Suitable also for FPGA. BR TS CRC.vi 2 Quote Link to comment
hooovahh Posted May 11, 2020 Report Share Posted May 11, 2020 There's lots of examples of this posted on NI's forums. Here's one I've been using for a while: https://forums.ni.com/t5/LabVIEW/crc-8/m-p/580831#M272003 Note that if you are using this for the CRC calculation in an automotive CAN frame you may also want to add in the ability to skip the CRC byte location, as I've seen CAN-FD frames that have the CRC not at the last byte in the payload. In some cases the CRC stops being calculated once it hits the CRC, and in some cases I've seen the calculation skip this byte, and continue with the test. Also if you are doing this calcuation and you happen to be using XNet hardware, you can actually have the hardware perform the CRC calculation for you. Here is the idea exchange on adding this feature, and here is a blog post talking about the unofficial way to get the hardware to do this today. 1 Quote Link to comment
Danilo Moreno Posted December 18, 2022 Report Share Posted December 18, 2022 I was having trouble implementing SAE J1850 CRC, just want to say thanks to Tomasspacil. Helped me a lot! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.