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.

CC2640R2F: Hardware CRC

Part Number: CC2640R2F

Hi,

I'm using CRC16 and CRC32 to ensure the integrity of my data, and it's taking a lot CPU time. Is there a Hardware CRC module that I can use? Or is it possible to do some error detection with the AES Module?

Thanks,

Val

  • All the packets sent over the air uses CRC. Do you want to use an additional CRC on top of this?
  • Actually, it looks like my data corruption comes from my external SPI flash.
    My data flow is:
    ACC Data -> MCU -> External Flash
    External Flash -> MCU -> BLE -> Host/Smartphone

    Thus, I'd like to compute a CRC before storing the data to flash, and then check the CRC once downloaded on the host side. At least, it would help me to identify corrupted packets.
    However, CPU CRC calculation takes some times, and will have an impact on my power consumption. I will certainly reduce this impact by using a hardware module.
    Because all the BLE packets contain a CRC, I would be surprised if there is no hardware way to compute a CRC

    Thanks,
    Val
  • There is no CRC accelerator available to the application on this device thus all CRC calculations must be done in SW as is done in the BIM for OAD sample applications. I would recommend you identify and address the reason for your external flash data corruption as this should not be occurring.

    Best wishes