Skip to main content
debruyne.marc
Associate III
September 19, 2014
Question

crc ccitt 16 bit for stm8s207

  • September 19, 2014
  • 2 replies
  • 2163 views
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
This topic has been closed for replies.

2 replies

Andrew Neil
Super User
September 20, 2014
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

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
luca239955_stm1_st
Associate
September 23, 2014
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.