登录
首页 » C » STM32F103 实验26 CAN收发实验

STM32F103 实验26 CAN收发实验

于 2022-04-15 发布 文件大小:856.13 kB
0 118
下载积分: 2 下载次数: 1

代码说明:

实验器材:    战舰STM32F103开发板V3版本    实验目的:    学习CAN总线的使用.    硬件资源:    1,DS0(连接在PB5)    2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面)    3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A10接RS)     4,按键KEY0(PE4)/KEY_UP(PA0)     3,CAN(STM32自带的CAN控制器,连接在PA11/PA12)      实验现象:    本实验代码,可以让STM32F1的CAN工作在环回模式/普通模式下,通过KEY_UP按键切换模式。默认是环回模    式,在环回模式下,按下KEY0,则可以在LCD模块上面看到自发自收的消息。如果是普通模式,那么需要两    个开发板,并且用线将两个开发板的CAN接口连接起来,同时需要设置板上的P9端口连接在CAN上面,在普    通模式下,按下一个开发板的KEY0,可以在另外一个开发板上看到收到的信息。   注意事项:    1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源).    2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!! &nb

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

发表评论

0 个回复

  • Timer
    Arduino平台上的计时器,主要用于定时中断的库文件,能够有效解决Arduino没有定时中断的问题(Arduino timer library platform, mainly for the timer interrupt, can effectively solve the problem of Arduino no timer interrupt)
    2015-03-23 23:40:10下载
    积分:1
  • cgbluesky_7
    CSharp程序设计基础教程与实训,基础学习实训示例,陈广老师主讲!!!(CSharp tutorials and training program design based, example-based learning training, teacher Chan speaker! ! !)
    2011-10-18 14:11:21下载
    积分:1
  • 鸟哥的Linux私房菜服务器架设篇(第三版)
    说明:  The most important tools
    2020-12-17 11:12:01下载
    积分:1
  • TextureMesh
    RunSFM中作者写的纹理映射的应用程序(RunSFM the authors write texture mapping application)
    2015-01-29 17:42:25下载
    积分:1
  • Visual studio 2005,C#开发 中国象棋网络版,具有人工智能,可采用人工下棋、电脑参谋、电脑下棋等模式参加互联网比赛。采用ClickOnce...
    Visual studio 2005,C#开发 中国象棋网络版,具有人工智能,可采用人工下棋、电脑参谋、电脑下棋等模式参加互联网比赛。采用ClickOnce发布到你的网站上,选择只能联机运行,可以让玩家只能上你的网站玩游戏。 共有三个项目: Game是主项目; CChessThinker是用C++写的人工智能DLL类库; Thinker是用C#写的DLL,只是简单的封装了CChessThinker,目的是让有些朋友可以直接用C#开发人工智能的DLL直接替换 Thinker.dll,使得程序的智能程度得到提高。如果用C++等语言开发出来的人工智能类库就直接替代CChessThinker.dll -Visual studio 2005, C# Development of Chinese chess online version, with artificial intelligence, to be used in artificial playing chess, computer staff, the computer model of chess and other games take part in the Internet. Using ClickOnce to publish to your site, choose only to run online, allowing players on your website can only play games. A total of three items: Game is the main project CChessThinker is C++ Write artificial intelligence DLL class library Thinker is C# Write the DLL, simply encapsulates CChessThinker, the purpose is to allow some friends of mine can be directly used C# development of artificial intelligence to replace the DLL directly Thinker.dll, mak
    2022-03-21 04:48:16下载
    积分:1
  • MFCDialogDemo
    MFC dialog demo function:右键菜单、最小到任务栏、菜单栏等 need use VS2010 IDE(MFC dialog demo Function: right-click menu, minimum to the task bar, menu bar, etc Need use VS2010 IDE)
    2013-09-04 19:50:28下载
    积分:1
  • ATP 3.0 Files
    ATP Prototype EA. Can be use with certain pairs.
    2019-01-09 16:24:22下载
    积分:1
  • type
    c语言基本变量定义, 对编程语言的基本类型进行重新定义(The definition of basic variables in C language redefines the basic types of programming languages.)
    2018-09-05 10:19:47下载
    积分:1
  • mui-master
    说明:  具有各种样式的控件,强大的开源源码,可以参考自己做优美的界面(With a variety of styles of controls, powerful open source code, you can refer to their own beautiful interface)
    2020-06-24 04:40:02下载
    积分:1
  • 在数据段以BUF为首址的区域中, 存放10个字节数据.编一程序分别统计正数和负数的个数送MINUS和PLUS单元...
    在数据段以BUF为首址的区域中, 存放10个字节数据.编一程序分别统计正数和负数的个数送MINUS和PLUS单元
    2022-04-01 02:03:34下载
    积分:1
  • 696516资源总数
  • 106442会员总数
  • 11今日下载