1˵

	1չʾ RT_Thread ϵͳ CAN 豸

2ʹû

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

3ʹ˵
	
	/* ģ÷:ʱӣI/O */
	SystemClock64MHz
	GPIO:	
		LED:	D1--PA8
    CAN:    RX--PB8
			TX--PB9
    (USART1):   TX--PA9

	/* DemoĲԲ */
	1.سλ
    2.main()洴̣߳test0 ̺߳ test1 ̣߳test0 ߳ڿ D1 250ms˸
      test1̲߳CAN豸CANRXTXڿʼ̷߳CANݣCANλϲ鿴͵ݣԺͨλյٷ͸MCUMCUжϽǷͷ͵һ£ôڴӡԽ
      
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:      N32L43XM-STB N32L40XM-STB V1.1

3. Instructions for use
    Describe the configuration method of related modules; for example: clock, I/O, etc. 
        1. SystemClock64MHz
	2. GPIO:   LED:	D1--PA8
    	3. CAN:    RX--PB8
		   TX--PB9
        Log(USART1): TX--PA9

    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 250ms flashing, test1 thread is used to test the CAN device, 
            RX and TX are connected with the CAN analyzer and CAN data is sent in the test1 thread. CAN analyzer can be used in the upper computer to check the data sent, after sending, 
            then the data reveived sent to MCU through the upper computer tool. The MCU check wheter the data just sent and received is correct and print the test result using the serial port

4. Matters needing attention
    None.