登录
首页 » c » STM32F103CAN回环测试代码

STM32F103CAN回环测试代码

于 2023-07-08 发布 文件大小:4.56 MB
0 89
下载积分: 2 下载次数: 1

代码说明:

本实验是回环测试,开发板只是向自己发送数据,不经过CAN芯片,也不能把数据发送给外部主机。 需要双机通讯请参考“CAN-双机通讯”实验。 电脑端使用串口调试助手,选择电脑与STM32相连的COM口,设置为115200-N-8-1, 复位开发板,即可接收STM32串口发送给电脑的调试信息。 给开发板下载本程序,按下开发板的KEY1键,会使用CAN 回环发送0-255的数字。 若开发板的CAN接收到256个字节数据,会把数据以16进制形式打印出来。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • STM32-USART-send-and-receive-data-
    本程序目的是提供使用stm32串口收发一帧数据的一种方法,采用中断方式接受和发送,每进一次中断接收或发送一字节,可以实现pc机与板子通信或板子与板子间通信。注意本程序中外接高速晶振为12M赫兹,而大部分板子为8M赫兹,本程序所用芯片是stm32RBT6(The purpose of this procedure is to provide a method of using STM32 serial port to send and receive a data, using interrupt mode to receive and send, every one into the time interrupt receiving or sending a byte, can realize PC and the communication or board and board communication. Note that this procedure the external high-speed crystal oscillator for the 12M Hz, while the majority of board is 8M Hz, the chip used in this procedure is stm32RBT6)
    2020-07-31 10:18:38下载
    积分:1
  • ATL的摄像头组件
    ATL ActiveX组件能够将摄像头与IP连接和 视频;在网页或其他类型的ActiveX容器显示视频(例如MFC对话框)
    2022-04-24 13:35:07下载
    积分:1
  • HHT
    可以用来方便的进行输入信号的Hilbert-Huang变换,经过了验证,可以使用(Used to implement the input signal of the Hilbert-Huang transform. First proposed calculation method, after validation, can be used.)
    2012-03-23 09:29:51下载
    积分:1
  • hookget-QQ-password
    获取QQ密码 很简单的 可以试试哦(hook get QQ password so easy)
    2012-08-24 10:03:23下载
    积分:1
  • zorros-software
    C++初级设计常用举例,方便初学者学习查对。如有疑问可回帖索求。(C++ primary design used for example for beginners to learn checker.)
    2013-11-04 11:11:54下载
    积分:1
  • Dbgrid 增强(附源码):支持多表头,多固定列,按表头排序,支持合计列,并支持直接打印...
    Dbgrid 增强(附源码):支持多表头,多固定列,按表头排序,支持合计列,并支持直接打印-Dbgrid increase (FOSS) : support multi-table, multi-fixed out, according to the first table, in order to support a whole series, and support for direct printing
    2022-07-08 19:00:57下载
    积分:1
  • spru812(ADC)
    说明:  关于TI公司的F28335的AD转换的文档。(TI)
    2008-11-11 15:43:35下载
    积分:1
  • C#登录验证源代码
    C#登录验证源代码
    2022-04-23 07:56:40下载
    积分:1
  • pack
    C++串口通信代码,接收下位机的数据点,并在前面板画出图形。(数据格式* , , /)内附STM32串口发送数据程序(C++ serial communication code, receive under the data points, and the front panel to draw graphics. (Data format,*, /) containing STM32 serial transmit data program)
    2013-10-28 20:14:38下载
    积分:1
  • Enrf24-master
    说明:  energia的一个无线模块库,新手上路,各位大佬多帮衬。(A wireless module library of Energia)
    2020-06-23 06:40:01下载
    积分:1
  • 696516资源总数
  • 106446会员总数
  • 9今日下载