================================================================================ 样例使用说明 Sample Description ================================================================================ 功能描述: 此样例演示了CRC校验功能,通过对一个数组里的数据进行校验,得到的校验值与理论校验 值进行比较,相等则LED灯亮,否则LED灯熄灭。 Function descriptions: This example demonstrates the CRC verification function. By verifying the data in an array, the obtained verification value is compared with the theoretical verification value. If it is equal, the LED light will be on, otherwise the LED light will be off. ================================================================================ 测试环境: 测试用板:PY32F403_STK MDK版本: 5.28 IAR版本: 9.20 GCC版本:GNU Arm Embedded Toolchain 10.3-2021.10 Test environment: Test board: PY32F403_STK MDK Version: 5.28 IAR Version: 9.20 GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10 ================================================================================ 使用步骤: 1. 编译下载程序到MCU,并运行; 2. 观察LED灯是否亮起,如果灯亮表示CRC计算正确,否则CRC计算失败; Example execution steps: 1. Compile and download the program to MCU and run it; 2. Observe whether the LED light is on. If the light is on, it indicates that the CRC calculation is correct, otherwise the CRC calculation fails; ================================================================================ 注意事项: Notes: ================================================================================