Other Parts Discussed in Thread:TLV320AIC3101, CC8530
CC8530+TLV320AIC3101 ,由8530配置AIC3101做输出,上电8530配置3101后输出底噪很小,CC8530配对发射后,声音输出正常,关闭CC8530发射后,AIC3101无声音输出,但输出底噪变大了,必须重新配置AIC3101寄存器底噪才正常,只什么原因???? 感觉就是有声音输出过,底噪就变大了,就算没有声音输出底噪也不讳变小,,,下面是8530配置寄存器
# PIN RESET
p Reset 0 # Release the reset pin
d 5000
p Reset 1 # Release the reset pin
# RESET
w 30 00 00 # Select register page 0
w 30 01 80 # I2C reset
d 5000
# DATA PATH
w 30 07 0A # Left DAC left channel, right DAC right channel
w 30 09 00 # I2S, 16-bit, continuous clock, no resync
w 30 1C C0 # Hysteresis is disabled
w 30 1F C0 # Hysteresis is disabled
w 30 25 C0 # DAC Power and Output Driver Control Register
w 30 2B 00 # Left-DAC Digital Volume Control Register
w 30 2C 00 # Right-DAC Digital Volume Control Register
# CLOCK SOURCE
w 30 65 01 # CODEC_CLKIN uses CLKDIV_OUT
# OUTPUT VOLUME OFFSETS
w 30 33 5D # HPLOUT mute + power down (weakly driven to common mode)
w 30 41 5D # HPROUT mute + power down (weakly driven to common mode)
w 30 3A 5D # HPLCOM mute + power down (weakly driven to common mode)
w 30 48 5D # HPRCOM mute + power down (weakly driven to common mode)
w 30 2F 80 # DAC_L1 is routed to HPLOUT, volume = 0 dB
w 30 36 80 # DAC_L1 is routed to HPLCOM, volume = 0 dB
w 30 40 80 # DAC_R1 is routed to HPROUT, volume = 0 dB
w 30 47 80 # DAC_R1 is routed to HPRCOM, volume = 0 dB
w 30 32 80 ## DAC_R1 is routed to HPLOUT, volume = 0 dB
w 30 39 80 ## DAC_R1 is routed to HPLCOM, volume = 0 dB
w 30 3D 80 ## DAC_L1 is routed to HPROUT, volume = 0 dB
w 30 44 80 ## DAC_L1 is routed to HPRCOM, volume = 0 dB
w 30 52 80 # DAC_L1 is routed to LEFT_LOP/M, volume = 0 dB
w 30 5C 80 # DAC_R1 is routed to RIGHT_LOP/M, volume = 0 dB
w 30 55 80 ## DAC_R1 is routed to LEFT_LOP/M, volume = 0 dB
w 30 59 80 ## DAC_L1 is routed to RIGHT_LOP/M, volume = 0 dB
w 30 56 09 # Register 86: LEFT_LOP/M Output Level Control Register
w 30 5D 09 # Register 93: RIGHT_LOP/M Output Level Control Register
Amy Luo:
您好,
您可以读一下底噪大时的寄存器值吗,对比一下与从新配置的寄存器有什么不同
,
user1274933:
读回来和设置的是一样,重新配置时有RESET过才恢复正常的.
,
Amy Luo:
关闭CC8530发射后,您有没有power down 或mute掉Left-DAC和Right-DAC ?非常抱歉,回复晚了
,
user1274933:
我的3101是使用8530配置的,power down 或mute掉Left-DAC和Right-DAC 怎么操作,使用单片机通过IIC控制吗?还是8530固件里面设置???
,
Amy Luo:
就是通过您上面语句中的三个寄存器配置:
w 30 25 C0 # DAC Power and Output Driver Control Registerw 30 2B 00 # Left-DAC Digital Volume Control Register
w 30 2C 00 # Right-DAC Digital Volume Control Register
,
user1274933:
这个是8530配置的,而且是上电时8530配置一下3101的,但使用过程中如何控制85360配制3101?
,
Amy Luo:
抱歉,我不懂CC8530,您可以在”无线连接“版块发帖,由无线连接版块工程师为您提供帮助
,
user1274933:
如果我外加一个MCU来配置3101,应该也可以的吧? 也是IIC接口配置
,
Amy Luo:
是的,可以的