1、功能说明
    此例程展示对NORFLASH使用写和XIP读取方法。

2、使用环境

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

    系统配置
        1、时钟源：HSI+PLL
        2、系统时钟频率：
            600MHz
        3、引脚：
            N32H787XKB7_EVB V1.1开发板引脚：
                XSPI_NSS1 : PK5   XSPI_CLK : PB2 
                XSPI_IO0 : PB1   XSPI_IO1 : PB0
                XSPI_IO2 : PI11  XSPI_IO3 : PA6
            N32H787_HMI_V1.1开发板引脚：
                XSPI_NSS1: PG12  XSPI_CLK : PB2 
                XSPI_IO0 : PF8   XSPI_IO1 : PB0
                XSPI_IO2 : PF7   XSPI_IO3 : PF6
            N32H787EVB_PRO V1.0开发板引脚
                XSPI_NSS1: PK5   XSPI_CLK : PF10  XSPI_DQS : PK6
                XSPI_IO0 : PF8   XSPI_IO1 : PF9
                XSPI_IO2 : PF7   XSPI_IO3 : PF6
                XSPI_IO4 : PH2   XSPI_IO5 : PH3
                XSPI_IO6 : PK3   XSPI_IO7 : PK4
            外部Spi_Flash设备：W25Q128/MX25LM                      
    使用方法：
        1、选择所需要的开发板宏，重新编译。
        2、通过对比写入和读出结果，打印正确即XIP读取正确。

4、注意事项
    无
    
1. Function description

    This routine demonstrates the write and XIP read methods for NORFLASH.

2. Use environment

    Software development environment: KEIL MDK-ARM V5.34
                                      IAR EWARM 8.50.1 
    MCU support:
        N32H760
        N32H762
        N32H765
        N32H765EC
        N32H785
        N32H785EC
        N32H787

      
                
3. Instructions for use

    System Configuration:
        1. Clock source: HSI+PLL
        2. System Clock frequency: 
            600MHz
        3.GPIO:
            N32H787 Series:
                Based on the evaluation board N32H787XKB7_EVB V1.1:
                    XSPI_NSS1 : PK5   XSPI_CLK : PB2 
                    XSPI_IO0 : PB1   XSPI_IO1 : PB0
                    XSPI_IO2 : PI11  XSPI_IO3 : PA6
                Based on the evaluation board N32H787_HMI_V1.1:
                    XSPI_NSS1: PG12  XSPI_CLK : PB2 
                    XSPI_IO0 : PF8   XSPI_IO1 : PB0
                    XSPI_IO2 : PF7   XSPI_IO3 : PF6
                Based on the evaluation board N32H787EVB_PRO V1.0:
                    XSPI_NSS1: PK5   XSPI_CLK : PF10  XSPI_DQS : PK6
                    XSPI_IO0 : PF8   XSPI_IO1 : PF9
                    XSPI_IO2 : PF7   XSPI_IO3 : PF6
                    XSPI_IO4 : PH2   XSPI_IO5 : PH3
                    XSPI_IO6 : PK3   XSPI_IO7 : PK4   
					
				External SPI Flash Device: W25Q128/MX25LM
     Instructions:
        1. Select the required development board macro and recompile the code.
        2. Compare the write and read results—if the output is correct, it indicates a successful XIP read.

4. Attention
    None

