1、功能说明
    1）此例程展示了CM4内核下的I2S的基本配置方法。
    2）此例程展示了I2S DMA 全双工发送和接收数据。

2、使用环境

    软件开发环境：KEIL MDK-ARM V5.34
                  IAR EWARM 8.50.1 
    硬件开发环境：
        N32H787系列：
        基于评估板N32H787XKB7_EVB V1.1开发
        基于评估板N32H787EVB_PRO V1.0开发
        
    芯片支持：
        N32H785
        N32H785xxx
        N32H787

3、使用说明

    系统配置
        1、时钟源：HSI+PLL
        2、系统时钟频率：
            M7核 600MHz  M4核 300MHz
        3、I2S主机配置：
             N32H787EVB_PRO V1.0开发板引脚：
             I2S1配置：CS--PA4 SCK--PA5、SD--PA6、SD_EXT--PD7
             N32H787XKB7_EVB V1.1开发板引脚：
             I2S1配置：CS--PA15 SCK--PB3、SD--PA6、SD_EXT--PD7
        4、I2S从机配置：
             N32H787EVB_PRO V1.0开发板引脚：
             I2S2配置：CS--PB4 SCK--PB13、SD--PI2、SD_EXT--PI3
             N32H787XKB7_EVB V1.1开发板引脚：
             I2S2配置：CS--PB9 SCK--PB13、SD--PC2、SD_EXT--PB15
        5、USART配置：
            TX--PB10,115200,8bit data,1bit stop              
     
    使用方法：
        1、将78x的GPIO的LedBlink demo和当前CM4的工程程序分别编译后下载到开发板并复位运行;
        2、可观察到间隔1s循环点亮指示CM4正在运行;
        3、I2S1主机通过DMA发送数据，I2S2 通过 DMA 接收数据，数据传输完成后，查看 TransferStatus 状态为 PASSED；
        
4、注意事项
    无
    
1. Function description

    1）This example shows the basic configuration of GPIO in the condition of CM4.
    2）I2S DMA send and receive data

2. Development environment

    Software development environment: KEIL MDK-ARM V5.34
                                      IAR EWARM 8.50.1 
    Hardware Development Environment:
        N32H787 Series:
        Development based on the evaluation board N32H787XKB7_EVB V1.1
        Development based on the evaluation board N32H787EVB_PRO V1.0
        
    MCU support:
        N32H785
        N32H785xxxEC
        N32H787

3. How to use

    System Configuration:
        1. Clock source: HSI+PLL
        2. System Clock frequency: 
            M7 Core：600MHz  M4 Core：300MHz
            
        3. I2S Host Configuration:
            N32H787EVB_PRO V1.0 Development Board Pins:
            I2S1 Configuration: CS--PA4, SCK--PA5, SD--PA6, SD_EXT--PD7
            N32H787XKB7_EVB V1.1 Development Board Pins:
            I2S1 Configuration: CS--PA15, SCK--PB3, SD--PA6, SD_EXT--PD7
        4.  I2S Slave Configuration:
            N32H787EVB_PRO V1.0 Development Board Pins:
            I2S2 Configuration: CS--PB4, SCK--PB13, SD--PI2, SD_EXT--PI3
            N32H787XKB7_EVB V1.1 Development Board Pins:
            I2S2 Configuration: CS--PB9, SCK--PB13, SD--PC2, SD_EXT--PB15

        5、USART配置：
            TX--PB10,115200,8bit data,1bit stop

     Instructions:
        1. Compile the LedBlink demo for 78x's GPIO and the current CM4 project program respectively, 
           then download them to the development board and reset to run；
        2. Flashes to indicate that the M4 core is running; 
		3. I2S1 Master sends data, I2S2 receives data through DMA, after the data transfer is completed, check the status of TransferStatus is PASSED;
         
4. Attention
    None

