Question
using the CRC calculation unit in STM32F205
Posted on October 27, 2014 at 22:47
I need to do a CRC calculation. So I want to use the CRC calculation unit in the MCU.
It is pretty easy one. Just active the CRC clk and then invoke word into CRC->DR .I want to see if it work O.K. so I reset it to 0xFFFFFFFF and make CRC->DR = (uint32_t)* FLASH_word_ADD; where the pointer point to a word on the FLASH. I check the result also on the CRC->DR and open an application do the CRC32 with the some polynomial: 0x4C11DB7 (standard). I reset also the unit there to 0xFFFFFFFF and put the some number show by the pointer use before to calculate. I get a different result. I check it in several CRC32 calculators but the some. I also try to enter the number LSB first but didn't help. Where am I wrong?Bar. #crc-iar-stm32f205 #crc-unit-stm32f205