Location:
Search - can2.c
Search list
Description: CAN51开发板功能
1、 USB或DC+5V供电;
2、 89c52+sja1000+tja1050(tja1040)(p82c250);89c52+mcp2515+tja1050(tja1040)(p82c250);通过跳键选择sja1000或 mcp2515,用户任选一种CAN控制芯片;
3、 支持RS232/422/485总线与CAN总线相互转换;
4、 CAN总线波特率可调:20,40,50,80,100,125,200,250,400,500,666,800,1000Kbit/s
5、 提供电路图;
6、 提供源程序:basican和pelican模式(CAN2.0A和CAN2.0B),c语言和汇编语言,程序注释详尽;
7、 成对购买开发板可以实现:A开发板发送数据,B开发板接收数据,并把接收到的数据通过串口上传到计算机显示;A开发板上短路键的状态,可以通过CAN总线发送给B开发板,通过B开发板LED灯的亮灭,显示A开发板上短路键的状态;
8、 提供技术支持,接受CAN开发项目;
-err
Platform: |
Size: 2048 |
Author: 吴庆庆 |
Hits:
Description: CAN1.c and CAN2.c are a simple example of configuring a CAN network to
transmit and receive data on a CAN network, and how to move information to
and from CAN RAM message objects. Each C8051F040-TB CAN node is configured
to send a message when it s P3.7 button is depressed/released, with a 0x11
to indicate the button is pushed, and 0x00 when released. Each node also has
a message object configured to receive messages. The C8051 tests the
received data and will turn on/off the target board s LED. When one target
is loaded with CAN2.c and the other is loaded with CAN1.c, one target
board s push-button will control the other target board s LED, establishing
a simple control link via the CAN bus and can be observed directly on the
target boards.-CAN1.c and CAN2.c are a simple example of configuring a CAN network to transmit and receive data on a CAN network, and how to move information to and from CAN RAM message objects. Each C8051F040-TB CAN node is configured to send a message when it s P3.7 button is depressed/released, with a 0x11 to indicate the button is pushed, and 0x00 when released. Each node also has a message object configured to receive messages. The C8051 tests the received data and will turn on/off the target board s LED. When one target is loaded with CAN2.c and the other is loaded with CAN1.c, one target board s push-button will control the other target board s LED, establishing a simple control link via the CAN bus and can be observed directly on the target boards.
Platform: |
Size: 12288 |
Author: shendongping |
Hits:
Description: 本文件是CAN总线通讯演示程序;将CAN_TEST下的CAN1,CAN2两个软件分别下载到两个目标板上,将两块板子的CAN总线连接(使用CAN必须将JP1的1,2及3,4脚短路,CAN总线的连接CANH接CANH,CANL接CANL),当按下按键S1时另外一块板子上的LED会灭,按键释放时LED亮。-The present document is a demonstration of CAN bus communication procedures will CAN_TEST under CAN1, CAN2, respectively, the two software downloaded to two goals on the board will be two board of CAN bus connection (using CAN must be JP1 1,2 and 3 , 4 feet short, CAN bus connection CANH then CANH, CANL then CANL), when pressing the button S1, when a separate board on the LED will be out, the release button when the LED light.
Platform: |
Size: 58368 |
Author: 王珍宁 |
Hits:
Description: 6.压缩文件有密码
7.源码重复或已经存在
请不要上传有版权争议的内容和木马病毒代码和访问国外网站的代理软件 -/ CAN1.c and CAN2.c are a simple example of configuring a CAN network to
// transmit and receive data on a CAN network, and how to move information to
// and from CAN RAM message objects. Each C8051F040-TB CAN node is configured
// to send a message when it s P3.7 button is depressed/released, with a 0x11
// to indicate the button is pushed, and 0x00 when released. Each node also has
// a message object configured to receive messages. The C8051 tests the
// received data and will turn on/off the target board s LED. When one target
// is loaded with CAN2.c and the other is loaded with CAN1.c, one target
// board s push-button will control the other target board s LED, establishing
// a simple control link via the CAN bus and can be observed directly on the
// target boards.
Platform: |
Size: 352256 |
Author: 一二三 |
Hits:
Description: keil编译环境下,STM32f407使用can总线进行通讯的c语言例程-keil compiler environment, STM32f407 can bus communication c language routines
Platform: |
Size: 453632 |
Author: 孙庆 |
Hits: