最近跑EVMK2G+CMB音频测试板(工程K2G_bf_rt )
跑工程自带工程都不成功!
配置mcasp的时候出现问题:mcasp_drv.c line 4082
assert(0U != timeout); 每次出错;
估计
tempVal1 = McASPGlobalCtlGet(instHandle->hwInfo.regs);
tempVal2 = McASPTxGlobalCtlGet(instHandle->hwInfo.regs);
赋值应该不成功,请TI帮忙看下!
/**
* \file mcasp_drv.c
*
* \brief Generic McASP Driver for SYS/BIOS Platform.It uses the EDMA for
* data transfer.
*
*
* (C) Copyright 2008, Texas Instruments, Inc
*
*
* \revision
* 0.2 [25-06-2008] Added the support for non loop job mode
* 0.1 [17-06-2008] Created newly.
*
*/
Shine:
请问是否有按照下面文档的步骤一步步操作?http://www.ti.com/lit/ug/tiducr7/tiducr7.pdf
Rob Liu:
回复 Shine:
按照步骤执行的,我的版本高一些
另外就是audioAnalogLoopbackTest Project 在processor_sdk_rtos_k2g没有;应该包含在pdk_k2g文件夹,不能生成工程文件,可以生成out文件。
使用版本如下:
CCS7.2
pdk_k2g_1_0_7
processor_sdk_rtos_k2g_4_01_00_06
今天又发现一个问题:
pdk_k2g_1_0_5
pdk_k2g_1_0_7
2个版本的mcasp_drv.c大小和内容不一样;但是版本号是一致的
* \revision * 0.2 [25-06-2008] Added the support for non loop job mode * 0.1 [17-06-2008] Created newly.
* \revision * 0.2 [25-06-2008] Added the support for non loop job mode * 0.1 [17-06-2008] Created newly.
Rob Liu:
回复 Shine:
感谢回复,
今天我使用CCS6.2+ti-processor-sdk-rtos-k2g-evm-03.03.00.04(Windows10),
按照https://training.ti.com/voice-preprocessing-demo-on-evmk2g 的视频介绍进行了demo测试,结果如下
:
console:
[C66xx]
Static information:
tword: 1
tint: 2
tlong: 4
Max #mics: 7
Max #vmics: 12
Fs: 16000 [Hz]
Frame duration: 10 [ms]
Frame length: 160 samples
Frame size: 320 bytes
Input buffer length: 2240 samples
Frame buffer size: 4480 bytes
Dynamic information:
#mics: 7
#vmics: 12
…Initializing beamformers
Done with beamformers
…Initializing ASNR's
Done with ASNR's
…Initializing MSS
Done with MSS
…Initializing DRC
Done with DRC
******************************************
Audio Preprocessing Demo
******************************************
This Demo Takes the Audio Input from 8 Mics from CMB
Runs the BF+ASNR+MSS+DRC Signal Processing Chain on Mic1 through Mic7
The Processed Audio Output will be Sent to Left Channels of K2G EVM On-Board Line-Out
The Mic8 will be Sent to Right Channels of K2G EVM On-Board Line-Out
Please Plug a Headphone to K2G EVM On-Board Line-Out
xdc.runtime.Main: "src/mcasp_drv.c", line 4024: assertion failure
xdc.runtime.Error.raise: terminating execution
谢谢,Rob