1、功能说明
    SPI DMA 单线接收数据

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、SCK--PA5、MOSI--PA7
        4、SPI2配置（从）：
             SPI2配置: NSS--PB4、SCK--PD3、MISO--PB14
        5、SPI2 的外设到Memory buf使用DMA传输。

    使用方法：
        1)、编译后下载程序复位运行；
        2)、SPI主机 发送数据，SPI2 通过 DMA 接收数据，数据传输完成后，查看 TransferStatus 状态为 PASSED；

4、注意事项
     1、“单线”数据线在主设备端为MOSI引脚，在从设备端为MISO引脚
    
1. Function description

    SPI DMA single line to receive data

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 Master configuration:
            SPI1 configuration: NSS--PA4、SCK--PA5、MOSI--PA7
        4. SPI2 Configuration (Slave):
            SPI2 configuration: NSS--PB4、SCK--PD3、MISO--PB14
        5. Transfer SPI2 peripherals to Memory buf using DMA

     Instructions:
        1)、after compiling and downloading the program reset to run;
        2)、SPI Master sends data, SPI2 receives data through DMA, after the data transfer is completed, check the status of TransferStatus is PASSED;

4. Attention
    "single line" data line in the master device terminal for the MOSI pin, in the slave device terminal for the MISO pin

