首页 开发技术 C     /    基于STM32F103RBT6的CAN双机通讯告成案例工程下载

基于STM32F103RBT6的CAN双机通讯告成案例工程下载

上传者: tcjy1000 | 上传时间:2023/4/26 6:33:56 | 文件大小:348KB | 文件类型:zip
基于STM32F103RBT6的CAN双机通讯告成案例工程下载
硬件平台:STM32F103RBT6此法度圭表标准稍作更正能够用于F103全系列。
成果:双机通讯,经由USB-CAN阐发仪收发就能够调试。
当然,假如你手头有两块STM32的开拓板或者是电路板,也能够试验。
使用KeiluVision4编译就可试验。
留意:我使用的电路板,外面CAN的引脚付与默许的,不是remap的,假如你的开拓板或者是电路板是remap的,先remap后使用。
详尽请参考代码。
(1)烧写主机法度圭表标准,上电后,会在串口打印出信息。
串口配置:115200N81(2)经由CAN阐发仪,毗邻好线,CANH与CANL,而后配置通讯的波特率。
目前为1Mbps36M/(1+2+3)/6=1Mbps(3)经由CAN阐发仪发送指令,假如准确,刚在串口足打印出告成后的信息,并返回同样信息给CAN阐发仪或者是响应的结点。
(4)到场主机付与告成,LED闪灼的法度圭表标准,资料由发送的数据中的第一个字节遴选。
证实已经收到数据并且数据准确的。
如许比力直不雅,并且阐发LED驱动方式的可行性。

文件下载

资源详情

