文件名称:ex7_CAN
介绍说明--下载内容均来自于网络,请自行研究使用
程序所在目录:ex7_CAN
由于调试CAN总线通讯需要外部的CAN设备。所以在没有外部CAN设备的情况下,本样例程序中采用了CAN的自测试模式通信,即使用CANBOX4发送CANBOX0接收。在定时器中断服务程序中执行发送;中断方式接收CAN信息。
打开CC2000,进行如下操作:
1. Project->Open ,打开该目录中的工程文件。
2. Project->Rebuild ALL,编译链接
3. File->Load Program
4. 光标移到int1中断服务程序CANIFR=0xFFFF所处的行。
5. Debug->Toggle breakpoint (快捷键F9)
6. Debug->Animate (快捷键F12)
偏左上脚GEL Files上点右键,Load GEL,选择LF2407.gel,然后菜单栏Gel->LF2407->CAN regs,即可看到CAN寄存器的变量被显示岛Watch Window中.可以看到CANBOX0里面接收到数据0x2211,0x4433等数据,这些数据是由CANBOX4发送往总线上的.
如果用户和别的CAN设备通信,参照本例程的注释更改相关设置即可。
-Procedures where the directory: ex7_CAN
CAN bus communication because of debugging required external CAN device. So in the absence of external CAN device case, the sample procedures used in the self-test mode of CAN communication, namely the use of CANBOX4 Send CANBOX0 receiver. At the timer interrupt service routine in the implementation of sending interrupted CAN receive information.
Open the CC2000, the following steps:
1. Project-> Open, open the project file directory.
2. Project-> Rebuild ALL, the compiler links
3. File-> Load Program
4. Cursor to INT1 interrupt service routine CANIFR = 0xFFFF which the line.
5. Debug-> Toggle breakpoint (shortcut F9)
6. Debug-> Animate (shortcut F12)
GEL Files on left foot Right on point, Load GEL, select LF2407.gel, then the menu bar Gel-> LF2407-> CAN regs, you can see the CAN register variables are displayed in the Watch Window Island. CANBOX0 can be seen inside receive data 0x2211, 0x4433 and other d
由于调试CAN总线通讯需要外部的CAN设备。所以在没有外部CAN设备的情况下,本样例程序中采用了CAN的自测试模式通信,即使用CANBOX4发送CANBOX0接收。在定时器中断服务程序中执行发送;中断方式接收CAN信息。
打开CC2000,进行如下操作:
1. Project->Open ,打开该目录中的工程文件。
2. Project->Rebuild ALL,编译链接
3. File->Load Program
4. 光标移到int1中断服务程序CANIFR=0xFFFF所处的行。
5. Debug->Toggle breakpoint (快捷键F9)
6. Debug->Animate (快捷键F12)
偏左上脚GEL Files上点右键,Load GEL,选择LF2407.gel,然后菜单栏Gel->LF2407->CAN regs,即可看到CAN寄存器的变量被显示岛Watch Window中.可以看到CANBOX0里面接收到数据0x2211,0x4433等数据,这些数据是由CANBOX4发送往总线上的.
如果用户和别的CAN设备通信,参照本例程的注释更改相关设置即可。
-Procedures where the directory: ex7_CAN
CAN bus communication because of debugging required external CAN device. So in the absence of external CAN device case, the sample procedures used in the self-test mode of CAN communication, namely the use of CANBOX4 Send CANBOX0 receiver. At the timer interrupt service routine in the implementation of sending interrupted CAN receive information.
Open the CC2000, the following steps:
1. Project-> Open, open the project file directory.
2. Project-> Rebuild ALL, the compiler links
3. File-> Load Program
4. Cursor to INT1 interrupt service routine CANIFR = 0xFFFF which the line.
5. Debug-> Toggle breakpoint (shortcut F9)
6. Debug-> Animate (shortcut F12)
GEL Files on left foot Right on point, Load GEL, select LF2407.gel, then the menu bar Gel-> LF2407-> CAN regs, you can see the CAN register variables are displayed in the Watch Window Island. CANBOX0 can be seen inside receive data 0x2211, 0x4433 and other d
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ex7_CAN
.......\CC_BUILD.LOG
.......\cc_build_Custom.log
.......\Custom.lkf
.......\Custom.lkv
.......\Define.asm
.......\Define.obj
.......\DSP.CMD
.......\EX.MAK
.......\EX.MAP
.......\EX.OBJ
.......\EX.OUT
.......\EX.paf
.......\EX.pjt
.......\F2407REGS.H
.......\GLOBAL.C
.......\GLOBAL.OBJ
.......\LF2407.GEL
.......\LF2407A.H
.......\Main.c
.......\Main.obj
.......\CC_BUILD.LOG
.......\cc_build_Custom.log
.......\Custom.lkf
.......\Custom.lkv
.......\Define.asm
.......\Define.obj
.......\DSP.CMD
.......\EX.MAK
.......\EX.MAP
.......\EX.OBJ
.......\EX.OUT
.......\EX.paf
.......\EX.pjt
.......\F2407REGS.H
.......\GLOBAL.C
.......\GLOBAL.OBJ
.......\LF2407.GEL
.......\LF2407A.H
.......\Main.c
.......\Main.obj