Make CRC on stm32 match with software implementation
问题 Upd. See the end of post for working code I'm already mad with this. How can I make checksum from CRC unit on stm32f103 match with software implementation? Stm has polynom 0x04C11DB7 and reset value 0xFFFFFFFF . So I've tried to calculate it in python. Code for stm: uint32_t crc32_hard_block(uint32_t *buf, uint32_t len) { CRC_ResetDR(); uint32_t crc = CRC_CalcBlockCRC(buf, len); return crc; } uint32_t buf[4] = {50, 10, 243, 147}; uint32_t crc_hard_block = crc32_hard_block(buf, 4); Code for