This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6421: Can CRC controller be configured as different mode?

Part Number: AM6421


Tool/software:

Hello,

I want to know if the CRC controller can be set as different mode? For example CRC-16, CRC-32 and so on?

thank you!

  • Hi,

    Thanks for your query.

    Can you provide some more details about your use case ?

    Regards

    Ashwani

  • Hi, Ashwani

    There are about two use cases shown as follows:

    1. UART communication, frame format is defined by ourself, and the last four bytes are CRC value of the whole frame. So we need CRC-32(Polynomial = 0x04C11DB7)

    2. I2C communication between MCU and EEPROM. We need store some data into EEPROM and CRC value of these data. So we need CRC-16(uCRC16-P2 (Polynomial = 0x1021))

    In Summary, I want to know if the CRC controller on MCU can be set as different mode? For example CRC-16, CRC-32 and so on? In AM64 manual reference, I just find a 64-bits polynomial, shown as

    so I am not sure if there is different CRC mode.

    Thank you!

  • Hi,

    Which SDK are you developing on: MCU PLUS SDK or Processor SDK Linux.

    Looking forward to your response.

    Regards,

    Vaibhav

  • Hello ,

    The MCRC can support only 64bit PSA signatures.

    If you go with 64bit CRC signatures, then you need to add an 8-byte CRC value rather than 4 bytes in your protocol .

    or

    If you need the 16-bit and 32bit PSA signatures, then you have to go with Software-based CRC calculation.

    Regards,

    Anil.