4 CRC calculation unitLow-density devices are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between 16 and 32 Kbytes.
Medium-density devices are STM32F101xx, STM32F102xx and STM32F103xx
microcontrollers where the Flash memory density ranges between 64 and 128 Kbytes.
High-density devices are STM32F101xx and STM32F103xx microcontrollers where the
Flash memory density ranges between 256 and 512 Kbytes.
XL-density devices are STM32F101xx and STM32F103xx microcontrollers where the
Flash memory density ranges between 768 Kbytes and 1 Mbyte.
Connectivity line devices are STM32F105xx and STM32F107xx microcontrollers.
4.1 CRC introductionThe CRC (cyclic redundancy check) calculation unit ถูกใช้เพื่อให้รับ a CRC code จาก a 32-bit data word และ a fixed generator polynomial.
ในบรรดา applications อื่น, CRC-based techniques ถูกใช้เพื่อตรวจสอบ data transmission หรือ storage integrity. ใน the scope ของ the EN/IEC 60335-1 standard, เขาเสนอวิธีการการตรวจสอบ the Flash memory integrity. The CRC calculation unit ช่วยคำนวณ a signature ของ the software ในระหว่าง runtime, เพื่อถูกเปรียบเทียบกับ a reference signature ที่สร้างขึ้นที่ linktime และเก็บไว้ที่ a given memory location.
4.2 CRC main features• Uses CRC-32 (Ethernet) polynomial: 0x4C11DB7
– X32 + X26 + X23 + X22 + X16 + X12 + X11 + X10 +X8 + X7 + X5 + X4 + X2+ X + 1
• Single input/output 32-bit data register
• CRC computation กระทำใน 4 AHB clock cycles (HCLK)
• General-purpose 8-bit register (สามารถถูกใช้สำหรับเป็นที่เก็บชั่วคราว)
The block diagram ถูกแสดงใน Figure 3.

ปล. ไม่เคยใช้นะ ท่านใดเคยใช้ ก็อธิบายเสริมมาได้ครับ