1˵
     1SPI ģʽжϷ
2ʹû
     KEIL MDK-ARM 5.30.0.0
     Ӳ      N32G031CL-STB V1.0  
3ʹ˵
     ϵͳã
         1SystemClock48MHz
         2GPIOģʽ DEMO 壩SPI1: SCK--PA5MOSI--PA7
                         ģʽ DEMO 壩SPI1: SCK--PA5MISO--PA6
         3־ӡģʽ DEMO  PA9(TX)ʣ115200
     ʹ÷
         1سλУ
         2ģʽ DEMO Ӻôڴӡߣϵ磬鿴ӡԳɹ
4ע
     Ҫ demo ϣһ¼ģʽһ¼ģʽһϵ磬ӵ VCC  GND
    ߡ豸ΪMOSIţڴ豸ΪMISO

1. Function description
    1. SPI master mode single-wire interrupt send data
2. Use environment
    Software development environment: KEIL MDK-ARM 5.30.0.0
    Hardware Environment: Developed based on N32G031CL-STB V1.0
3. Instructions for use
    System Configuration;
        1. SystemClock48MHz
        2. GPIO(Master mode DEMO board) SPI1: SCK--PA5, MOSI--PA7
                       (Slave mode DEMO board)    SPI1: SCK--PA5, MISO--PA6
        3. Log print: slave mode DEMO board PA9(TX), baud rate: 115200
    Instructions:
        1. After compiling, download the program to reset and run;
        2. The slave mode DEMO board connects the serial port printing tool, power on, and check that the printing test is successful.
4. Matters needing attention
    Two demo boards are required, one board to program the master mode program, one board to program the slave mode program, 
    the two boards need to be powered on together, and connect the VCC and GND of the two boards;
    The "single wire" data lines are MOSI pins on the master side and MISO pins on the slave side.