Hardware CRC calculation

Most (all?) STM32 microcontrollers have a built-in hardware checksum calculation unit. From Wikipedia: A cyclic redundancy check (CRC) is an error-detecting code commonly used in digital networks and storage devices to detect accidental changes to raw data. Blocks of data entering these systems get a short check value attached, based...