LPC824 CRC8

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC824 CRC8

415 Views
enzoguerra
Contributor I

hello

planning to use CRC values to check messages sent between devices on a rs485 network(between master and slaves).

master device will send a message consisting of a number of bytes to a slave, one of the bytes will be a CRC value calculated for that message.  slave then calculates a CRC value of the message and compares it with the message's CRC value.

my question is: how is the LPC824 CRC8 function calculated?

i found a few CRC function source codes (one using arrays) and it seems the outputs are different.  a LPC824 will be used as a slave, its CRC calculation may not match the master's calculated CRC value.

is there source code for the CRC8 function available to review?

i could just compile a CRC function with the LPC824, but prefer is use the built-in function, it would save some space in flash.

regards

enzo

Labels (1)
0 Kudos
0 Replies