![]() |
|
||||||||||||||
| . 网站首页 . 产品新知 . 业界新闻 . 解决方案 . 技术文库 . 在线学院 . 活动访谈 . 电子商城 . 服务导航 . 会员区 . TI资源 . | ||
|
||
|
|||||
| 在TMS320VC5402下电话接口的简单C程序实现(下) | |||||
作者:TIchines… 文章来源:本站原创 点击数: 更新时间:2007-1-24 ![]() |
|||||
|
点击阅读:在TMS320VC5402下电话接口的简单C程序实现(下) 文件列表: daa_bios ........\cc_build.log ........\daa_bios.c ........\daa_bios.cdb ........\daa_bios.map ........\daa_bios.obj ........\daa_bios.out ........\daa_bios.pjt ........\daa_bioscfg.cmd ........\daa_bioscfg.h54 ........\daa_bioscfg.obj ........\daa_bioscfg.s54 ........\isr.asm ........\isr.obj ........\readme.txt
TMS320VC5402 DSK DAA EXAMPLE (USING DSP/BIOS) This example demonstrates the use of the telephony interface of the DSK. Below are instructions on how to run this demo: 1. Connect a microphone to the MIC socket and a speaker to the SPKR socket 2. Connect an analog phone line to the RJ-11 (telephone) socket on the DSK 3. Connect your parallel port cable to the parallel port connector on the 4. Connect the power supply to the DSK board and power it up. 5. Start up Code Composer Studio and load the accompanying daa_bios.out (i.e., 6. Click Debug->Run. The LEDs on the DSK will start blinking. 7. From a second phone line, dial the DSK board. 8. After the second ring, the line will be picked up by the DSK. You Getting Started The following instructions enable you to build and run the daa 1.1 Creating a New Project 1) If you installed Code Composer Studio in c:\ti, create a folder 2) Copy two source files from the c:\ti\c5400\dsk\examples\dsp\daa_bios\ 3) Copy two library files to your new folder. The library files 4) From the Windows Start menu, choose Programs->Code Composer Note: Code Composer Studio Setup If you get an error message the first time you try to start Code 5) Choose the Project->New menu item. 6) In the Save New Project As window, select the working folder 1.2 Adding Files to a Project 1) Choose Project->Add Files to Project. Select daa_bios.c and click Open. 2) Choose Project->Add Files to Project. Select Linker Command File 3) Choose Project->Add Files to Project. Select Object and Library 4) Choose Project->Add Files to Project. Select Configuration Files (*.cdb) 5) Expand the Project list by clicking the + signs next to Project, Note: Opening Project View If you do not see the Project View, choose View->Project. Click the 1.3 Changing Project Build Options 1) Choose Project->Options. Click the Compiler Tab in the Include o The folder that contains the source file. o The folders listed in the Include Search Path for the compiler or o The folders listed in the definitions of the C54X_C_DIR (compiler)
1) Double-click on the daa_bios.c file in the Project View. You see the 2) You may want to make the window larger so that you can see more of
Code Composer Studio automatically saves changes to the project setup To build and run the program, follow these steps: 1) Choose Project->Rebuild All or click the (Rebuild All) toolbar 2) Choose File->Load Program. Select the program you just rebuilt, 3) Click on assembly instruction in the Dis-Assembly window. (Click 4) Choose Debug->Run or click the (Run) toolbar button. Analyze 5) Choose Debug->Halt or click the (Halt) toolbar button to end the 1.6 Expected Results Running your program enables you to utilize an independent |
|||||
| 欢迎点击进入:"61IC中国电子在线"官方网站 文章录入:admin 责任编辑:admin | |||||
| 【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口】 | |||||
| 最新热点 | 最新推荐 | 相关文章 | ||
| 音频信号采集与AGC算法的DSP 在TMS320VC5402下电话接口的 基于USB2.0总线的TMS320VC54 TLC320AC01与DSP的接口设计 两类DSP芯片的引导过程分析 |
| 网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!) |
| | 设为首页 | 加入收藏 | 联系站长 | 友情链接 | 版权申明 | 网站公告 | 管理登录 | | |||
|