亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? readme.txt

?? 本程序是一個有限長沖擊響應FIR濾波器算法實驗程序
?? TXT
字號:
                 TMS320VC5402 DSK CODEC EXAMPLE
                 ==============================

The codec example demonstrates a few of the TMS320C5402 DSK features 
with Code Composer Studio.  Note that this example was run with 
external SRAM activated.

The codec example demonstrates the use of the Handset CODEC (mic/
speaker interface) on the DSK utilizing the drivers provided in the 
DSK library, dsk5402.lib.  This example sets up the codec with the 
parameters below and performs a digital loopback by polling for input 
samples (mic) and writing them to the codec (speaker).  The example 
requirements are:  microphone or other audio input (e.g., cd player) 
connected to the MIC socket, and a speaker connected to the SPKR 
socket on the DSK board. 

Codec Parameters Used:

    Sampling Rate:	16KHz          Analog input gain:  6dB
    ADC mode:		15-bits        Analog output gain: -6dB
    DAC mode:		15-bits


Getting Started
===============

The following instructions enable you to build and run the codec
example.  You do not have to create and build a project.  If you 
prefer to see a quick demo, you can open CCS and load the file 
c:\ti\c5400\dsk\examples\dsp\codec\codec.out.

1.1  Creating a New Project 
===========================

1) If you installed Code Composer Studio in c:\ti, create a folder 
called codec in the c:\ti\myprojects folder. (If you installed 
elsewhere, create a folder within the myprojects folder in the 
location where you installed.)

2) Copy two source files from the c:\ti\c5400\dsk\examples\dsp\
codec\{codec.c, codec.cmd} folder. 


3) Copy three library files to your new folder.  Two library files 
are in the c:\ti\c5400\dsk\lib\{drv5402.lib,dsk5402.lib} folder 
and the third library file is in  c:\ti\c5400\cgtools\lib\rts.lib 
folder.

4) From the Windows Start menu, choose Programs->Code Composer 
Studio 'C5000->CCStudio. (Or, double-click the Code Composer Studio 
icon on your desktop.)

Note: Code Composer Studio Setup

If you get an error message the first time you try to start Code 
Composer Studio, make sure you run Code Composer Setup after 
installing Code Composer Studio following the Quick Start Guide.

5) Choose the Project->New menu item.

6) In the Save New Project As window, select the working folder 
you created and click Open.  Type codec as the filename and click 
Save.  Code Composer Studio creates a project file called 
codec.mak.  This file stores your project settings and references 
the various files used by your project.

1.2 Adding Files to a Project
=============================

1) Choose Project->Add Files to Project. Select codec.c and click Open.

2) Choose Project->Add Files to Project. Select Linker Command File 
(*.cmd) in the Files of type box. Select codec.cmd and click Open. This 
file maps sections to memory.

3) Choose Project->Add Files to Project. Select Object and Library 
Files (*.o*, *.lib) in the files of type box. Select drv5402.lib and 
click Open.  Repeat this procedure for dsk5402.lib and rts.lib.

4) Expand the Project list by clicking the + signs next to Project, 
codec.mak, Libraries, and Source. This list is called the Project View.

Note: Opening Project View

If you do not see the Project View, choose View->Project. Click the 
File icon at the bottom of the Project View if the Bookmarks icon is 
selected.

1.3 Changing Project Build Options
==================================

1) Choose Project->Options.  Click the Compiler Tab in the Include
Search Path.  Type in c:\ti\c5400\dsk\include.  Click 'OK'. This will 
enable the appropriate board.h and type.h files to be included.  
When building the program, Code Composer Studio finds files by 
searching for project files in the following path order:

o The folder that contains the source file.

o The folders listed in the Include Search Path for the compiler or 
  assembler options (from left to right).

o The folders listed in the definitions of the C54X_C_DIR (compiler) 
  and C54X_A_DIR (assembler) environment variables (from left to 
  right). The C54X_C_DIR environment variable defined by the 
  installation points to the folder that contains the rts.lib file.


1.4 Reviewing the Code
======================

1) Double-click on the codec.c file in the Project View. You see the 
source code in the right half of the window.

2) You may want to make the window larger so that you can see more of 
the source code at once. You can also choose a smaller font for this 
window by choosing Option->Font.

                                 
/*****************************************************************************/
/* Codec.c                                                                   */
/*                                                                           */
/* Digital Loopback example                                                  */
/*                                                                           */
/*****************************************************************************/

#include <type.h>
#include <board.h>
#include <codec.h>
#include <mcbsp54.h>

/*****************************************************************************/
/* Function Prototypes                                                       */
/*****************************************************************************/

/* This delay routine does not conflict with DSP/BIOS.  It is used in this  */
/* example rather than brd_delay_msec which causes DSP/BIOS conflicts just  */
/* because of this.  If you are not using DSP/BIOS, you can change the code */
/* to use brd_delay_msec.                                                   */

void delay(s16 period);

/*****************************************************************************/
/* Global Variables                                                          */
/*****************************************************************************/

HANDLE hHandset;
s16 data;


