cancel
Showing results for 
Search instead for 
Did you mean: 

crc ccitt 16 bit for stm8s207

debruyne.marc
Associate II
Posted on September 19, 2014 at 09:57

hello

please may i ask if there is a program availabe in assembly language for calculating the crc ccitt  with x16+x12+c5+1

many thanks

marc debruyne

#crc
2 REPLIES 2
Andrew Neil
Evangelist III
Posted on September 20, 2014 at 09:02

There are plenty of pages on the interwebs discussing CRC code - it's not specific to particular hardware platforms!

You may have to do the conversion to assembler yourself...

http://www.lmgtfy.com?q=CRC+source+code

luca239955_stm1_st
Senior II
Posted on September 23, 2014 at 08:48

the Cosmic compiler for stm8 includes the possibility to use the CCITT CRC: you may use it directly or take a look at the assembler code of the verification routine in order to get an idea of how to implement it.