Welcome![Sign In][Sign Up]
Location:
Search - cc2000 D

Search list

[DSP programEX2_ASM

Description: 汇编程序所在目录ex2_asm 。 C 语言程序所在目录ex2_c 。 在CC2000 中的操作如下: 1. Project->Open ,打开该目录中的工程文件。 2. Project->Rebuild ALL, 编译链接 3. File->Load Program 4. Debug->GO Main 5. Debug->RUN (快捷键F5) 即可看到最边上一个LED 周期性的闪亮。灯的闪烁频率由软件中的定时器Timer1 设置。这两个程序执行的功能是完全一样的。用户可以参考这两个文件作为其开发应用程序的模板。 -Directory where the assembler ex2_asm. C language program directory where ex2_c. The operation at CC2000 is as follows: 1. Project-> Open, open the project file directory. 2. Project-> Rebuild ALL, the compiler links 3. File-> Load Program 4. Debug-> GO Main 5. Debug-> RUN (shortcut F5) Can see the most edge of a flashing LED cyclical. Frequency of blinking lights from the software timer Timer1 settings. These two procedures for the implementation of the functions are exactly the same. Users can refer to these two documents as part of its development and application of the procedure template.
Platform: | Size: 14336 | Author: To_oo | Hits:

[DSP programex5_SPI

Description: 程序所在目录:ex5_SPI D/A 转换芯片选用的是SPI 接口的TLC5620,串行4 通道8 位DA 转换。 打开CC2000,进行如下操作: 1.Project->Open ,打开该目录中的工程文件。 2.Project->Rebuild ALL,编译链接 3.File->Load Program 4.Debug->GO Main 5.Debug->RUN (快捷键F5) 用示波器可以看到DA_OUT1 接口输出三角波 DA_OUT2 输出三角波 用万用表可以测到DA_OUT3 输出2.475V DA_OUT4 输出1.65V 各路的DA 输出均由程序控制,用户可参照程序中的注释更改。 -Procedures where the directory: ex5_SPI D/A converter chips are selected SPI interface TLC5620, Serial 4-channel 8-bit DA converter. 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. Debug-> GO Main 5. Debug-> RUN (shortcut F5) can be seen using oscilloscope DA_OUT1 interface DA_OUT2 output triangle wave output triangle wave can be measured with a multimeter DA_OUT3 output 2.475V DA_OUT4 output 1.65V output by each of the DA program, users can refer to procedures Notes change.
Platform: | Size: 31744 | Author: To_oo | Hits:

[DSP programex6_AD

Description: 程序所在目录:ex6_AD 板上引出的两路A/D 转换对应DSP 的A/D 模块分别是通道0 和通道8,输入电压0-5V 。 本开发板使用DA 的输出作为AD 的输入,因此需将5J2 的1-2,3-4 分别用短路子短接。 打开CC2000,进行如下操作: 1.Project->Open ,打开该目录中的工程文件。 2.Project->Rebuild ALL,编译链接 3.File->Load Program 4.光标移到Que()函数的asm(" NOP ")所处的行。 5. Debug->Toggle breakpoint (快捷键F9) 6. Debug->Animate (快捷键F12) 7. View->Watch Window ,在出现的watch 窗体中点右键分别插入变量AD_SIG0,AD_SIG8,则可看到所采到的这两路信号的电压值。 如果结果稍微不精确,请不要在意,这可能是因为没有采用专用基准源,以及信号不稳定的缘故。另外,TMS320LF2407 的内置A/D 的精度并不是很高。在前面两种情况已得到保证的情况下,变化幅度仍较大。( ^_^ 呵呵,外面好一点的一片A/D 芯片就不低于100 块,所以想想能凑合着用也就可以了。) -Procedures where the directory: ex6_AD Leads to the two on-board A/D converter corresponds to DSP s A/D module are separately channel 0 and channel 8, input voltage 0-5V. The development board using the DA output as AD input, so the need for the 5J2 son 1-2,3-4 separately shorted by a short circuit. 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. Move the cursor Que () function asm ( "NOP") in which the line. 5. Debug-> Toggle breakpoint (shortcut F9) 6. Debug-> Animate (shortcut F12) 7. View-> Watch Window, in the form of watch the mid-point right-insert variables separately AD_SIG0, AD_SIG8, can be taken to see that the two voltage signals. If the outcome is slightly inaccurate, please do not care, this may be because there is no use of special reference, as well as the signal due to instability. In addition, TMS320LF2407 built
Platform: | Size: 28672 | Author: To_oo | Hits:

[DSP programex7_CAN

Description: 程序所在目录: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
Platform: | Size: 26624 | Author: To_oo | Hits:

CodeBus www.codebus.net