Skip to main content
Visitor II
September 19, 2014
Question

crc ccitt 16 bit for stm8s207

  • September 19, 2014
  • 2 replies
  • 1459 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

    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

    Visitor II
    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.