文件名称:CANtest(DG128)_20130218
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-05-09
- 文件大小:
- 540kb
- 下载次数:
- 0次
- 提 供 者:
- 李*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
MC9S12DG128的CAN收发程序
MSCAN12通过SCI0接收串口调试助手发送的数据,然后以500k的速率通过 CAN0发送出去同时串口调试助手接收发送的数据,CAN0采用中断接收模式,接收buffer接收到数据即产生中断,在中断程序中接收数据并通过串口发送到调试助手显示。发送接收均能在串口助手中按照16进制分开显示,但接收大量数据还不行,会死机,需要再修改。
MSCAN12通过SCI0接收串口调试助手发送的数据,然后以500k的速率通过 CAN0发送出去同时串口调试助手接收发送的数据,CAN0采用中断接收模式,接收buffer接收到数据即产生中断,在中断程序中接收数据并通过串口发送到调试助手显示。发送接收均能在串口助手中按照16进制分开显示,但接收大量数据还不行,会死机,需要再修改。
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CANtest(DG128)_20130218
.......................\C_Layout.hwl
.......................\Default.mem
.......................\Project_2_Data
.......................\..............\CWSettingsWindows.stg
.......................\..............\Standard
.......................\..............\........\ObjectCode
.......................\..............\........\..........\MCUInit.c.o
.......................\..............\........\..........\MSCAN12.c.o
.......................\..............\........\..........\SCI.c.o
.......................\..............\........\..........\Start12.c.o
.......................\..............\........\..........\datapage.c.o
.......................\..............\........\..........\isr.c.o
.......................\..............\........\..........\main.c.o
.......................\..............\........\..........\mc9s12dg128.c.o
.......................\..............\........\TargetDataWindows.tdt
.......................\Sources
.......................\.......\Includes.h
.......................\.......\MCUInit.c
.......................\.......\MCUInit.h
.......................\.......\MSCAN12.c
.......................\.......\MSCAN12.h
.......................\.......\SCI.c
.......................\.......\SCI.h
.......................\.......\Start12.c
.......................\.......\Type.h
.......................\.......\datapage.c
.......................\.......\derivative.h
.......................\.......\isr.c
.......................\.......\isr.h
.......................\.......\main.c
.......................\.......\mscan.c
.......................\.......\mscan.h
.......................\TBDML.ini
.......................\bin
.......................\...\Project.abs
.......................\...\Project.abs.phy
.......................\...\Project.abs.s19
.......................\...\Project.map
.......................\cantest.mcp
.......................\cantest_Data
.......................\............\CWSettingsWindows.stg
.......................\............\Standard
.......................\............\........\ObjectCode
.......................\............\........\..........\MCUInit.c.o
.......................\............\........\..........\MSCAN12.c.o
.......................\............\........\..........\SCI.c.o
.......................\............\........\..........\Start12.c.o
.......................\............\........\..........\datapage.c.o
.......................\............\........\..........\isr.c.o
.......................\............\........\..........\main.c.o
.......................\............\........\..........\mc9s12dg128.c.o
.......................\............\........\TargetDataWindows.tdt
.......................\cmd
.......................\...\TBDML_Erase_unsecure_hcs12.cmd
.......................\...\TBDML_Postload.cmd
.......................\...\TBDML_Preload.cmd
.......................\...\TBDML_Reset.cmd
.......................\...\TBDML_Startup.cmd
.......................\...\TBDML_Vppoff.cmd
.......................\...\TBDML_Vppon.cmd
.......................\prm
.......................\...\Project.prm
.......................\...\burner.bbl
.......................\常用ASCII码详细对照表_0-255号.pdf
.......................\说明.txt