TLV320AIC3204 声音输入设置

博客记录了IN2_L和IN2_R的音频测试情况,打开测试均有声音,并详细记录了多次i2c读写操作,包括不同寄存器地址和数据的写入与读取,还进行了LOL/LOR输出测试及第二次完整测试。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

 


IN2_L 测试有声音
// IN2L is routed to Left MICPGA with 10k resistance
// CM is routed to Left MICPGA via CM1L with 10k resistance

// IN2R is not routed to Right MICPGA
// CM is not routed to Right MICPGA
[END]
~ # i2c_write  10 0x30 0x0 0x1
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x0; data:0x1; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x34 0x20
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x34; data:0x20; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x36 0x40
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x36; data:0x40; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x37 0x0
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x37; data:0x0; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x39 0x0
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x39; data:0x0; reg_width: 1; data_width: 1.
[END]
~ #


打开 IN2_R 测试有声音
// IN2R is routed to Right MICPGA with 10k resistance
// CM is routed to Right MICPGA via CM1R with 10k resistance
~ #
~ # i2c_write  10 0x30 0x37 0x20
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x37; data:0x20; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x39 0x40
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x39; data:0x40; reg_width: 1; data_width: 1.
[END]
~ #


//LOL/LOR 输出测试。 改变增益看输出波形


~ # i2c_read 10 0x30 9
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_read
i2c_num:0xa, dev_addr:0x30; reg_addr:0x9; reg_addr_end:0x9;                     reg_width: 1; data_width: 1; reg_step: 1.

0x9: 0x30
[END]
~ # i2c_write 10 0x30 0x9 0x3c
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x9; data:0x3c; reg_width: 1; data_width: 1.
[END]
~ # i2c_write 10 0x30 0xe 0x08
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0xe; data:0x8; reg_width: 1; data_width: 1.
[END]
~ # i2c_write 10 0x30 0xf 0x08
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0xf; data:0x8; reg_width: 1; data_width: 1.
[END]
~ # i2c_write 10 0x30 0x12 0x1d
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x12; data:0x1d; reg_width: 1; data_width: 1.
[END]
~ # i2c_write 10 0x30 0x13 0x1d
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x13; data:0x1d; reg_width: 1; data_width: 1.
[END]
~ # i2c_write 10 0x30 0x12 0x0f
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x12; data:0xf; reg_width: 1; data_width: 1.
[END]
~ # i2c_write 10 0x30 0x12 0x08
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x12; data:0x8; reg_width: 1; data_width: 1.
[END]
~ # i2c_write 10 0x30 0x12 0x00
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x12; data:0x0; reg_width: 1; data_width: 1.
[END]
~ # i2c_write 10 0x30 0x12 0x1d
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x12; data:0x1d; reg_width: 1; data_width: 1.
[END]
~ # i2c_write 10 0x30 0x12 0x0
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x12; data:0x0; reg_width: 1; data_width: 1.
[END]
~ # i2c_write 10 0x30 0x12 0x1d
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x12; data:0x1d; reg_width: 1; data_width: 1.
[END]
~ #


第二次完整测试

~ # i2c_write  10 0x30 0x0 0x1
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x0; data:0x1; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x034 0x20
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x34; data:0x20; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x036 0x40
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x36; data:0x40; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x037 0x20
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x37; data:0x20; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x039 0x40
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x39; data:0x40; reg_width: 1; data_width: 1.
[END]
~ #
~ #
~ # i2c_write  10 0x30 0x0e 0x8
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0xe; data:0x8; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x0f 0x8
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0xf; data:0x8; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x09 0x3c
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x9; data:0x3c; reg_width: 1; data_width: 1.
[END]
~ #
~ #
~ #
~ # i2c_write  10 0x30 0x12 0
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x12; data:0x0; reg_width: 1; data_width: 1.
[END]
~ # i2c_write  10 0x30 0x13 0
*** Board tools : ver0.0.1_20121120 ***
[debug]: {source/utils/cmdshell.c:168}cmdstr:i2c_write
i2c_num:0xa, dev_addr:0x30; reg_addr:0x13; data:0x0; reg_width: 1; data_width: 1.
[END]
~ #

 

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值