Example description
CRC_Example CRC Calculation Example
Example Description
This example shows how to use CRC (cyclic redundancy check) calculation unit to
get a CRC code of a given buffer of data word(32-bit), based on a fixed generator
polynomial(0x4C11DB7).
Directory contents
- CRC/CRC_Example/stm32f2xx_conf.h Library Configuration file
- CRC/CRC_Example/stm32f2xx_it.c Interrupt handlers
- CRC/CRC_Example/stm32f2xx_it.h Interrupt handlers header file
- CRC/CRC_Example/main.c Main program
- CRC/CRC_Example/system_stm32f2xx.c STM32F2xx system source file
The "system_stm32f2xx.c" is generated by an automatic clock configuration
tool and can be easily customized to your own configuration.
To select different clock setup, use the "STM32F2xx_Clock_Configuration_V1.0.0.xls" tool.
Hardware and Software environment
- This example runs on STM32F2xx Devices.
- This example has been tested with STM322xG-EVAL RevB and can be easily tailored
to any other development board