文件名称:ex6_AD
介绍说明--下载内容均来自于网络,请自行研究使用
程序所在目录: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
板上引出的两路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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ex6_AD
......\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