完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
平台: am335x tlv320aic3106 购买的开发板
kernel: linux-3.12.10 以前在linux3.2上面是没有问题的, 现在移植到3.12上面无法录音。 edma也已经注册。 不好意思 图传不上来 我只有文字描述了: CPU <-----------------> tlv320aic3106 外部12M 晶振 <----------> MCLK MCASP0_FSR. MCASP1_FSX <--------> WCLK MCASP0_ACLKR. MCASP1_ACLKX <--------> BCLK MCASP0_AXR1, MCASP1_AXR0 <----------> DIN MCASP0_AHCLKX. MCASP1_AXR1 <-------> DOUT HPROUT-----------------------| HEADPHONE HPLOUT------------------------| MICBIAS- LINE2LP---------------------> MIC LINE1LP LINE1RP-----------> LINE IN 在3.2上面是在line in上面测试录音 arecord -d 10 -f cd -t wav foobar.wav 在3.12上面 line in 和mic 都测试过 录音的时候不报错 用aplay播放 foobar.wav没有声音 同样不报错 mcasp1_pins: mcasp1_pins [ pinctrl-single,pins = < 0x1A4 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* mii1_crs.mcasp1_aclkx */ 0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* mii1_rxerr.mcasp1_fsx */ 0x1A8 (PIN_OUTPUT_PULLDOWN | MUX_MODE3) /* mii1_col.mcasp1_axr2 */ 0x1AC (PIN_INPUT_PULLDOWN | MUX_MODE3) /* rmii1_ref_clk.mcasp1_axr3 */ >; ]; mcasp1_sleep_pins: mcasp1_sleep_pins [ pinctrl-single,pins = < 0x1A4 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x1A0 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x1A8 (PIN_INPUT_PULLDOWN | MUX_MODE7) 0x1AC (PIN_INPUT_PULLDOWN | MUX_MODE7) >; ]; i2c1: i2c@4802a000 [ pinctrl-names = "default"; pinctrl-0 = <&i2c1_pins>; status = "okay"; clock-frequency = <100000>; tlv320aic3106: tlv320aic3106@1b [ compatible = "ti,tlv320aic3106"; reg = <0x1b>; status = "okay"; /* Regulators */ AVDD-supply = <&ldo4_reg>; IOVDD-supply = <&ldo4_reg>; DRVDD-supply = <&ldo4_reg>; DVDD-supply = <&ldo3_reg>; ]; ]; sound [ compatible = "ti,da830-evm-audio"; ti,model = "AM335x-EVM"; ti,audio-codec = <&tlv320aic3106>; ti,mcasp-controller = <&mcasp1>; ti,codec-clock-rate = <12000000>; ti,audio-routing = "Headphone Jack", "HPLOUT", "Headphone Jack", "HPROUT", "LINE1L", "Line In", "LINE1R", "Line In"; ]; #include "tps65217.dtsi" &mcasp1 [ pinctrl-names = "default", "sleep"; pinctrl-0 = <&mcasp1_pins>; pinctrl-1 = <&mcasp1_sleep_pins>; status = "okay"; op-mode = <0>; /* MCASP_IIS_MODE */ tdm-slots = <2>; /* 16 serializer */ serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 1 2 0 0 >; tx-num-evt = <32>; rx-num-evt = <32>; ]; &tps [ regulators [ dcdc1_reg: regulator@0 [ /* +1.5V voltage with ±4% tolerance */ regulator-min-microvolt = <900000>; regulator-max-microvolt = <1800000>; regulator-boot-on; regulator-always-on; ]; dcdc2_reg: regulator@1 [ /* VDD_MPU voltage limits 0.95V - 1.1V with ±4% tolerance */ regulator-name = "vdd_mpu"; regulator-min-microvolt = <900000>; regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; ]; dcdc3_reg: regulator@2 [ /* VDD_CORE voltage limits 0.95V - 1.1V with ±4% tolerance */ regulator-name = "vdd_core"; regulator-min-microvolt = <900000>; regulator-max-microvolt = <1500000>; regulator-boot-on; regulator-always-on; ]; ldo1_reg: regulator@3 [ /* +1.8V voltage with ±4% tolerance */ regulator-min-microvolt = <1000000>; regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; ]; ldo2_reg: regulator@4 [ /* +3.3V voltage with ±4% tolerance */ regulator-min-microvolt = <900000>; regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; ]; ldo3_reg: regulator@5 [ /* +1.8V voltage with ±4% tolerance */ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; ]; ldo4_reg: regulator@6 [ /* +3.3V voltage with ±4% tolerance */ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-boot-on; regulator-always-on; ]; ]; ]; i2cdump -f -y 1 0x1b No size specified (using byte-data access) 0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 00 00 00 10 04 00 00 00 00 00 00 01 00 00 00 80 ...??......?...? 10: 80 ff ff 78 78 78 78 78 78 06 00 fe 00 00 fe 00 ?..xxxxxx?.?..?. 20: 00 00 00 00 00 00 00 00 00 00 00 80 80 00 00 00 ...........??... 30: 00 00 00 04 00 00 00 00 00 00 04 00 00 00 00 00 ...?......?..... 40: 00 04 00 00 00 00 00 00 04 00 00 00 00 00 00 00 .?......?....... 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 60: 00 00 00 00 00 c0 02 00 00 00 00 00 00 00 00 00 .....??......... 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 80: 00 00 00 10 04 00 00 00 00 00 00 01 00 00 00 80 ...??......?...? 90: 80 ff ff 78 78 78 78 78 78 06 00 fe 00 00 fe 00 ?..xxxxxx?.?..?. a0: 00 00 00 00 00 00 00 00 00 00 00 80 80 00 00 00 ...........??... b0: 00 00 00 04 00 00 00 00 00 00 04 00 00 00 00 00 ...?......?..... c0: 00 04 00 00 00 00 00 00 04 00 00 00 00 00 00 00 .?......?....... d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ e0: 00 00 00 00 00 c0 02 00 00 00 00 00 00 00 00 00 .....??......... f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 尝试强制把下面的寄存器powerup起来 似乎也不奏效 /* Line1 Input control registers */ #define LINE1L_2_LADC_CTRL 19 #define LINE1R_2_LADC_CTRL 21 #define LINE1R_2_RADC_CTRL 22 #define LINE1L_2_RADC_CTRL 24 /* Line2 Input control registers */ #define LINE2L_2_LADC_CTRL 20 #define LINE2R_2_RADC_CTRL 23 |
|
相关推荐
3个回答
|
|
帖子都沉了 有没有解决方法
|
|
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
NA555DR VCC最低电压需要在5V供电,为什么用3.3V供电搭了个单稳态触发器也使用正常?
677 浏览 3 评论
MSP430F249TPMR出现高温存储后失效了的情况,怎么解决?
599 浏览 1 评论
对于多级放大电路板,在PCB布局中,电源摆放的位置应该注意什么?
1052 浏览 1 评论
736 浏览 0 评论
普中科技F28335开发板每次上电复位后数码管都会显示,如何熄灭它?
523 浏览 1 评论
请问下tpa3220实际测试引脚功能和官方资料不符,哪位大佬可以帮忙解答下
160浏览 20评论
请教下关于TAS5825PEVM评估模块原理图中不太明白的地方,寻求答疑
125浏览 14评论
在使用3254进行录音的时候出现一个奇怪的现象,右声道有吱吱声,请教一下,是否是什么寄存器设置存在问题?
126浏览 13评论
TLV320芯片内部自带数字滤波功能,请问linein进来的模拟信号是否是先经过ADC的超采样?
122浏览 12评论
TPA6304-Q1: TPA6304 两片公用一组I2C的话,其中一片配置不成功怎么办
167浏览 10评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-24 08:20 , Processed in 0.984064 second(s), Total 83, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号