cancel
Showing results for 
Search instead for 
Did you mean: 

Calculate 16 bit CRC in STM32F207ZG

NimitVachhani
Associate

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.

1 REPLY 1
STOne-32
ST Employee

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