完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
你好: 1.ADC loopback 请见Application ref guide上的register 0x76: 对应的GUI 控件对应我上贴中的截图。很抱歉,之前我没有圈对位置,你改上图中的位置就好了。或者你手动在command里写:w 30 76 36。 2.你在control software的文件下找到:MBQRecord5BQsExample.cfg文件,然后通过command打开运行,就是一个录音的配置,EVM板上没有接喇叭,你得外接喇叭。然后结合你的playback配置到耳机,打开loopback,听一下即可。 3.单独看录音是否没问题: 请在google里下载Audacity软件,配置响应的录音声卡选择,改软件就可以帮助你记录下录音的波形,也可以导成mp3文件试听,即知录音是否配置成功。 |
|
|
|
|
|
|
|
|
################################################################
# ADC Stereo Record - High Performance # SE input signal from IN2L/IN2R # AVDDx_18, HVDD_18, CPVDD_18 = 1.8V; IOVDD, AVDD3_33, RECVDD_33 = 3.3V; SLVDD, SRVDD, SPK_V = 5V, DVdd = 1.8V # MCLK = 12.288, Fs = 48kHz # PLL Disabled, AOSR = 128, PTM_R1 # CM = 0.9V # Primary I2S Interface used with WCLK & BCLK as inputs to the device ################################################################ ################################################################ # Software Reset ################################################################ w 30 00 00 # Initialize to Page 0 w 30 7f 00 # Initialize to Book 0 w 30 01 01 # Initialize the device through software reset d 1 # Delay 1 millisecond ################################################################ # Power and Analog Configuration ################################################################ w 30 00 01 # Select Page 1 w 30 01 00 # Disable weak AVDD to DVDD connection and make analog supplies available w 30 7a 01 # REF charging time = 40ms w 30 79 33 # Set the quick charge of input coupling cap for analog inputs ############################################### # Clock and Interface Settings # --------------------------------------------- # The codec receives: MCLK = 12.288 MHz, # BLCK = 3.072 MHz, WCLK = 48 kHz ############################################### w 30 00 00 # Select Page 0 # PLL_clkin = MCLK1, codec_clkin = PLL_CLK, # PLL on, P=1, R=1, J=8, D=0000 w 30 04 33 00 91 08 00 00 01 w 30 12 82 88 # NADC = 2, MADC = 8, dividers powered on w 30 14 80 # AOSR = 128 ############################################### ################################################################ # Audio Serial Interface Routing Configuration - Audio Serial Interface #1 # ASI #1 recording ################################################################ w 30 00 04 # Select Page 4 w 30 01 00 # Audio Serial Interface #1 is set to I2S mode, 16-bit w 30 0a 00 # Route ASI#1 WCLK and BCLK to WCLK1 pin and BCLK1 pin ################################################################ # Signal Processing Settings ################################################################ w 30 00 00 # Select Page 0 w 30 3d 02 # Set the ADC PRB Mode to PRB_R1 ################################################################ # ADC Input Channel Configuration --- IN2L / IN2R ################################################################ w 30 00 01 # Select Page 1 w 30 08 00 # Set the input common mode to 0.9V w 30 34 20 # Route IN2L and CM1 to LEFT ADCPGA with 20K input impedance w 30 36 80 w 30 37 20 # Route IN2R and CM1 to RIGHT ADCPGA with 20K input impedance w 30 39 80 w 30 3B 06 # Left Channel Analog ADC PGA = 3 dB, Results in Overall Channel Gain of 0dB w 30 3C 06 # Right Channel Analog ADC PGA = 3 dB, Results in Overall Channel Gain of 0dB w 30 3D 00 # ADC Analog programmed for PTM_R4 w 30 00 00 # Select Page 0 w 30 51 C0 # Power-up ADC Channel w 30 52 00 # Unmute ADC channel and Fine Gain = 0dB ######################################### # Signal processing ######################################### # # select page 0 w 30 00 00 # # set DAC PRB mode to PRB_P1 w 30 3C 01 # ################################ ####################################################### # DAC configuration ####################################################### # # select page 1 w 30 00 01 # # Set DAC PTM mode to PTM_P3 w 30 03 00 w 30 04 00 # # Route LDAC to HPL and route RDAC to HPR, don't power up HP driver yet w 30 1B 30 # # select page 0 w 30 00 00 # # power up LDAC and RDAC w 30 3F C0 # # select page 0 w 30 00 00 # # power up LDAC and RDAC w 30 3F C0 # # select page 1 w 30 00 01 # # set Headphone in Ground-centered Mode, HPL is still muted w 30 1F B9 # # HPR has the same gain as HPL, HPR is still muted w 30 20 B9 # # Charge pump runs of Oscillator clock with divider = 4 w 30 21 28 # # headphone output offset correction (default setting) w 30 22 3E # Charge pump to power up on the headphone power up in Ground-centered Mode w 30 23 30 # # unmute HPL driver, set gain = 0 dB w 30 1F 80 # # unmute HPR driver, set gain = 0 dB w 30 20 80 # # select page 0 w 30 00 00 # # Unmute LDAC and RDAC digital volume w 30 40 40 # # select page 1 w 30 00 01 # reduce HP power to 25 percent w 30 09 70 # # power up HPL/HPR w 30 1B 33 # ################################################## # select page 1 w 30 00 01 # increase HP power to 100 percent w 30 09 10 w 30 76 36 可否幫忙修正以上的command script,謝謝 上述為使用 MBQRecord5BQsExample.cfg 以及 HP playback的合集,最後再照你說的w30 76 36來形成ADC to DAC的模式,可是還是無法運作為 由Line in 的聲音經由EQ調整後再輸出至LINE OUT,SPEAKER或HP |
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
549 浏览 0 评论
1613 浏览 0 评论
2047 浏览 0 评论
为啥BQ7693003DBTR芯片在和BQ769X0盒子通讯时收不到信号?
1513 浏览 0 评论
DSP 28027F 开发板 XDS100v2调试探针诊断日志显示了 Error -150 (SC_ERR_FTDI_FAIL)如何解决
1337 浏览 0 评论
AT32F407在USART2 DMA发送数据时,接包接到了要发送的数据,程序还是处于等待传输完成的标识判断中,为什么?
1757浏览 29评论
2781浏览 23评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
1724浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
1634浏览 14评论
两个TMP117传感器一个可以正常读取温度值,一个读取的值一直是0,为什么?
1645浏览 13评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 06:22 , Processed in 0.891814 second(s), Total 86, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
366