You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 months ago | |
|---|---|---|
| .. | ||
| EIDE | 3 months ago | |
| EWARM | 3 months ago | |
| Inc | 3 months ago | |
| MDK-ARM | 3 months ago | |
| Src | 3 months ago | |
| readme.txt | 3 months ago | |
readme.txt
================================================================================
样例使用说明
Sample Description
================================================================================
功能描述:
此样例演示了ESMC在间接模式下的中断数据传输功能,对P25Q64的芯片进行擦除,写入数据,
读取数据,然后把读取的数据和写入的数据进行对比,数据正确则LED灯亮,否则LED灯熄灭。
Function descriptions:
This example demonstrates the interrupt data transmission function of ESMC in
indirect mode, erasing, writing data, reading data on the P25Q64 chip, 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
================================================================================