1. ˵
    չʾ RT_Thread ϵͳ CAN 豸

2. ʹû
    Ӳ̶ӦĿӲƽ̨ 
    壺   N32G457QEL_EVB V1.1

3. ʹ˵
    ģ÷:ʱӣI/O 
         1. SystemClock144MHz
         2. GPIOLEDD6--PB10
                        CANRX--PD8TX--PD9
                        ־USART1TX--PA9  RX--PA10ʣ115200

    DemoĲԲ 
         1. سλ
         2. main()洴̣߳test0 ̺߳ test1 ̣߳test0 ߳ڿ D6 250ms˸test1̲߳CAN豸CANRXTX
            test1̷߳CANݣCANλϲ鿴͵ݣԺǻģʽԺյշ͵ݣжϽǷôڴӡԽ

4. ע
    

1. Function description
    This routine shows how to create a CAN device on the RT_Thread system

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

3. Instructions for use
    Describe the configuration method of related modules; for example: clock, I/O, etc. 
        1. SystemClock: 144MHz
        2. GPIO: LED:D6--PB10
                     CAN: RX--PD8TX--PD9
                     Log(USART1): TX--PA9 RX--PA10 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 D6 250ms flashing, test1 thread is used to test the CAN device, 
            RX and TX are connected with the CAN card, and CAN data is sent in the test1 thread. CAN card can be used in the upper computer to check the data sent, after sending, 
            Because the loopback mode is used, the data just sent is received after the data is sent. Check whether the received data is normal and print the test result using the serial port

4. Matters needing attention
    None.