1、功能说明
    此例程展示了GPU数据拷贝的功能

2、使用环境

    软件开发环境：KEIL MDK-ARM V5.34
	 IAR EWARM 8.50.1 

    芯片支持：
        N32H730  
        N32H735   
        N32H735EC
        N32H760
        N32H762
        N32H765
        N32H765EC
        N32H785
        N32H785EC
        N32H787

    开发板支持：
        N32H787_HMI_V1.1

3、使用说明
    系统配置；
        1、时钟源： HSI+PLL
        
        2、系统时钟频率：
            M7核 : 600MHz 
            
        3、SDRAM配置：
            IS42S32800J_HMI 或 IS42S32800J_EVB：
            A0->PF0,        A1->PF1,        A2->PF2,       A3->PF3,        A4->PF4,        A5->PF5,      
            A6->PF12,      A7->PF13,       A8->PF14,     A9->PF15,     A10->PG0,     A11->PG1,  
            D0->PD14,     D1->PD15,     D2->PD0,       D3->PD1,      D4->PE7,       D5->PE8,       D6->PE9,      D7->PE10, 
            D8->PE11,     D9->PA5(EVB) or PE12(HMI),      D10->PE13,    D11->PE14,   D12->PC0(EVB) or PE15(HMI),     D13->PD8,     D14->PD9,   D15->PD10, 
            D16->PH8,     D17->PH9,      D18->PH10,   D19->PH11,   D20->PH12,  D21->PH13,   D22->PH14, D23->PH15,
            D24->PI0,      D25->PI1,        D26->PI2,      D27->PI3,      D28->PI6,      D29->PI7,      D30->PI9,     D31->PI10,
            BA0->PG4,    BA1->PG5,      NCE0->PH3(EVB) or PC2(HMI),   NWE->PH5(EVB) or PC0(HMI),    NRAS->PF11, NCAS->PG15, 
            DQM0->PE0, DQM1->PE1,  DQM2->PI4,  DQM3->PI5,   CKE0->PH2,    CLK->PG8  
            或 W9812G6KH_EVB_PRO：
            A0->PF0,        A1->PF1,        A2->PF2,       A3->PF3,        A4->PF4,        A5->PF5,      
            A6->PF12,      A7->PF13,       A8->PF14,     A9->PF15,     A10->PG0,     A11->PG1,  A12->PG2,
            D0->PD14,     D1->PD15,     D2->PD0,       D3->PD1,      D4->PE7,       D5->PE8,       D6->PE9,      D7->PE10, 
            D8->PE11,     D9->PE12,      D10->PE13,    D11->PE14,   D12->PE15,     D13->PD8,     D14->PD9,   D15->PD10, 
            BA0->PG4,    BA1->PG5,      NCE0->PC2,   NWE->PC0,    NRAS->PF11, NCAS->PG15, 
            DQM0->PE0, DQM1->PE1,  CKE0->PC3,    CLK->PG8   

            SDRAM CLK: 133MHz
            
        4、USART1配置：
            TX  -->  PA9       
            波特率：115200
    
       5、测试使用SDRAM型号:
           IS42S32800J（容量2Mx32Bitx4Bank, 4096ROWx512COL）
           或 W9812G6KH （容量2Mx16Bitx4Bank, 4096ROWx512COL）

       6、堆和栈配置：
            Heap_Size至少需0x2000，最好能0x10000，Stack_Size可配0x2000

       7、库选择：
            nsgpu库文件在/middlewares/gpu/lib目录中
            KEIL平台使用nsgpu.lib库，IAR平台使用nsgpu.a库

    使用方法：
        a，编译下载代码复位运行
        b，从串口看打印信息，验证结果，若读取数据与写入数据一致则打印通过
        
4、注意事项
    无
    
1. Function description
    This example demonstrates the functionality of GPU data copying

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

    Development board support:
        N32H787_HMI_V1.1

3. How to use
   System Configuration:
        1. Clock source: HSI+PLL
        
        2. System Clock frequency: 
            M7 Core：600MHz 
            
        3. SDRAM configuration:
            IS42S32800J_HMI or IS42S32800J_EVB：
            A0->PF0,        A1->PF1,        A2->PF2,       A3->PF3,        A4->PF4,        A5->PF5,      
            A6->PF12,      A7->PF13,       A8->PF14,     A9->PF15,     A10->PG0,     A11->PG1,  
            D0->PD14,     D1->PD15,     D2->PD0,       D3->PD1,      D4->PE7,       D5->PE8,       D6->PE9,      D7->PE10, 
            D8->PE11,     D9->PA5(EVB) or PE12(HMI),      D10->PE13,    D11->PE14,   D12->PC0(EVB) or PE15(HMI),     D13->PD8,     D14->PD9,   D15->PD10, 
            D16->PH8,     D17->PH9,      D18->PH10,   D19->PH11,   D20->PH12,  D21->PH13,   D22->PH14, D23->PH15,
            D24->PI0,      D25->PI1,        D26->PI2,      D27->PI3,      D28->PI6,      D29->PI7,      D30->PI9,     D31->PI10,
            BA0->PG4,    BA1->PG5,      NCE0->PH3(EVB) or PC2(HMI),   NWE->PH5(EVB) or PC0(HMI),    NRAS->PF11, NCAS->PG15, 
            DQM0->PE0, DQM1->PE1,  DQM2->PI4,  DQM3->PI5,   CKE0->PH2,    CLK->PG8  
            or W9812G6KH_EVB_PRO：
            A0->PF0,        A1->PF1,        A2->PF2,       A3->PF3,        A4->PF4,        A5->PF5,      
            A6->PF12,      A7->PF13,       A8->PF14,     A9->PF15,     A10->PG0,     A11->PG1,  A12->PG2,
            D0->PD14,     D1->PD15,     D2->PD0,       D3->PD1,      D4->PE7,       D5->PE8,       D6->PE9,      D7->PE10, 
            D8->PE11,     D9->PE12,      D10->PE13,    D11->PE14,   D12->PE15,     D13->PD8,     D14->PD9,   D15->PD10, 
            BA0->PG4,    BA1->PG5,      NCE0->PC2,   NWE->PC0,    NRAS->PF11, NCAS->PG15, 
            DQM0->PE0, DQM1->PE1,  CKE0->PC3,    CLK->PG8    

            SDRAM CLK: 133MHz
            
       4. USART1 configuration:
             TX --> PA9
             Baud rate: 115200
    
       5. Test using SDRAM model:
            IS42S32800J（capacity  2Mx32Bitx4Bank, 4096ROWx512COL）
           or W9812G6KH （capacity  2Mx16Bitx4Bank, 4096ROWx512COL）

       6. Heap and stack configuration:
           Heap_Size requires at least 0x2000, preferably 0x10000, Stack_Size can be configured with 0x2000

       7. Library selection:
          The nsgpu libraries are located in the /middlewares/gpu/lib directory.
          The KEIL platform uses the nsgpu.lib library, while the IAR platform uses the nsgpu.a library.
        
     Test steps:
         a, compile and download the code, reset and run
         b, view the print information from the serial port and verify the result, If the read data is the same as the written data, the print passes.


4. Attention
    None