/*****************************************************************************/
/* MAIN                                                                      */
/*****************************************************************************/

void main()
{
    s16 cnt=2;

    if (brd_init(100))   
        return;

	/* blink the leds a couple times */
	while ( cnt-- )
	{
		brd_led_toggle(BRD_LED0);
		/* brd_delay_msec(1000); */
		delay(1000);
		brd_led_toggle(BRD_LED1);
		/* brd_delay_msec(1000); */
		delay(1000);
		brd_led_toggle(BRD_LED2);
		/* brd_delay_msec(1000); */
		delay(1000);
	}


    /* Open Handset Codec */
    hHandset = codec_open(HANDSET_CODEC);               /* Acquire handle to codec */

    /* Set codec parameters */
    codec_dac_mode(hHandset, CODEC_DAC_15BIT);          /* DAC in 15-bit mode */
    codec_adc_mode(hHandset, CODEC_ADC_15BIT);          /* ADC in 15-bit mode */
    codec_ain_gain(hHandset, CODEC_AIN_6dB);            /* 6dB gain on analog input to ADC */
    codec_aout_gain(hHandset, CODEC_AOUT_MINUS_6dB);    /* -6dB gain on analog output from DAC */
    codec_sample_rate(hHandset,SR_16000);               /* 16KHz sampling rate */


    /* Polling and digital loopback */
    while (1)
    {
       /* Wait for sample from handset */
       while (!MCBSP_RRDY(HANDSET_CODEC)) {};

       /* Read sample from and write back to handset codec */
       data = *(volatile u16*)DRR1_ADDR(HANDSET_CODEC);
       *(volatile u16*)DXR1_ADDR(HANDSET_CODEC) = data;
    }
}

void delay(s16 period)
{
    int i, j;
    
    for(i=0; i<period; i++)
    {
        for(j=0; j<period>>1; j++);
    }
}                                                                              


1.5 Building and Running the Program
====================================

Code Composer Studio automatically saves changes to the project setup 
as you make them. In case you exited from Code Composer Studio after 
the previous section, you can return to the point where you stopped 
working by restarting Code Composer Studio and using Project->Open.

To build and run the program, follow these steps:

1)  Choose Project->Rebuild All or click the (Rebuild All) toolbar 
button.  Code Composer Studio recompiles, reassembles, and relinks all 
the files in the project. Messages about this process are shown in a 
frame at the bottom of the window.

2) Choose File->Load Program. Select the program you just rebuilt, 
codec.out, and click Open. (It should be in the c:\ti\myprojects\codec
folder unless you installed Code Composer Studio elsewhere.) Code 
Composer Studio loads the program onto the target DSP and opens a 
Dis-Assembly window that shows the disassembled instructions that make 
up the program. (Notice that Code Composer Studio also automatically 
opens a tabbed area at the bottom of the window to show output the 
program sends to stdout.)

3) Click on assembly instruction in the Dis-Assembly window. (Click 
on the actual instruction, not the address of the instruction or the 
fields passed to the instruction.) Press the F1 key.  Code Composer 
Studio searches for help on that instruction. This is a good way to 
get help on an unfamiliar assembly instruction.

4) Choose Debug->Run or click the (Run) toolbar button.  Analyze 
results (see below).

5) Choose Debug->Halt or click the (Halt) toolbar button to end the 
program.

1.6 Expected Results
====================

