1、功能说明
    SPI通过FIFO 进行收发数据 计算CRC 校验

2、使用环境

    软件开发环境：KEIL MDK-ARM V5.34
                  IAR EWARM 8.50.1 
				  
    硬件开发环境：
        N32H760系列：
        基于评估板N32H760VIB7_STB V1.0开发
		
    芯片支持：
        N32H730  
        N32H735   
        N32H735EC
        N32H760
        N32H762
        N32H765
        N32H765EC
        N32H785
        N32H785EC
        N32H787
        
3、使用说明

    系统配置
        1、时钟源：HSI+PLL
        2、系统时钟频率：
            600MHz
        3、SPI主机配置：
             SPI1配置：SCK--PA5、MISO--PA6、MOSI--PA7                		
        4、SPI从机配置：
             SPI2配置：SCK--PD3、MISO--PB14、MOSI--PB15

    使用方法：
        1)、 编译后下载程序复位运行；
        2)、 SPI主机 初始化位主机，发送数据，SPI2 初始化位从机，接收数据 ，传输完成后，检查数据，查看 TransferStatus1 和 TransferStatus2 状态为 PASSED，
            SPI2 初始化位主机，发送数据，SPI主机 初始化位丛机，接收数据 ，传输完成后，检查数据，查看 TransferStatus3 和 TransferStatus4 状态为 PASSED；

4、注意事项
    无
    
1. Function description

    SPI sends and receives data through FIFO and calculates CRC checksum.

2. Development environment

    Software development environment: KEIL MDK-ARM V5.34
                                      IAR EWARM 8.50.1 
									 
    Hardware Development Environment:
        N32H760 Series:
        Based on the evaluation board N32H760VIB7_STB V1.0
		
    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: SCK--PA5、MISO--PA6、MOSI--PA7  
        4、SPI2 Slave Configuration:
             SPI2 configuration：SCK--PD3、MISO--PB14、MOSI--PB15

     Instructions:
        1), After compiling and downloading the program reset run;
        2), SPI Master initializes the bit host, sends data, SPI2 initializes the bit cluster machine, receives data, and after the transmission is completed, check the data, check that the status of TransferStatus1 and TransferStatus2 is PASSED,
            SPI2 initializes the bit host, sends data, SPI Master initializes the bit cluster machine, receives data, and after the transfer is completed, check the data, and check that the status of TransferStatus3 and TransferStatus4 is PASSED;
4. Attention
    None

