7e61ad0180 | ||
---|---|---|
.vscode | ||
CMSIS | ||
cmake | ||
n32g430_std_periph_driver | ||
source | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
README.md | ||
n32g430_flash.ld | ||
project.cmake | ||
startup_n32g430_gcc.s |
README.md
1、功能说明 1、CAN发送接收例程
2、使用环境
软件开发环境:KEIL MDK-ARM V5.34.0.0
IAR EWARM 8.50.1
硬件环境:基于评估板N32G430C8L7-STB V1.0开发
3、使用说明
系统配置;
/* 描述相关模块配置方法;例如:时钟,I/O等 */
SystemClock:128MHz
CAN: RX - PB8,TX - PB9,波特率500K,正常模式
/* 描述Demo的测试步骤和现象 */
1.编译后下载程序复位运行;
2.当CAN收到一帧报文,就发送一帧报文
4、注意事项
-
Function description
- The reference program for CAN sending and receiving.
-
Use environment
Software development environment: KEIL MDK-ARM V5.34.0.0 Hardware environment: Developed based on the evaluation board N32G430C8L7-STB V1.0
-
Instructions for use
System Configuration; /* Describe the configuration method of related modules; for example: clock, I/O, etc. */ SystemClock: 128MHz CAN: RX-PB8, TX-PB9, baud rate 500K, normal mode
/* Describe the test steps and phenomena of Demo */
- After compiling, download the program to reset and run;
- When CAN receives a frame of message, send it to a frame of message
-
Matters needing attention without