Running your program should enable the polling from the input sample 
(e.g., mic) to be written back to the codec (e.g., speaker).

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
美腿丝袜在线亚洲一区| 亚洲高清视频在线| 色噜噜狠狠色综合中国| 丝袜亚洲另类欧美综合| 国产亚洲婷婷免费| 日本高清不卡在线观看| 九一久久久久久| 亚洲丝袜另类动漫二区| 日韩精品中午字幕| 色综合久久久久| 蜜桃视频免费观看一区| 亚洲精品国产成人久久av盗摄| 这里只有精品免费| 91在线观看免费视频| 久久草av在线| 亚洲国产美国国产综合一区二区| 久久精品在线观看| 欧美一区二区三区视频免费| av电影在线观看不卡| 91在线国产福利| 美日韩黄色大片| 一区二区三区欧美日韩| 日本一区二区三区久久久久久久久不 | 亚洲三级在线免费| 精品精品欲导航| 欧美日韩精品久久久| 成人sese在线| 国产精品夜夜爽| 日本亚洲最大的色成网站www| 亚洲欧美日韩成人高清在线一区| 久久久99精品久久| 久久一二三国产| 欧美一区二区三区视频| 欧美日韩中文国产| 欧洲一区二区av| 99久久精品国产一区二区三区| 国产专区欧美精品| 麻豆国产91在线播放| 日韩国产精品大片| 午夜视频在线观看一区| 亚洲一线二线三线视频| 亚洲激情成人在线| 亚洲免费观看高清在线观看| 国产精品久久久久久久久动漫| 久久精品亚洲精品国产欧美| 精品国产精品一区二区夜夜嗨| 6080午夜不卡| 在线成人高清不卡| 制服丝袜av成人在线看| 91精品免费观看| 欧美美女网站色| 欧美精品123区| 在线播放日韩导航| 日韩欧美精品三级| 亚洲精品一区二区三区在线观看| 欧美xxxx老人做受| www激情久久| 亚洲精品一线二线三线| 国产人久久人人人人爽| 国产精品亲子伦对白| 中文字幕五月欧美| 亚洲综合一区二区三区| 亚洲大型综合色站| 免费观看成人鲁鲁鲁鲁鲁视频| 美女网站色91| 国产成人av资源| 不卡的电影网站| 在线观看视频91| 69久久夜色精品国产69蝌蚪网| 日韩欧美综合一区| 日本一区二区三级电影在线观看| 国产精品系列在线| 一区二区三区 在线观看视频| 亚洲自拍偷拍图区| 免费观看久久久4p| 成人网在线播放| 91搞黄在线观看| 欧美一区二区视频网站| 国产偷国产偷亚洲高清人白洁| 国产精品久久久久久久裸模| 亚洲一区二区不卡免费| 美女网站视频久久| 顶级嫩模精品视频在线看| 一本大道久久a久久精品综合| 欧美色图12p| 久久亚区不卡日本| 亚洲精品视频在线观看网站| 日本视频中文字幕一区二区三区| 国产精品主播直播| 欧美主播一区二区三区| 日韩欧美一二三| 中文字幕一区不卡| 日韩激情视频网站| 成人一区二区三区视频在线观看 | 国产美女娇喘av呻吟久久| 99久久久精品免费观看国产蜜| 欧美精品日韩一本| 国产精品不卡一区二区三区| 丝袜亚洲精品中文字幕一区| 国产精品77777| 欧美日精品一区视频| 久久久天堂av| 午夜久久电影网| 成人免费黄色大片| 日韩亚洲欧美在线| 亚洲女与黑人做爰| 激情六月婷婷久久| 欧美色窝79yyyycom| 国产欧美日韩三级| 日韩制服丝袜av| www.亚洲免费av| 日韩精品自拍偷拍| 亚洲综合久久av| 北岛玲一区二区三区四区| 欧美哺乳videos| 五月激情综合婷婷| 97久久超碰精品国产| 久久一区二区三区国产精品| 午夜电影一区二区三区| 94-欧美-setu| 国产欧美精品国产国产专区| 日本vs亚洲vs韩国一区三区二区| 91免费国产在线观看| 国产欧美日韩另类视频免费观看| 日日夜夜精品视频免费| 在线观看国产91| 国产精品久久久久久久久免费樱桃 | 成人免费观看视频| 久久天堂av综合合色蜜桃网| 日本中文在线一区| 欧美午夜精品理论片a级按摩| 国产精品色在线| 国产成人亚洲精品青草天美| 日韩欧美亚洲国产精品字幕久久久| 亚洲第一会所有码转帖| 色噜噜狠狠一区二区三区果冻| 中文字幕第一区| 国产成人丝袜美腿| 精品sm在线观看| 精久久久久久久久久久| 精品久久久久久久久久久院品网 | 日韩电影在线观看一区| 欧美视频在线一区二区三区| 一区二区三区四区蜜桃| 色偷偷一区二区三区| 亚洲婷婷国产精品电影人久久| av午夜一区麻豆| 中文字幕亚洲一区二区av在线| 成人a区在线观看| 国产精品乱子久久久久| 成人精品一区二区三区中文字幕 | 在线免费一区三区| 夜夜亚洲天天久久| 欧美三级蜜桃2在线观看| 亚洲电影第三页| 欧美日韩三级一区| 日本中文一区二区三区| 日韩免费一区二区| 国产一区二区视频在线| 国产农村妇女精品| 成人性生交大片免费看中文 | 91麻豆福利精品推荐| 亚洲色图第一区| 欧美综合亚洲图片综合区| 亚洲国产精品久久久久婷婷884 | 91麻豆精品国产91久久久更新时间 | 久久99国产精品麻豆| 精品99999| 国产精品一区二区久久不卡| 中文字幕成人在线观看| 色综合天天综合网国产成人综合天| 亚洲精品中文在线| 69久久夜色精品国产69蝌蚪网| 精品一区二区免费| 国产精品色呦呦| 欧美羞羞免费网站| 麻豆国产精品777777在线| 国产日韩精品视频一区| 在线视频国内自拍亚洲视频| 午夜影院在线观看欧美| 久久一区二区三区国产精品| 99热精品国产| 日本v片在线高清不卡在线观看| 久久午夜色播影院免费高清| 91在线一区二区三区| 免费欧美高清视频| 中文在线免费一区三区高中清不卡| 在线影院国内精品| 久久66热re国产| 亚洲激情五月婷婷| 欧美精品一区二区三区视频| 91婷婷韩国欧美一区二区| 日韩精品1区2区3区| 国产精品乱人伦一区二区| 欧美精品久久99久久在免费线| 国产iv一区二区三区| 香蕉成人伊视频在线观看| 欧美韩国一区二区| 日韩写真欧美这视频| 99re热这里只有精品视频|