[{"title":"(87个子文件348KB)基于STM32F103RBT6的CAN双机通讯成功案例工程下载","children":[{"title":"实验步骤.txt <span style='color:#111;'>1.14KB</span>","children":null,"spread":false},{"title":"Output","children":null,"spread":false},{"title":"CMSIS","children":[{"title":"core_cm3.h <span style='color:#111;'>83.71KB</span>","children":null,"spread":false},{"title":"stm32f10x.h <span style='color:#111;'>619.08KB</span>","children":null,"spread":false},{"title":"system_stm32f10x.c <span style='color:#111;'>35.70KB</span>","children":null,"spread":false},{"title":"core_cm3.c <span style='color:#111;'>16.87KB</span>","children":null,"spread":false},{"title":"system_stm32f10x.h <span style='color:#111;'>2.04KB</span>","children":null,"spread":false},{"title":"startup","children":[{"title":"startup_stm32f10x_md_vl.s <span style='color:#111;'>13.74KB</span>","children":null,"spread":false},{"title":"startup_stm32f10x_hd.s <span style='color:#111;'>15.14KB</span>","children":null,"spread":false},{"title":"startup_stm32f10x_ld.s <span style='color:#111;'>12.09KB</span>","children":null,"spread":false},{"title":"startup_stm32f10x_xl.s <span style='color:#111;'>15.58KB</span>","children":null,"spread":false},{"title":"startup_stm32f10x_cl.s <span style='color:#111;'>15.40KB</span>","children":null,"spread":false},{"title":"startup_stm32f10x_hd_vl.s <span style='color:#111;'>15.32KB</span>","children":null,"spread":false},{"title":"startup_stm32f10x_ld_vl.s <span style='color:#111;'>13.34KB</span>","children":null,"spread":false},{"title":"startup_stm32f10x_md.s <span style='color:#111;'>12.47KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"Listing","children":[{"title":"startup_stm32f10x_md.lst <span style='color:#111;'>41.35KB</span>","children":null,"spread":false},{"title":"STM32-DEMO.map <span style='color:#111;'>63.76KB</span>","children":null,"spread":false}],"spread":true},{"title":"FWlib","children":[{"title":"inc","children":[{"title":"stm32f10x_bkp.h <span style='color:#111;'>7.38KB</span>","children":null,"spread":false},{"title":"stm32f10x_usart.h <span style='color:#111;'>16.16KB</span>","children":null,"spread":false},{"title":"stm32f10x_exti.h <span style='color:#111;'>6.66KB</span>","children":null,"spread":false},{"title":"stm32f10x_pwr.h <span style='color:#111;'>4.28KB</span>","children":null,"spread":false},{"title":"stm32f10x_gpio.h <span style='color:#111;'>19.70KB</span>","children":null,"spread":false},{"title":"stm32f10x_dac.h <span style='color:#111;'>14.88KB</span>","children":null,"spread":false},{"title":"stm32f10x_i2c.h <span style='color:#111;'>29.33KB</span>","children":null,"spread":false},{"title":"stm32f10x_sdio.h <span style='color:#111;'>21.35KB</span>","children":null,"spread":false},{"title":"stm32f10x_rcc.h <span style='color:#111;'>29.74KB</span>","children":null,"spread":false},{"title":"stm32f10x_cec.h <span style='color:#111;'>6.42KB</span>","children":null,"spread":false},{"title":"stm32f10x_dma.h <span style='color:#111;'>20.27KB</span>","children":null,"spread":false},{"title":"stm32f10x_dbgmcu.h <span style='color:#111;'>3.73KB</span>","children":null,"spread":false},{"title":"stm32f10x_crc.h <span style='color:#111;'>2.11KB</span>","children":null,"spread":false},{"title":"stm32f10x_rtc.h <span style='color:#111;'>3.77KB</span>","children":null,"spread":false},{"title":"stm32f10x_tim.h <span style='color:#111;'>51.20KB</span>","children":null,"spread":false},{"title":"stm32f10x_adc.h <span style='color:#111;'>21.18KB</span>","children":null,"spread":false},{"title":"stm32f10x_can.h <span style='color:#111;'>26.91KB</span>","children":null,"spread":false},{"title":"stm32f10x_wwdg.h <span style='color:#111;'>2.90KB</span>","children":null,"spread":false},{"title":"stm32f10x_fsmc.h <span style='color:#111;'>26.38KB</span>","children":null,"spread":false},{"title":"misc.h <span style='color:#111;'>8.77KB</span>","children":null,"spread":false},{"title":"stm32f10x_iwdg.h <span style='color:#111;'>3.74KB</span>","children":null,"spread":false},{"title":"stm32f10x_spi.h <span style='color:#111;'>17.31KB</span>","children":null,"spread":false},{"title":"stm32f10x_flash.h <span style='color:#111;'>24.85KB</span>","children":null,"spread":false}],"spread":false},{"title":"src","children":[{"title":"stm32f10x_dac.c <span style='color:#111;'>18.64KB</span>","children":null,"spread":false},{"title":"stm32f10x_flash.c <span style='color:#111;'>61.08KB</span>","children":null,"spread":false},{"title":"stm32f10x_rtc.c <span style='color:#111;'>8.40KB</span>","children":null,"spread":false},{"title":"stm32f10x_pwr.c <span style='color:#111;'>8.55KB</span>","children":null,"spread":false},{"title":"stm32f10x_sdio.c <span style='color:#111;'>28.25KB</span>","children":null,"spread":false},{"title":"stm32f10x_rcc.c <span style='color:#111;'>50.07KB</span>","children":null,"spread":false},{"title":"stm32f10x_iwdg.c <span style='color:#111;'>4.80KB</span>","children":null,"spread":false},{"title":"stm32f10x_i2c.c <span style='color:#111;'>44.71KB</span>","children":null,"spread":false},{"title":"stm32f10x_wwdg.c <span style='color:#111;'>5.60KB</span>","children":null,"spread":false},{"title":"stm32f10x_bkp.c <span style='color:#111;'>8.26KB</span>","children":null,"spread":false},{"title":"stm32f10x_exti.c <span style='color:#111;'>6.80KB</span>","children":null,"spread":false},{"title":"stm32f10x_tim.c <span style='color:#111;'>106.60KB</span>","children":null,"spread":false},{"title":"stm32f10x_dbgmcu.c <span style='color:#111;'>5.03KB</span>","children":null,"spread":false},{"title":"stm32f10x_dma.c <span style='color:#111;'>28.91KB</span>","children":null,"spread":false},{"title":"stm32f10x_spi.c <span style='color:#111;'>29.52KB</span>","children":null,"spread":false},{"title":"stm32f10x_can.c <span style='color:#111;'>44.05KB</span>","children":null,"spread":false},{"title":"stm32f10x_fsmc.c <span style='color:#111;'>34.65KB</span>","children":null,"spread":false},{"title":"stm32f10x_crc.c <span style='color:#111;'>3.27KB</span>","children":null,"spread":false},{"title":"misc.c <span style='color:#111;'>6.88KB</span>","children":null,"spread":false},{"title":"stm32f10x_cec.c <span style='color:#111;'>11.38KB</span>","children":null,"spread":false},{"title":"stm32f10x_adc.c <span style='color:#111;'>46.09KB</span>","children":null,"spread":false},{"title":"stm32f10x_usart.c <span style='color:#111;'>37.41KB</span>","children":null,"spread":false},{"title":"stm32f10x_gpio.c <span style='color:#111;'>22.68KB</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"USER","children":[{"title":"stm32f10x_conf.h <span style='color:#111;'>3.22KB</span>","children":null,"spread":false},{"title":"STM32-DEMO_uvopt.bak <span style='color:#111;'>93.35KB</span>","children":null,"spread":false},{"title":"STM32-DEMO_uvproj.bak <span style='color:#111;'>20.02KB</span>","children":null,"spread":false},{"title":"STM32-DEMO_SDM_485CANV1.0.dep <span style='color:#111;'>24.13KB</span>","children":null,"spread":false},{"title":"STM32-DEMO.uvproj <span style='color:#111;'>16.64KB</span>","children":null,"spread":false},{"title":"JLinkLog.txt <span style='color:#111;'>98.53KB</span>","children":null,"spread":false},{"title":"STM32-DEMO_SDM_WebV1.0.dep <span style='color:#111;'>9.37KB</span>","children":null,"spread":false},{"title":"STM32-DEMO.uvgui.flyleaf <span style='color:#111;'>65.66KB</span>","children":null,"spread":false},{"title":"STM32-DEMO_3.5-Template.dep <span style='color:#111;'>41.52KB</span>","children":null,"spread":false},{"title":"can.h <span style='color:#111;'>351B</span>","children":null,"spread":false},{"title":"stm32f10x_it.c <span style='color:#111;'>5.30KB</span>","children":null,"spread":false},{"title":"STM32-DEMO_STM32_CAN_V1.dep <span style='color:#111;'>9.37KB</span>","children":null,"spread":false},{"title":"led.h <span style='color:#111;'>1.72KB</span>","children":null,"spread":false},{"title":"JLinkRegsCM3.txt <span style='color:#111;'>497B</span>","children":null,"spread":false},{"title":"STM32-DEMO.plg <span style='color:#111;'>3.52KB</span>","children":null,"spread":false},{"title":"STM32-DEMO.uvopt <span style='color:#111;'>87.07KB</span>","children":null,"spread":false},{"title":"STM32-DEMO_Target1.dep <span style='color:#111;'>23.86KB</span>","children":null,"spread":false},{"title":"led.c <span style='color:#111;'>2.73KB</span>","children":null,"spread":false},{"title":"JLinkSettings.ini <span style='color:#111;'>375B</span>","children":null,"spread":false},{"title":"usart1.h <span style='color:#111;'>276B</span>","children":null,"spread":false},{"title":"STM32-DEMO.uvgui_flyleaf.bak <span style='color:#111;'>67.33KB</span>","children":null,"spread":false},{"title":"usart1.c <span style='color:#111;'>5.58KB</span>","children":null,"spread":false},{"title":"can.c <span style='color:#111;'>5.76KB</span>","children":null,"spread":false},{"title":"stm32f10x_it.h <span style='color:#111;'>2.07KB</span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'>3.62KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • shuiyunjian:
    可以,调试已经通过。2019-10-09
  • 太阳上的骑士:
    疑惑得到了解答,感谢~2019-02-28
  • qq782611370:
    可以了学习了适合初学者2018-12-19
  • lghwd123:
    有了这个,很快就调通了,谢谢2018-05-09
  • Sophy13611942582:
    多谢分享,研究一下2018-01-23

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明