1˵

	1չʾ RT_Thread ϵͳ SPI 豸д W25Q128
    
2ʹû

	/* Ӳ̶ӦĿӲƽ̨ */
	壺N32L43XM-STB N32L40XM-STB V1.1  N32G457QEL_EVB V1.1

3ʹ˵
	
	/* ģ÷:ʱӣI/O */
	SystemClock64MHz
	GPIO:  SPI1: NSS--PA4SCK--PA5MISO--PA6MOSI--PA7
    ڣ TX--PA9


	/* DemoĲԲ */
	1.سλ
	2.̴̣߳test0 ̺߳ test1 ̣߳test0 ߳ڿ D1 500ms˸
       test1 ߳ждW25Q128Խͨڴӡ
    

4ע
	 N32L43XM-STB V1.1 ϵ SPI1 ӿڽ N32G457QEL_EVB V1.1  W25Q128 ϣҪ



1. Function description
    This routine shows how to create an SPI device on the RT_Thread system and read, write W25Q128

2. Use environment
    Hardware environment: development hardware platform corresponding to the project 
    Development board:      N32L43XM-STB N32L40XM-STB V1.1  N32G457QEL_EVB V1.1

3. Instructions for use
    Describe the configuration method of related modules; for example: clock, I/O, etc. 
        1. SystemClock: 64MHz
        2. GPIO: SPI1: NSS--PA4SCK--PA5MISO--PA6MOSI--PA7
        Log: TX--PA9 Baud rate: 115200

    Describe the test steps and phenomena of Demo 
        1. After compiling, download the program to reset and run;
        2. This routine creates two threads in main(), test0 thread and test1 thread, test0 thread is used to control D1 500ms flashing, test1 thread read, writeoperation W25Q128, test results printed through the serial port.

4. Matters needing attention
    Connect the SPI1 interface of the N32L43XM-STB V1.1 development board to the W25Q128 of the N32G457QEL_EVB V1.1 development board, the two development boards need to share the ground