Skip to main content
suppakit
Associate II
February 4, 2014
Question

CRC 8-bits on STMF4xx

  • February 4, 2014
  • 3 replies
  • 758 views
Posted on February 04, 2014 at 12:45

Hi,

I want to calculate CRC with hardware CRC but polynomial on the register is work on 32 bits.

Can possible to calculate CRC 8-bits with hardware in the MCU? And how?

Or I have to use sw crc.

Thank everyone.
    This topic has been closed for replies.

    3 replies

    waclawek.jan
    Super User
    February 4, 2014
    Posted on February 04, 2014 at 12:57

    > Can possible to calculate CRC 8-bits with hardware in the MCU?

    No.

    > Or I have to use sw crc.

    Yes.

    JW

    Tesla DeLorean
    Guru
    February 4, 2014
    Posted on February 04, 2014 at 13:37

    The newer F3 and F072 parts support a programmable CRC peripheral, the F4 has a fixed width, polynomial, direction, reset, and bit/endian setting and is significantly less applicable to other applications.

    If I knew the polynomial you're looking at and some data test patterns, I could probably help you with that.
    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    suppakit
    suppakitAuthor
    Associate II
    February 5, 2014
    Posted on February 05, 2014 at 04:28

    Thank, waclawek.jan and clive1

    I have to use vary polynomial. This function will be common modules of project

    I might use software crc.