你好:
我购买的开发板名称为TMDX5535EZDSP,连接J1口无法测试音频,设备管理器处显示找不到驱动,请问如何解决?SW3的设置是1、3OFF,2、4ON。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好:
我购买的开发板名称为TMDX5535EZDSP,连接J1口无法测试音频,设备管理器处显示找不到驱动,请问如何解决?SW3的设置是1、3OFF,2、4ON。
请按照下面QSG文档上4.0 C5535 eZdsp Audio Demonstration的步骤一步一步检查。
http://support.spectrumdigital.com/boards/ezdsp5535/revc/files/EZDSP5535_QuickStartGuide.pdf
看一下Windows/system32/drivers是否有usbaudio.sys 这个文件?请参考下面的wiki网站说明。
http://processors.wiki.ti.com/index.php/C5000_Connected_Audio_Framework#Q:_When_I_first_plug_in_the_eZdsp5535_into_my_Windows_7_PC_.28x32_or_x64_bit.29.2C_the_device_driver_install_fails.....
你好:
是有usbaudio.sys这个文件的
这个C5000 Connected Audio Framework软件,有什么作用呢?我按照readme.txt的说明生成了一些工程,这些工程带有警告,这些工程有什么用呢,也无法解决我现在的问题啊
--------------------------
你是否想让我看的是这一部分:但是这一部分毫无逻辑啊,我怎么可能在第一次连接时候失败,第二次连接就成功了呢,到底中间有什么操作呢,也没有写出来啊
下面是对这个软件的解释,是一个音频例程。
"The TMS320C55x™ Connected Audio Framework provides a software framework which allows the C55x devices to operate as a USB Audio peripheral. In addition to providing this capability, the framework can be extended by users by the incorporation of audio processing algorithms in the record and playback paths. The C55x Connected Audio Framework also implements USB Human Interface Device (HID) class which can be used to perform functions such as change volume, play, and stop audio."
也就是SD卡里自带的demo程序,请问你改过SD卡的内容吗?
你用仿真器跑的话,就不用把程序放到SD卡了。
stereo in的例程可以跑下面SDI公司网站上Test Code里的ezdsp5535_v1\tests\aic3204例程。
http://support.spectrumdigital.com/boards/ezdsp5535/revc/
你好,我试过了,我把Test Code里的ezdsp5535_v1\tests\aic3204例程做成映像拷贝到SPI闪存,只是听到stereo out插入的耳机的测试声音,听不到stereo in插入的麦克风的声音,是否还有其他实现办法
aic例程应该可以啊,你可以看一下这个例程的源代码,aic3204_loop_linein函数就是实现麦克风输入,耳机输出的。
Audio这个例程是PC->USUB->Setero out, 不经过line in的。
你好,我看了这个函数。函数粘贴在下边了,您如果看过了,就跳过去
Int16 aic3204_loop_linein( )
{
Int16 sec, msec;
Int16 sample, data1, data2;
/* Configure AIC3204 */
AIC3204_rset( 0, 0x00 ); // Select page 0
AIC3204_rset( 1, 0x01 ); // Reset codec
EZDSP5535_waitusec(1000); // Wait 1ms after reset
AIC3204_rset( 0, 0x01 ); // Select page 1
AIC3204_rset( 1, 0x08 ); // Disable crude AVDD generation from DVDD
AIC3204_rset( 2, 0x01 ); // Enable Analog Blocks, use LDO power
AIC3204_rset( 123,0x05 ); // Force reference to power up in 40ms
EZDSP5535_waitusec(50000); // Wait at least 40ms
AIC3204_rset( 0, 0x00 ); // Select page 0
/* PLL and Clocks config and Power Up */
AIC3204_rset( 27, 0x0d ); // BCLK and WCLK are set as o/p; AIC3204(Master)
AIC3204_rset( 28, 0x00 ); // Data ofset = 0
AIC3204_rset( 4, 0x03 ); // PLL setting: PLLCLK <- MCLK, CODEC_CLKIN <-PLL CLK
AIC3204_rset( 6, 0x07 ); // PLL setting: J=7
AIC3204_rset( 7, 0x06 ); // PLL setting: HI_BYTE(D=1680)
AIC3204_rset( 8, 0x90 ); // PLL setting: LO_BYTE(D=1680)
AIC3204_rset( 30, 0x88 ); // For 32 bit clocks per frame in Master mode ONLY
// BCLK=DAC_CLK/N =(12288000/8) = 1.536MHz = 32*fs
AIC3204_rset( 5, 0x91 ); // PLL setting: Power up PLL, P=1 and R=1
EZDSP5535_waitusec(10000); // Wait for PLL to come up
AIC3204_rset( 13, 0x00 ); // Hi_Byte(DOSR) for DOSR = 128 decimal or 0x0080 DAC oversamppling
AIC3204_rset( 14, 0x80 ); // Lo_Byte(DOSR) for DOSR = 128 decimal or 0x0080
AIC3204_rset( 20, 0x80 ); // AOSR for AOSR = 128 decimal or 0x0080 for decimation filters 1 to 6
AIC3204_rset( 11, 0x82 ); // Power up NDAC and set NDAC value to 2
AIC3204_rset( 12, 0x87 ); // Power up MDAC and set MDAC value to 7
AIC3204_rset( 18, 0x87 ); // Power up NADC and set NADC value to 7
AIC3204_rset( 19, 0x82 ); // Power up MADC and set MADC value to 2
/* DAC ROUTING and Power Up */
AIC3204_rset( 0, 0x01 ); // Select page 1
AIC3204_rset( 12, 0x08 ); // LDAC AFIR routed to HPL
AIC3204_rset( 13, 0x08 ); // RDAC AFIR routed to HPR
AIC3204_rset( 0, 0x00 ); // Select page 0
AIC3204_rset( 64, 0x02 ); // Left vol=right vol
AIC3204_rset( 65, 0x00 ); // Left DAC gain to 0dB VOL; Right tracks Left
AIC3204_rset( 63, 0xd4 ); // Power up left,right data paths and set channel
AIC3204_rset( 0, 0x01 ); // Select page 1
AIC3204_rset( 16, 0x00 ); // Unmute HPL , 0dB gain
AIC3204_rset( 17, 0x00 ); // Unmute HPR , 0dB gain
AIC3204_rset( 9 , 0x30 ); // Power up HPL,HPR
EZDSP5535_waitusec(100 ); // Wait
/* ADC ROUTING and Power Up */
AIC3204_rset( 0, 0x01 ); // Select page 1
AIC3204_rset( 52, 0x30 ); // STEREO 1 Jack
// IN2_L to LADC_P through 40 kohm
AIC3204_rset( 55, 0x30 ); // IN2_R to RADC_P through 40 kohmm
AIC3204_rset( 54, 0x03 ); // CM_1 (common mode) to LADC_M through 40 kohm
AIC3204_rset( 57, 0xc0 ); // CM_1 (common mode) to RADC_M through 40 kohm
AIC3204_rset( 59, 0x00 ); // MIC_PGA_L unmute
AIC3204_rset( 60, 0x00 ); // MIC_PGA_R unmute
AIC3204_rset( 0, 0x00 ); // Select page 0
AIC3204_rset( 81, 0xc0 ); // Powerup Left and Right ADC
AIC3204_rset( 82, 0x00 ); // Unmute Left and Right ADC
AIC3204_rset( 0, 0x00 ); // Select page 0
EZDSP5535_waitusec(100 ); // Wait
我不太懂为什么函数里没有设置MICBIAS Configuration Register,按照3204的指南,
偏置电压由AVDD或LDOIN提供,如果MICBIAS Configuration Register没有设置,相当于没有给麦克风偏置电压,麦克风肯定不工作的。
问题是不是出在这呢