================================================================================ 样例使用说明 Sample Description ================================================================================ 功能描述: 此样例演示了ESMC在间接模式下的DTR的polling传输功能,对P25Q64SH的芯片进行擦除,写 入数据,DTR读取数据,然后把读取的数据和写入的数据进行对比,数据正确则LED灯亮, 否则LED灯熄灭。 Function descriptions: This example demonstrates the polling transmission function of ESMC's DTR in indirect mode, erasing the chip of P25Q64SH, writing data, DTR reading data, and then comparing the read data with the written data. If the data is correct, the LED will ON, otherwise the LED will 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.编译下载程序,并运行, 2.可观察到LED灯亮 Example execution steps: 1. Compile and download the program, and run it, 2. LED will ON ================================================================================ 注意事项: 接线方式: P25Q64 MCU CLK -> PB10 SS0(CS) -> PA2 IO0(SI) -> PB1 IO1(SO) -> PB0 IO2(WP) -> PA7 IO3(HOLD) -> PA6 Notes: Wiring method: P25Q64 MCU CLK -> PB10 SS0 (CS) -> PA2 IO0 (SI) -> PB1 IO1 (SO) -> PB0 IO2 (WP) -> PA7 IO3 (HOLD) -> PA6 ================================================================================