移植cs42l51芯片驱动注意事项

主要的几个寄存器

DAC Control (Address 09h)

在这里插入图片描述
在这里插入图片描述

	cs42l51_regs[9] = CS42L51_DAC_CTL_DATA_SEL(1) | CS42L51_DAC_CTL_DEEMPH | CS42L51_DAC_CTL_AMUTE | CS42L51_DAC_CTL_DACSZ(0);
	I2C_Write(CS42l51_I2C_ADDR, CS42L51_DAC_CTL, &cs42l51_regs[9], 1);

这里把DAC Data Selection设置为Signal Processing Engine to DAC模式,DAC De-Emphasis Control置1,使能数字滤波器应用de-emphasis功能,使能了Analog Output Auto MUTE功能,声音变化调节设置为了Immediate Change模式。

Interface Control (Address 04h)

在这里插入图片描述
在这里插入图片描述

    cs42l51_regs[4] = CS42L51_INTF_CTL_DIGMIX;
    I2C_Write(CS42l51_I2C_ADDR, CS42L51_INTF_CTL, &cs42l51_regs[4], 1);

将DIGMIX置1可以实现录音功能。

AOUTx Volume Control:AOUTA (Address 16h) & AOUTB (Address 17h)

在这里插入图片描述

	cs42l51_regs[22] = 0xC0;	//-32DB
	cs42l51_regs[23] = 0xC0;	//-32DB
	I2C_Write(CS42l51_I2C_ADDR, CS42L51_PCMA_VOL, &cs42l51_regs[16], 1);
	I2C_Write(CS42l51_I2C_ADDR, CS42L51_PCMB_VOL, &cs42l51_regs[17], 1);

设置AOUT通道声音变小。

ADCx Mixer Volume Control: ADCA (Address 0Eh) & ADCB (Address 0Fh)

在这里插入图片描述

	cs42l51_regs[16] = 0x18;	//12DB
	cs42l51_regs[17] = 0x18;	//12DB
	I2C_Write(CS42l51_I2C_ADDR, CS42L51_PCMA_VOL, &cs42l51_regs[16], 1);
	I2C_Write(CS42l51_I2C_ADDR, CS42L51_PCMB_VOL, &cs42l51_regs[17], 1);

设置 ADCx Mixer声音变大。

Output Architecture

在这里插入图片描述
这里为了协调录音音量与播放音量大小,对通道声音进行了适当的调节。

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
De-Emphasis 标题 Optical modulators for generating de-emphasis formatted optical signals and methods of operating the same Optical Modulators for Generating De-Emphasis Formatted Optical Signals and Methods of Operating the Same Output buffer circuit with de-emphasis function Output buffer circuit with de-emphasis function Spectral emphasis and de-emphasis Method for designing de-emphasis circuit for video signal processing integrated circuit and integrated circuit made by the same Method for designing de-emphasis circuit for video signal processing integrated circuit and integrated circuit made by the same Automatic de-emphasis setting for driving capacitive backplane Automatic de-emphasis setting for driving capacitive backplane Pseudo-open drain type output driver having de-emphasis function, semiconductor memory device, and control method thereof Pseudo-open drain type output driver having de-emphasis function, semiconductor memory device, and control method thereof Finite impulse response de-emphasis with inductive shunt peaking for near-end and far-end signal integrity High-speed pre-driver and voltage level converter with built-in de-emphasis for HDMI transmit applications High-speed pre-driver and voltage level converter with built-in de-emphasis for HDMI transmit applications Spectral emphasis and de-emphasis De-Emphasis With Separate Edge Control De-emphasis with separate edge control Recording and reproducing apparatus for recording and reproducing a carrier chrominance signal with pre-emphasis and de-emphasis Video signal processing apparatus with pre-emphasis and de-emphasis for use in a recording and reproducing system Apparatus and methods for de-emphasis training on a point-to-point connection Method and apparatus to reduce artifacts in a computed-tomography (CT) image by iterative reconstruction (IR) using a cost function with a de-emphasis operator Video emphasis encoding method and apparatus, video de-emphasis decoding method and apparatus, video emphasis transmitting method and apparatus and video de-emphasis receiving method and apparatus Noise reduction system having series connected low and high frequency emphasis and de-emphasis filters Audio de-emphasis circuit Video signal processing device including emphasis and/or de-emphasis circuit De-emphasis of user-selected portions in a video display Method of video noise reduction using non-linear pre/de-emphasis Circuit for maintaining compatibility between different image systems during reproduction having an adaptive de-emphasis unit Compander circuit which produces variable pre-emphasis and de-emphasis De-emphasis training on a point-to-point connection Automatic de-emphasis setting for driving capacitive backplane Video signal recording and reproducing apparatus having a pre-emphasis and de-emphasis system for noise reduction Apparatuses and methods for partial bit de-emphasis Dynamic de-emphasis compensation system Method and apparatus for multi-level de-emphasis Adaptive real-time control of de-emphasis level in a USB 3.0 signal conditioner based on incoming signal frequency range High-speed pre-driver and voltage level converter with built-in de-emphasis for HDMI transmit applications High-speed pre-driver and voltage level converter with built-in de-emphasis for HDMI transmit applications Method and apparatus for multi-level de-emphasis Pre-emphasis and de-emphasis emulation and wave shaping using a programmable delay without using a clock Digital non-linear pre-emphasis/de-emphasis apparatus for video signals in a video signal recording and reproducing apparatus High-speed pre-driver and voltage level converter with built-in de-emphasis for HDMI transmit applications Voltage mode driver using pre-emphasis and de-emphasis signals Thread de-emphasis instruction for multithreaded processor Thread de-emphasis instruction for multithreaded processor Apparatuses and methods for partial bit de-emphasis Adaptive real-time control of de-emphasis level in a USB 3.0 signal conditioner based on incoming signal frequency range Adaptive Real-Time Control of De-Emphasis Level in a USB 3.0 Signal Conditioner Based on Incoming Signal Frequency Range Adaptive Real-Time Control of De-Emphasis Level in a USB 3.0 Signal Conditioner Based on Incoming Signal Frequency Range Complementary pre-emphasis and de-emphasis circuits for a video signal transfer channel Digital non-linear pre-emphasis/de-emphasis apparatus for eliminating noise components from video signals in a video signal processing system Video noise reduction method using non-linear pre/de-emphasis Video noise reduction method using non-linear pre/de-emphasis Video noise reduction method using non-linear pre/de-emphasis Video noise reduction method using non-linear pre/de-emphasis Pre-emphasis and de-emphasis filters for a composite NTSC format video signal Non-linear de-emphasis circuit Wideband signal pre
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值