1、功能说明
    SPI 通过DMA读、写、擦除 W25Q128/GT25Q16A

2、使用环境

    软件开发环境：KEIL MDK-ARM V5.34
                  IAR EWARM 8.50.1 
    芯片支持：
        N32H730  
        N32H735   
        N32H735EC
        N32H760
        N32H762
        N32H765
        N32H765EC
        N32H785
        N32H785EC
        N32H787
        
3、使用说明

    系统配置
        1、时钟源：HSI+PLL
        2、系统时钟频率：
            600MHz
        3、SPI配置：
            SPI1配置：NSS--PA4（接flash的NSS）、SCK--PA5（接flash的SCK）、MISO--PA6（接flash的SIO1/DO）、MOSI--PA7 （接flash的SIO0/DI）    		
        4、USART配置：
            TX--PA9,115200,8bit data,1bit stop

    使用方法：
         1)、编译后下载程序复位运行；
         2)、通过串口工具查看结果。

4、注意事项
      更改SPI重新编译时，建议清空之前的编译文件，如已编译过N32H73x_76x，改为编译N32H78x时，需要先清空之前编译过的内容
    
1. Function description

    SPI Read, Write, Erase W25Q128  through DMA

2. Development environment

    Software development environment: KEIL MDK-ARM V5.34
                                      IAR EWARM 8.50.1 
    Supported chips:
        N32H730  
        N32H735   
        N32H735EC
        N32H760
        N32H762
        N32H765
        N32H765EC
        N32H785
        N32H785EC
        N32H787

3. How to use

    System Configuration:
        1. Clock source: HSI+PLL
        2. System Clock frequency: 
            600MHz
        3、SPI configuration:
            SPI1 configuration: NSS--PA4, SCK--PA5, MISO--PA6, MOSI--PA7
        4、USART configuration:
            TX--PA9,115200,8bit data,1bit stop

     Instructions:
        1), compiled and downloaded the program reset run;
        2), through the serial port tool to view the results.

4. Attention
    When changing the SPI recompile, it is recommended to clear the previous compiled file, such as compiled N32H73x_76x, to compile N32H78x, you need to first clear the previous compiled content.

