Skip to main content
Visitor II
October 5, 2025
Question

Calculate 16 bit CRC in STM32F207ZG

  • October 5, 2025
  • 1 reply
  • 146 views

Greetings,

I have used CRC peripheral in STM32G0B1 and its working fine. I am using this peripheral to calculate 16-bit crc. How to accomplish same task in STM32F207ZG ? I am using HAL and after code generation crc init code is very incomplete as per me. I have compared CRC init code for STM32G0B1 and STM32F207. 

Please guide on using CRC peripheral and code generation for STM32F207 using HAL.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    October 5, 2025

    Dear @NimitVachhani ,

    This is not possible to use 16-bit CRC on STM32F2 series , they implement our legacy first version with fixed 32-bit Polynomial. Have a look on this Application Note :

    https://www.st.com/resource/en/application_note/an4187-using-the-crc-peripheral-on-stm32-microcontrollers-stmicroelectronics.pdf

    IMG_4583.jpeg

    Hope it helps you,

    STOne-32