Skip to main content
John Osen
Associate II
June 21, 2017
Question

Example of using code in ''C/C++ Example for CRC Calculation'' post

  • June 21, 2017
  • 2 replies
  • 1061 views
Posted on June 21, 2017 at 19:03

I would like to see a case usage of functions found in forum posting 'C/C++ Example for CRC Calculation'.  I have ported and tested these functions in C#.  I am comparing the results from the STM CRC peripheral to the one generated in C# on a PC.  They do not agree.  I am not the STM programmer.  I am the service tool programmer.

Do I pass in the data a byte at a time or a 4 byte word at a time?

Would somebody confirm that 'C/C++ Example for CRC Calculation' provides the same algorithm as the STM32F CRC module?

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    June 21, 2017
    Posted on June 21, 2017 at 19:29

    I think my post is pretty clear about the nature and width of the data passed in, is it not? Even has test cases. Probably safe to assume I know what I'm doing.

    https://community.st.com/0D50X00009XkYj5SAF

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    June 21, 2017
    Posted on June 21, 2017 at 19:30

     ,

     ,

     ,

    https://community.st.com/0D50X00009XkbNMSAZ

     ,
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Tesla DeLorean
    Guru
    June 21, 2017
    Posted on June 21, 2017 at 19:40

    https://community.st.com/0D50X00009XkgnVSAR

     

    Need to fix the DEAD LINKs

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..