1˵
     1SPI ͽݽ CRC У
2ʹû
     KEIL MDK-ARM 5.30.0.0
     Ӳ      N32G031CL-STB V1.0
3ʹ˵
     ϵͳã
          1SystemClock48MHz
          2GPIOSPI1: SCK--PA5 MISO--PA6 MOSI--PA7
                          SPI2: SCK--PB13MISO--PB14MOSI--PB15
      ʹ÷
          1سλУ
          2SPI1SPI2 ͬʱշݣɺ󣬷 CRC ݣݺ CRC ֵ
               鿴 TransferStatus1  TransferStatus2 ״̬Ϊ PASSEDٲ鿴 CRC ֵ
4ע
     

1. Function description
    1. SPI sends and receives data for CRC check
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. GPIOSPI1: SCK--PA5,   MISO--PA6,  MOSI--PA7
                       SPI2: SCK--PB13, MISO--PB14, MOSI--PB15
    Instructions:
        1. After compiling, download the program to reset and run;
        2. SPI1, SPI2 send and receive data at the same time, after the transmission is completed, send CRC data, check the data and CRC value,
           Check that the status of TransferStatus1 and TransferStatus2 is PASSED, and then check the CRC value;
4. Matters needing attention
    No