Skip to main content
Visitor II
May 30, 2024
Question

How to use different CRCpolynomials for SPI Tx and SPI Rx?

  • May 30, 2024
  • 1 reply
  • 750 views

I am using SPI CRC feature of STM32H563ZI.

My ST Master must transmit an 8 bit CRC with a polynomial 0x07.

It receives a 16 bit CRC from the slave (a different hardware). The ST Master must now compute a 16 bit CRC with polynomial 0x11021 and verify the received response's CRC.

Is this possible?

    This topic has been closed for replies.

    1 reply

    WCareyAuthor
    Visitor II
    May 30, 2024

    Or is it possible to check the CRC on Rx (on the response received) only and disable transmission of CRC during Tx in the SPI CRC configuration?

    Because for my master application, verifying received CRC from the slave is more important than transmitting CRC to the slave.