资源简介
TMS320C6678官方代码包
代码片段和文件信息
/****************************************************************************\
* Copyright (C) 2011 2012 Texas Instruments Incorporated. *
* All Rights Reserved *
* *
* GENERAL DISCLAIMER *
* ------------------ *
* All software and related documentation is provided “AS IS“ and without *
* warranty or support of any kind and Texas Instruments expressly disclaims*
* all other warranties express or implied including but not limited to *
* the implied warranties of merchantability and fitness for a particular *
* purpose. Under no circumstances shall Texas Instruments be liable for *
* any incidental special or consequential damages that result from the *
* use or inability to use the software or related documentation even if *
* Texas Instruments has been advised of the liability. *
****************************************************************************
This example shows data transfer over AIF2 between two DSP on Dual C6670 EVM.
The examples can also be run on C6670 or TCI6614 EVM but only internal loopback
test can be run on those boards because there is only one DSP on them.
This file includes code for sending packets and processing RX packets
TX/RX packets statistics information is collected and summarized
****************************************************************************
* Created by : *
* Brighton Feng *
* Texas Instruments *
* August 10 2011 *
Updated on June 18 2012 for TCI6614 by Brighton
***************************************************************************/
#include
#include
#include “KeyStone_common.h“
#include “AIF_PktDMA_init.h“
#include “aif_test_config.h“
#include “aif_Data.h“
#include “aif_intc.h“
#include “aif_debug.h“
#include “aif_setup.h“
//Aif state for 128 channels one more stat buffer for unknown channel
AifChStat aifChStat[129];
Uint32 uiAxcSymbolIndex=0; /*symbol index will be filled into PS field of packet*/
Uint32 uiAxcSequenceNum=0; /*sequence number be transfered for error checking*/
Uint32 uiGenericSequenceNum=0; /*sequence number be transfered for error checking*/
#pragma DATA_SECTION(errLog“.far:AifDebug“)//use DDR3 memory for test/debug
#define ERROR_LOG_SIZE 16 /*must be power of 2*/
ErrorLog errLog[ERROR_LOG_SIZE]; //for debug
Uint32 uiErrLogIndex= 0;
unsigned char * ucpBufPointer;
void Data_Init()
{
memset(aifChStat 0 sizeof(aifChStat));
uiAxcSymbolIndex
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 476 2013-12-16 18:28 K1_STK_v1.1\AIF2_LTE_FDD\.ccsproject
文件 24983 2015-03-20 16:58 K1_STK_v1.1\AIF2_LTE_FDD\.cproject
文件 6585 2014-01-03 15:04 K1_STK_v1.1\AIF2_LTE_FDD\.launches\AIF2_LTE_FDD.launch
文件 3239 2014-12-04 10:45 K1_STK_v1.1\AIF2_LTE_FDD\.project
文件 62 2013-10-09 17:47 K1_STK_v1.1\AIF2_LTE_FDD\.settings\org.eclipse.cdt.codan.core.prefs
文件 154 2012-02-05 17:02 K1_STK_v1.1\AIF2_LTE_FDD\.settings\org.eclipse.cdt.debug.core.prefs
文件 513 2013-10-10 18:55 K1_STK_v1.1\AIF2_LTE_FDD\.settings\org.eclipse.core.resources.prefs
文件 1277 2014-12-09 12:20 K1_STK_v1.1\AIF2_LTE_FDD\KeyStone.cmd
文件 16615 2013-01-27 05:36 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_Data.c
文件 3392 2012-08-30 16:53 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_Data.h
文件 59756 2015-03-20 15:53 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_debug.c
文件 4378 2012-06-24 09:39 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_debug.h
文件 19045 2014-12-04 10:33 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_intc.c
文件 3438 2012-06-24 10:12 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_intc.h
文件 5684 2014-12-04 10:18 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_main.c
文件 16738 2014-12-04 11:01 K1_STK_v1.1\AIF2_LTE_FDD\src\AIF_PktDMA_Init.c
文件 3261 2012-12-26 22:17 K1_STK_v1.1\AIF2_LTE_FDD\src\AIF_PktDMA_Init.h
文件 47263 2014-12-06 19:25 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_setup.c
文件 2511 2012-06-24 11:37 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_setup.h
文件 14901 2014-12-06 19:17 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_Test_Config.c
文件 7120 2014-12-06 19:10 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_test_config.h
文件 2889 2014-12-06 19:01 K1_STK_v1.1\AIF2_LTE_FDD\src\aif_vectors.asm
文件 476 2013-10-10 18:58 K1_STK_v1.1\AIF2_LTE_TDD\.ccsproject
文件 22154 2015-03-20 17:01 K1_STK_v1.1\AIF2_LTE_TDD\.cproject
文件 3980 2013-10-09 22:45 K1_STK_v1.1\AIF2_LTE_TDD\.launches\AIF2_LTE_TDD.launch
文件 3239 2014-12-04 10:45 K1_STK_v1.1\AIF2_LTE_TDD\.project
文件 62 2013-10-09 17:47 K1_STK_v1.1\AIF2_LTE_TDD\.settings\org.eclipse.cdt.codan.core.prefs
文件 154 2012-02-05 17:03 K1_STK_v1.1\AIF2_LTE_TDD\.settings\org.eclipse.cdt.debug.core.prefs
文件 513 2013-10-10 18:59 K1_STK_v1.1\AIF2_LTE_TDD\.settings\org.eclipse.core.resources.prefs
文件 1277 2014-12-09 12:20 K1_STK_v1.1\AIF2_LTE_TDD\KeyStone.cmd
............此处省略475个文件信息
评论
共有 条评论